/* =========================================================
           ROOT & RESET (MODIFIED TO LUXURY BLUE)
        ========================================================= */
        :root {
            --bg: #010816;
            --blue: #0a4da0;
            --blue-light: #00d2ff;
            --gold: #d8ad4e;
            --gold-light: #fff0ad;
            --text: #eef2f7;
            --muted: #8ba0b5;
            --green: #35d978;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            min-height: 100vh;
            color: var(--text);
            font-family: Arial, Helvetica, sans-serif;
            /* Gradient diubah ke Ocean Blue & Midnight Navy */
            background: radial-gradient(circle at 50% -10%, rgba(0, 110, 255, 0.35), transparent 38%),
                        linear-gradient(145deg, #01060f, #0a1f44 48%, #01060f);
            overflow-x: hidden;
        }

        body::before {
            content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
            background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
            background-size: 45px 45px; opacity: .06;
        }

        /* =========================================================
           HEADER
        ========================================================= */
        .topbar {
            position: sticky; top: 0; z-index: 1000; height: 62px;
            display: flex; align-items: center; justify-content: space-between;
            padding: 0 15px; background: rgba(1, 8, 22, 0.9);
            backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(216, 173, 78, 0.15);
        }
        .brand { display: flex; align-items: center; }
        .logo-brand { height: 38px; width: auto; object-fit: contain; }

        /* =========================================================
           SLIDESHOW BANNER
        ========================================================= */
        .banner-wrap { padding: 12px; }
        .slider-container {
            position: relative; width: 100%; aspect-ratio: 2 / 1; overflow: hidden;
            border-radius: 20px; border: 1px solid rgba(216, 173, 78, 0.25);
            background: #020c1a; box-shadow: 0 10px 30px rgba(0,0,0,0.6);
        }
        .slider-track { display: flex; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
        .slide { min-width: 100%; height: 100%; }
        .slide img { width: 100%; height: 100%; object-fit: cover; }
        .slider-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
        .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: 0.3s; }
        .dot.active { background: var(--gold); width: 20px; border-radius: 10px; }

        /* =========================================================
           PROVIDER NAVIGATION
        ========================================================= */
        .provider-nav-wrap {
            padding: 12px 0; background: rgba(0, 10, 30, 0.3);
            border-bottom: 1px solid rgba(216, 173, 78, 0.1);
            position: sticky; top: 62px; z-index: 999; backdrop-filter: blur(10px);
        }
        .provider-nav { display: flex; gap: 10px; overflow-x: auto; padding: 0 15px; scrollbar-width: none; }
        .provider-nav::-webkit-scrollbar { display: none; }
        
        .nav-btn {
            flex: 0 0 auto; padding: 8px 16px; border-radius: 12px;
            background: rgba(255,255,255,0.03); border: 1px solid rgba(216, 173, 78, 0.15);
            color: var(--muted); font-size: 10px; font-weight: 900;
            cursor: pointer; transition: 0.3s; text-transform: uppercase;
            display: flex; align-items: center; gap: 8px;
        }
        .nav-btn img { width: 22px; height: 22px; object-fit: contain; filter: grayscale(1) brightness(1.2); transition: 0.3s; }
        /* Active diubah ke gradasi Blue */
        .nav-btn.active { 
            background: linear-gradient(145deg, #0a4da0, #020c1a); 
            border-color: var(--gold); 
            color: var(--gold-light); 
        }
        .nav-btn.active img { filter: grayscale(0) brightness(1); }

        /* =========================================================
           GAME GRID & CARD
        ========================================================= */
        .search-wrap { padding: 5px 13px 15px; }
        .search input {
            width: 100%; height: 45px; padding: 0 15px; border-radius: 13px;
            outline: none; color: white; background: rgba(255,255,255,.04);
            border: 1px solid rgba(216, 173, 78, 0.12); font-size: 12px;
        }

        .game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 12px 100px; max-width: 1100px; margin: auto; }
        
        .game-card {
            position: relative; overflow: hidden; padding: 10px; border-radius: 18px;
            /* Background Card diubah ke Navy Blue */
            background: linear-gradient(145deg, rgba(10, 50, 120, 0.4), rgba(1, 6, 15, 0.96));
            border: 1px solid rgba(216, 173, 78, 0.18); transition: 0.3s;
        }
        
        .game-image { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; border-radius: 12px; background: #01040a; }
        .game-image img { width: 100%; height: 100%; object-fit: cover; }
        .game-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 4, 10, 0.7), transparent 50%); }
        
        .game-info { padding-top: 12px; }
        .game-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #f0f4f8; font-size: 11px; font-weight: 900; }

        /* Progress Section Sesuai Gambar */
        .rtp-status { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 10px; }
        .rtp-label { font-size: 7px; color: #7a8ba3; font-weight: bold; text-transform: uppercase; }
        .rtp-value { 
            font-size: 19px; 
            font-weight: 950; 
            background: linear-gradient(180deg, #fff3b0, #d5a847, #ae7620);
            -webkit-background-clip: text; 
            -webkit-text-fill-color: transparent;
            line-height: 1;
        }
        
        .progress-wrap { position: relative; height: 6px; margin-top: 8px; border-radius: 100px; background: rgba(255,255,255,0.06); overflow: hidden; }
        .progress-bar { 
            height: 100%; 
            border-radius: 100px;
            /* Progress bar diubah ke gradasi Blue ke Gold */
            background: linear-gradient(90deg, #00d2ff, #0a4da0, #d4a843, #fff0a7); 
            background-size: 300% 100%;
            animation: progressFlow 2s linear infinite; 
            transition: width 1s ease-in-out; 
        }
        @keyframes progressFlow { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }

        /* Stats */
        .player-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
        .stat-box { padding: 8px 4px; text-align: center; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.04); }
        .stat-num { display: block; color: #d0dceb; font-size: 10px; font-weight: 900; }
        .stat-label { display: block; color: #6d7f96; font-size: 6px; text-transform: uppercase; margin-top: 2px; }

        /* Buttons */
        .card-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
        .btn { height: 34px; border: 0; border-radius: 10px; font-size: 9px; font-weight: 950; cursor: pointer; transition: 0.2s; }
        .btn-play { color: #010816; background: linear-gradient(135deg, #fff0ad, #c99432); box-shadow: 0 4px 10px rgba(216, 173, 78, 0.25); }
        .btn-pattern { color: #d0dceb; background: rgba(10, 77, 160, 0.2); border: 1px solid rgba(0, 210, 255, 0.15); }

        /* =========================================================
           FLOATING BUTTONS (MODIFIED TO BLUE)
        ========================================================= */
        .admin-contact {
            position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2000;
            display: flex; align-items: center; gap: 10px; padding: 12px 24px; border-radius: 50px;
            /* Gradasi Admin diubah ke Blue */
            background: linear-gradient(145deg, #0a4da0, #010816);
            border: 1px solid rgba(216, 173, 78, 0.5);
            color: #fff1b0; font-size: 11px; font-weight: 950; text-transform: uppercase;
            letter-spacing: 1.5px; text-decoration: none; white-space: nowrap;
            box-shadow: 0 0 20px rgba(0, 140, 255, 0.4); transition: 0.3s;
            animation: adminPulseBlue 3s infinite;
        }
        @keyframes adminPulseBlue { 0%, 100% { box-shadow: 0 0 20px rgba(0, 140, 255, 0.4); } 50% { box-shadow: 0 0 35px rgba(0, 210, 255, 0.6); } }
        .admin-contact:active { transform: translateX(-50%) scale(0.92); }

        .scroll-toggle {
            position: fixed; bottom: 20px; right: 15px; z-index: 2000;
            width: 48px; height: 48px; border-radius: 50%;
            /* Scroll Toggle diubah ke Blue */
            background: linear-gradient(135deg, #00d2ff, #0a4da0);
            border: 2px solid var(--gold); color: white; font-size: 20px;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.5);
            transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .scroll-toggle.up { transform: rotate(180deg); }

        /* MODAL (MODIFIED TO NAVY BLUE) */
        .modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: flex-end; justify-content: center; background: rgba(1, 4, 10, 0.85); backdrop-filter: blur(8px); }
        .modal.show { display: flex; }
        .modal-box { width: 100%; max-width: 500px; padding: 20px; border-radius: 24px 24px 0 0; background: linear-gradient(145deg, #0a1f44, #01040a); border-top: 2px solid var(--gold); }
        .pattern-board { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
        .pattern-row { display: grid; grid-template-columns: repeat(3, 1fr) 75px; gap: 8px; }
        .pattern-cell { height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #010816; border: 1px solid rgba(255,255,255,.05); font-size: 26px; font-weight: 900; }
        .pattern-spin { background: linear-gradient(135deg, #fff1b2, #c69436); color: #010816; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 12px; font-weight: 950; }
        
        @media (min-width: 600px) { .game-grid { grid-template-columns: repeat(3, 1fr); } .modal { align-items: center; } .modal-box { border-radius: 24px; } }