/* Base site styles (moved out of index.html so browsers can cache them). */
        :root {
            /* 4-Color Palette requested by User */
            --c-dark-bg: #141517;           /* Deep Charcoal Base */
            --c-dark-surface: #1c1d1f;      /* Surface Card Base */
            --c-dark-card: #272829;         /* Color 1: Primary Dark Charcoal */
            --c-dark-elevated: #323438;
            --c-slate: #61677a;             /* Color 2: Slate Grey/Blue Accent & Border */
            --c-slate-hover: #767d93;
            --c-slate-subtle: rgba(97, 103, 122, 0.22);
            --c-slate-border: rgba(97, 103, 122, 0.38);
            --c-silver: #d8d9da;            /* Color 3: Light Silver Grey */
            --c-silver-muted: #9fa2a7;
            --c-silver-dim: #6c7077;
            --c-cream: #fff6e0;             /* Color 4: Warm Cream White / Soft Gold CTA */
            --c-cream-glow: rgba(255, 246, 224, 0.35);
            --c-cream-dark: #e8dbb7;

            /* Functional Accents */
            --c-red: #ff3366;
            --c-green: #10b981;
            --c-gold: #f59e0b;
            --c-aviator: #e11d48;

            /* Radii */
            --radius-xl: 18px;
            --radius-lg: 14px;
            --radius-md: 10px;
            --radius-sm: 6px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', -apple-system, sans-serif; -webkit-tap-highlight-color: transparent; }
        body { background: var(--c-dark-bg); color: var(--c-silver); min-height: 100vh; overflow-x: hidden; }

        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: var(--c-dark-bg); }
        ::-webkit-scrollbar-thumb { background: var(--c-slate); border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--c-silver-muted); }

        /* ====================================================
           1. TOP HEADER (1WIN STYLE)
           ==================================================== */
        header.top-header {
            position: sticky; top: 0; z-index: 100;
            background: rgba(20, 21, 23, 0.96); backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--c-slate-border);
            padding: 0.65rem 1.4rem;
            display: flex; align-items: center; justify-content: space-between; gap: 1rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
        }
        .header-left {
            display: flex; align-items: center; gap: 1.25rem;
        }
        .brand-logo-wrap {
            display: flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
        }
        .brand-logo-img {
            height: 24px; width: auto; max-width: 110px; object-fit: contain;
        }

        /* 1win Header Top Navigation Tabs */
        .top-nav-tabs {
            display: flex; align-items: center; gap: 4px;
        }
        .top-tab-item {
            display: flex; align-items: center; gap: 6px;
            padding: 7px 13px; border-radius: var(--radius-sm);
            color: var(--c-silver); font-size: 0.86rem; font-weight: 700;
            text-decoration: none; cursor: pointer; transition: all 0.18s ease;
            white-space: nowrap; user-select: none;
        }
        .top-tab-item:hover {
            color: #ffffff; background: rgba(97, 103, 122, 0.18);
        }
        .top-tab-item.active {
            color: #ffffff; background: #7c3aed; font-weight: 800; box-shadow: 0 0 16px rgba(124, 58, 237, 0.45);
            box-shadow: 0 0 16px var(--c-cream-glow);
        }
        .tab-badge-fire {
            background: var(--c-aviator); color: #fff; font-size: 0.62rem; font-weight: 900;
            padding: 2px 6px; border-radius: 4px; text-transform: uppercase; animation: pulse 1.8s infinite;
        }
        .tab-badge-bonus {
            background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff;
            font-size: 0.62rem; font-weight: 900; padding: 2px 6px; border-radius: 4px;
        }

        /* Header Right Controls */
        .header-right {
            display: flex; align-items: center; gap: 0.75rem;
        }
        .currency-switch-box {
            display: flex; align-items: center; background: var(--c-dark-surface);
            border: 1px solid var(--c-slate-border); border-radius: var(--radius-sm); padding: 2px;
        }
        .curr-toggle-btn {
            background: transparent; border: none; color: var(--c-silver-muted);
            padding: 5px 9px; border-radius: 4px; font-size: 0.75rem; font-weight: 800;
            cursor: pointer; transition: all 0.15s;
        }
        .curr-toggle-btn.active {
            background: var(--c-slate); color: var(--c-cream);
        }

        /* Wallet & Deposit */
        .wallet-pill {
            display: flex; align-items: stretch;
            background: var(--c-dark-card); border: 1px solid var(--c-slate-border);
            border-radius: var(--radius-md); overflow: hidden;
        }
        .wallet-balance-box {
            display: flex; align-items: center; gap: 6px;
            padding: 6px 12px; font-size: 0.9rem; font-weight: 800; color: #ffffff;
            cursor: pointer;
        }
        .wallet-currency-sym { color: var(--c-cream); font-size: 0.95rem; }
        .btn-header-deposit {
            background: var(--c-cream); color: var(--c-dark-bg); border: none;
            padding: 6px 14px; font-size: 0.84rem; font-weight: 900; cursor: pointer;
            display: flex; align-items: center; gap: 4px; transition: all 0.2s;
            text-transform: uppercase; letter-spacing: 0.3px;
        }
        .btn-header-deposit:hover {
            background: #ffffff; box-shadow: 0 0 16px var(--c-cream-glow); transform: translateY(-1px);
        }

        /* Auth Buttons (Guest State) */
        .guest-auth-actions {
            display: flex; align-items: center; gap: 6px;
        }
        .btn-header-login {
            background: transparent; border: 1px solid var(--c-slate);
            color: var(--c-silver); padding: 7px 14px; border-radius: var(--radius-sm);
            font-size: 0.84rem; font-weight: 700; cursor: pointer; transition: all 0.18s;
        }
        .btn-header-login:hover {
            border-color: var(--c-cream); color: #fff; background: rgba(97, 103, 122, 0.15);
        }
        .btn-header-register {
            background: var(--c-cream); color: var(--c-dark-bg); border: 1px solid var(--c-cream);
            padding: 7px 16px; border-radius: var(--radius-sm); font-size: 0.84rem; font-weight: 900;
            cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 12px var(--c-cream-glow);
        }
        .btn-header-register:hover {
            background: #ffffff; box-shadow: 0 0 20px var(--c-cream-glow); transform: translateY(-1px);
        }

        /* User Profile Pill */
        .user-profile-pill {
            display: none; align-items: center; gap: 8px;
            background: var(--c-dark-card); border: 1px solid var(--c-slate-border);
            padding: 4px 10px 4px 5px; border-radius: var(--radius-md); cursor: pointer;
        }
        .user-avatar-circle {
            width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
            border: 1.5px solid var(--c-cream);
        }
        .user-name-text { font-size: 0.82rem; font-weight: 800; color: #fff; }

        .btn-icon-square {
            width: 34px; height: 34px; border-radius: var(--radius-sm);
            background: var(--c-dark-card); border: 1px solid var(--c-slate-border);
            color: var(--c-silver); display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: all 0.18s; font-size: 0.95rem;
        }
        .btn-icon-square:hover {
            border-color: var(--c-cream); color: var(--c-cream); background: rgba(97, 103, 122, 0.2);
        }

        /* Mobile drawer toggle */
        .mobile-menu-toggle {
            display: none; background: transparent; border: none; color: var(--c-silver);
            font-size: 1.4rem; cursor: pointer;
        }

        /* ====================================================
           2. 1WIN LIVE RECENT WINS TICKER STREAM
           ==================================================== */
        .live-wins-strip {
            background: #18191c; border-bottom: 1px solid var(--c-slate-border);
            padding: 0.45rem 1.4rem; overflow: hidden; position: relative;
            display: flex; align-items: center; gap: 1rem;
        }
        .wins-strip-title {
            display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 900;
            color: var(--c-cream); text-transform: uppercase; letter-spacing: 0.5px;
            white-space: nowrap; flex-shrink: 0;
        }
        .wins-pulse-dot {
            width: 8px; height: 8px; border-radius: 50%; background: var(--c-green);
            box-shadow: 0 0 8px var(--c-green); animation: pulse 1.5s infinite;
        }
        .wins-marquee-container {
            flex: 1; overflow: hidden; display: flex; align-items: center;
        }
        .wins-marquee-track {
            display: flex; align-items: center; gap: 1.5rem; animation: marqueeAnim 45s linear infinite;
            white-space: nowrap; will-change: transform;
        }
        .wins-marquee-track:hover { animation-play-state: paused; }
        .win-ticker-item {
            display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700;
            background: var(--c-dark-surface); border: 1px solid var(--c-slate-border);
            padding: 4px 10px; border-radius: var(--radius-sm); color: var(--c-silver);
            cursor: pointer; transition: border-color 0.15s;
        }
        .win-ticker-item:hover { border-color: var(--c-cream); }
        .ticker-game-name { color: #ffffff; font-weight: 800; }
        .ticker-mult-pill {
            background: rgba(97, 103, 122, 0.4); color: var(--c-cream);
            padding: 1px 5px; border-radius: 4px; font-weight: 800; font-size: 0.72rem;
        }
        .ticker-win-amount { color: var(--c-green); font-weight: 900; }

        @keyframes marqueeAnim {
            0% { transform: translateX(0%); }
            100% { transform: translateX(-50%); }
        }

        /* ====================================================
           3. MAIN LAYOUT SHELL
           ==================================================== */
        .app-shell {
            max-width: 1440px; margin: 0 auto; padding: 1.25rem 1.4rem 4rem;
            display: flex; flex-direction: column; gap: 1.8rem;
        }

        /* 1WIN HERO PROMO CAROUSEL */
        .hero-carousel-wrap {
            position: relative; width: 100%; border-radius: var(--radius-xl);
            overflow: hidden; background: var(--c-dark-card);
            border: 1px solid var(--c-slate-border);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            min-height: 270px; display: flex; align-items: stretch;
        }
        .hero-slide {
            position: absolute; inset: 0; opacity: 0; pointer-events: none;
            transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex; align-items: center; justify-content: space-between;
            padding: 2.2rem 3rem; background: linear-gradient(90deg, #18191c 0%, #202226 50%, #272829 100%);
        }
        .hero-slide.active { opacity: 1; pointer-events: auto; position: relative; }
        .hero-slide-content {
            max-width: 600px; z-index: 2; display: flex; flex-direction: column; gap: 0.85rem;
        }
        .hero-badge-tag {
            align-self: flex-start; background: rgba(97, 103, 122, 0.4);
            border: 1px solid var(--c-slate); color: var(--c-cream);
            font-size: 0.74rem; font-weight: 900; text-transform: uppercase;
            padding: 4px 10px; border-radius: 20px; letter-spacing: 0.5px;
        }
        .hero-title {
            font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 900;
            line-height: 1.12; color: #ffffff; letter-spacing: -0.5px;
        }
        .hero-title span { color: var(--c-cream); text-shadow: 0 0 20px var(--c-cream-glow); }
        .hero-subtitle {
            font-size: 0.95rem; color: var(--c-silver-muted); line-height: 1.45;
        }
        .hero-cta-row {
            display: flex; align-items: center; gap: 0.85rem; margin-top: 0.5rem;
        }
        .btn-hero-primary {
            background: var(--c-cream); color: var(--c-dark-bg); border: none;
            padding: 12px 24px; border-radius: var(--radius-sm); font-size: 0.92rem;
            font-weight: 900; cursor: pointer; display: flex; align-items: center; gap: 8px;
            box-shadow: 0 4px 20px var(--c-cream-glow); transition: all 0.2s;
        }
        .btn-hero-primary:hover {
            background: #ffffff; transform: translateY(-2px); box-shadow: 0 6px 25px var(--c-cream-glow);
        }
        .btn-hero-secondary {
            background: var(--c-dark-surface); border: 1px solid var(--c-slate);
            color: var(--c-silver); padding: 11px 20px; border-radius: var(--radius-sm);
            font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: all 0.2s;
        }
        .btn-hero-secondary:hover {
            color: #ffffff; border-color: var(--c-silver); background: rgba(97, 103, 122, 0.2);
        }
        .hero-bg-visual {
            position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
            background-size: cover; background-position: center right;
            mask-image: linear-gradient(to right, transparent 0%, black 40%);
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
            pointer-events: none;
        }
        .hero-carousel-dots {
            position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
            display: flex; align-items: center; gap: 6px; z-index: 5;
        }
        .hero-dot {
            width: 8px; height: 8px; border-radius: 4px; background: rgba(216, 217, 218, 0.3);
            transition: all 0.25s; cursor: pointer;
        }
        .hero-dot.active {
            width: 26px; background: var(--c-cream); box-shadow: 0 0 10px var(--c-cream-glow);
        }

        /* ====================================================
           4. 1WIN CATEGORY & FILTER RAIL (STICKY)
           ==================================================== */
        .category-rail-bar {
            position: sticky; top: 62px; z-index: 90;
            background: rgba(20, 21, 23, 0.95); backdrop-filter: blur(12px);
            border: 1px solid var(--c-slate-border); border-radius: var(--radius-lg);
            padding: 0.65rem 0.85rem;
            display: flex; align-items: center; justify-content: space-between; gap: 1rem;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
        }
        .category-pills-row {
            display: flex; align-items: center; gap: 6px; overflow-x: auto;
            scroll-behavior: smooth; padding-bottom: 2px;
        }
        .category-pills-row::-webkit-scrollbar { height: 0px; }
        .cat-pill-btn {
            background: var(--c-dark-surface); border: 1px solid var(--c-slate-border);
            color: var(--c-silver); padding: 8px 14px; border-radius: var(--radius-sm);
            font-size: 0.84rem; font-weight: 700; cursor: pointer; display: flex;
            align-items: center; gap: 6px; white-space: nowrap; transition: all 0.18s;
        }
        .cat-pill-btn:hover {
            color: #ffffff; border-color: var(--c-slate-hover); background: rgba(97, 103, 122, 0.16);
        }
        .cat-pill-btn.active {
            background: var(--c-cream); color: var(--c-dark-bg); font-weight: 800;
            border-color: var(--c-cream); box-shadow: 0 0 14px var(--c-cream-glow);
        }
        .cat-pill-btn.active .cat-icon { filter: brightness(0.2); }

        .filters-group-right {
            display: flex; align-items: center; gap: 8px; flex-shrink: 0;
        }
        .provider-select-wrap select {
            background: var(--c-dark-card); border: 1px solid var(--c-slate-border);
            color: var(--c-silver); padding: 8px 12px; border-radius: var(--radius-sm);
            font-size: 0.82rem; font-weight: 700; outline: none; cursor: pointer;
        }
        .provider-select-wrap select:focus { border-color: var(--c-cream); }
        .search-input-wrap {
            display: flex; align-items: center; background: var(--c-dark-card);
            border: 1px solid var(--c-slate-border); border-radius: var(--radius-sm);
            padding: 4px 10px; gap: 6px;
        }
        .search-input-wrap input {
            background: transparent; border: none; outline: none;
            color: #fff; font-size: 0.82rem; font-weight: 600; width: 140px;
        }
        .search-input-wrap input::placeholder { color: var(--c-silver-dim); }

        /* ====================================================
           5. GAME SECTIONS & 1WIN ARRANGEMENT
           ==================================================== */
        .section-header-row {
            display: flex; align-items: center; justify-content: space-between;
            margin-bottom: 0.95rem;
        }
        .section-title {
            font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 800;
            color: #ffffff; display: flex; align-items: center; gap: 8px;
        }
        .section-title .sec-badge {
            font-size: 0.68rem; font-weight: 800; padding: 2px 7px; border-radius: 4px;
            background: rgba(97, 103, 122, 0.3); color: var(--c-cream); border: 1px solid var(--c-slate-border);
        }
        .section-actions {
            display: flex; align-items: center; gap: 6px;
        }
        .btn-view-all {
            background: transparent; border: 1px solid var(--c-slate-border);
            color: var(--c-silver-muted); padding: 5px 12px; border-radius: var(--radius-sm);
            font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: all 0.18s;
        }
        .btn-view-all:hover { color: #fff; border-color: var(--c-cream); }

        /* Horizontal rail scroller */
        .games-rail-scroll {
            display: flex; gap: 0.9rem; overflow-x: auto; scroll-behavior: smooth;
            padding-bottom: 8px;
        }
        .games-rail-scroll::-webkit-scrollbar { height: 4px; }
        .games-rail-scroll .game-card {
            flex: 0 0 175px; width: 175px;
        }

        /* Responsive Grid (1win density) */
        .games-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
            gap: 1rem;
        }

        /* 1WIN GAME CARD DESIGN */
        .game-card {
            background: var(--c-dark-card); border: 1px solid var(--c-slate-border);
            border-radius: var(--radius-md); overflow: hidden; position: relative;
            cursor: pointer; transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex; flex-direction: column;
        }
        .game-card:hover {
            transform: translateY(-5px); border-color: var(--c-cream);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px var(--c-cream-glow);
        }
        .game-thumb-box {
            width: 100%; aspect-ratio: 3/4; position: relative; overflow: hidden;
            background: #101113;
        }
        .game-thumb-img {
            width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease;
        }
        .game-card:hover .game-thumb-img { transform: scale(1.08); }
        .card-tag {
            position: absolute; top: 6px; left: 6px; z-index: 3;
            font-size: 0.62rem; font-weight: 900; padding: 2px 6px; border-radius: 4px;
            text-transform: uppercase; letter-spacing: 0.3px;
        }
        .tag-hot { background: var(--c-red); color: #fff; }
        .tag-top { background: var(--c-gold); color: #000; font-weight: 900; }
        .tag-new { background: var(--c-green); color: #fff; }

        .card-provider-pill {
            position: absolute; top: 6px; right: 6px; z-index: 3;
            font-size: 0.6rem; font-weight: 800; padding: 2px 6px; border-radius: 4px;
            background: rgba(20, 21, 23, 0.85); color: var(--c-silver);
            backdrop-filter: blur(4px); border: 1px solid var(--c-slate-border);
        }

        /* Hover Overlay with 1win Action Buttons */
        .card-hover-overlay {
            position: absolute; inset: 0; background: rgba(18, 19, 21, 0.88);
            backdrop-filter: blur(4px); display: flex; flex-direction: column;
            align-items: center; justify-content: center; gap: 7px; padding: 10px;
            opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 5;
        }
        .game-card:hover .card-hover-overlay { opacity: 1; pointer-events: auto; }
        .btn-card-play {
            width: 100%; background: var(--c-cream); color: var(--c-dark-bg);
            border: none; padding: 8px; border-radius: var(--radius-sm);
            font-weight: 900; font-size: 0.82rem; cursor: pointer;
            box-shadow: 0 0 14px var(--c-cream-glow); transition: transform 0.15s;
            display: flex; align-items: center; justify-content: center; gap: 5px;
        }
        .btn-card-play:hover { transform: scale(1.04); background: #ffffff; }
        .btn-card-demo {
            width: 100%; background: var(--c-dark-surface); border: 1px solid var(--c-slate);
            color: var(--c-silver); padding: 6px; border-radius: var(--radius-sm);
            font-weight: 700; font-size: 0.74rem; cursor: pointer;
        }
        .btn-card-demo:hover { color: #fff; border-color: var(--c-cream); }

        .game-meta-box {
            padding: 0.55rem 0.7rem; display: flex; flex-direction: column; gap: 2px;
            background: var(--c-dark-card); border-top: 1px solid var(--c-slate-border);
        }
        .game-title-text {
            font-size: 0.82rem; font-weight: 800; color: #ffffff;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .game-cat-subtext {
            font-size: 0.68rem; color: var(--c-silver-dim); font-weight: 700; text-transform: uppercase;
        }

        /* ====================================================
           6. FEATURED 1WIN AVIATOR ARENA (HERO FEATURE)
           ==================================================== */
        .aviator-hero-banner {
            background: linear-gradient(135deg, #1b0a11 0%, #29101a 50%, #1e1319 100%);
            border: 1px solid rgba(225, 29, 72, 0.4); border-radius: var(--radius-xl);
            padding: 1.6rem 2.2rem; display: flex; align-items: center; justify-content: space-between;
            position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(225, 29, 72, 0.15);
            gap: 1.5rem;
        }
        .aviator-left {
            max-width: 520px; z-index: 2; display: flex; flex-direction: column; gap: 0.75rem;
        }
        .aviator-badge-row { display: flex; align-items: center; gap: 8px; }
        .aviator-live-mult {
            font-family: 'Outfit', sans-serif; font-size: 3.2rem; font-weight: 900;
            color: var(--c-aviator); line-height: 1; text-shadow: 0 0 25px rgba(225, 29, 72, 0.6);
            display: flex; align-items: center; gap: 6px;
        }
        .aviator-desc { font-size: 0.92rem; color: var(--c-silver); line-height: 1.4; }
        .aviator-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
        .btn-aviator-play {
            background: var(--c-aviator); color: #fff; border: none;
            padding: 12px 26px; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 900;
            cursor: pointer; display: flex; align-items: center; gap: 8px;
            box-shadow: 0 0 20px rgba(225, 29, 72, 0.6); transition: all 0.2s;
        }
        .btn-aviator-play:hover { background: #f43f5e; transform: scale(1.03); }
        .aviator-right-img {
            max-width: 320px; width: 100%; height: auto; object-fit: contain;
            filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6));
            border-radius: var(--radius-lg); z-index: 2;
        }

        /* ====================================================
           7. 1WIN STYLE FOOTER & BADGES
           ==================================================== */
        footer.app-footer {
            background: #111214; border-top: 1px solid var(--c-slate-border);
            padding: 3rem 1.4rem 2rem; margin-top: 3rem;
        }
        .footer-inner {
            max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem;
        }
        .footer-top-row {
            display: flex; align-items: flex-start; justify-content: space-between;
            flex-wrap: wrap; gap: 2rem;
        }
        .footer-brand-col { max-width: 380px; display: flex; flex-direction: column; gap: 0.85rem; }
        .footer-brand-col p { font-size: 0.82rem; color: var(--c-silver-muted); line-height: 1.5; }
        .footer-links-grid {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
        }
        .footer-col h5 {
            color: var(--c-cream); font-size: 0.88rem; font-weight: 800; margin-bottom: 0.8rem;
            text-transform: uppercase; letter-spacing: 0.4px;
        }
        .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
        .footer-col a {
            color: var(--c-silver-dim); text-decoration: none; font-size: 0.82rem; font-weight: 600;
            transition: color 0.15s;
        }
        .footer-col a:hover { color: var(--c-cream); }

        .providers-showcase-row {
            display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
            gap: 1.25rem; padding: 1.2rem 0; border-top: 1px solid var(--c-slate-border);
            border-bottom: 1px solid var(--c-slate-border);
        }
        .provider-logo-pill {
            background: var(--c-dark-surface); border: 1px solid var(--c-slate-border);
            padding: 6px 14px; border-radius: var(--radius-sm); font-size: 0.78rem;
            font-weight: 800; color: var(--c-silver); letter-spacing: 0.4px;
        }

        .footer-bottom-row {
            display: flex; align-items: center; justify-content: space-between;
            flex-wrap: wrap; gap: 1rem; font-size: 0.76rem; color: var(--c-silver-dim);
        }
        .security-badges-row { display: flex; align-items: center; gap: 12px; }
        .badge-18-plus {
            width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--c-red);
            color: var(--c-red); display: flex; align-items: center; justify-content: center;
            font-weight: 900; font-size: 0.75rem;
        }

        /* ====================================================
           8. GAME THEATER / FULLSCREEN MODAL
           ==================================================== */
        .theater-modal {
            position: fixed; inset: 0; z-index: 1000; background: #000;
            display: none; flex-direction: column;
        }
        .theater-modal.active { display: flex; }
        .theater-header {
            background: var(--c-dark-surface); border-bottom: 1px solid var(--c-slate-border);
            padding: 0.6rem 1.2rem; display: flex; align-items: center; justify-content: space-between;
        }
        .theater-title { font-size: 0.95rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
        .theater-controls { display: flex; align-items: center; gap: 8px; }
        .btn-theater-ctrl {
            background: var(--c-dark-card); border: 1px solid var(--c-slate-border);
            color: var(--c-silver); padding: 6px 12px; border-radius: var(--radius-sm);
            font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: all 0.15s;
        }
        .btn-theater-ctrl:hover { color: #fff; border-color: var(--c-cream); }
        .btn-theater-close {
            background: var(--c-aviator); color: #fff; border: none; font-weight: 800;
        }
        .theater-iframe-container {
            flex: 1; width: 100%; height: 100%; position: relative; background: #08090a;
        }
        .theater-iframe {
            width: 100%; height: 100%; border: none;
        }
        .theater-loader-overlay {
            position: absolute; inset: 0; background: var(--c-dark-bg);
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            gap: 1rem; z-index: 10;
        }
        .theater-loader-overlay.hidden { display: none; }
        .spinner-ring {
            width: 50px; height: 50px; border: 4px solid var(--c-slate);
            border-top-color: var(--c-cream); border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        /* ====================================================
           9. AUTH & DEPOSIT MODALS
           ==================================================== */
        .app-modal-backdrop {
            position: fixed; inset: 0; z-index: 990; background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center;
            padding: 1rem;
        }
        .app-modal-backdrop.active { display: flex; }
        .modal-card {
            background: var(--c-dark-card); border: 1px solid var(--c-slate-border);
            border-radius: var(--radius-xl); max-width: 440px; width: 100%;
            padding: 2rem; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.8);
            animation: popModal 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .modal-close-btn {
            position: absolute; top: 16px; right: 16px; background: transparent;
            border: none; color: var(--c-silver-muted); font-size: 1.2rem; cursor: pointer;
        }
        .modal-close-btn:hover { color: #fff; }
        .modal-title {
            font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 800;
            color: #fff; margin-bottom: 0.3rem;
        }
        .modal-subtitle { font-size: 0.82rem; color: var(--c-silver-muted); margin-bottom: 1.25rem; }

        .auth-form-tabs {
            display: flex; border-bottom: 1px solid var(--c-slate-border); margin-bottom: 1.25rem;
        }
        .auth-tab-btn {
            flex: 1; text-align: center; padding: 10px; background: transparent; border: none;
            color: var(--c-silver-muted); font-size: 0.85rem; font-weight: 800; cursor: pointer;
            border-bottom: 2px solid transparent; transition: all 0.18s;
        }
        .auth-tab-btn.active { color: var(--c-cream); border-bottom-color: var(--c-cream); }

        .modal-form-group {
            display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem;
        }
        .modal-form-group label { font-size: 0.75rem; font-weight: 700; color: var(--c-silver); }
        .modal-form-input {
            background: var(--c-dark-surface); border: 1px solid var(--c-slate-border);
            color: #fff; padding: 10px 12px; border-radius: var(--radius-sm);
            font-size: 0.88rem; outline: none; transition: border-color 0.15s;
        }
        .modal-form-input:focus { border-color: var(--c-cream); }
        .btn-modal-submit {
            width: 100%; background: var(--c-cream); color: var(--c-dark-bg);
            border: none; padding: 12px; border-radius: var(--radius-sm);
            font-size: 0.95rem; font-weight: 900; cursor: pointer; margin-top: 0.5rem;
            transition: all 0.2s; box-shadow: 0 4px 15px var(--c-cream-glow);
        }
        .btn-modal-submit:hover { background: #ffffff; transform: translateY(-1px); }

        /* Deposit Methods */
        .deposit-methods-grid {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 1.2rem;
        }
        .dep-method-card {
            background: var(--c-dark-surface); border: 1px solid var(--c-slate-border);
            padding: 10px; border-radius: var(--radius-sm); text-align: center;
            font-size: 0.78rem; font-weight: 800; color: var(--c-silver); cursor: pointer;
            transition: all 0.15s;
        }
        .dep-method-card:hover, .dep-method-card.active {
            border-color: var(--c-cream); color: #fff; background: rgba(97, 103, 122, 0.25);
        }
        .quick-amounts-row {
            display: flex; gap: 6px; margin-bottom: 1rem; flex-wrap: wrap;
        }
        .btn-quick-amount {
            background: var(--c-dark-surface); border: 1px solid var(--c-slate-border);
            color: var(--c-silver); padding: 6px 12px; border-radius: var(--radius-sm);
            font-size: 0.78rem; font-weight: 800; cursor: pointer;
        }
        .btn-quick-amount:hover { border-color: var(--c-cream); color: var(--c-cream); }

        /* ====================================================
           10. MOBILE BOTTOM NAVIGATION DOCK (1WIN STYLE)
           ==================================================== */
        .mobile-bottom-dock {
            display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
            background: rgba(20, 21, 23, 0.98); backdrop-filter: blur(14px);
            border-top: 1px solid var(--c-slate-border); padding: 6px 10px;
            justify-content: space-around; align-items: center;
        }
        .mobile-dock-btn {
            display: flex; flex-direction: column; align-items: center; gap: 2px;
            color: var(--c-silver-dim); text-decoration: none; font-size: 0.65rem; font-weight: 800;
            background: transparent; border: none; cursor: pointer; padding: 4px;
        }
        .mobile-dock-btn .dock-icon { font-size: 1.25rem; }
        .mobile-dock-btn.active { color: var(--c-cream); }
        .mobile-dock-deposit {
            background: var(--c-cream); color: var(--c-dark-bg); border-radius: 50%;
            width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
            font-size: 1.3rem; box-shadow: 0 0 16px var(--c-cream-glow); transform: translateY(-10px);
        }

        /* KEYFRAMES */
        @keyframes spin { to { transform: rotate(360deg); } }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
        @keyframes popModal { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }

        /* RESPONSIVE BREAKPOINTS */
        @media (max-width: 1024px) {
            .top-nav-tabs { display: none; }
            .mobile-menu-toggle { display: block; }
            .hero-bg-visual { opacity: 0.3; width: 100%; }
        }
        @media (max-width: 768px) {
            header.top-header { padding: 0.5rem 1rem; }
            .app-shell { padding: 0.8rem 1rem 5rem; }
            .hero-carousel-wrap { min-height: 220px; }
            .hero-slide { padding: 1.4rem; }
            .hero-title { font-size: 1.6rem; }
            .hero-subtitle { font-size: 0.84rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
            .aviator-hero-banner { flex-direction: column; text-align: center; padding: 1.4rem; }
            .aviator-actions { justify-content: center; }
            .aviator-right-img { max-width: 220px; }
            .footer-links-grid { grid-template-columns: 1fr; gap: 1.5rem; }
            .mobile-bottom-dock { display: flex; }
            .games-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
            .games-rail-scroll .game-card { flex: 0 0 145px; width: 145px; }
        }
        /* Plixwin lobby: dense game rows, clear navigation, and a blue casino palette. */
        :root {
            --c-dark-bg: #0d0e15; --c-dark-surface: #131420; --c-dark-card: #181926;
            --c-dark-elevated: #212334; --c-slate: #4b607f; --c-slate-hover: #6883a9;
            --c-slate-subtle: rgba(84, 111, 153, .18); --c-slate-border: rgba(120, 150, 193, .16);
            --c-silver: #e9eef7; --c-silver-muted: #a8b7cd; --c-silver-dim: #7d90aa;
            --c-cream: #7c3aed; --c-cream-dark: #6d28d9; --c-cream-glow: rgba(124, 58, 237, .35);
        }
        body { background: #0d0e15; }
        header.top-header { background: rgba(13, 19, 32, .97); padding: .65rem 1.1rem; }
        .brand-logo-img { height: 42px; max-width: 160px; }
        .top-tab-item.active, .cat-pill-btn.active { color: #fff; box-shadow: none; }
        .btn-header-register, .btn-header-deposit, .btn-hero-primary, .btn-modal-submit,
        .btn-card-play, .mobile-dock-deposit { color: #fff; background: linear-gradient(135deg, #2b8fff, #1762d0); box-shadow: 0 6px 20px rgba(124, 58, 237, .3); }
        .wallet-pill { display: none; }
        .btn-header-register:hover, .btn-header-deposit:hover, .btn-hero-primary:hover, .btn-modal-submit:hover,
        .btn-card-play:hover { color: #fff; background: #8b5cf6; }
        .live-wins-strip { background: #111a29; }
        .site-sidebar { position: fixed; top: 64px; bottom: 0; left: 0; width: 214px; z-index: 80;
            overflow-y: auto; padding: 20px 12px; background: #111a29; border-right: 1px solid var(--c-slate-border); }
        .sidebar-heading { color: var(--c-silver-dim); font-size: .66rem; font-weight: 900; text-transform: uppercase;
            letter-spacing: 1.5px; padding: 13px 13px 7px; }
        .sidebar-link { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px;
            border: 0; border-radius: 9px; color: #b9c7dc; background: transparent; cursor: pointer;
            text-align: left; font-size: .84rem; font-weight: 750; margin: 2px 0; }
        .sidebar-link:hover, .sidebar-link.active { color: #fff; background: #203958; }
        .sidebar-link.active { box-shadow: inset 3px 0 #8b5cf6; background: rgba(124, 58, 237, 0.18); color: #fff; }
        .sidebar-icon { width: 22px; text-align: center; font-size: 1rem; }
        .sidebar-promo { margin: 19px 5px 0; padding: 14px; border-radius: 12px;
            background: linear-gradient(145deg, #174479, #152b4c); border: 1px solid #2c588c; }
        .sidebar-promo strong { display: block; color: #fff; font-size: .87rem; margin-bottom: 5px; }
        .sidebar-promo p { color: #bdcde3; font-size: .72rem; line-height: 1.5; }
        .app-shell { margin-left: 214px; max-width: none; padding: 22px 26px 48px; gap: 26px; }
        .app-footer { margin-left: 214px; }
        .hero-carousel-wrap { min-height: 282px; border-radius: 14px; }
        .hero-slide { background: linear-gradient(100deg, #162e52, #192b48 55%, #1c2940); }
        .hero-slide.active { width: 100%; min-width: 100%; }
        .hero-bg-visual { width: 62%; opacity: .8; -webkit-mask-image: linear-gradient(to right, transparent, black 58%); mask-image: linear-gradient(to right, transparent, black 58%); }
        #heroSlide0 .hero-bg-visual { background-size: auto 190%; background-position: right center; }
        .hero-slide-content { max-width: 52%; }
        .hero-title { font-size: clamp(1.8rem, 2.4vw, 2.75rem); max-width: 540px; }
        .hero-title span { color: #79c0ff; text-shadow: none; }
        .category-rail-bar { top: 64px; border-radius: 10px; background: rgba(20, 30, 46, .97); }
        .cat-pill-btn { border-radius: 8px; }
        .games-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 13px; }
        .games-rail-scroll { gap: 13px; }
        .games-rail-scroll .game-card { flex-basis: 156px; width: 156px; }
        .game-card { border-radius: 9px; border-color: rgba(125, 152, 190, .12); }
        .game-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
        .game-thumb-box { aspect-ratio: 3 / 4; }
        .game-thumb-img { position: relative; z-index: 1; }
        .game-thumb-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
            flex-direction: column; gap: 12px; padding: 16px; text-align: center; color: #dceaff;
            background: radial-gradient(circle at 55% 35%, #315c8c, #182c49 55%, #132139); }
        .game-thumb-fallback.sports { background: radial-gradient(circle at 55% 30%, #296986, #183d59 55%, #122a41); }
        .game-thumb-fallback.live { background: radial-gradient(circle at 50% 25%, #634367, #2d274c 60%, #171e37); }
        .game-thumb-fallback .fallback-icon { font-size: 2.3rem; line-height: 1; filter: drop-shadow(0 6px 12px rgba(0,0,0,.3)); }
        .game-thumb-fallback .fallback-name { font: 850 .88rem 'Outfit', sans-serif; line-height: 1.15; }
        .game-meta-box { min-height: 55px; }
        .game-title-text { font-size: .78rem; }
        .card-provider-pill { max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .section-header-row { margin-bottom: 12px; }
        .card-hover-overlay { background: rgba(8, 19, 37, .86); }
        .game-card:focus-within .card-hover-overlay { opacity: 1; pointer-events: auto; }
        .lobby-intro { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
        .lobby-intro h2 { color: #fff; font: 900 1.45rem 'Outfit', sans-serif; }
        .lobby-intro p { margin-top: 4px; color: var(--c-silver-muted); font-size: .84rem; }
        .lobby-intro .lobby-count { color: #8bbcff; font-size: .75rem; font-weight: 800; white-space: nowrap; }
        .deposit-unavailable { padding: 14px; background: #1c3049; border: 1px solid #365579;
            border-radius: 9px; color: #cfdef2; font-size: .84rem; line-height: 1.5; }
        #sportsbookSection { display: none; }
        .sportsbook-hero { position: relative; overflow: hidden; display: flex; align-items: center;
            min-height: 258px; padding: 30px 36px; border: 1px solid #284b79; border-radius: 15px;
            background: radial-gradient(circle at 82% 55%, rgba(39, 138, 244, .42), transparent 36%), linear-gradient(115deg, #142744, #102038 70%, #142d4d); }
        .sportsbook-hero:after { content: '⚽'; position: absolute; right: 8%; top: 4%; font-size: 175px;
            opacity: .25; filter: drop-shadow(0 15px 25px #061326); transform: rotate(-12deg); }
        .sportsbook-hero-copy { position: relative; z-index: 1; max-width: 560px; }
        .sportsbook-kicker { display: inline-block; color: #91c8ff; border: 1px solid #417db5;
            background: #1b416b; border-radius: 30px; padding: 5px 11px; font-size: .68rem; font-weight: 900; letter-spacing: 1.1px; }
        .sportsbook-hero h1 { color: #fff; font: 900 clamp(2rem, 3vw, 3.1rem) 'Outfit', sans-serif; line-height: 1.05;
            margin: 15px 0 10px; letter-spacing: -.025em; }
        .sportsbook-hero h1 span { color: #67b3ff; }
        .sportsbook-hero p { color: #b8cce7; font-size: .88rem; line-height: 1.6; max-width: 470px; }
        .sportsbook-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
        .sportsbook-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 1px 8px; margin-top: 17px; }
        .sportsbook-tab { border: 1px solid var(--c-slate-border); background: #1b293e; color: #bdcce0;
            border-radius: 9px; padding: 11px 15px; font-size: .82rem; font-weight: 800; white-space: nowrap; cursor: pointer; }
        .sportsbook-tab:hover, .sportsbook-tab.active { color: #fff; background: #22518a; border-color: #407dbd; }
        .sportsbook-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; margin-top: 14px; }
        .sportsbook-feature, .sportsbook-providers { background: #172337; border: 1px solid var(--c-slate-border);
            border-radius: 12px; padding: 22px; }
        .sportsbook-feature { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
        .sportsbook-feature h2, .sportsbook-providers h3 { color: #fff; font: 850 1.12rem 'Outfit', sans-serif; }
        .sportsbook-feature p, .sportsbook-providers p { color: #9fb2cb; font-size: .78rem; line-height: 1.55; margin-top: 7px; }
        .sportsbook-feature-badge { color: #91c8ff; background: #1b3d64; border-radius: 6px;
            padding: 5px 8px; font-size: .65rem; font-weight: 900; margin-bottom: 11px; display: inline-block; }
        .sportsbook-provider-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
        .sportsbook-provider-list button { background: #223550; border: 1px solid #375579; color: #d6e6f8;
            padding: 7px 9px; border-radius: 6px; font-size: .72rem; cursor: pointer; }
        .sportsbook-provider-list button:hover { background: #2b5687; }
        .sportsbook-feature .btn-hero-primary { white-space: nowrap; }
        .live-wins-strip { display: none; }
        @media (max-width: 1120px) {
            .site-sidebar { display: none; }
            .app-shell { margin-left: 0; }
            .app-footer { margin-left: 0; }
        }
        @media (max-width: 768px) {
            .app-shell { padding: 12px 12px 76px; gap: 21px; }
            .hero-carousel-wrap { min-height: 265px; }
            .hero-slide { padding: 20px; }
            .hero-slide-content { max-width: 100%; width: 100%; }
            .hero-bg-visual { width: 100%; opacity: .12; }
            .lobby-intro .lobby-count { display: none; }
            .hero-title { font-size: 1.65rem; }
            .hero-cta-row { flex-wrap: wrap; gap: 7px; }
            .hero-cta-row button { padding: 9px 12px; font-size: .77rem; }
            .filters-group-right { width: 100%; }
            .category-rail-bar { flex-wrap: wrap; top: 54px; }
            .category-pills-row { width: 100%; }
            .search-input-wrap { flex: 1; }
            .search-input-wrap input { width: 100%; }
            .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
            .games-rail-scroll .game-card { flex-basis: 143px; width: 143px; }
            .header-right { gap: 5px; }
            .currency-switch-box, .header-right .btn-icon-square { display: none; }
            .sportsbook-hero { min-height: 250px; padding: 24px; }
            .sportsbook-hero:after { right: -20px; top: 15px; font-size: 145px; opacity: .12; }
            .sportsbook-grid { grid-template-columns: 1fr; }
            .sportsbook-feature { align-items: flex-start; flex-direction: column; }
        }
        @media (max-width: 480px) {
            .brand-logo-img { max-width: 95px; height: 20px; }
            .header-left { gap: 7px; }
            .guest-auth-actions .btn-header-register { display: none; }
            .hero-subtitle { max-width: 305px; }
            .hero-slide { padding: 18px; }
            .hero-title { font-size: 1.5rem; }
        }
        /* Plixwin's charcoal lobby and sports workspace. */
        :root {
            --c-dark-bg:#0d0e15; --c-dark-surface:#131420; --c-dark-card:#181926;
            --c-dark-elevated:#212334; --c-slate:#60636a; --c-slate-hover:#777b85;
            --c-slate-border:rgba(255,255,255,.09); --c-silver:#f5f5f6;
            --c-silver-muted:#b6b8be; --c-silver-dim:#92959e;
            --c-cream:#7c3aed; --c-cream-dark:#6d28d9; --c-cream-glow:rgba(124,58,237,.35);
        }
        * { font-family: Arial, Helvetica, sans-serif; }
        body { background:#0d0e15; color:#f1f5f9; }
        header.top-header { margin-left:310px; width:calc(100% - 310px); min-height:82px; padding:10px 30px 10px 26px; background:#0d0e15; border-bottom:1px solid rgba(255,255,255,0.07); box-shadow:0 4px 20px rgba(0,0,0,0.5); backdrop-filter:blur(12px); }
        .header-left { gap:26px; min-width:0; }
        .brand-logo-img { height:24px; width:auto; max-width:110px; object-fit:contain; filter:none; }
        .top-nav-tabs { gap:0; background:#272729; border-radius:17px; padding:4px; }
        .top-tab-item { border:0; background:transparent; color:#e6e6e8; padding:13px 19px; border-radius:13px; font-size:16px; font-weight:700; }
        .top-tab-item.active { background:#7c3aed; box-shadow:0 0 16px rgba(124,58,237,.45); color:#fff; box-shadow:none; }
        .top-tab-item:hover { background:#3a3a3e; }
        .top-tab-item.active:hover { background:#8b5cf6; }
        .header-right { gap:14px; }
        .currency-switch-box,.header-right .btn-icon-square { display:none; }
        .btn-header-login { background:#272729; border:0; color:#f5f5f5; border-radius:15px; padding:16px 24px; font-size:16px; }
        .btn-header-register { background:#00e676; box-shadow:0 0 18px rgba(0,230,118,.35); border:0; box-shadow:none; color:#fff; border-radius:15px; padding:16px 24px; font-size:16px; }
        .btn-header-register:hover { background:#1ef58a; box-shadow:0 0 24px rgba(0,230,118,.55); box-shadow:none; color:#fff; }
        .btn-header-deposit { background:#7c3aed; box-shadow:0 0 16px rgba(124,58,237,.4); color:#fff; }
        .site-sidebar { top:0; width:310px; z-index:105; padding:13px 17px 24px; background:#12131d; border-right:1px solid rgba(255,255,255,0.07); }
        .mobile-nav-backdrop { display:none; position:fixed; inset:0; width:100%; height:100%; z-index:125; border:0; background:rgba(0,0,0,.62); cursor:pointer; }
        .sidebar-account { display:flex; align-items:center; gap:14px; width:100%; padding:0 4px 14px; border:0; background:transparent; color:#f3f3f4; text-align:left; font-size:18px; cursor:pointer; }
        .sidebar-avatar { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; background:#303134; color:#999da4; font-size:25px; }
        .sidebar-chevron { margin-left:auto; color:#888d98; font-size:28px; }
        .sidebar-mini-promo { width:100%; min-height:69px; padding:11px 16px; border:0; border-radius:18px; text-align:left; color:#fff; cursor:pointer; background:linear-gradient(95deg,rgba(17,25,22,.86),rgba(47,57,48,.25)),url('/img/plixwin_gift_banner.png') right center/cover; }
        .sidebar-mini-promo strong,.sidebar-mini-promo span { display:block; max-width:130px; }
        .sidebar-mini-promo strong { font-size:14px; }
        .sidebar-mini-promo span { margin-top:5px; font-size:11px; line-height:1.3; }
        .sidebar-heading { margin-top:13px; padding:14px 10px 9px; border-top:1px solid #323236; color:#858994; font-size:11px; letter-spacing:1.1px; }
        .sidebar-link { margin:2px 0; padding:12px 13px; color:#e2e2e4; font-size:16px; font-weight:600; border-radius:12px; }
        .sidebar-link:hover,.sidebar-link.active { background:#343438; box-shadow:none; }
        .sidebar-link.active { color:#fff; background: rgba(124, 58, 237, 0.18); box-shadow: inset 3px 0 #8b5cf6; }
        .sidebar-icon { width:28px; color:#a78bfa; font-size:20px; }
        .sidebar-promo { background:#29292c; border:0; margin:20px 2px 0; }
        .sidebar-promo p { color:#aeb0b8; }
        .app-shell { margin-left:310px; padding:26px 30px 60px; gap:30px; background:#121214; }
        .app-footer { margin-left:310px; }
        .lobby-intro { display:none!important; }
        .casino-mode-tabs { display:none; align-items:center; gap:0; align-self:flex-start; background:#29292c; border-radius:24px; padding:3px; }
        .casino-mode-tabs button { border:0; border-radius:21px; background:transparent; color:#e8e8e9; padding:12px 20px; font-size:16px; font-weight:700; cursor:pointer; }
        .casino-mode-tabs button.active { background:#7c3aed; box-shadow:0 0 14px rgba(124,58,237,.4); color:#fff; }
        body.casino-mode .casino-mode-tabs { display:flex; }
        .promo-layout { display:grid; grid-template-columns:minmax(0,2.08fr) minmax(280px,.98fr); gap:18px; min-width:0; }
        .hero-carousel-wrap { min-width:0; min-height:365px; height:365px; border-radius:27px; box-shadow:none; border:1px solid #292d35; }
        .hero-slide { padding:38px 40px; background:#0c111d; }
        .hero-slide-content { max-width:53%; gap:12px; justify-content:center; min-height:100%; }
        .hero-badge-tag { display:none; }
        .hero-title { font:800 clamp(36px,3.2vw,58px)/1.04 Arial,Helvetica,sans-serif; letter-spacing:-.04em; text-transform:none; max-width:500px; }
        .hero-title span { color:#fff; text-shadow:none; }
        .hero-subtitle { color:#e0e2e8; font-size:15px; max-width:320px; line-height:1.5; }
        .hero-cta-row { margin-top:auto; padding-top:25px; }
        .btn-hero-primary { background:#fff; color:#111114; border-radius:13px; padding:13px 22px; font-size:15px; box-shadow:none; }
        .btn-hero-primary:hover { background:#eceef2; color:#111114; box-shadow:none; }
        .hero-bg-visual,#heroSlide0 .hero-bg-visual { width:100%; inset:0; opacity:1; background-size:cover; background-position:center; mask-image:none; -webkit-mask-image:none; }
        #heroSlide0::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(5,9,17,.7),rgba(5,9,17,.24) 53%,transparent 75%); }
        .hero-slide-content { position:relative; z-index:2; }
        .hero-carousel-dots { display:none; }
        .promo-side { display:grid; grid-template-rows:1fr 1fr; gap:18px; min-width:0; }
        .promo-tile { position:relative; min-height:0; border:0; border-radius:25px; overflow:hidden; padding:22px 24px; background-color:#87817a; color:#fff; text-align:left; cursor:pointer; background-position:center; background-size:cover; }
        .promo-tile::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.3),transparent 72%); }
        .promo-tile strong,.promo-tile span { position:relative; z-index:1; display:block; max-width:48%; }
        .promo-tile strong { font-size:17px; }
        .promo-tile span { margin-top:8px; font-size:14px; line-height:1.3; }
        .promo-car { background-image:url('/img/plixwin_car_banner.png'); }
        .promo-gift { background-image:url('/img/plixwin_gift_banner.png'); }
        .promo-casino-feature { display:none; border:0; border-radius:25px; background:#3c67f0; color:#fff; padding:24px; cursor:pointer; text-align:center; overflow:hidden; }
        .promo-casino-feature strong,.promo-casino-feature span { display:block; }
        .promo-casino-feature strong { font-size:27px; line-height:1.1; margin:10px 0; }
        .feature-eyebrow { font-size:13px; opacity:.85; }
        .feature-poster { margin:12px auto 6px; height:155px; width:125px; border-radius:12px; overflow:hidden; box-shadow:0 8px 20px #1d3caf; }
        .feature-poster img { width:100%; height:100%; object-fit:cover; }
        .feature-play { background:#fff; color:#151518; border-radius:11px; padding:12px; font-size:15px; font-weight:700; }
        body.casino-mode .promo-side { display:none; }
        body.casino-mode .promo-casino-feature { display:block; }
        .category-rail-bar { position:relative; top:auto; z-index:2; display:flex; flex-direction:column-reverse; align-items:stretch; gap:20px; border:0; padding:0; background:transparent; box-shadow:none; backdrop-filter:none; }
        .filters-group-right { width:100%; gap:10px; }
        .search-input-wrap { flex:1; min-height:52px; background:#28282a; border:0; border-radius:15px; padding:0 18px; }
        .search-input-wrap input { flex:1; width:100%; font-size:16px; }
        .provider-select-wrap { order:2; width:29%; }
        .provider-select-wrap select { width:100%; min-height:52px; background:#28282a; border:0; border-radius:15px; padding:0 18px; color:#e6e6e6; font-size:15px; }
        .category-pills-row { gap:10px; }
        .cat-pill-btn { padding:13px 17px; background:#29292c; color:#eee; border:0; border-radius:15px; font-size:15px; }
        .cat-pill-btn.active { background:#7c3aed; box-shadow:0 0 14px rgba(124,58,237,.4); color:#fff; border:0; box-shadow:none; }
        .cat-pill-btn.active .cat-icon { filter:none; }
        .section-title { color:#fff; font-family:Arial,Helvetica,sans-serif; font-size:22px; }
        .section-header-row { margin-bottom:15px; }
        .sec-badge { display:none; }
        .btn-view-all { border-radius:12px; }
        .games-rail-scroll {
            display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth;
            padding: 4px 2px 14px 2px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        }
        .games-rail-scroll::-webkit-scrollbar { height: 4px; }
        .games-rail-scroll::-webkit-scrollbar-thumb { background: #232733; border-radius: 4px; }
        .games-rail-scroll .game-card {
            flex: 0 0 116px !important; width: 116px !important; scroll-snap-align: start;
        }
        .games-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)) !important; gap: 12px;
        }

        /* 3:4 Uniform Portrait Game Card */
        .game-card {
            position: relative; background: transparent; border: none; cursor: pointer;
            display: flex; flex-direction: column; border-radius: 8px;
            transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); user-select: none; text-decoration: none;
        }
        .game-card:hover { transform: translateY(-3px); }

        .game-thumb-box {
            position: relative; width: 100%; aspect-ratio: 3 / 4 !important; border-radius: 8px;
            overflow: hidden; background: linear-gradient(145deg, hsl(var(--game-hue, 215) 32% 20%), #10141e);
            border: 1px solid rgba(255, 255, 255, 0.07);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .game-card:hover .game-thumb-box {
            border-color: rgba(139, 92, 246, 0.6);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 16px rgba(124, 58, 237, 0.35);
        }

        /* Show the complete source artwork. Portrait sources fill the card naturally. */
        .game-thumb-img {
            position: absolute; inset: 0; width: 100% !important; height: 100% !important;
            object-fit: cover !important; object-position: center !important; display: block; z-index: 1;
            border-radius: 8px;
            opacity: 0;
            transition: opacity 0.2s ease;
        }
        .game-thumb-box.has-image .game-thumb-img { opacity: 1; }
        .game-thumb-box .game-thumb-fallback { display: none; }
        .game-thumb-box.has-error .game-thumb-fallback { display: flex; }
        .game-card:hover .game-thumb-img { transform: none; filter: none; }
        .game-art-caption { display: none !important; }

        /* Hide all overlay capsules & text in resting state for clean 100% full artwork */
        .card-provider-tag, .card-tag, .card-live-bar, .card-brand-badge, .card-bottom-scrim {
            display: none !important;
        }

        /* Hover Overlay with Glowing Circular Blue Play Button */
        .card-hover-overlay {
            position: absolute; inset: 0; background: rgba(9, 13, 22, 0.88); backdrop-filter: none;
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            gap: 7px; padding: 12px 6px; opacity: 0; pointer-events: none;
            transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1); z-index: 5;
        }
        .game-card:hover .card-hover-overlay { opacity: 1; pointer-events: auto; }

        .btn-card-play-circle {
            width: 42px; height: 42px; border-radius: 50%;
            background: #7c3aed; color: #ffffff;
            border: none; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 0 18px rgba(124, 58, 237, 0.7);
            transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.18s ease, box-shadow 0.18s ease;
        }
        .btn-card-play-circle svg { margin-left: 2px; }
        .btn-card-play-circle:hover {
            transform: scale(1.14);
            background: #8b5cf6;
            box-shadow: 0 0 26px rgba(139, 92, 246, 0.95);
        }

        .card-hover-title {
            font-size: 0.76rem; font-weight: 800; color: #ffffff; text-align: center;
            line-height: 1.22; max-width: 100%;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
            word-break: break-word; padding: 0 4px;
        }
        .card-hover-prov {
            font-size: 0.6rem; font-weight: 700; color: #a78bfa; text-transform: uppercase;
            letter-spacing: 0.5px; text-align: center;
        }
        .btn-card-demo-pill {
            background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25);
            color: #e2e8f0; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: 0.64rem;
            cursor: pointer; transition: all 0.15s ease;
        }
        .btn-card-demo-pill:hover { background: rgba(255, 255, 255, 0.28); color: #fff; border-color: #fff; }

        .game-thumb-fallback {
            position: absolute; inset: 0; width: 100%; height: 100%;
            z-index: 0; background: radial-gradient(circle at 72% 24%, hsl(var(--game-hue, 215) 55% 35%), transparent 45%), linear-gradient(145deg, #1b2436, #0e1522);
            display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px;
            text-align: center; gap: 4px;
        }

        /* Clean Minimal Section Headers with < > Scroll Chevrons */
        .section-header-row {
            display: flex; align-items: center; justify-content: space-between;
            margin-bottom: 10px;
        }
        .section-title-link {
            display: inline-flex; align-items: center; gap: 8px;
            cursor: pointer; user-select: none; transition: opacity 0.15s ease;
            margin: 0; text-decoration: none;
        }
        .section-title-link:hover { opacity: 0.85; }
        .sec-title-icon {
            display: inline-flex; align-items: center; justify-content: center;
            color: #a78bfa; font-size: 1.15rem; line-height: 1;
        }
        .sec-title-badge-blue, .sec-title-badge-violet {
            display: inline-flex; align-items: center; justify-content: center;
            background: #7c3aed; color: #ffffff;
            font-size: 0.95rem; font-weight: 700;
            padding: 3px 12px; border-radius: 6px;
            line-height: 1.3;
            box-shadow: 0 0 12px rgba(124, 58, 237, 0.35);
        }
        .sec-title-text-white {
            color: #ffffff; font-size: 1.15rem; font-weight: 700;
            line-height: 1.25;
        }
        .sec-chevron-arrow {
            color: #64748b; margin-left: 2px;
            transition: transform 0.15s ease, color 0.15s ease;
        }
        .section-title-link:hover .sec-chevron-arrow {
            color: #a78bfa; transform: translateX(2px);
        }
        .section-nav-arrows {
            display: flex; align-items: center; gap: 6px;
        }
        .rail-chevron-btn {
            width: 28px; height: 28px; border-radius: 6px;
            background: #171b26;
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #94a3b8; display: inline-flex; align-items: center; justify-content: center;
            cursor: pointer; transition: all 0.18s ease; padding: 0;
        }
        .rail-chevron-btn:hover {
            background: #232838;
            border-color: rgba(255, 255, 255, 0.22);
            color: #ffffff; transform: scale(1.05);
        }
        .section-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
        .btn-view-all { padding: 6px 12px; background: #22252c; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; color: #cfd6e0; font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: all 0.18s; }
        .btn-view-all:hover { background: #2f3440; color: #fff; border-color: rgba(255, 255, 255, 0.2); }
        .app-shell section { scroll-margin-top: 92px; }
        body.home-mode .category-rail-bar { display: none; }
        body.home-mode #sectionTopHits { order: 1; }
        body.home-mode #sectionHotSlots { order: 2; }
        body.home-mode #sectionLiveCasino { order: 3; }
        body.home-mode #sectionCrashHits { order: 4; }
        body.home-mode #sectionAllGames { order: 5; }
        body.home-mode #sectionSportsGames { order: 6; }
        body.home-mode #catalogGridSection { order: 7; }

        body.casino-mode #sectionTopHits { order: 1; }
        body.casino-mode #sectionHotSlots { order: 2; }
        body.casino-mode #sectionLiveCasino { order: 3; }
        body.casino-mode #sectionCrashHits { order: 4; }
        body.casino-mode #sectionAllGames { order: 5; }
        body.casino-mode #sectionSportsGames { order: 6; }
        body.casino-mode #catalogGridSection { order: 7; }
        body.home-mode #aviatorBannerSection, body.casino-mode #aviatorBannerSection { display: none !important; }
        body.sports-mode .app-shell { background:#e8eaef; color:#16181d; }
        body.sports-mode .promo-layout,body.sports-mode .casino-mode-tabs,body.sports-mode .lobby-intro { display:none!important; }
        body.sports-mode .category-rail-bar { display:none; }
        body.sports-mode #sportsbookSection { order:0; }
        body.sports-mode #sectionSportsGames { order:1; }
        body.sports-mode #catalogGridSection { order:2; }
        body.sports-mode .sportsbook-hero { background:linear-gradient(110deg,#f8f9fa,#e1e5ec); border:0; min-height:175px; padding:24px 28px; }
        body.sports-mode .sportsbook-hero:after { opacity:.12; color:#087bfa; }
        body.sports-mode .sportsbook-kicker { background:#e1e9f6; color:#1765b6; border:0; }
        body.sports-mode .sportsbook-hero h1 { color:#111318; font:800 32px/1.05 Arial,Helvetica,sans-serif; margin:11px 0 7px; }
        body.sports-mode .sportsbook-hero h1 span { color:#087bfa; }
        body.sports-mode .sportsbook-hero p { color:#636975; }
        body.sports-mode .sportsbook-actions .btn-hero-primary,body.sports-mode .sportsbook-feature .btn-hero-primary { background:#087bfa; color:#fff; }
        body.sports-mode .sportsbook-tabs { margin-top:22px; }
        body.sports-mode .sportsbook-tab { background:#fff; color:#16181d; border:0; border-radius:24px; }
        body.sports-mode .sportsbook-tab.active { background:#087bfa; color:#fff; }
        body.sports-mode .sportsbook-feature,body.sports-mode .sportsbook-providers { background:#fff; border:0; border-radius:24px; }
        body.sports-mode .sportsbook-feature { display:block; padding:0 22px; }
        .sportsbook-launch-list { width:100%; }
        .sportsbook-launch-item { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px 0; }
        .sportsbook-launch-item + .sportsbook-launch-item { border-top:1px solid #e8eaf0; }
        .sportsbook-launch-actions { display:flex; gap:8px; flex-shrink:0; }
        body.sports-mode .sportsbook-launch-item .btn-hero-secondary { color:#171a20; background:#eef0f3; border:0; border-radius:12px; }
        body.sports-mode .sportsbook-feature h2,body.sports-mode .sportsbook-providers h3 { color:#13151a; }
        body.sports-mode .sportsbook-feature p,body.sports-mode .sportsbook-providers p { color:#646b78; }
        body.sports-mode .sportsbook-feature-badge { background:#e9f3ff; color:#087bfa; }
        body.sports-mode .sportsbook-provider-list button { background:#eff1f4; border:0; color:#22262b; }
        body.sports-mode .section-title,body.sports-mode .game-title-text { color:#16181d; }
        body.sports-mode .game-card,body.sports-mode .game-meta-box { background:#fff; }
        body.sports-mode .game-cat-subtext { color:#777d86; }
        @media (max-width:1250px) {
            .site-sidebar { display:none; }
            body.nav-open .site-sidebar { display:block; top:0; bottom:0; width:min(310px,85vw); z-index:130; box-shadow:15px 0 45px rgba(0,0,0,.45); }
            body.nav-open .mobile-nav-backdrop { display:block; }
            header.top-header { margin-left:0; width:100%; }
            .app-shell,.app-footer { margin-left:0; }
        }
        @media (max-width:900px) {
            .promo-layout { grid-template-columns:1fr; }
            .promo-side { grid-template-columns:1fr 1fr; grid-template-rows:180px; }
            .promo-casino-feature { display:grid!important; grid-template-columns:minmax(0,1fr) 112px; grid-template-rows:auto auto auto; align-items:center; gap:4px 12px; min-height:175px; text-align:left; padding:18px 20px; }
            body:not(.casino-mode) .promo-casino-feature { display:none!important; }
            .promo-casino-feature .feature-eyebrow { grid-column:1; grid-row:1; }
            .promo-casino-feature strong { grid-column:1; grid-row:2; font-size:22px; margin:0; }
            .promo-casino-feature .feature-poster { display:block; grid-column:2; grid-row:1/3; width:100px; height:118px; margin:0; }
            .promo-casino-feature .feature-play { grid-column:1/-1; grid-row:3; margin-top:4px; text-align:center; }
            .header-left { gap:9px; }
        }
        @media (max-width:768px) {
            .section-actions button[aria-label^="Previous"],.section-actions button[aria-label^="Next"] { display:none; }
            header.top-header { min-height:60px; padding:7px 12px; }
            .app-shell { padding:14px 12px 78px; gap:20px; }
            .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
            .games-rail-scroll { gap: 8px !important; }
            .games-rail-scroll .game-card {
                flex: 0 0 calc((100% - 16px) / 3) !important;
                width: calc((100% - 16px) / 3) !important;
                min-width: calc((100% - 16px) / 3) !important;
                max-width: calc((100% - 16px) / 3) !important;
            }
            .card-title-text { font-size: 0.68rem; }
            .card-live-bar { font-size: 0.64rem; }
            .brand-logo-img { height:20px; width:auto; max-width:95px; object-fit:contain; }
            .btn-header-login { padding:10px 12px; font-size:13px; }
            .btn-header-register { display:block; padding:10px 12px; font-size:13px; }
            .hero-carousel-wrap { height:250px; min-height:250px; }
            .hero-slide { padding:23px; }
            .hero-slide-content { max-width:70%; }
            .hero-bg-visual,#heroSlide0 .hero-bg-visual { opacity:1; background-position:64% center; }
            .hero-title { font-size:31px; }
            .hero-subtitle { font-size:12px; max-width:220px; }
            .hero-cta-row { padding-top:2px; }
            .btn-hero-primary { padding:10px 14px; font-size:13px; }
            .promo-side { grid-template-rows:145px; gap:10px; }
            .promo-tile { padding:15px; border-radius:17px; }
            .promo-tile strong { font-size:14px; }
            .promo-tile span { display:none; }
            .filters-group-right { flex-wrap:wrap; }
            .provider-select-wrap { width:100%; }
            .search-input-wrap { min-height:46px; }
            .provider-select-wrap select { min-height:46px; }
            .casino-mode-tabs button { padding:10px 13px; font-size:13px; }
            body.sports-mode .sportsbook-hero h1 { font-size:24px; }
            body.sports-mode .sportsbook-grid { grid-template-columns:1fr; }
            .sportsbook-launch-item { align-items:flex-start; flex-direction:column; }
        }
        @media (max-width:430px) {
            .header-right { gap:5px; }
            .btn-header-register { font-size:12px; padding:9px 10px; }
            .btn-header-login { font-size:12px; padding:9px 10px; }
            .hero-slide-content { max-width:78%; }
            .hero-title { font-size:27px; }
            .promo-tile span { display:none; }
            .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
            .games-rail-scroll .game-card {
                flex: 0 0 calc((100% - 16px) / 3) !important;
                width: calc((100% - 16px) / 3) !important;
                min-width: calc((100% - 16px) / 3) !important;
                max-width: calc((100% - 16px) / 3) !important;
            }
        }
    
        /* ====================================================
           UNIFIED CARD ALIGNMENT ACROSS ALL SECTIONS (3:4 RATIO)
           ==================================================== */
        #sectionLiveCasino .game-thumb-box,
        .game-card.is-live-card .game-thumb-box,
        body[data-active-cat="live"] .game-thumb-box {
            aspect-ratio: 3 / 4 !important;
            background: #11141d !important;
        }
        #sectionLiveCasino .game-thumb-img,
        .game-card.is-live-card .game-thumb-img,
        body[data-active-cat="live"] .game-thumb-img {
            object-fit: cover !important;
            width: 100% !important;
            height: 100% !important;
            padding: 0 !important;
        }

        /* When user selects Live Casino in navigation */
        body[data-active-cat="live"] #mainGamesGrid {
            grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)) !important;
            gap: 12px !important;
        }

        @media (max-width: 768px) {
            .game-art-caption strong { font-size: 0.72rem; }
            .game-art-caption small { display: none; }
            body[data-active-cat="live"] #mainGamesGrid {
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
                gap: 8px !important;
            }
        }
        @media (max-width: 430px) {
            body[data-active-cat="live"] #mainGamesGrid {
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
                gap: 8px !important;
            }
        }

        /* Keep the original PLIXWIN layout while using one portrait artwork size. */
        .game-card .game-thumb-box .game-thumb-img,
        .game-card.is-live-card .game-thumb-box .game-thumb-img,
        #sectionLiveCasino .game-card .game-thumb-box .game-thumb-img,
        .game-card .game-thumb-box.has-wide-art .game-thumb-img {
            inset: 0; width: 100% !important; height: 100% !important;
            object-fit: cover !important; object-position: center !important;
            transform: none !important; filter: none !important;
            display: block !important;
        }
        .game-card .game-thumb-box .game-thumb-img.image-failed { display: none !important; }
        .game-card .game-thumb-box .game-art-caption,
        .game-card .game-thumb-box.has-wide-art .game-art-caption {
            display: none !important;
        }
        .catalog-sort-wrap { flex: 0 0 175px; }
        .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
        .search-input-wrap { order: 0; }
        .provider-select-wrap { order: 1; }
        .catalog-sort-wrap { order: 2; }
        .catalog-sort-wrap select { width: 100%; min-height: 52px; padding: 0 12px;
            border: 0; border-radius: 15px; background: #28282a; color: #e6e6e6; font-size: 15px; }
        @media (max-width: 768px) {
            .catalog-sort-wrap { flex: 1 1 calc(50% - 5px); }
            .provider-select-wrap { width: calc(50% - 5px) !important; }
            .search-input-wrap { flex-basis: 100%; }
            .games-grid, body[data-active-cat="live"] #mainGamesGrid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
            .games-rail-scroll .game-card,
            #sectionLiveCasino .games-rail-scroll .game-card {
                flex: 0 0 calc((100vw - 42px) / 3) !important;
                width: calc((100vw - 42px) / 3) !important;
            }
        }

    
        /* ====================================================
           EMERALD GREEN & SMOKED GLASS LUXURY THEME
           ==================================================== */
        :root {
            --c-dark-bg: #0c1012;
            --c-dark-surface: #12181a;
            --c-dark-card: #151e20;
            --c-dark-elevated: #1a2528;
            --c-glass-surface: rgba(18, 24, 26, 0.85);
            --c-glass-border: rgba(255, 255, 255, 0.08);
            --c-emerald: #00e599;
            --c-emerald-hover: #15f0a3;
            --c-emerald-glow: rgba(0, 229, 153, 0.4);
            --c-emerald-subtle: rgba(0, 229, 153, 0.08);
            --c-silver: #e2e8ea;
            --c-silver-muted: #8b9ea0;
            --c-silver-dim: #5c6e6e;
            --c-cream: #00e599;
            --c-cream-glow: rgba(0, 229, 153, 0.4);
            --c-cream-dark: #00c784;
        }

        body {
            background: #0c1012 !important;
            color: #e2e8ea !important;
        }

        /* Smoked Glass Header */
        header.top-header {
            background: rgba(14, 18, 20, 0.92) !important;
            backdrop-filter: blur(18px) !important;
            -webkit-backdrop-filter: blur(18px) !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55) !important;
        }

        /* Top Navigation Tabs */
        .top-nav-tabs {
            gap: 6px !important;
            background: rgba(20, 26, 28, 0.85) !important;
            border: 1px solid rgba(255, 255, 255, 0.07) !important;
            border-radius: 16px !important;
            padding: 4px !important;
        }
        .top-tab-item {
            border: 0 !important;
            background: transparent !important;
            color: #a4b4b4 !important;
            padding: 10px 18px !important;
            border-radius: 12px !important;
            font-size: 14.5px !important;
            font-weight: 700 !important;
            transition: all 0.18s ease !important;
        }
        .top-tab-item:hover {
            background: rgba(255, 255, 255, 0.06) !important;
            color: #ffffff !important;
        }
        .top-tab-item.active {
            background: #00e599 !important;
            color: #0a110e !important;
            font-weight: 800 !important;
            box-shadow: 0 0 18px rgba(0, 229, 153, 0.45) !important;
        }
        .top-tab-item.active:hover {
            background: #15f0a3 !important;
        }
        .top-tab-item .ui-icon {
            width: 17px !important;
            height: 17px !important;
        }

        /* Header Buttons */
        .btn-header-login {
            background: #171d1f !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            color: #ffffff !important;
            border-radius: 12px !important;
            padding: 11px 22px !important;
            font-size: 14px !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            transition: all 0.18s ease !important;
        }
        .btn-header-login:hover {
            background: #20272a !important;
            border-color: rgba(255, 255, 255, 0.22) !important;
        }
        .btn-header-register {
            background: #00e599 !important;
            border: 0 !important;
            box-shadow: 0 0 18px rgba(0, 229, 153, 0.4) !important;
            color: #0a110e !important;
            border-radius: 12px !important;
            padding: 11px 24px !important;
            font-size: 14px !important;
            font-weight: 800 !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            letter-spacing: 0.2px !important;
        }
        .btn-header-register:hover {
            background: #15f0a3 !important;
            box-shadow: 0 0 24px rgba(0, 229, 153, 0.6) !important;
            color: #0a110e !important;
            transform: translateY(-1px) !important;
        }
        .btn-header-deposit {
            background: #00e599 !important;
            color: #0a110e !important;
            font-weight: 800 !important;
            box-shadow: 0 0 16px rgba(0, 229, 153, 0.4) !important;
            border-radius: 12px !important;
        }

        /* Smoked Glass Sidebar */
        .site-sidebar {
            background: #0f1416 !important;
            border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
        }
        .sidebar-account {
            color: #e2e8ea !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            padding: 6px 6px 16px !important;
        }
        .sidebar-avatar {
            width: 44px !important;
            height: 44px !important;
            border-radius: 50% !important;
            border: 1.5px solid #00e599 !important;
            color: #00e599 !important;
            display: grid !important;
            place-items: center !important;
            background: rgba(0, 229, 153, 0.08) !important;
            font-size: 22px !important;
        }
        .sidebar-mini-promo {
            background: rgba(20, 26, 28, 0.85) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 16px !important;
            color: #fff !important;
        }
        .sidebar-heading {
            color: #5c6e6e !important;
            font-size: 11px !important;
            font-weight: 800 !important;
            letter-spacing: 1.2px !important;
            text-transform: uppercase !important;
            padding: 16px 12px 8px !important;
            border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        }
        .sidebar-link {
            margin: 3px 0 !important;
            padding: 11px 14px !important;
            color: #c4d1d1 !important;
            font-size: 15px !important;
            font-weight: 600 !important;
            border-radius: 12px !important;
            transition: all 0.16s ease !important;
            display: flex !important;
            align-items: center !important;
            gap: 12px !important;
            border: 1.5px solid transparent !important;
        }
        .sidebar-link:hover {
            background: rgba(255, 255, 255, 0.05) !important;
            color: #ffffff !important;
        }
        .sidebar-link.active {
            border: 1.5px solid #00e599 !important;
            color: #00e599 !important;
            background: rgba(0, 229, 153, 0.08) !important;
            box-shadow: 0 0 14px rgba(0, 229, 153, 0.15) !important;
        }
        .sidebar-icon {
            width: 24px !important;
            color: #00e599 !important;
            font-size: 18px !important;
            text-align: center !important;
        }
        .sidebar-promo {
            background: rgba(20, 26, 28, 0.85) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 14px !important;
            margin: 20px 2px 0 !important;
        }
        .sidebar-promo strong {
            color: #ffffff !important;
        }
        .sidebar-promo p {
            color: #8b9ea0 !important;
        }

        /* Smoked Glass Category Bar & Search */
        .category-rail-bar {
            background: transparent !important;
        }
        .search-input-wrap {
            background: rgba(20, 26, 28, 0.85) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 14px !important;
        }
        .search-input-wrap input {
            color: #ffffff !important;
        }
        .provider-select-wrap select {
            background: rgba(20, 26, 28, 0.85) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 14px !important;
            color: #e2e8ea !important;
        }
        .cat-pill-btn {
            background: rgba(20, 26, 28, 0.85) !important;
            border: 1px solid rgba(255, 255, 255, 0.06) !important;
            color: #a4b4b4 !important;
            border-radius: 12px !important;
            font-weight: 600 !important;
            transition: all 0.16s ease !important;
        }
        .cat-pill-btn:hover {
            background: rgba(255, 255, 255, 0.08) !important;
            color: #ffffff !important;
        }
        .cat-pill-btn.active {
            background: #00e599 !important;
            color: #0a110e !important;
            font-weight: 800 !important;
            border-color: #00e599 !important;
            box-shadow: 0 0 14px rgba(0, 229, 153, 0.4) !important;
        }
        .casino-mode-tabs button.active {
            background: #00e599 !important;
            color: #0a110e !important;
            font-weight: 800 !important;
        }

        /* Hero Section (Explore games button) */
        .hero-slide {
            background: #0e1315 !important;
        }
        .btn-hero-primary {
            background: #00e599 !important;
            color: #0a110e !important;
            font-weight: 800 !important;
            border-radius: 12px !important;
            padding: 12px 24px !important;
            box-shadow: 0 0 18px rgba(0, 229, 153, 0.4) !important;
        }
        .btn-hero-primary:hover {
            background: #15f0a3 !important;
            box-shadow: 0 0 24px rgba(0, 229, 153, 0.6) !important;
            color: #0a110e !important;
            transform: translateY(-1px) !important;
        }

        /* Section Headers */
        .sec-title-icon {
            color: #00e599 !important;
        }
        .sec-title-badge-blue, .sec-title-badge-green, .sec-title-badge-violet {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            background: rgba(0, 229, 153, 0.15) !important;
            border: 1.5px solid #00e599 !important;
            color: #00e599 !important;
            font-size: 0.95rem !important;
            font-weight: 800 !important;
            padding: 3px 12px !important;
            border-radius: 8px !important;
            box-shadow: 0 0 12px rgba(0, 229, 153, 0.25) !important;
        }
        .section-title-link:hover .sec-chevron-arrow {
            color: #00e599 !important;
            transform: translateX(2px) !important;
        }
        .rail-chevron-btn {
            background: rgba(20, 26, 28, 0.85) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            color: #8b9ea0 !important;
        }
        .rail-chevron-btn:hover {
            background: rgba(0, 229, 153, 0.15) !important;
            border-color: #00e599 !important;
            color: #00e599 !important;
        }

        /* Unified 3:4 Portrait Game Cards Across All Rails and Grids */
        .games-rail-scroll {
            display: flex !important;
            gap: 10px !important;
            overflow-x: auto !important;
            scroll-behavior: smooth !important;
            padding: 4px 2px 14px 2px !important;
            scroll-snap-type: x mandatory !important;
            -webkit-overflow-scrolling: touch !important;
        }
        .games-rail-scroll .game-card,
        #sectionHotSlots .games-rail-scroll .game-card,
        #sectionLiveCasino .games-rail-scroll .game-card,
        #sectionCrashHits .games-rail-scroll .game-card,
        #sectionTopHits .games-rail-scroll .game-card,
        #sectionAllGames .games-rail-scroll .game-card,
        #sectionSportsGames .games-rail-scroll .game-card {
            flex: 0 0 142px !important;
            width: 142px !important;
            min-width: 142px !important;
            max-width: 142px !important;
            scroll-snap-align: start !important;
        }
        .games-grid, #mainGamesGrid {
            display: grid !important;
            grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)) !important;
            gap: 10px !important;
        }

        /* Mobile Viewport (<= 768px): Fit EXACTLY 3 Games in the Screen Everywhere */
        @media (max-width: 768px) {
            .app-shell {
                padding: 14px 12px 78px !important;
                gap: 20px !important;
            }
            .games-grid,
            #mainGamesGrid,
            body[data-active-cat="live"] #mainGamesGrid {
                display: grid !important;
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
                gap: 8px !important;
            }
            .games-rail-scroll {
                gap: 8px !important;
                padding: 4px 0 12px 0 !important;
            }
            .games-rail-scroll .game-card,
            #sectionHotSlots .games-rail-scroll .game-card,
            #sectionLiveCasino .games-rail-scroll .game-card,
            #sectionCrashHits .games-rail-scroll .game-card,
            #sectionTopHits .games-rail-scroll .game-card,
            #sectionAllGames .games-rail-scroll .game-card,
            #sectionSportsGames .games-rail-scroll .game-card {
                flex: 0 0 calc((100% - 16px) / 3) !important;
                flex-basis: calc((100% - 16px) / 3) !important;
                width: calc((100% - 16px) / 3) !important;
                min-width: calc((100% - 16px) / 3) !important;
                max-width: calc((100% - 16px) / 3) !important;
                scroll-snap-align: start !important;
            }
            .game-art-caption {
                display: none !important;
            }
        }
        .game-thumb-box {
            background: #101517 !important;
            border: 1px solid rgba(255, 255, 255, 0.07) !important;
        }
        .game-card:hover .game-thumb-box {
            border-color: rgba(0, 229, 153, 0.6) !important;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 16px rgba(0, 229, 153, 0.35) !important;
        }
        .btn-card-play-circle {
            background: #00e599 !important;
            color: #0a110e !important;
            box-shadow: 0 0 18px rgba(0, 229, 153, 0.65) !important;
        }
        .btn-card-play-circle:hover {
            background: #15f0a3 !important;
            box-shadow: 0 0 26px rgba(0, 229, 153, 0.95) !important;
        }
        .card-hover-prov {
            color: #00e599 !important;
        }

        /* ====================================================
           SMART SEARCH MODAL (STAKE STYLE IN PLIXWIN LUXURY THEME)
           ==================================================== */
        .btn-search-trigger {
            display: flex !important;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.08) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            color: #e2e8f0 !important;
            width: 38px !important;
            height: 38px !important;
            border-radius: 10px !important;
            cursor: pointer;
            transition: all 0.2s;
        }
        .btn-search-trigger:hover {
            border-color: #00e5ff !important;
            color: #00e5ff !important;
            background: rgba(0, 229, 255, 0.1) !important;
            box-shadow: 0 0 12px rgba(0, 229, 255, 0.25) !important;
        }
        .search-modal-backdrop {
            position: fixed;
            inset: 0;
            z-index: 99999;
            background: rgba(4, 7, 13, 0.88);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 30px 16px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.22s ease-out;
        }
        .search-modal-backdrop.active {
            opacity: 1;
            pointer-events: auto;
        }
        .search-modal-container {
            width: 100%;
            max-width: 860px;
            max-height: 88vh;
            background: linear-gradient(180deg, #111827 0%, #0a0f18 100%);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 229, 255, 0.12);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transform: translateY(-16px) scale(0.98);
            transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .search-modal-backdrop.active .search-modal-container {
            transform: translateY(0) scale(1);
        }
        .search-modal-header {
            padding: 16px 20px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
            background: rgba(14, 21, 33, 0.95);
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .search-modal-input-row {
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
        }
        .search-modal-icon {
            position: absolute;
            left: 14px;
            color: #64748b;
            display: flex;
            align-items: center;
            pointer-events: none;
        }
        .search-modal-input {
            width: 100%;
            height: 48px;
            padding: 0 85px 0 46px;
            background: rgba(255, 255, 255, 0.05);
            border: 1.5px solid rgba(255, 255, 255, 0.12);
            border-radius: 12px;
            color: #ffffff;
            font-size: 0.95rem;
            font-weight: 600;
            outline: none;
            transition: all 0.2s ease;
        }
        .search-modal-input:focus {
            border-color: #00e5ff;
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
        }
        .search-modal-clear {
            position: absolute;
            right: 48px;
            background: rgba(255, 255, 255, 0.08);
            border: 0;
            color: #94a3b8;
            font-size: 0.76rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.15s;
            display: none;
        }
        .search-modal-clear:hover {
            background: rgba(255, 255, 255, 0.16);
            color: #fff;
        }
        .search-modal-close {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #94a3b8;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            font-size: 1.15rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.15s;
        }
        .search-modal-close:hover {
            background: rgba(239, 68, 68, 0.15);
            color: #f87171;
            border-color: rgba(239, 68, 68, 0.3);
        }
        .search-modal-categories {
            display: flex;
            align-items: center;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 2px;
            scrollbar-width: none;
        }
        .search-modal-categories::-webkit-scrollbar { display: none; }
        .search-cat-pill {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.09);
            border-radius: 999px;
            padding: 6px 14px;
            font-size: 0.8rem;
            font-weight: 700;
            color: #94a3b8;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
            transition: all 0.15s ease;
        }
        .search-cat-pill:hover {
            background: rgba(255, 255, 255, 0.09);
            color: #fff;
        }
        .search-cat-pill.active {
            background: #00e5ff;
            color: #0a0e17;
            border-color: #00e5ff;
            box-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
        }
        .search-pill-badge {
            background: rgba(0, 0, 0, 0.25);
            padding: 2px 7px;
            border-radius: 999px;
            font-size: 0.72rem;
            font-weight: 800;
        }
        .search-cat-pill.active .search-pill-badge {
            background: rgba(0, 0, 0, 0.35);
            color: #0a0e17;
        }
        .search-modal-providers-section {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .search-providers-label-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .search-providers-title {
            font-size: 0.75rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: #64748b;
        }
        .search-provider-clear-btn {
            background: transparent;
            border: 0;
            color: #f59e0b;
            font-size: 0.74rem;
            font-weight: 700;
            cursor: pointer;
            padding: 2px 6px;
        }
        .search-provider-clear-btn:hover {
            text-decoration: underline;
        }
        .search-modal-providers-scroll {
            display: flex;
            align-items: center;
            gap: 6px;
            overflow-x: auto;
            padding-bottom: 4px;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
        }
        .search-provider-pill {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.09);
            border-radius: 8px;
            padding: 5px 11px;
            font-size: 0.75rem;
            font-weight: 700;
            color: #cbd5e1;
            cursor: pointer;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: all 0.15s ease;
        }
        .search-provider-pill:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.2);
        }
        .search-provider-pill.active {
            background: #e6b800;
            color: #0a0e17;
            border-color: #e6b800;
            font-weight: 800;
            box-shadow: 0 0 12px rgba(230, 184, 0, 0.4);
        }
        .search-prov-count {
            font-size: 0.68rem;
            opacity: 0.8;
        }
        .search-modal-body {
            flex: 1;
            overflow-y: auto;
            padding: 16px 20px 24px;
            min-height: 240px;
            max-height: calc(88vh - 190px);
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .search-results-meta {
            font-size: 0.82rem;
            color: #94a3b8;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .search-modal-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            gap: 12px;
        }
        .search-modal-grid .game-card {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            aspect-ratio: 3 / 4;
            cursor: pointer;
            background: #111622;
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
        }
        .search-modal-grid .game-card:hover {
            transform: translateY(-4px) scale(1.02);
            border-color: #00e5ff;
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 229, 255, 0.35);
        }
        .search-modal-grid .game-thumb-box {
            width: 100%;
            height: 100%;
            position: relative;
        }
        .search-modal-grid .game-thumb-img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            display: block !important;
        }
        .search-modal-empty {
            text-align: center;
            padding: 40px 16px;
            color: #94a3b8;
        }
        .search-empty-icon {
            font-size: 2.8rem;
            margin-bottom: 12px;
            opacity: 0.6;
        }
        .search-modal-empty h3 {
            color: #fff;
            font-size: 1.15rem;
            margin-bottom: 6px;
            font-weight: 800;
        }
        .search-empty-suggestions {
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
        .search-suggestion-chips {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            max-width: 500px;
        }
        .search-suggestion-chips button {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #cbd5e1;
            border-radius: 999px;
            padding: 6px 14px;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.15s;
        }
        .search-suggestion-chips button:hover {
            background: rgba(0, 229, 255, 0.15);
            border-color: #00e5ff;
            color: #00e5ff;
        }
        .search-modal-loader {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px;
            gap: 12px;
            color: #94a3b8;
            font-weight: 600;
        }
        .search-spinner {
            width: 32px;
            height: 32px;
            border: 3px solid rgba(255, 255, 255, 0.1);
            border-top-color: #00e5ff;
            border-radius: 50%;
            animation: searchSpin 0.7s linear infinite;
        }
        @keyframes searchSpin {
            to { transform: rotate(360deg); }
        }
        @media (max-width: 768px) {
            .search-modal-backdrop {
                padding: 0;
                align-items: flex-end;
            }
            .search-modal-container {
                max-height: 94vh;
                border-radius: 20px 20px 0 0;
                max-width: 100%;
                transform: translateY(100%);
            }
            .search-modal-header {
                padding: 14px 14px 10px;
                gap: 10px;
            }
            .search-modal-body {
                padding: 12px 14px 20px;
                max-height: calc(94vh - 180px);
            }
        /* ====================================================
           PLIXWIN REFERENCE LAYOUT - INLINE GUARANTEED CSS
           ==================================================== */
        :root {
            --dark-bg: #0f1013;
            --dark-surface: #141518;
            --dark-card: #191b1f;
            --dark-border: rgba(255, 255, 255, 0.08);
            --gold-primary: #e0b878;
            --gold-hover: #eec98c;
            --text-muted: #8c919d;
        }

        body {
            background: var(--dark-bg) !important;
            color: #e2e8ea !important;
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }

        /* TOP HEADER */
        header.top-header {
            margin-left: 236px !important;
            width: calc(100% - 236px) !important;
            min-height: 70px !important;
            padding: 10px 32px !important;
            background: var(--dark-bg) !important;
            border-bottom: 1px solid var(--dark-border) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            position: sticky !important;
            top: 0 !important;
            z-index: 99 !important;
        }

        .brand-logo-wrap {
            display: flex;
            align-items: center;
            text-decoration: none;
        }
        .brand-logo-img {
            height: 32px;
            width: auto;
            max-width: 140px;
            object-fit: contain;
            display: block;
            filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
        }

        .top-nav-tabs {
            display: flex !important;
            align-items: center !important;
            gap: 4px !important;
            background: #1a1c21 !important;
            border: 1px solid var(--dark-border) !important;
            border-radius: 14px !important;
            padding: 4px !important;
        }
        .top-tab-item {
            border: none !important;
            background: transparent !important;
            color: #8c919d !important;
            font-size: 13.5px !important;
            font-weight: 700 !important;
            padding: 8px 16px !important;
            border-radius: 10px !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            gap: 7px !important;
            transition: all 0.18s ease !important;
        }
        .top-tab-item .nav-tab-ico {
            color: #8c919d;
            fill: currentColor;
            flex-shrink: 0;
            transition: color 0.18s ease;
        }
        .top-tab-item:hover {
            color: #ffffff !important;
        }
        .top-tab-item:hover .nav-tab-ico {
            color: #ffffff !important;
        }
        .top-tab-item.active {
            background: var(--gold-primary) !important;
            color: #121316 !important;
            font-weight: 800 !important;
            box-shadow: none !important;
        }
        .top-tab-item.active .nav-tab-ico {
            color: #121316 !important;
            fill: #121316 !important;
        }

        .btn-header-login {
            background: #202227 !important;
            border: 1px solid rgba(255, 255, 255, 0.14) !important;
            color: #ffffff !important;
            border-radius: 12px !important;
            padding: 10px 22px !important;
            font-size: 14px !important;
            font-weight: 700 !important;
            cursor: pointer !important;
        }
        .btn-header-register {
            background: var(--gold-primary) !important;
            border: none !important;
            color: #121316 !important;
            border-radius: 12px !important;
            padding: 10px 22px !important;
            font-size: 14px !important;
            font-weight: 800 !important;
            cursor: pointer !important;
        }

        /* SIDEBAR */
        .site-sidebar {
            position: fixed !important;
            top: 0 !important;
            bottom: 0 !important;
            left: 0 !important;
            width: 236px !important;
            padding: 16px 14px 24px !important;
            background: var(--dark-surface) !important;
            border-right: 1px solid var(--dark-border) !important;
            border-radius: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 12px !important;
            z-index: 105 !important;
            transition: width 0.25s ease, transform 0.25s ease !important;
        }

        .sidebar-user-btn {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            padding: 10px 14px;
            background: #1b1c21;
            border: 1px solid var(--dark-border);
            border-radius: 12px;
            color: #ffffff;
            cursor: pointer;
            font-size: 14px;
            font-weight: 700;
            transition: background 0.18s ease;
        }
        .sidebar-user-btn:hover {
            background: #23252b;
        }
        .sidebar-user-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #27282e;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #a4a8b2;
        }
        .sidebar-user-chevron {
            margin-left: auto;
            color: #717582;
            font-size: 18px;
            font-weight: 300;
        }

        .sidebar-discover-card {
            position: relative;
            width: 100%;
            min-height: 58px;
            padding: 10px 14px;
            background: linear-gradient(90deg, #24262c 0%, #17181c 100%);
            border: 1px solid var(--dark-border);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            overflow: hidden;
            transition: border-color 0.2s ease, transform 0.2s ease;
        }
        .sidebar-discover-card:hover {
            border-color: rgba(224, 184, 120, 0.4);
            transform: translateY(-1px);
        }
        .sidebar-discover-text {
            display: flex;
            flex-direction: column;
        }
        .sidebar-discover-text span {
            font-size: 11.5px;
            color: #9ea2ac;
            line-height: 1.2;
        }
        .sidebar-discover-text strong {
            font-size: 14px;
            font-weight: 800;
            color: #ffffff;
            line-height: 1.2;
        }
        .sidebar-discover-icon {
            width: 48px;
            height: 36px;
            object-fit: contain;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
        }

        .sidebar-collapse-handle {
            position: absolute;
            top: 96px;
            right: -12px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #23252a;
            border: 1px solid var(--dark-border);
            color: #8c919d;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.2s;
        }
        .sidebar-collapse-handle:hover {
            background: var(--gold-primary);
            color: #121316;
        }

        .sidebar-nav-group {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-top: 4px;
        }
        .sidebar-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 12px;
            border-radius: 10px;
            background: transparent;
            border: none;
            color: #b5b9c4;
            font-size: 13.5px;
            font-weight: 600;
            cursor: pointer;
            text-align: left;
            transition: background 0.15s, color 0.15s;
            width: 100%;
        }
        .sidebar-item:hover {
            background: #1b1c21;
            color: #ffffff;
        }
        .sidebar-item.active {
            background: #1f2127;
            color: var(--gold-primary);
        }
        .sidebar-item .sidebar-ico {
            width: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #8c919d;
            flex-shrink: 0;
        }
        .sidebar-item .sidebar-ico-svg {
            color: #8c919d;
            fill: currentColor;
            display: block;
            transition: color 0.15s ease;
        }
        .sidebar-item:hover .sidebar-ico-svg,
        .sidebar-item:hover .sidebar-ico {
            color: #ffffff !important;
        }
        .sidebar-item.active .sidebar-ico-svg,
        .sidebar-item.active .sidebar-ico {
            color: var(--gold-primary) !important;
        }
        .sidebar-item .sidebar-txt {
            color: #b5b9c4;
            transition: color 0.15s;
        }
        .sidebar-item:hover .sidebar-txt {
            color: #ffffff;
        }
        .sidebar-item.active .sidebar-txt {
            color: #ffffff;
            font-weight: 700;
        }
        .sidebar-item .sidebar-arr {
            margin-left: auto;
            color: #6a6e7b;
            font-size: 14px;
            display: flex;
            align-items: center;
        }
        .sidebar-bottom-group {
            margin-top: auto;
            padding-top: 10px;
            border-top: 1px solid var(--dark-border);
        }

        /* APP SHELL */
        .app-shell {
            margin-left: 236px !important;
            padding: 20px 32px 60px !important;
            background: var(--dark-bg) !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 22px !important;
            max-width: none !important;
        }

        /* SUB-NAV ROW */
        .casino-subnav-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .casino-subnav-pill {
            background: #1a1c21;
            border: 1px solid var(--dark-border);
            color: #a4a8b2;
            padding: 8px 18px;
            border-radius: 999px;
            font-size: 13.5px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.15s;
        }
        .casino-subnav-pill:hover {
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.2);
        }
        .casino-subnav-pill.active {
            background: var(--gold-primary);
            border-color: var(--gold-primary);
            color: #121316;
        }

        /* TWO HERO CARDS GRID */
        .hero-two-cards-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr);
            gap: 16px;
            width: 100%;
        }
        .hero-main-banner {
            position: relative;
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: 20px;
            padding: 32px 36px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            overflow: hidden;
            min-height: 240px;
        }
        .hero-banner-content {
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-width: 55%;
            z-index: 2;
        }
        .hero-banner-title {
            font-size: 34px;
            font-weight: 900;
            color: #ffffff;
            line-height: 1.08;
            letter-spacing: -0.5px;
            margin: 0;
        }
        .hero-banner-sub {
            font-size: 13.5px;
            color: #b5b9c4;
            line-height: 1.4;
            margin: 0;
        }
        .hero-btn-gold {
            align-self: flex-start;
            margin-top: 12px;
            background: var(--gold-primary);
            border: none;
            color: #121316;
            font-size: 13.5px;
            font-weight: 800;
            padding: 10px 22px;
            border-radius: 12px;
            cursor: pointer;
            transition: background 0.18s;
        }
        .hero-btn-gold:hover {
            background: var(--gold-hover);
        }
        .hero-banner-visual {
            position: absolute;
            right: 10px;
            top: 0;
            bottom: 0;
            width: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }
        .hero-trophy-img {
            height: 105% !important;
            max-height: 260px !important;
            width: auto !important;
            object-fit: contain;
        }

        .hero-side-card {
            position: relative;
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: 20px;
            padding: 26px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            min-height: 240px;
        }
        .hero-side-content {
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 2;
        }
        .hero-side-heading {
            font-size: 20px;
            font-weight: 800;
            color: #ffffff;
            line-height: 1.2;
        }
        .hero-side-game-info strong {
            display: block;
            font-size: 13.5px;
            color: #ffffff;
            font-weight: 700;
        }
        .hero-side-game-info span {
            display: block;
            font-size: 12px;
            color: #8c919d;
        }
        .hero-side-thumb-col {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }
        .hero-side-thumb {
            width: 125px;
            height: 125px;
            border-radius: 16px;
            object-fit: cover;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
        }
        .hero-side-dots {
            display: flex;
            gap: 6px;
        }
        .h-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
        }
        .h-dot.active {
            background: var(--gold-primary);
        }

        /* SEARCH & PROVIDERS BAR */
        .search-providers-bar {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
        }
        .search-box-field {
            flex: 1;
            height: 48px;
            background: #17181c;
            border: 1px solid var(--dark-border);
            border-radius: 12px;
            padding: 0 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            transition: border-color 0.2s;
        }
        .search-box-field:hover {
            border-color: rgba(255, 255, 255, 0.2);
        }
        .search-box-field svg {
            color: #8c919d;
            flex-shrink: 0;
        }
        .search-box-field input {
            background: transparent;
            border: none;
            outline: none;
            color: #ffffff;
            font-size: 14px;
            width: 100%;
            cursor: pointer;
        }
        .search-box-field input::placeholder {
            color: #727782;
        }
        .providers-dropdown-btn {
            height: 48px;
            padding: 0 20px;
            background: #17181c;
            border: 1px solid var(--dark-border);
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #ffffff;
            font-size: 13.5px;
            font-weight: 700;
            cursor: pointer;
            transition: border-color 0.2s;
        }
        .providers-dropdown-btn:hover {
            border-color: rgba(255, 255, 255, 0.2);
        }
        .providers-dropdown-btn svg {
            color: #8c919d;
        }

        /* CATEGORY PILLS BAR */
        .category-pills-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 4px;
            scrollbar-width: none;
        }
        .category-pills-bar::-webkit-scrollbar {
            display: none;
        }
        .cat-pill-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            border-radius: 12px;
            background: #1a1c21;
            border: 1px solid var(--dark-border);
            color: #8c919d;
            font-size: 13.5px;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.15s ease;
        }
        .cat-pill-item .cat-pill-ico {
            color: #8c919d;
            fill: currentColor;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: color 0.15s ease;
        }
        .cat-pill-item:hover {
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.2);
        }
        .cat-pill-item:hover .cat-pill-ico {
            color: #ffffff;
        }
        .cat-pill-item.active {
            background: var(--gold-primary);
            border-color: var(--gold-primary);
            color: #121316;
        }
        .cat-pill-item.active .cat-pill-ico {
            color: #121316 !important;
            fill: #121316 !important;
        }

        /* GAME RAILS */
        .game-rail-section {
            display: flex;
            flex-direction: column;
            gap: 14px;
            width: 100%;
        }
        .rail-header-line {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .rail-title-box {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
            font-size: 20px;
            font-weight: 800;
            color: #ffffff;
            cursor: pointer;
        }
        .rail-icon-star {
            color: #ffffff;
            font-size: 18px;
        }
        .rail-icon-777 {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1px 6px;
            background: #ffffff;
            color: #121316;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: -0.5px;
        }
        .rail-actions-box {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .rail-see-all-action {
            background: transparent;
            border: none;
            color: #8c919d;
            font-size: 13.5px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: color 0.15s;
        }
        .rail-see-all-action:hover {
            color: #ffffff;
        }
        .rail-nav-buttons {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .rail-nav-circle {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #1c1e23;
            border: 1px solid var(--dark-border);
            color: #b5b9c4;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.15s;
        }
        .rail-nav-circle:hover {
            background: #2a2d35;
            color: #ffffff;
        }

        /* CARDS IN RAILS */
        .games-rail-scroll {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scrollbar-width: none;
            padding: 2px 2px 10px;
        }
        .games-rail-scroll::-webkit-scrollbar {
            display: none;
        }
        .games-rail-scroll .game-card {
            flex: 0 0 115px;
            width: 115px;
            display: flex;
            flex-direction: column;
            cursor: pointer;
            border: none;
            background: transparent;
            transition: transform 0.18s ease;
        }
        .games-rail-scroll .game-card:hover {
            transform: translateY(-4px);
        }
        .game-thumb-box {
            position: relative;
            width: 100%;
            aspect-ratio: 1 / 1 !important;
            border-radius: 14px;
            overflow: hidden;
            background: #17181c;
            border: 1px solid var(--dark-border);
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .game-card:hover .game-thumb-box {
            border-color: rgba(224, 184, 120, 0.6);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(224, 184, 120, 0.25);
        }
        .game-thumb-img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            object-position: center !important;
            display: block;
        }
        .game-card-info {
            padding-top: 6px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            min-height: 20px;
        }
        .game-online-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 11.5px;
            font-weight: 700;
            color: #8c919d;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1;
        }
        .online-dot {
            width: 6px;
            height: 6px;
            min-width: 6px;
            border-radius: 50%;
            background: #10b981;
            box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
            display: inline-block;
        }

        /* Card hover overlay */
        .card-hover-overlay {
            position: absolute;
            inset: 0;
            background: rgba(14, 15, 18, 0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.18s;
        }
        .game-card:hover .card-hover-overlay {
            opacity: 1;
            pointer-events: auto;
        }
        .btn-card-play-circle {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--gold-primary);
            border: none;
            color: #121316;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 0 16px rgba(224, 184, 120, 0.6);
            transition: transform 0.15s;
        }
        .btn-card-play-circle:hover {
            transform: scale(1.12);
        }

        /* Sidebar Collapsed State */
        body.sidebar-collapsed .site-sidebar {
            width: 68px !important;
            padding: 16px 8px !important;
        }
        body.sidebar-collapsed header.top-header,
        body.sidebar-collapsed .app-shell,
        body.sidebar-collapsed .app-footer {
            margin-left: 68px !important;
            width: calc(100% - 68px) !important;
        }
        body.sidebar-collapsed .sidebar-user-name,
        body.sidebar-collapsed .sidebar-user-chevron,
        body.sidebar-collapsed .sidebar-discover-card,
        body.sidebar-collapsed .sidebar-txt,
        body.sidebar-collapsed .sidebar-arr {
            display: none !important;
        }
        body.sidebar-collapsed .sidebar-collapse-handle svg {
            transform: rotate(180deg);
        }

        /* Grid Explorer */
        .games-grid, #mainGamesGrid {
            display: grid !important;
            grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)) !important;
            gap: 14px !important;
        }
        .games-grid .game-card {
            width: 100% !important;
            display: flex !important;
            flex-direction: column !important;
        }

        /* Mobile Responsiveness */
        @media (max-width: 900px) {
            .site-sidebar {
                display: none !important;
            }
            body.nav-open .site-sidebar {
                display: flex !important;
                width: 260px !important;
                position: fixed !important;
                top: 0 !important;
                bottom: 0 !important;
                z-index: 150 !important;
            }
            header.top-header {
                margin-left: 0 !important;
                width: 100% !important;
                padding: 8px 16px !important;
            }
            .app-shell {
                margin-left: 0 !important;
                padding: 14px 12px 80px !important;
            }
            .hero-two-cards-grid {
                grid-template-columns: 1fr !important;
            }
            .hero-side-card {
                display: none;
            }
            .hero-main-banner {
                padding: 22px 20px !important;
                min-height: 180px !important;
            }
            .hero-banner-title {
                font-size: 24px !important;
            }
            .hero-banner-content {
                max-width: 65% !important;
            }
            .hero-banner-visual {
                width: 45% !important;
                right: 0 !important;
            }
            .games-rail-scroll {
                gap: 8px !important;
                padding-bottom: 8px !important;
            }
            .games-rail-scroll .game-card {
                flex: 0 0 calc((100% - 16px) / 3) !important;
                width: calc((100% - 16px) / 3) !important;
            }
            .games-grid, #mainGamesGrid {
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
                gap: 8px !important;
            }
            .game-online-badge {
                font-size: 10px !important;
                gap: 4px !important;
            }
            .online-dot {
                width: 5px !important;
                height: 5px !important;
                min-width: 5px !important;
            }
        }
