        :root {
            --bg-dark: #0a0a0a;
            --bg-darker: #111;
            --bg-medium: #141414;
            --bg-light: #181818;
            --border-color: #222;
            --gold: #FFD700;
            --green-highlight: #00ff9d;
            --text-light: #fff;
            --text-secondary: #ccc;
            --bg-header-gradient-start: #2a0000;
            --bg-header-gradient-end: #0a0a0a;
            --bg-user-info: #1c1c1c;
            --bg-loyalty: #222222;
            --bg-sitemap: #000000;
        }

        body {
            background: var(--bg-dark);
            color: var(--text-light);
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
            padding-bottom: 80px; /* Padding for fixed footer */
        }

        /* Scrollbar Styling */
        ::-webkit-scrollbar {
            height: 6px;
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-darker);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--gold);
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #e6c200;
        }

        header {
            background: linear-gradient(90deg, var(--bg-header-gradient-start), var(--bg-header-gradient-end));
            padding: 10px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.5);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        header img {
            height: 35px;
            filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
        }
        header .icons i {
            color: var(--gold);
            font-size: 1.5rem;
            margin-left: 20px;
            cursor: pointer;
            transition: color 0.3s ease, transform 0.2s ease;
        }
        header .icons i:hover {
            color: #ffd700;
            transform: scale(1.1);
        }

        .user-info {
            background: var(--bg-user-info);
            border-bottom: none;
            padding: 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 1px 4px rgba(0,0,0,0.3);
            position: relative;
        }
        .user-info .user-details {
            display: flex;
            align-items: center;
        }
        .user-info .user-avatar {
            width: 40px;
            height: 40px;
            background-color: var(--gold);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 10px;
            color: var(--bg-dark);
            font-size: 1.5rem;
            font-weight: 700;
        }
        .user-info .user-avatar i {
            color: var(--bg-dark);
            font-size: 1.8rem;
        }
        .user-info .name {
            font-weight: 700;
            color: var(--gold);
            font-size: 1.15rem;
            letter-spacing: 0.5px;
        }
        .user-info .name + small {
            color: var(--text-secondary);
            font-size: 0.85rem;
            display: block;
        }
        .user-info .balance {
            font-size: 1rem;
            font-weight: 500;
            color: var(--green-highlight);
            letter-spacing: 0.5px;
            align-items: center;
            display: flex;
        }
        /* Style Tombol Refresh */
        .btn-refresh {
            background: none;
            border: none;
            /* Ubah warna default ikon menjadi Emas (Gold) */
            color: var(--gold); 
            padding: 0;
            font-size: 1.3rem;
            cursor: pointer;
            transition: color 0.2s ease, transform 0.3s;
            margin-right: 8px; 
        }
        .btn-refresh:hover {
            color: var(--green-highlight); /* Tetap hijau saat di-hover */
            transform: rotate(360deg); 
        }
        /* --- Animasi Putar --- */
        /* Pastikan ini ada di tag <style> Anda */
        .bi-arrow-clockwise-spin {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        .loyalty {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 15px;
            font-size: 0.85rem;
            color: var(--text-secondary);
            background: var(--bg-loyalty);
            margin-bottom: 10px;
            border-radius: 0 0 8px 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        }
        .loyalty .text-warning, .loyalty .text-info {
            font-weight: 700;
            color: var(--gold) !important;
        }
        .loyalty .loyalty-points {
            display: flex;
            align-items: center;
        }
        .loyalty .loyalty-points i {
            font-size: 1.2rem;
            margin-right: 5px;
            color: var(--gold);
        }

        .banner {
            padding: 0 15px;
        }
        /* Carousel Styling */
        .carousel-item img {
            width: 100%;
            object-fit: cover;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.6);
        }
        .carousel {
            margin: 15px 0;
        }
        .carousel-indicators [data-bs-target] {
            background-color: var(--gold);
            opacity: 0.6;
            height: 4px;
            width: 25px;
            border-radius: 2px;
        }
        .carousel-indicators .active {
            opacity: 1;
        }
        .carousel-control-prev-icon, .carousel-control-next-icon {
            background-color: rgba(255, 215, 0, 0.2);
            border-radius: 50%;
            padding: 12px;
        }

        @keyframes blink {
            from { opacity: 1; }
            to { opacity: 0.7; }
        }
        @keyframes pulse {
            from { transform: scale(1); }
            to { transform: scale(1.02); }
        }

        .menu-scroll {
            display: flex;
            overflow-x: auto;
            padding: 15px;
            gap: 12px;
            -webkit-overflow-scrolling: touch;
            border-radius: 12px;
            justify-content: space-between;
            background: var(--bg-medium);
            margin: 0 15px;
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
        }
        .menu-item {
            background: var(--bg-light);
            text-align: center;
            border-radius: 10px;
            padding: 10px 0;
            min-width: 80px;
            flex-shrink: 0;
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            font-size: 0.8rem;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .menu-item i {
            font-size: 1.3rem;
            margin-bottom: 5px;
            color: #888;
            transition: color 0.3s ease;
        }
        .menu-item.active, .menu-item:hover {
            border-color: var(--gold);
            color: var(--gold);
            background: rgba(255, 215, 0, 0.1);
            transform: translateY(-3px);
            box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
        }
        .menu-item.active i, .menu-item:hover i {
            color: var(--gold);
        }
        .menu-item br {
            display: none;
        }

        /* ****************************************************** */
        /* START: CSS untuk "Lihat Semua" (BARU) */
        /* ****************************************************** */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            /* Tambahkan padding kiri agar sejajar dengan section-title sebelumnya */
            padding-left: 0; 
            padding-right: 15px;
        }
        .section-header .section-title {
            /* Hapus atau ubah margin agar sesuai dengan parent flex */
            margin-top: 25px;
            margin-bottom: 10px;
            /* Agar section-title tidak mengambil lebar penuh jika ada view-all-link */
            flex-grow: 1; 
        }
        .section-header .view-all-link {
            /* Menyesuaikan posisi link agar vertikal sejajar dengan text di section-title */
            margin-top: 15px; 
            color: var(--gold);
            font-size: 0.9rem;
            font-weight: 500;
            text-decoration: none;
            transition: color 0.3s ease;
            /* Padding kanan untuk link agar tidak terlalu mepet ke kanan */
            padding-right: 5px; 
        }
        .section-header .view-all-link:hover {
            color: #e6c200;
        }
        /* Pindahkan styling section-title di bawah sini */
        .section-title {
            color: var(--gold);
            font-weight: 700;
            font-size: 1.25rem;
            padding: 12px 15px 8px 15px;
            border-left: 5px solid var(--gold);
            /* Hapus margin-top dan margin-bottom di sini karena sudah ditangani .section-header .section-title */
            margin-top: 25px; /* Dibiarkan sesuai kode awal, namun disarankan diatur di .section-header .section-title */
            margin-bottom: 10px; /* Dibiarkan sesuai kode awal, namun disarankan diatur di .section-header .section-title */
            background: linear-gradient(to right, rgba(255, 215, 0, 0.1), transparent);
            border-radius: 0 8px 8px 0;
            display: flex;
            align-items: center;
            position: relative;
        }
        .section-title i {
            margin-right: 10px;
            font-size: 1.5rem;
        }
        /* Pastikan section-title yang TIDAK di dalam .section-header tetap memiliki margin */
        .section-title:not(.section-header .section-title) {
            margin-top: 25px;
            margin-bottom: 10px;
        }
        /* Gaya Marquee/Notification Bar yang Diperbarui (Menggunakan Animasi CSS) */
        .notification-bar-container {
            background-color: var(--bg-darker);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            padding: 8px 15px; /* Tambahkan sedikit padding vertikal */
            margin-bottom: 10px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.5);
            display: flex; /* Menggunakan Flexbox */
            align-items: center;
            overflow: hidden; /* Penting untuk menyembunyikan teks yang berjalan */
        }

        .notification-bar-container i {
            color: var(--gold); /* Ikon megaphone berwarna emas/kuning */
            font-size: 1.1rem;
            margin-right: 10px; /* Jarak antara ikon dan teks */
            flex-shrink: 0; /* Pastikan ikon tidak mengecil */
        }

        .notification-text-wrapper {
            flex-grow: 1;
            overflow: hidden; /* Hanya teks di dalam wrapper yang akan berjalan */
            white-space: nowrap; /* Penting: mencegah teks melompat ke baris baru */
            position: relative;
            height: 1.2em; /* Atur tinggi agar stabil */
        }

        /* Animasi untuk teks berjalan */
        @keyframes scrolling-text {
            /* Dimulai dari 100% (luar kanan container) hingga -100% (luar kiri container) */
            0% { transform: translateX(10%); } 
            100% { transform: translateX(-100%); } 
        }

        .scrolling-text {
            display: inline-block;
            color: var(--green-highlight);
            font-size: 0.9rem;
            font-weight: 500;
            /* Terapkan animasi: 30 detik kecepatan normal */
            animation: scrolling-text 30s linear infinite; 
        }
        /* ****************************************************** */
        /* END: CSS untuk "Lihat Semua" */
        /* ****************************************************** */
        
        /* ****************************************************** */
        /* DEFAULT STYLES FOR HORIZONTAL GAME LIST (e.g., Slot Terbaru) */
        /* ****************************************************** */
        .game-list {
            display: flex; /* Horizontal scroll */
            overflow-x: auto;
            justify-content: space-evenly;
            padding: 10px 15px 20px 15px;
            gap: 10px;
            -webkit-overflow-scrolling: touch;
        }
        .game-list .game-card {
            min-width: 100px; /* Default card width */
            background: var(--bg-light);
            border-radius: 10px;
            text-align: center;
            padding: 5px;
            border: 1px solid var(--border-color);
            flex-shrink: 0;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
            cursor: pointer;
            display: block; /* Revert to block for vertical stacking of img/text */
        }
        .game-list .game-card img {
            width: 100px; /* Default image size */
            height: 100px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 5px;
            margin-right: 0; /* Remove right margin */
            box-shadow: 0 1px 4px rgba(0,0,0,0.2);
        }
        .game-list .game-card:hover {
            border-color: var(--gold);
            transform: translateY(-5px); /* More dramatic lift */
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
        }
        .game-list .game-card .text-warning {
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            color: var(--gold) !important;
            font-weight: 600;
        }

        /* ****************************************************** */
        /* STYLES FOR HORIZONTAL LIST VIEW GAME LIST (Game Populer) */
        /* ****************************************************** */
        .horizontal-list-view-game-list {
            display: flex; /* Use flex for horizontal layout */
            overflow-x: auto; /* Enable horizontal scrolling */
            padding: 10px 15px 20px 15px; /* Adjust padding */
            gap: 10px; /* Space between items */
            -webkit-overflow-scrolling: touch;
        }

        .horizontal-list-view-game-list .list-item-card { /* Changed class name for clarity */
            min-width: 200px; /* Set a minimum width for each card to accommodate image and text */
            background: var(--bg-medium);
            border-radius: 8px;
            text-align: left;
            padding: 12px;
            border: 1px solid var(--border-color);
            margin-bottom: 0; /* No bottom margin as they are horizontal */
            flex-shrink: 0; /* Prevent items from shrinking */
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
            cursor: pointer;

            display: flex; /* Flexbox for image and text alignment */
            align-items: center; /* Center vertically */
        }

        .horizontal-list-view-game-list .list-item-card img {
            width: 45px;
            height: 45px;
            object-fit: contain;
            border-radius: 6px;
            margin-bottom: 0;
            margin-right: 15px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }

        .horizontal-list-view-game-list .list-item-card:hover {
            border-color: var(--gold);
            transform: translateY(-2px);
            box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
        }
        .horizontal-list-view-game-list .list-item-card .text-warning {
            font-size: 1rem;
            letter-spacing: normal;
            color: var(--text-light) !important;
            font-weight: 600;
            white-space: nowrap; /* Prevent text from wrapping if too long */
            overflow: hidden; /* Hide overflow text */
            text-overflow: ellipsis; /* Add ellipsis for overflow text */
        }

        /* ****************************************************** */
        /* STYLES FOR PAYMENT METHODS */
        /* ****************************************************** */
        .payment-methods-wrapper {
            padding: 0 15px 25px 15px;
        }
        .payment-methods {
            display: flex;
            flex-wrap: wrap;
            justify-content: center; /* Tetap terpusat */
            padding: 15px; /* Padding di dalam card */
            gap: 10px; /* Jarak antar logo */
            background: var(--bg-medium);
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
        }
        .payment-methods img {
            height: 35px;
            width: auto;
            object-fit: contain;
            filter: grayscale(10%) brightness(1.2);
            transition: all 0.3s ease;
            padding: 5px;
            background: var(--bg-light);
            border-radius: 6px;
            flex-grow: 0; /* Penting: mencegah logo meregang untuk mengisi ruang */
            flex-shrink: 0; /* Penting: mencegah logo menyusut terlalu banyak */
            max-width: calc(33.33% - 10px); /* Maks 3 per baris untuk mobile, adjust gap */
        }
        .payment-methods img:hover {
            filter: grayscale(0%) brightness(1.1) drop-shadow(0 0 5px var(--gold));
            transform: scale(1.05);
        }
        /* Media query untuk tampilan desktop agar logo bisa lebih banyak per baris */
        @media (min-width: 768px) {
            .payment-methods img {
                max-width: calc(20% - 10px); /* 5 per baris untuk desktop */
            }
        }


        /* ****************************************************** */
        /* STYLES FOR ARTICLE SECTION */
        /* ****************************************************** */
        .article-section {
            padding: 0 15px;
            margin-bottom: 25px;
        }
        .article-content {
            background: var(--bg-medium);
            padding: 15px;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 8px rgba(0,0,0,0.4);
        }
        .article-content h3 {
            color: var(--gold);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 5px;
        }
        .article-content p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 10px;
            text-align: justify;
        }
        .article-content a {
            color: var(--green-highlight);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }
        .article-content a:hover {
            color: var(--gold);
        }

        /* ****************************************************** */
        /* STYLES FOR SITEMAP FOOTER */
        /* ****************************************************** */
        .sitemap-footer {
            background: var(--bg-sitemap);
            color: var(--text-secondary);
            padding: 25px 15px;
            border-top: 1px solid var(--border-color);
            margin-top: 30px; /* Memberikan jarak dari konten di atasnya */
        }
        .sitemap-footer h4 {
            color: var(--gold);
            font-size: 1rem;
            font-weight: 600;
            margin-top: 0;
            margin-bottom: 10px;
            padding-bottom: 5px;
            border-bottom: 1px dashed var(--border-color);
        }
        .sitemap-footer ul {
            list-style: none;
            padding: 0;
            margin: 0 0 20px 0;
            display: flex;
            flex-wrap: wrap;
            gap: 5px 15px; /* Jarak antara item */
        }
        .sitemap-footer ul li {
            font-size: 0.85rem;
            flex-basis: calc(50% - 15px); /* Dua kolom pada mobile */
        }
        .sitemap-footer ul li a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .sitemap-footer ul li a:hover {
            color: var(--gold);
        }
        .sitemap-footer small {
            display: block;
            text-align: center;
            margin-top: 15px;
            font-size: 0.7rem;
            color: #666;
        }


        footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: var(--bg-darker);
            border-top: 2px solid var(--gold);
            display: flex;
            justify-content: space-around;
            padding: 8px 0;
            z-index: 1000;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
        }
        footer a {
            text-decoration: none;
            color: #888;
            font-size: 0.75rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 5px;
            border-radius: 8px;
            transition: all 0.3s ease;
            min-width: 60px;
        }
        footer a.active, footer a:hover {
            color: var(--gold);
            background: rgba(255, 215, 0, 0.1);
            transform: translateY(-2px);
        }
        footer i {
            font-size: 1.3rem;
            margin-bottom: 3px;
        }
