    /* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }

    :root {
        --bg-base: #070b14;
        --bg-card: #0d1424;
        --bg-card2: #111827;
        --bg-surface: #162035;
        --primary: #22c55e;
        --primary-dark: #16a34a;
        --secondary: #06b6d4;
        --accent: #f59e0b;
        --accent-red: #ef4444;
        --text: #f1f5f9;
        --text-muted: #94a3b8;
        --text-dim: #64748b;
        --border: rgba(255,255,255,0.07);
        --border-glow: rgba(34,197,94,0.3);
        --shadow: 0 8px 32px rgba(0,0,0,0.5);
        --radius: 16px;
        --radius-sm: 10px;
        --radius-lg: 24px;
        --font: 'Cairo', 'Tajawal', sans-serif;
    }

    body {
        font-family: var(--font);
        background: var(--bg-base);
        color: var(--text);
        line-height: 1.6;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
    }

    img { max-width: 100%; height: auto; display: block; }
    a { text-decoration: none; color: inherit; }

    .container {
        width: min(1380px, 100% - 32px);
        margin: 0 auto;
    }

    /* ===== HEADER ===== */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(7, 11, 20, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 0;
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 0;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 900;
        font-size: 1.25rem;
        letter-spacing: -0.5px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary), #0f9649);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        font-weight: 900;
        color: #fff;
        box-shadow: 0 4px 15px rgba(34,197,94,0.4);
        flex-shrink: 0;
    }

    .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
    .logo-text .fazza { color: var(--primary); font-size: 0.9rem; }
    .logo-text .play { color: #fff; font-size: 1rem; }

    .header-nav {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .nav-link {
        padding: 8px 16px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--text-muted);
        transition: all 0.2s;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--text);
        background: rgba(255,255,255,0.07);
    }

    .nav-link.active { color: var(--primary); }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .btn-nav {
        padding: 9px 20px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 0.875rem;
        transition: all 0.2s;
        cursor: pointer;
        border: none;
    }

    .btn-nav-ghost {
        background: rgba(255,255,255,0.06);
        color: var(--text);
        border: 1px solid var(--border);
    }

    .btn-nav-ghost:hover { background: rgba(255,255,255,0.12); }

    .btn-nav-primary {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        box-shadow: 0 4px 15px rgba(34,197,94,0.35);
    }

    .btn-nav-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(34,197,94,0.45);
    }

    .burger-btn {
        display: none;
        width: 42px; height: 42px;
        border-radius: 10px;
        background: rgba(255,255,255,0.05);
        border: 1px solid var(--border);
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    .burger-btn span {
        display: block;
        width: 20px; height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: all 0.3s;
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        border-top: 1px solid var(--border);
        padding: 16px 0;
        gap: 8px;
        background: rgba(7,11,20,0.98);
    }

    .mobile-nav.open { display: flex; }
    .mobile-nav .nav-link { padding: 12px 16px; border-radius: 10px; color: var(--text); font-size: 1rem; }

    /* ===== HERO ===== */
    .hero {
        padding: 60px 0 40px;
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: 
            radial-gradient(ellipse 80% 60% at 60% -10%, rgba(34,197,94,0.12) 0%, transparent 70%),
            radial-gradient(ellipse 60% 40% at 20% 80%, rgba(6,182,212,0.08) 0%, transparent 70%);
        pointer-events: none;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 400px;
        gap: 48px;
        align-items: center;
        position: relative;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(34,197,94,0.12);
        border: 1px solid rgba(34,197,94,0.3);
        color: var(--primary);
        padding: 6px 16px;
        border-radius: 999px;
        font-size: 0.85rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .hero-badge::before { content: '🎮'; }

    .hero h1 {
        font-size: clamp(2rem, 3.5vw, 3.4rem);
        font-weight: 900;
        line-height: 1.15;
        margin-bottom: 16px;
        background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero h1 .highlight {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-desc {
        color: var(--text-muted);
        font-size: 1.05rem;
        margin-bottom: 28px;
        line-height: 1.8;
        max-width: 520px;
    }

    .hero-cta {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 36px;
    }

    .btn-hero-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 28px;
        border-radius: 999px;
        font-weight: 800;
        font-size: 1rem;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        box-shadow: 0 8px 25px rgba(34,197,94,0.4);
        transition: all 0.25s;
    }

    .btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(34,197,94,0.5); }

    .btn-hero-secondary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 28px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 1rem;
        background: rgba(255,255,255,0.07);
        color: var(--text);
        border: 1px solid rgba(255,255,255,0.15);
        transition: all 0.25s;
    }

    .btn-hero-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat-card {
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 16px;
        text-align: center;
        transition: all 0.2s;
    }

    .stat-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-2px); }
    .stat-card strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--primary); }
    .stat-card span { font-size: 0.8rem; color: var(--text-muted); }

    /* Hero visual */
    .hero-visual {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .phone-mockup {
        width: 230px;
        background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
        border-radius: 44px;
        padding: 14px;
        box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.08);
        position: relative;
        z-index: 2;
    }

    .phone-mockup img {
        width: 100%;
        border-radius: 32px;
        aspect-ratio: 9/16;
        object-fit: cover;
    }

    .hero-glow {
        position: absolute;
        border-radius: 50%;
        filter: blur(60px);
        pointer-events: none;
    }

    .hero-glow-1 {
        width: 300px; height: 300px;
        background: radial-gradient(circle, rgba(34,197,94,0.25), transparent 70%);
        top: -50px; right: -50px;
        animation: pulse-glow 4s ease-in-out infinite;
    }

    .hero-glow-2 {
        width: 200px; height: 200px;
        background: radial-gradient(circle, rgba(6,182,212,0.2), transparent 70%);
        bottom: -30px; left: -30px;
        animation: pulse-glow 4s ease-in-out infinite reverse;
    }

    @keyframes pulse-glow {
        0%, 100% { opacity: 0.6; transform: scale(1); }
        50% { opacity: 1; transform: scale(1.1); }
    }

    /* Floating badges */
    .float-badge {
        position: absolute;
        background: var(--bg-card2);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 10px 14px;
        font-size: 0.8rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: var(--shadow);
        z-index: 3;
        animation: float 3s ease-in-out infinite;
    }

    .float-badge.top { top: 20px; left: -60px; animation-delay: 0.5s; }
    .float-badge.bottom { bottom: 40px; left: -50px; animation-delay: 1.5s; }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
    }

    /* ===== RAMADAN BANNER ===== */
    .ramadan-banner {
        margin: 0 0 32px;
        border-radius: var(--radius-lg);
        overflow: hidden;
        position: relative;
        background: linear-gradient(135deg, #1a0a00 0%, #2d1500 40%, #0a1a2e 100%);
        border: 1px solid rgba(255,215,0,0.25);
        box-shadow: 0 0 0 1px rgba(255,215,0,0.1), 0 20px 40px rgba(0,0,0,0.4);
    }

    .ramadan-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 30% 50%, rgba(255,215,0,0.08) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 50%, rgba(74,222,128,0.06) 0%, transparent 60%);
        pointer-events: none;
    }

    .ramadan-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 32px 40px;
        position: relative;
        z-index: 1;
        gap: 24px;
    }

    .ramadan-text h2 {
        font-size: 2rem;
        font-weight: 900;
        background: linear-gradient(135deg, #ffd700, #ffed4e);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 8px;
    }

    .ramadan-text p {
        color: rgba(255,255,255,0.8);
        font-size: 1rem;
    }

    .ramadan-emojis {
        display: flex;
        gap: 16px;
        font-size: 2.5rem;
    }

    .ramadan-emojis span { animation: float 3s ease-in-out infinite; }
    .ramadan-emojis span:nth-child(2) { animation-delay: 0.7s; }
    .ramadan-emojis span:nth-child(3) { animation-delay: 1.4s; }

    .ramadan-img {
        width: 100px; height: 100px;
        object-fit: contain;
        filter: drop-shadow(0 0 20px rgba(255,215,0,0.5));
        animation: float 4s ease-in-out infinite;
    }

    /* ===== AD UNIT ===== */
    .fazza-ad-unit {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 24px auto;
        min-height: 60px;
        width: 100%;
    }

    /* ===== SEO INTRO ===== */
    .seo-intro {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 36px 40px;
        margin-bottom: 32px;
    }

    .seo-intro h2 {
        font-size: 1.6rem;
        font-weight: 800;
        margin-bottom: 12px;
        color: var(--text);
    }

    .seo-intro p {
        color: var(--text-muted);
        font-size: 0.98rem;
        line-height: 1.85;
    }

    /* ===== CATEGORIES ===== */
    .section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        gap: 12px;
    }

    .section-title {
        font-size: 1.4rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .section-title::before {
        content: '';
        display: block;
        width: 4px; height: 24px;
        background: linear-gradient(to bottom, var(--primary), var(--secondary));
        border-radius: 2px;
        flex-shrink: 0;
    }

    .categories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
        margin-bottom: 32px;
    }

    .category-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 16px;
        text-align: center;
        cursor: pointer;
        transition: all 0.25s;
        position: relative;
        overflow: hidden;
    }

    .category-card::before {
        content: '';
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 0.25s;
    }

    .category-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.15); }
    .category-card:hover::before { opacity: 1; }

    .category-card.active {
        border-color: var(--primary);
        background: rgba(34,197,94,0.1);
    }

    .cat-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
    .cat-name { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }
    .category-card.active .cat-name { color: var(--primary); }
    .cat-count { font-size: 0.75rem; color: var(--text-dim); margin-top: 2px; }

    /* ===== FILTER BAR ===== */
    .filter-bar {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 20px 24px;
        margin-bottom: 28px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
    }

    .filter-label {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--text-muted);
        flex-shrink: 0;
    }

    .filter-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        flex: 1;
    }

    .chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 16px;
        border-radius: 999px;
        font-size: 0.82rem;
        font-weight: 700;
        background: rgba(255,255,255,0.05);
        border: 1px solid var(--border);
        color: var(--text-muted);
        cursor: pointer;
        transition: all 0.2s;
    }

    .chip:hover { background: rgba(255,255,255,0.1); color: var(--text); }
    .chip.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(34,197,94,0.35); }

    .search-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border);
        border-radius: 999px;
        padding: 8px 16px;
        min-width: 220px;
    }

    .search-wrap input {
        background: transparent;
        border: none;
        outline: none;
        color: var(--text);
        font-family: var(--font);
        font-size: 0.9rem;
        width: 100%;
    }

    .search-wrap input::placeholder { color: var(--text-dim); }

    /* ===== GAMES GRID ===== */
    .grid-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .results-label {
        font-size: 0.9rem;
        color: var(--text-muted);
    }

    .results-label strong { color: var(--primary); }

    .games-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }

    .game-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        group: true;
    }

    .game-card:hover {
        transform: translateY(-6px);
        border-color: rgba(255,255,255,0.12);
        box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    }

    .card-img-wrap {
        position: relative;
        overflow: hidden;
        aspect-ratio: 16/10;
        background: var(--bg-surface);
    }

    .card-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .game-card:hover .card-img-wrap img { transform: scale(1.08); }

    .card-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
        opacity: 0;
        transition: opacity 0.3s;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 16px;
    }

    .game-card:hover .card-overlay { opacity: 1; }

    .overlay-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 20px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        border-radius: 999px;
        font-weight: 700;
        font-size: 0.85rem;
        box-shadow: 0 4px 12px rgba(34,197,94,0.4);
        transition: transform 0.2s;
        text-decoration: none;
    }

    .overlay-btn:hover { transform: scale(1.05); }

    .card-badges {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .badge {
        padding: 3px 8px;
        border-radius: 6px;
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.5px;
    }

    .badge-free { background: rgba(34,197,94,0.9); color: #fff; }
    .badge-new { background: rgba(245,158,11,0.9); color: #fff; }
    .badge-top { background: rgba(239,68,68,0.9); color: #fff; }
    .badge-paid { background: rgba(99,102,241,0.9); color: #fff; }

    .card-body {
        padding: 14px;
    }

    .card-body h3 {
        font-size: 0.95rem;
        font-weight: 800;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--text);
    }

    .card-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .card-cat {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--secondary);
        background: rgba(6,182,212,0.1);
        padding: 3px 8px;
        border-radius: 6px;
    }

    .card-rating {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--accent);
    }

    .card-desc {
        font-size: 0.78rem;
        color: var(--text-dim);
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 12px;
    }

    .card-btn {
        display: block;
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 0.85rem;
        text-align: center;
        background: rgba(34,197,94,0.1);
        color: var(--primary);
        border: 1px solid rgba(34,197,94,0.2);
        transition: all 0.2s;
        text-decoration: none;
    }

    .card-btn:hover {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    /* Hidden cards */
    .game-card.hidden { display: none; }

    /* ===== FEATURED SECTION ===== */
    .featured-section {
        margin-bottom: 40px;
    }

    .featured-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .featured-card {
        border-radius: var(--radius-lg);
        overflow: hidden;
        position: relative;
        aspect-ratio: 16/9;
        cursor: pointer;
        border: 1px solid var(--border);
        transition: transform 0.3s;
    }

    .featured-card:hover { transform: scale(1.01); }

    .featured-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

    .featured-card:hover img { transform: scale(1.05); }

    .featured-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 24px;
    }

    .featured-badge {
        display: inline-block;
        background: var(--accent);
        color: #111;
        padding: 3px 10px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 800;
        margin-bottom: 8px;
        width: fit-content;
    }

    .featured-title {
        font-size: 1.4rem;
        font-weight: 900;
        margin-bottom: 6px;
    }

    .featured-desc {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.75);
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .featured-action {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 22px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 0.875rem;
        background: rgba(255,255,255,0.15);
        border: 1px solid rgba(255,255,255,0.3);
        color: #fff;
        backdrop-filter: blur(10px);
        transition: all 0.2s;
        width: fit-content;
    }

    .featured-action:hover { background: rgba(255,255,255,0.25); }

    /* ===== TOP GAMES RANKED ===== */
    .top-games-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }

    .top-game-item {
        display: flex;
        align-items: center;
        gap: 14px;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 12px 16px;
        transition: all 0.2s;
        text-decoration: none;
        color: inherit;
    }

    .top-game-item:hover {
        background: var(--bg-surface);
        border-color: rgba(255,255,255,0.1);
        transform: translateX(-4px);
    }

    .rank-num {
        font-size: 1.2rem;
        font-weight: 900;
        width: 32px;
        text-align: center;
        flex-shrink: 0;
    }

    .rank-num.gold { color: #ffd700; }
    .rank-num.silver { color: #c0c0c0; }
    .rank-num.bronze { color: #cd7f32; }
    .rank-num.normal { color: var(--text-dim); }

    .top-game-img {
        width: 52px; height: 52px;
        border-radius: 12px;
        object-fit: cover;
        flex-shrink: 0;
        border: 1px solid var(--border);
    }

    .top-game-info { flex: 1; min-width: 0; }
    .top-game-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .top-game-info span { font-size: 0.78rem; color: var(--text-muted); }

    .top-game-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        flex-shrink: 0;
    }

    .top-game-rating { font-size: 0.85rem; font-weight: 700; color: var(--accent); }
    .top-game-dl { font-size: 0.75rem; color: var(--text-dim); }

    /* ===== WHY US SECTION ===== */
    .why-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
        margin-bottom: 40px;
    }

    .why-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 24px;
        transition: all 0.25s;
    }

    .why-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.1); }

    .why-icon {
        width: 48px; height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

    .why-icon.green { background: rgba(34,197,94,0.1); }
    .why-icon.blue { background: rgba(6,182,212,0.1); }
    .why-icon.amber { background: rgba(245,158,11,0.1); }
    .why-icon.red { background: rgba(239,68,68,0.1); }

    .why-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
    .why-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

    /* ===== SEO CONTENT ===== */
    .seo-deep-content {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 40px;
        margin-bottom: 40px;
    }

    .seo-deep-content h2 {
        font-size: 1.5rem;
        font-weight: 800;
        margin-bottom: 16px;
        color: var(--text);
    }

    .seo-deep-content h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin: 20px 0 8px;
        color: var(--primary);
    }

    .seo-deep-content p {
        color: var(--text-muted);
        font-size: 0.95rem;
        line-height: 1.85;
        margin-bottom: 12px;
    }

    .seo-deep-content ul {
        list-style: none;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 8px;
        margin-bottom: 16px;
    }

    .seo-deep-content ul li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.88rem;
        color: var(--text-muted);
        padding: 8px 12px;
        background: rgba(255,255,255,0.03);
        border-radius: 8px;
    }

    .seo-deep-content ul li::before {
        content: '✓';
        color: var(--primary);
        font-weight: 900;
        flex-shrink: 0;
    }

    /* ===== FOOTER ===== */
    footer {
        background: var(--bg-card);
        border-top: 1px solid var(--border);
        padding: 48px 0 24px;
        margin-top: 60px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-brand p {
        color: var(--text-muted);
        font-size: 0.88rem;
        line-height: 1.7;
        margin-top: 12px;
        max-width: 260px;
    }

    .footer-col h4 {
        font-size: 0.9rem;
        font-weight: 800;
        color: var(--text);
        margin-bottom: 14px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-links a {
        font-size: 0.875rem;
        color: var(--text-muted);
        transition: color 0.2s;
    }

    .footer-links a:hover { color: var(--primary); }

    .footer-bottom {
        border-top: 1px solid var(--border);
        padding-top: 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }

    /* ===== BACK TO TOP ===== */
    #backToTop {
        position: fixed;
        bottom: 24px;
        left: 24px;
        width: 44px; height: 44px;
        border-radius: 12px;
        background: var(--primary);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 4px 16px rgba(34,197,94,0.4);
        transition: all 0.3s;
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
        border: none;
        z-index: 999;
        text-decoration: none;
    }

    #backToTop.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    #backToTop:hover { transform: translateY(-2px); }

    /* ===== NO RESULTS ===== */
    .no-results {
        grid-column: 1 / -1;
        text-align: center;
        padding: 60px 20px;
        color: var(--text-muted);
        display: none;
    }

    .no-results.show { display: block; }
    .no-results .icon { font-size: 3rem; margin-bottom: 12px; }
    .no-results p { font-size: 1rem; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
        .hero-grid { grid-template-columns: 1fr; }
        .hero-visual { display: none; }
        .footer-grid { grid-template-columns: 1fr 1fr; }
        .featured-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
        .header-nav, .header-actions { display: none; }
        .burger-btn { display: flex; }
        .hero h1 { font-size: 2rem; }
        .hero-stats { grid-template-columns: repeat(3, 1fr); }
        .categories-grid { grid-template-columns: repeat(3, 1fr); }
        .games-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
        .seo-intro, .seo-deep-content { padding: 24px 20px; }
        .ramadan-inner { flex-direction: column; text-align: center; padding: 24px 20px; }
        .filter-bar { flex-direction: column; align-items: stretch; }
    }

    @media (max-width: 480px) {
        .hero-stats { grid-template-columns: 1fr 1fr; }
        .categories-grid { grid-template-columns: repeat(2, 1fr); }
        .footer-grid { grid-template-columns: 1fr; gap: 24px; }
        .footer-bottom { flex-direction: column; align-items: flex-start; }
        .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    }

    /* ===== ANIMATIONS ===== */
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .animate-in {
        animation: fadeInUp 0.5s ease forwards;
    }

    .animate-in:nth-child(1) { animation-delay: 0.05s; }
    .animate-in:nth-child(2) { animation-delay: 0.1s; }
    .animate-in:nth-child(3) { animation-delay: 0.15s; }
    .animate-in:nth-child(4) { animation-delay: 0.2s; }
    .animate-in:nth-child(5) { animation-delay: 0.25s; }
    .animate-in:nth-child(6) { animation-delay: 0.3s; }

    /* Section spacing */
    .section { margin-bottom: 48px; }

    /* Scroll margin for anchors */
    #gamesGrid { scroll-margin-top: 80px; }
    #game-categories { scroll-margin-top: 80px; }
    #seoContent { scroll-margin-top: 80px; }
