        :root {
            --primary: #6c5ce7;
            --primary-dark: #5a4bd1;
            --bg-dark: #0a0a0a;
            --bg-card: #141414;
            --bg-card-hover: #1a1a1a;
            --bg-section: #0f0f0f;
            --text-primary: #ffffff;
            --text-secondary: #a0a0a0;
            --text-muted: #666666;
            --border: #222222;
            --accent-green: #00b894;
            --accent-orange: #fdcb6e;
            --accent-red: #e17055;
            --accent-blue: #74b9ff;
            --star-color: #f1c40f;
            --tag-premium: #6c5ce7;
            --tag-mod: #e17055;
            --tag-paid: #00b894;
            --tag-offline: #74b9ff;
            --tag-editors: #fdcb6e;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background: var(--bg-dark);
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
        }
        a { color: inherit; text-decoration: none; }
        img { max-width: 100%; height: auto; }
        /* HEADER */
        .header {
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-inner {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            align-items: center;
            height: 64px;
            gap: 16px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 22px;
            font-weight: 800;
            color: var(--text-primary);
            flex-shrink: 0;
        }
        .logo span { color: var(--primary); }
        .logo-icon {
            width: 36px;
            height: 36px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 18px;
            color: white;
        }
        .nav-links {
            display: flex;
            gap: 4px;
            margin-left: 24px;
        }
        .nav-links a {
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            transition: background 0.2s;
            color: var(--text-secondary);
        }
        .nav-links a:hover, .nav-links a.active {
            background: var(--bg-card-hover);
            color: var(--text-primary);
        }
        .nav-links a.active { color: var(--primary); }
        .search-bar {
            flex: 1;
            max-width: 400px;
            position: relative;
        }
        .search-bar input {
            width: 100%;
            padding: 10px 16px 10px 40px;
            background: var(--bg-dark);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 14px;
            outline: none;
            transition: border-color 0.2s;
        }
        .search-bar input:focus { border-color: var(--primary); }
        .search-bar::before {
            content: '🔍';
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
        }
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 8px;
        }
        .hamburger span {
            width: 24px;
            height: 2px;
            background: var(--text-primary);
            border-radius: 2px;
            transition: 0.3s;
        }
        .mobile-menu {
            display: none;
            position: fixed;
            top: 60px;
            left: 0;
            right: 0;
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
            padding: 16px;
            z-index: 999;
        }
        .mobile-menu.open { display: block; }
        .mobile-menu a {
            display: block;
            padding: 12px 16px;
            border-radius: 8px;
            color: var(--text-secondary);
            font-weight: 500;
        }
        .mobile-menu a:hover { background: var(--bg-card-hover); color: var(--text-primary); }
        .mobile-search {
            display: none;
            padding: 12px 16px;
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
        }
        .mobile-search input {
            width: 100%;
            padding: 10px 16px;
            background: var(--bg-dark);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 14px;
        }
        /* MAIN CONTENT - same scale as source: max-w-gp = 1400px, px-4 md:px-6 */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 16px;
        }
        @media (min-width: 768px) {
            .container { padding: 0 24px; }
        }
        .section { padding: 20px 0; }
        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }
        .section-title {
            font-size: 22px;
            font-weight: 700;
        }
        .section-more {
            color: var(--primary);
            font-size: 14px;
            font-weight: 600;
            padding: 6px 16px;
            border: 1px solid var(--primary);
            border-radius: 20px;
            transition: 0.2s;
        }
        .section-more:hover { background: var(--primary); color: white; }
        /* TOP APPS SCROLL - source: snap-x cards w-[85%] sm:60% md:45% lg:30%, banner + icon strip */
        .top-apps-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            padding-bottom: 12px;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
        }
        .top-apps-scroll::-webkit-scrollbar { display: none; }
        .top-app-card {
            scroll-snap-align: start;
            flex-shrink: 0;
            width: 85%;
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            background: var(--bg-card);
            display: block;
        }
        @media (min-width: 640px)  { .top-app-card { width: 60%; } }
        @media (min-width: 768px)  { .top-app-card { width: 45%; } }
        @media (min-width: 1024px) { .top-app-card { width: 30%; } }
        .top-app-card .app-banner {
            width: 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
        }
        .top-app-card .app-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .5s;
        }
        .top-app-card:hover .app-banner img { transform: scale(1.05); }
        .top-app-card .app-strip {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            background: rgba(20,20,20,.55);
            backdrop-filter: blur(8px);
        }
        .top-app-card .app-strip img {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            object-fit: cover;
        }
        .top-app-card .app-name {
            font-size: 15px;
            font-weight: 600;
            line-height: 1.2;
        }
        .top-app-card .app-category {
            font-size: 12px;
            font-weight: 600;
            color: var(--primary);
            margin-top: 2px;
        }
        /* TOP SCROLL CARDS (Top Apps / Top Games pages) - source: w-[132px] square thumb, slidable */
        .top-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            padding-bottom: 16px;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .top-scroll::-webkit-scrollbar { display: none; }
        .ts-card {
            scroll-snap-align: start;
            flex-shrink: 0;
            width: 132px;
            padding: 4px 0;
            text-decoration: none;
            color: var(--text-primary);
        }
        .ts-thumb {
            position: relative;
            aspect-ratio: 1;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 12px;
            background: var(--bg-card);
        }
        .ts-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .ts-thumb .ts-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
        }
        .ts-thumb .ts-badges {
            position: absolute;
            bottom: 12px; left: 12px; right: 12px;
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
        }
        .ts-badge {
            font-size: 9px;
            font-weight: 700;
            padding: 2px 5px;
            line-height: 1.4;
            border-radius: 8px;
            color: #fff;
        }
        .ts-badge.b-orange { background: var(--accent-orange); color: #1a1a1a; }
        .ts-badge.b-primary { background: var(--primary); }
        .ts-card h3 {
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0;
        }
        .ts-card p {
            font-size: 13px;
            color: var(--text-muted);
            margin: 2px 0 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        /* COLLECTION CARDS - source: grid-cols-2 md:3 xl:4 */
        .collections-grid {            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }
        @media (min-width: 768px)  { .collections-grid { grid-template-columns: repeat(3, 1fr); } }
        @media (min-width: 1280px) { .collections-grid { grid-template-columns: repeat(4, 1fr); } }
        .collection-card {
            background: var(--bg-card);
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.2s;
        }
        .collection-card:hover { transform: translateY(-4px); }
        .collection-card .card-image {
            width: 100%;
            height: 140px;
            object-fit: cover;
        }
        .collection-card .card-body { padding: 12px 16px; }
        .collection-card .card-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .collection-card .card-icons {
            display: flex;
            gap: 4px;
        }
        .collection-card .card-icons img {
            width: 36px;
            height: 36px;
            border-radius: 8px;
        }
        /* APP GRID - source scale: 2 / sm:3 / md:4 / lg:5 / xl:6 columns */
        .app-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }
        @media (min-width: 640px)  { .app-grid { grid-template-columns: repeat(3, 1fr); } }
        @media (min-width: 768px)  { .app-grid { grid-template-columns: repeat(4, 1fr); } }
        @media (min-width: 1024px) { .app-grid { grid-template-columns: repeat(5, 1fr); } }
        @media (min-width: 1280px) { .app-grid { grid-template-columns: repeat(6, 1fr); } }
        /* LATEST LIST CARDS (home) - source: grid-cols-1 sm:2 lg:3 xl:4, horizontal icon-left cards */
        .latest-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }
        @media (min-width: 640px)  { .latest-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (min-width: 1024px) { .latest-grid { grid-template-columns: repeat(3, 1fr); } }
        @media (min-width: 1280px) { .latest-grid { grid-template-columns: repeat(4, 1fr); } }
        .latest-card {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 12px 16px;
            border-radius: 12px;
            background: var(--bg-card);
            transition: background .15s, box-shadow .15s;
            box-shadow: 0 2px 8px rgba(0,0,0,.3);
            min-width: 0;
        }
        .latest-card:hover { background: var(--bg-card-hover); box-shadow: 0 6px 16px rgba(0,0,0,.45); }
        .latest-card .lc-icon {
            width: 56px;
            height: 56px;
            border-radius: 12px;
            overflow: hidden;
            flex-shrink: 0;
            background: var(--bg-section);
        }
        .latest-card .lc-icon img { width: 100%; height: 100%; object-fit: cover; }
        .latest-card .lc-body { flex: 1; min-width: 0; }
        .latest-card .lc-name {
            font-size: 15px;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .latest-card .lc-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-secondary);
            margin: 4px 0;
            white-space: nowrap;
            overflow: hidden;
        }
        .latest-card .lc-meta .star { color: var(--star-color); font-size: 12px; }
        .latest-card .lc-mod {
            font-size: 12px;
            font-weight: 600;
            color: var(--accent-orange);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .app-card {
            background: var(--bg-card);
            border-radius: 12px;
            padding: 16px;
            text-align: center;
            transition: transform 0.2s, background 0.2s;
            cursor: pointer;
            position: relative;
        }
        .app-card:hover { transform: translateY(-4px); background: var(--bg-card-hover); }
        .app-card .app-icon {
            width: 80px;
            height: 80px;
            border-radius: 18px;
            margin: 0 auto 12px;
            overflow: hidden;
            background: var(--bg-section);
        }
        .app-card .app-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-card .app-name {
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 4px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .app-card .app-meta {
            font-size: 11px;
            color: var(--text-muted);
            margin-bottom: 6px;
        }
        .app-card .app-rating {
            font-size: 12px;
            color: var(--star-color);
            margin-bottom: 4px;
        }
        .app-card .app-tag {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
        }
        .tag-premium { background: rgba(108,92,231,0.2); color: var(--tag-premium); }
        .tag-mod { background: rgba(225,112,85,0.2); color: var(--tag-mod); }
        .tag-paid { background: rgba(0,184,148,0.2); color: var(--tag-paid); }
        .tag-offline { background: rgba(116,185,255,0.2); color: var(--tag-offline); }
        .tag-editors { background: rgba(253,203,110,0.2); color: var(--tag-editors); }
        .tag-online { background: rgba(162,155,254,0.2); color: #a29bfe; }
        /* NEWS CARDS - source: w-full md:50% lg:33% */
        .news-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }
        @media (min-width: 768px)  { .news-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
        .news-card {
            background: var(--bg-card);
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.2s;
        }
        .news-card:hover { transform: translateY(-4px); }
        .news-card .news-image {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }
        .news-card .news-body { padding: 12px 16px; }
        .news-card .news-meta {
            display: flex;
            gap: 8px;
            align-items: center;
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 8px;
        }
        .news-card .news-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .news-card .news-excerpt {
            font-size: 13px;
            color: var(--text-secondary);
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .news-card .news-stats {
            display: flex;
            gap: 12px;
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 8px;
        }
        /* SORT & FILTER */
        .sort-bar {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        .sort-btn {
            padding: 8px 16px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-secondary);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
        }
        .sort-btn:hover, .sort-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        .category-tags {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 12px;
            margin-bottom: 20px;
            scrollbar-width: none;
        }
        .category-tags::-webkit-scrollbar { display: none; }
        .category-tag {
            flex-shrink: 0;
            padding: 6px 14px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 20px;
            font-size: 13px;
            color: var(--text-secondary);
            transition: 0.2s;
            white-space: nowrap;
        }
        .category-tag:hover, .category-tag.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        /* DETAIL PAGE */
        .detail-header {
            display: flex;
            gap: 24px;
            padding: 24px 0;
            align-items: flex-start;
        }
        .detail-icon {
            width: 120px;
            height: 120px;
            border-radius: 24px;
            overflow: hidden;
            flex-shrink: 0;
            background: var(--bg-card);
        }
        .detail-icon img { width: 100%; height: 100%; object-fit: cover; }
        .detail-info { flex: 1; }
        .detail-title {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 8px;
        }
        .detail-developer {
            color: var(--primary);
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 12px;
        }
        .detail-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }
        .detail-tag {
            padding: 4px 12px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 700;
        }
        .detail-desc {
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 16px;
            font-style: italic;
        }
        .detail-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 12px;
            margin-bottom: 20px;
        }
        .detail-stat {
            background: var(--bg-card);
            padding: 12px;
            border-radius: 8px;
            text-align: center;
        }
        .detail-stat .stat-label {
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .detail-stat .stat-value {
            font-size: 16px;
            font-weight: 700;
            margin-top: 4px;
        }
        .download-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 32px;
            background: var(--primary);
            color: white;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            transition: 0.2s;
            border: none;
            cursor: pointer;
        }
        .download-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
        .detail-meta {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            padding: 20px;
            background: var(--bg-card);
            border-radius: 12px;
            margin-bottom: 24px;
        }
        .meta-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid var(--border);
        }
        .meta-label { color: var(--text-muted); font-size: 13px; }
        .meta-value { font-weight: 600; font-size: 13px; }
        /* SCREENSHOTS */
        .screenshots-scroll {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            padding-bottom: 12px;
        }
        .screenshots-scroll img {
            flex-shrink: 0;
            width: 200px;
            height: 360px;
            object-fit: cover;
            border-radius: 12px;
            cursor: pointer;
            transition: transform 0.2s;
        }
        .screenshots-scroll img:hover { transform: scale(1.05); }
        /* CONTENT SECTIONS */
        .content-section {
            background: var(--bg-card);
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 24px;
        }
        .content-section h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border);
        }
        .content-section p {
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 12px;
            line-height: 1.7;
        }
        .content-section ul, .content-section ol {
            padding-left: 20px;
            margin-bottom: 12px;
        }
        .content-section li {
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 8px;
            line-height: 1.6;
        }
        /* COMMENTS */
        .comment {
            display: flex;
            gap: 12px;
            padding: 16px 0;
            border-bottom: 1px solid var(--border);
        }
        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }
        .comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .comment-body { flex: 1; }
        .comment-author {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 4px;
        }
        .comment-date {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 8px;
        }
        .comment-text {
            font-size: 14px;
            color: var(--text-secondary);
        }
        /* PAGINATION */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 8px;
            padding: 24px 0;
        }
        .pagination a, .pagination span {
            padding: 8px 14px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-secondary);
            transition: 0.2s;
        }
        .pagination a:hover { background: var(--primary); color: white; border-color: var; }
        .pagination .current { background: var(--primary); color: white; border-color: var(--primary); }
        /* BREADCRUMB */
        .breadcrumb {
            display: flex;
            gap: 8px;
            align-items: center;
            font-size: 13px;
            color: var(--text-muted);
            padding: 12px 0;
        }
        .breadcrumb a { color: var(--primary); }
        .breadcrumb span { color: var(--text-muted); }
        /* RELATED APPS */
        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 12px;
        }
        /* FOOTER */
        .footer {
            background: var(--bg-card);
            border-top: 1px solid var(--border);
            padding: 40px 0 24px;
            margin-top: 40px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 32px;
            margin-bottom: 32px;
        }
        .footer-col h4 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 16px;
        }
        .footer-col a {
            display: block;
            font-size: 14px;
            color: var(--text-secondary);
            padding: 4px 0;
            transition: color 0.2s;
        }
        .footer-col a:hover { color: var(--primary); }
        .footer-bottom {
            text-align: center;
            padding-top: 24px;
            border-top: 1px solid var(--border);
            font-size: 13px;
            color: var(--text-muted);
        }
        /* AD PLACEHOLDER */
        .ad-placeholder {
            background: var(--bg-card);
            border: 2px dashed var(--border);
            border-radius: 12px;
            padding: 24px;
            text-align: center;
            color: var(--text-muted);
            font-size: 13px;
            margin: 16px 0;
            min-height: 90px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        /* FAQ ACCORDION */
        .faq-item {
            border-bottom: 1px solid var(--border);
        }
        .faq-question {
            padding: 16px 0;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 15px;
        }
        .faq-question::after { content: '▼'; font-size: 12px; transition: 0.3s; }
        .faq-question.open::after { transform: rotate(180deg); }
        .faq-answer {
            display: none;
            padding: 0 0 16px;
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
        }
        .faq-answer.open { display: block; }
        /* LOADING */
        .skeleton {
            background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 8px;
        }
        @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
        /* LIGHTBOX */
        .lightbox {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.9);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }
        .lightbox.open { display: flex; }
        .lightbox img { max-width: 90%; max-height: 90%; border-radius: 12px; }
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 32px;
            color: white;
            cursor: pointer;
        }
        /* RESPONSIVE */
        @media (max-width: 768px) {
            .header-inner { padding: 0 12px; }
            .nav-links { display: none; }
            .search-bar { display: none; }
            .hamburger { display: flex; }
            .mobile-search { display: block; }
            .detail-header { flex-direction: column; align-items: center; text-align: center; }
            .detail-meta { grid-template-columns: 1fr; }
            .detail-stats { grid-template-columns: repeat(2, 1fr); }
            .app-card { padding: 10px; }
            .app-card .app-icon { width: 56px; height: 56px; border-radius: 14px; }
            .app-card .app-name { font-size: 11px; }
            .section-title { font-size: 18px; }
            .detail-title { font-size: 22px; }
            .detail-icon { width: 80px; height: 80px; border-radius: 16px; }
            .screenshots-scroll img { width: 150px; height: 270px; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
            .sort-bar { gap: 6px; }
            .sort-btn { padding: 6px 12px; font-size: 12px; }
        }
        @media (max-width: 480px) {
            .app-card { padding: 8px; }
            .app-card .app-icon { width: 48px; height: 48px; border-radius: 12px; }
            .app-card .app-name { font-size: 10px; }
            .app-card .app-meta { font-size: 9px; }
            .related-grid { grid-template-columns: repeat(3, 1fr); }
        }
        /* SCROLLBAR */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg-dark); }
        ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
