:root {
            --bg-main: #f8fafc;
            --bg-card: #ffffff;
            --bg-header: rgba(255, 255, 255, 0.85);
            --primary: #4f46e5;
            --primary-hover: #4338ca;
            --primary-light: #eeef2;
            --accent-pink: #ec4899;
            --accent-cyan: #06b6d4;
            --accent-amber: #f59e0b;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --text-light: #94a3b8;
            --border-color: #e2e8f0;
            --border-hover: #cbd5e1;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 10px 25px -3px rgba(79, 70, 229, 0.12), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
            --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-full: 9999px;
            --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg-main);
            color: var(--text-main);
            line-height: 1.5;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        button, input {
            font-family: inherit;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 100;
            background-color: var(--bg-header);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .navbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
            gap: 1.5rem;
        }

        .brand-logo {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-weight: 800;
            font-size: 1.35rem;
            color: var(--text-main);
            letter-spacing: -0.02em;
        }

        .brand-icon {
            width: 38px;
            height: 38px;
            background: linear-gradient(135deg, var(--primary), var(--accent-pink));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
        }

        .search-container {
            flex: 1;
            max-width: 440px;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 0.65rem 1rem 0.65rem 2.6rem;
            border-radius: var(--radius-full);
            border: 1px solid var(--border-color);
            background-color: #f1f5f9;
            font-size: 0.9rem;
            color: var(--text-main);
            transition: var(--transition);
            outline: none;
        }

        .search-input:focus {
            background-color: #ffffff;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
        }

        .search-icon {
            position: absolute;
            left: 0.9rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            pointer-events: none;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.8rem;
        }

        .nav-link {
            font-size: 0.92rem;
            font-weight: 600;
            color: var(--text-muted);
            transition: var(--transition);
            position: relative;
        }

        .nav-link:hover, .nav-link.active {
            color: var(--primary);
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--primary);
            border-radius: var(--radius-full);
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            color: var(--text-main);
        }

        /* Mobile Drawer */
        .mobile-drawer {
            position: fixed;
            top: 72px;
            left: -100%;
            width: 100%;
            height: calc(100vh - 72px);
            background-color: #ffffff;
            padding: 2rem 1.5rem;
            transition: var(--transition);
            z-index: 99;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            border-top: 1px solid var(--border-color);
        }

        .mobile-drawer.open {
            left: 0;
        }

        .mobile-nav-link {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-main);
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-color);
        }

        .hero-section {
            padding: 2.5rem 0 1.5rem;
        }

        .hero-banner {
            background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
            border-radius: var(--radius-lg);
            padding: 3.5rem 3rem;
            color: white;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .hero-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, rgba(0,0,0,0) 70%);
            pointer-events: none;
        }

        .hero-banner::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: 20%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(0,0,0,0) 70%);
            pointer-events: none;
        }

        .hero-content {
            max-width: 580px;
            position: relative;
            z-index: 2;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            padding: 0.35rem 0.9rem;
            border-radius: var(--radius-full);
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1.2rem;
            color: #f3e8ff;
        }

        .hero-title {
            font-size: 2.75rem;
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.03em;
            margin-bottom: 1rem;
        }

        .hero-title span {
            background: linear-gradient(135deg, #a5b4fc, #f472b6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-description {
            font-size: 1.05rem;
            color: #c7d2fe;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .hero-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.8rem 1.6rem;
            border-radius: var(--radius-full);
            font-weight: 700;
            font-size: 0.92rem;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            outline: none;
        }

        .btn-primary {
            background-color: #ffffff;
            color: var(--primary);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        }

        .btn-primary:hover {
            background-color: #f8fafc;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.12);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(4px);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .hero-graphics {
            position: relative;
            z-index: 2;
            display: flex;
            gap: 1rem;
        }

        .floating-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: var(--radius-md);
            padding: 1rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            animation: float 4s ease-in-out infinite alternate;
        }

        .floating-card:nth-child(2) {
            animation-delay: -2s;
            margin-top: 2rem;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            100% { transform: translateY(-12px); }
        }

        .layout-grid {
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 2rem;
            margin-top: 2rem;
            margin-bottom: 4rem;
        }

        /* Main Content Header & Tabs */
        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-main);
            letter-spacing: -0.02em;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

        .section-title::before {
            content: '';
            display: inline-block;
            width: 5px;
            height: 22px;
            background: linear-gradient(to bottom, var(--primary), var(--accent-pink));
            border-radius: var(--radius-full);
        }

        .filter-tabs {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background-color: #e2e8f0;
            padding: 0.25rem;
            border-radius: var(--radius-full);
            overflow-x: auto;
        }

        .tab-btn {
            padding: 0.45rem 1rem;
            border-radius: var(--radius-full);
            border: none;
            background: transparent;
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--text-muted);
            cursor: pointer;
            transition: var(--transition);
            white-space: nowrap;
        }

        .tab-btn.active {
            background-color: #ffffff;
            color: var(--primary);
            box-shadow: var(--shadow-sm);
        }

        /* Hardcoded Games Grid */
        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 1.25rem;
        }

        .game-card {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 1.25rem;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
        }

        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-card-hover);
            border-color: var(--border-hover);
        }

        .card-top {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .app-icon {
            width: 72px;
            height: 72px;
            border-radius: 16px;
            object-fit: cover;
            box-shadow: var(--shadow-sm);
            flex-shrink: 0;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .card-info {
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow: hidden;
        }

        .app-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 0.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .app-developer {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.4rem;
        }

        .app-category-tag {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            padding: 0.15rem 0.5rem;
            background-color: #f1f5f9;
            color: var(--primary);
            border-radius: var(--radius-sm);
            width: fit-content;
        }

        .card-desc {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 1.2rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }

        .card-stats {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.6rem 0.8rem;
            background-color: #f8fafc;
            border-radius: var(--radius-sm);
            font-size: 0.8rem;
            color: var(--text-muted);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .rating-box {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            color: var(--text-main);
            font-weight: 700;
        }

        .rating-star {
            color: var(--accent-amber);
            fill: currentColor;
        }

        .card-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
        }

        .btn-download-sm {
            width: 100%;
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
            background-color: #e0e7ff;
            color: var(--primary);
            border-radius: var(--radius-md);
            font-weight: 700;
            transition: var(--transition);
        }

        .game-card:hover .btn-download-sm {
            background-color: var(--primary);
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
        }

        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .sidebar-widget {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 1.5rem;
        }

        .widget-title {
            font-size: 1.1rem;
            font-weight: 800;
            margin-bottom: 1.2rem;
            color: var(--text-main);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        /* Featured Pick Card */
        .featured-pick-card {
            background: linear-gradient(135deg, #fff1f2, #fce7f3);
            border: 1px solid #fbcfe8;
            border-radius: var(--radius-md);
            padding: 1.25rem;
            position: relative;
        }

        .featured-pick-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background-color: var(--accent-pink);
            color: white;
            font-size: 0.65rem;
            font-weight: 800;
            text-transform: uppercase;
            padding: 0.2rem 0.6rem;
            border-radius: var(--radius-full);
        }

        .featured-pick-content {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        /* Category List */
        .category-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .category-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.6rem 0.8rem;
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-muted);
            transition: var(--transition);
            cursor: pointer;
        }

        .category-item:hover {
            background-color: #f1f5f9;
            color: var(--primary);
        }

        .category-count {
            background-color: #e2e8f0;
            font-size: 0.75rem;
            padding: 0.1rem 0.5rem;
            border-radius: var(--radius-full);
            color: var(--text-main);
        }

        /* Trending Mini List */
        .trending-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .trending-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .rank-badge {
            font-weight: 800;
            font-size: 1.1rem;
            width: 24px;
            color: var(--text-light);
            text-align: center;
        }

        .rank-1 { color: #f59e0b; }
        .rank-2 { color: #94a3b8; }
        .rank-3 { color: #b45309; }

        .trending-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            object-fit: cover;
        }

        .trending-info {
            flex: 1;
            overflow: hidden;
        }

        .trending-title {
            font-size: 0.9rem;
            font-weight: 700;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .trending-meta {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .btn-mini {
            padding: 0.35rem 0.75rem;
            font-size: 0.75rem;
            border-radius: var(--radius-full);
            background-color: #f1f5f9;
            color: var(--text-main);
            font-weight: 700;
            border: none;
            cursor: pointer;
            transition: var(--transition);
        }

        .btn-mini:hover {
            background-color: var(--primary);
            color: white;
        }

        .features-section {
            padding: 4rem 0;
            background-color: #ffffff;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            text-align: center;
            padding: 1.5rem;
            border-radius: var(--radius-md);
            transition: var(--transition);
        }

        .feature-card:hover {
            transform: translateY(-3px);
        }

        .feature-icon-wrapper {
            width: 60px;
            height: 60px;
            border-radius: 18px;
            background: #e0e7ff;
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.2rem;
        }

        .feature-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .feature-desc {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        footer {
            background-color: #0f172a;
            color: #94a3b8;
            padding: 4rem 0 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr repeat(3, 1fr);
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand .brand-logo {
            color: #ffffff;
            margin-bottom: 1rem;
        }

        .footer-desc {
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .social-links {
            display: flex;
            gap: 0.8rem;
        }

        .social-btn {
            width: 36px;
            height: 36px;
            border-radius: var(--radius-full);
            background-color: #1e293b;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .social-btn:hover {
            background-color: var(--primary);
            transform: translateY(-2px);
        }

        .footer-heading {
            color: #ffffff;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 1.2rem;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 0.7rem;
        }

        .footer-link {
            font-size: 0.88rem;
            transition: var(--transition);
        }

        .footer-link:hover {
            color: #ffffff;
        }

        .footer-bottom {
            border-top: 1px solid #1e293b;
            padding-top: 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.85rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .modal-overlay {
            position: fixed;
            inset: 0;
            background-color: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
            transition: var(--transition);
            padding: 1.5rem;
        }

        .modal-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        .modal-container {
            background-color: #ffffff;
            border-radius: var(--radius-lg);
            width: 100%;
            max-width: 460px;
            padding: 2rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            transform: scale(0.95);
            transition: var(--transition);
            position: relative;
        }

        .modal-overlay.active .modal-container {
            transform: scale(1);
        }

        .modal-close {
            position: absolute;
            top: 1.25rem;
            right: 1.25rem;
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 1.2rem;
            transition: var(--transition);
        }

        .modal-close:hover {
            color: var(--text-main);
        }

        .modal-app-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .modal-app-icon {
            width: 64px;
            height: 64px;
            border-radius: 14px;
            object-fit: cover;
        }

        .progress-bar-bg {
            width: 100%;
            height: 10px;
            background-color: #e2e8f0;
            border-radius: var(--radius-full);
            overflow: hidden;
            margin-bottom: 0.8rem;
        }

        .progress-bar-fill {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, var(--primary), var(--accent-pink));
            border-radius: var(--radius-full);
            transition: width 0.2s ease;
        }

        .progress-status {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted);
        }

        /* Responsive Breakpoints */
        @media (max-width: 992px) {
            .layout-grid {
                grid-template-columns: 1fr;
            }
            
            .hero-banner {
                flex-direction: column;
                text-align: center;
                padding: 2.5rem 1.5rem;
            }

            .hero-content {
                max-width: 100%;
            }

            .hero-actions {
                justify-content: center;
            }

            .hero-graphics {
                display: none;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .menu-toggle {
                display: block;
            }

            .hero-title {
                font-size: 2rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }
        }