* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #202124;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

/* Header Styles */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e8eaed;
}

.header-left,
.header-right {
    display: flex;
    gap: 16px;
}

.header i {
    font-size: 18px;
    color: #5f6368;
    cursor: pointer;
}

.url-bar {
    background: #fff;
    padding: 8px 16px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #5f6368;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.url-bar i {
    font-size: 12px;
    color: #ff6f00;
}

/* App Info Section */
.app-info {
    display: flex;
    padding: 24px 20px;
    gap: 16px;
    align-items: flex-start;
}

.app-icon {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: visible;
}

.app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
    display: block;
}

.app-details {
    flex: 1;
}

.app-name {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 4px;
}

.app-name-green {
    font-size: 18px;
    font-weight: 500;
    color: #ff6f00;
    margin-bottom: 4px;
}

.app-subtitle {
    font-size: 13px;
    color: #5f6368;
}

/* Stats Section */
.stats {
    display: flex;
    padding: 16px 20px;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 21px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 4px;
}

.stat-value i {
    color: #ff6f00;
    font-size: 12px;
}

.stat-label {
    font-size: 17px;
    color: #5f6368;
}

.stat-divider {
    width: 1px;
    background: #e0e0e0;
}

/* Install Button */
.install-section {
    padding: 20px;
    display: flex;
    gap: 12px;
}

.install-btn {
    flex: 1;
    background: linear-gradient(135deg, #ff6f00 0%, #ff9800 100%);
    color: #fff;
    border: none;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(255, 111, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.install-btn:hover {
    background: linear-gradient(135deg, #f57c00 0%, #fb8c00 100%);
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.4);
    transform: translateY(-2px);
}

.login-btn {
    background: linear-gradient(135deg, #ff6f00 0%, #ff9800 100%);
    box-shadow: 0 2px 8px rgba(255, 111, 0, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #f57c00 0%, #fb8c00 100%);
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.4);
}

.install-btn i {
    font-size: 20px;
    margin-bottom: 4px;
}

.install-subtitle {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.95;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px;
}

.action-btn {
    flex: 1;
    background: #fff;
    border: 1px solid #dadce0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #ff6f00;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #f8f9fa;
    border-color: #ff6f00;
}

.action-btn i {
    font-size: 16px;
}

/* Screenshots Section */
.screenshots {
    padding: 20px;
}

.screenshot-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshot-scroll::-webkit-scrollbar {
    display: none;
}

.screenshot-scroll img {
    height: 380px;
    min-height: 380px;
    width: auto;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: block;
    border: 1px solid #ff6f00;
}

/* About Section */
.about-section {
    padding: 20px;
    border-top: 8px solid #f8f9fa;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title i {
    font-size: 14px;
    color: #5f6368;
}

.about-text {
    font-size: 14px;
    line-height: 1.6;
    color: #3c4043;
    margin-bottom: 16px;
}

.update-date {
    font-size: 13px;
    color: #5f6368;
    line-height: 1.5;
}

.update-date strong {
    color: #202124;
    font-weight: 600;
}

/* Data Safety Section */
.data-safety {
    padding: 20px;
    border-top: 8px solid #f8f9fa;
}

.safety-description {
    font-size: 13px;
    line-height: 1.6;
    color: #3c4043;
    margin-bottom: 20px;
}

.safety-items {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
}

.safety-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.safety-item:last-child {
    border-bottom: none;
}

.safety-item i {
    font-size: 20px;
    color: #5f6368;
    margin-top: 4px;
    flex-shrink: 0;
}

.safety-content strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 4px;
}

.safety-content p {
    font-size: 12px;
    color: #5f6368;
    line-height: 1.4;
}

/* Ratings and Reviews Section */
.ratings-reviews {
    padding: 20px;
    border-top: 8px solid #f8f9fa;
}

.review-description {
    font-size: 12px;
    color: #5f6368;
    margin-bottom: 16px;
    line-height: 1.5;
}

.rating-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.rating-action-btn {
    padding: 8px 16px;
    border: 1px solid #dadce0;
    background: #fff;
    border-radius: 20px;
    font-size: 12px;
    color: #5f6368;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.rating-action-btn.active {
    background: #fff3e0;
    border-color: #ff6f00;
    color: #ff6f00;
}

.rating-action-btn:hover {
    background: #f8f9fa;
}

.rating-summary {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.rating-number {
    text-align: left;
    min-width: 100px;
}

.big-rating {
    font-size: 56px;
    font-weight: 500;
    color: #202124;
    line-height: 1;
    margin-bottom: 8px;
}

.stars {
    color: #ff6f00;
    font-size: 14px;
    margin-bottom: 8px;
}

.review-count {
    font-size: 13px;
    color: #5f6368;
}

.rating-bars {
    flex: 1;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.bar-label {
    font-size: 12px;
    color: #5f6368;
    width: 12px;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #ff6f00;
    border-radius: 4px;
}

/* User Reviews */
.user-reviews {
    margin-top: 24px;
}

.review-item {
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.review-user {
    flex: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 4px;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-stars i {
    font-size: 12px;
    color: #ff6f00;
}

.review-date {
    font-size: 12px;
    color: #5f6368;
    margin-left: 8px;
}

.review-menu {
    color: #5f6368;
    cursor: pointer;
    font-size: 16px;
}

.review-text {
    font-size: 14px;
    color: #3c4043;
    line-height: 1.5;
}

/* Footer Links */
.footer-links {
    padding: 24px 20px;
    border-top: 8px solid #f8f9fa;
}

.support-title {
    font-size: 18px;
    font-weight: 600;
    color: #ff6f00;
    text-align: center;
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    margin-bottom: 20px;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #5f6368;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-link:hover {
    color: #ff6f00;
}

.info-link i {
    font-size: 16px;
    color: #ff6f00;
    flex-shrink: 0;
}

.developer-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #ff6f00;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
}

.developer-text:hover {
    text-decoration: underline;
}

.developer-text i {
    font-size: 14px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    padding: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.nav-item {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #5f6368;
    font-size: 18px;
}

.nav-item:hover {
    background: #f8f9fa;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .app-icon {
        width: 64px;
        height: 64px;
    }

    .app-name {
        font-size: 18px;
    }

    .app-name-green {
        font-size: 16px;
    }

    .big-rating {
        font-size: 48px;
    }

    .screenshot-scroll img {
        height: 280px;
    }
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-info,
.stats,
.install-section,
.screenshots,
.about-section,
.data-safety,
.ratings-reviews {
    animation: fadeIn 0.4s ease-out;
}
