/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --primary-dark: #e85a2a;
    --secondary-color: #ffa62b;
    --text-primary: #1a1a1a;
    --text-secondary: #6e6e73;
    --background: #ffffff;
    --surface: #f5f5f7;
    --surface-hover: #e8e8ed;
    --border: #d2d2d7;
    --success: #30d158;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.16);
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ffa62b 100%);
    --gradient-secondary: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    --gradient-hero: linear-gradient(180deg, #ff6b35 0%, #ffa62b 100%);
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f5f5f7;
        --text-secondary: #a1a1a6;
        --background: #000000;
        --surface: #1c1c1e;
        --surface-hover: #2c2c2e;
        --border: #38383a;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover {
    color: #ffffff;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-weight: 400;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apps Section */
.apps-section {
    padding: 80px 0 100px;
    background: var(--background);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

/* App Card */
.app-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 166, 43, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.app-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 107, 53, 0.3);
}

.app-card:hover::before {
    opacity: 1;
}

.app-featured-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 24px 24px 0 0;
    margin: -32px -32px 0;
    opacity: 0.15;
    filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card:hover .app-featured-image {
    opacity: 0.25;
    filter: blur(6px);
}

.app-card:has(.app-featured-image) {
    padding-top: 120px;
}

.app-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-lg);
}

.app-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.app-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.app-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
    min-height: 48px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.app-version {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.app-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card:hover .badge {
    transform: scale(1.05);
}

.badge.production {
    background: linear-gradient(135deg, #30d158 0%, #32d862 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(48, 209, 88, 0.3);
}

.app-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.store-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    justify-content: center;
    min-width: 130px;
    position: relative;
    overflow: hidden;
}

.store-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.store-link:hover::before {
    width: 300px;
    height: 300px;
}

.store-link.android {
    background: linear-gradient(135deg, #34a853 0%, #2d9648 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
}

.store-link.android:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 168, 83, 0.4);
}

.store-link.ios {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.store-link.ios:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.screenshot-link {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.screenshot-link:hover {
    background: rgba(255, 107, 53, 0.08);
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 0;
    text-align: center;
    color: var(--text-secondary);
}

.footer-links {
    margin-top: 20px;
    display: flex;
    gap: 32px;
    justify-content: center;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Loading and Error States */
.loading-message {
    text-align: center;
    padding: 60px;
    color: var(--text-secondary);
    grid-column: 1 / -1;
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #d93025;
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #ffe8e5 0%, #ffd4d1 100%);
    border-radius: 16px;
    border: 1px solid #ffa39e;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        gap: 1rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .apps-section {
        padding: 3rem 0;
    }

    .app-card {
        padding: 1.5rem;
    }


    .store-link {
        font-size: 0.8125rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ── App card clickable cursor ────────────────────────────────────────────── */
.app-card {
    cursor: pointer;
}

/* ── Detail Page ──────────────────────────────────────────────────────────── */
.detail-hero {
    position: relative;
    background: var(--gradient-hero);
    background-size: cover;
    background-position: center;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.3) 0%, rgba(15,23,42,0.7) 100%);
}

.detail-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
    width: 100%;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-4px);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s backwards;
}

.detail-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-icon:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.detail-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.detail-icon-emoji { 
    font-size: 2.8rem;
}

.detail-header-info { 
    flex: 1;
}

.detail-name {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.detail-header-info .app-version {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.detail-header-info .app-stats { 
    margin-bottom: 0;
}

.detail-header-info .badge {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.detail-header-info .badge.production {
    background: rgba(48, 209, 88, 0.3);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(48, 209, 88, 0.3);
}

/* ── Detail Body ───────────────────────────────────────────────────────────── */
.detail-body {
    padding-top: 3rem;
    padding-bottom: 5rem;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.detail-store-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.store-link.large {
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
    border-radius: 14px;
    min-width: 170px;
    font-weight: 700;
}

.detail-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
    letter-spacing: -0.3px;
}

.detail-description { 
    margin-bottom: 3.5rem;
}

.detail-desc-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 720px;
    white-space: pre-line;
}

/* ── Screenshot Gallery ────────────────────────────────────────────────────── */
.detail-screenshots { 
    margin-bottom: 2rem;
}

.screenshot-gallery {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1.25rem;
    padding-top: 0.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshot-gallery::-webkit-scrollbar { 
    height: 8px;
}

.screenshot-gallery::-webkit-scrollbar-track { 
    background: var(--surface);
    border-radius: 4px;
}

.screenshot-gallery::-webkit-scrollbar-thumb { 
    background: var(--border);
    border-radius: 4px;
    transition: background 0.3s;
}

.screenshot-gallery::-webkit-scrollbar-thumb:hover { 
    background: #9ca3af;
}

.screenshot-thumb-btn {
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    padding: 0;
    scroll-snap-align: start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 140px;
    box-shadow: var(--shadow-sm);
}

.screenshot-thumb-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

.screenshot-thumb {
    display: block;
    width: 140px;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-thumb-btn:hover .screenshot-thumb {
    transform: scale(1.05);
}

/* ── Lightbox ──────────────────────────────────────────────────────────────── */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to   { 
        opacity: 1;
        backdrop-filter: blur(20px);
    }
}

.lightbox-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95vw;
    max-height: 95vh;
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
    max-width: min(90vw, 450px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.75rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    font-weight: 300;
}

.lightbox-close:hover { 
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255,255,255,0.3);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    font-weight: 300;
}

.lightbox-prev { 
    left: 1.25rem;
}

.lightbox-next { 
    right: 1.25rem;
}

.lightbox-prev:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) translateX(-4px) scale(1.1);
    border-color: rgba(255,255,255,0.3);
}

.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) translateX(4px) scale(1.1);
    border-color: rgba(255,255,255,0.3);
}

.lightbox-counter {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ── Detail responsive ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .nav {
        gap: 1.25rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .footer {
        padding: 40px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .app-card {
        padding: 28px;
    }

    .detail-section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 600px) {
    .detail-hero {
        min-height: 280px;
    }

    .detail-hero-content {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    .detail-header { 
        gap: 1.25rem;
    }

    .detail-icon { 
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .detail-icon-emoji {
        font-size: 2.2rem;
    }

    .detail-name { 
        font-size: 1.4rem;
    }

    .back-btn {
        font-size: 0.875rem;
        padding: 6px 12px;
        margin-bottom: 1.5rem;
    }

    .detail-body {
        padding-top: 2.5rem;
        padding-bottom: 4rem;
    }

    .detail-store-links {
        margin-bottom: 2.5rem;
    }

    .screenshot-gallery {
        gap: 1rem;
    }

    .screenshot-thumb-btn { 
        width: 120px;
    }

    .screenshot-thumb { 
        width: 120px;
        height: 240px;
    }

    .store-link.large { 
        flex: 1;
        min-width: 130px;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .detail-desc-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .apps-section {
        padding: 60px 0 80px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .app-card {
        padding: 24px;
        border-radius: 20px;
    }

    .app-icon {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .app-name {
        font-size: 1.2rem;
    }

    .store-link {
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    .header {
        padding: 16px 0;
    }

    .container {
        padding: 0 20px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 48px;
        height: 48px;
        font-size: 1.6rem;
    }

    .lightbox-prev { left: 0.75rem; }
    .lightbox-next { right: 0.75rem; }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .lightbox-counter {
        bottom: 1.5rem;
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .lightbox-overlay,
    .back-btn {
        display: none;
    }

    .app-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
