:root {
    --primary-color: #f4b400;
    --secondary-color: #1e1e1e;
    --background-dark: #0b0b0b;
    --text-light: #ffffff;
    --text-dark: #0b0b0b;
}

body {
    background-color: var(--background-dark);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: radial-gradient(circle at center, #2b1010 0%, #0b0b0b 58%, #030303 100%);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: 1;
    visibility: visible;
    transition: opacity .45s ease, visibility .45s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader-mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: linear-gradient(145deg, #f7c948, #7a5a00);
    padding: 7px;
    box-shadow: 0 0 24px rgba(244, 180, 0, .45);
}

.page-loader-mark img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.page-loader-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, .2);
    border-top-color: var(--primary-color);
    border-right-color: #f7d96f;
    border-radius: 50%;
    animation: pageLoaderSpin .8s linear infinite;
}

@keyframes pageLoaderSpin {
    to { transform: rotate(360deg); }
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-main {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--primary-color);
    transition: box-shadow 0.3s ease-in-out;
}

.header-main.scrolled {
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Container untuk tombol bahasa */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px; /* Jarak antar tombol */
}

.lang-btn {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    background-color: white;
    color: black;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

.auth-buttons button {
    position: relative;
    overflow: hidden;
    /* Properti lain yang sudah ada */
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.auth-button-icon {
    width: 18px;
    height: 18px;
    margin-right: 7px;
    vertical-align: middle;
    object-fit: contain;
}

.auth-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0)
    );
    transform: translateX(-100%) skewX(-15deg);
    animation: shimmer 2.5s infinite;
    animation-delay: 1s;
}

.auth-buttons .primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

.auth-buttons button:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Sembunyikan tombol auth di mobile */
@media (max-width: 767px) {
    .auth-buttons {
        display: none; /* Hilangkan dari tampilan */
    }
}

/* Default: sembunyikan versi mobile di desktop */
.mobile-action-container {
    display: none; /* tersembunyi di desktop */
}

/* Animasi Kilau */
@keyframes shimmering {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Animasi Garis Emas Berputar */
@keyframes goldBorderSpin {
    0% {
        border-image-source: linear-gradient(0deg, #f4b400, transparent 50%, #f4b400);
    }
    25% {
        border-image-source: linear-gradient(90deg, #f4b400, transparent 50%, #f4b400);
    }
    50% {
        border-image-source: linear-gradient(180deg, #f4b400, transparent 50%, #f4b400);
    }
    75% {
        border-image-source: linear-gradient(270deg, #f4b400, transparent 50%, #f4b400);
    }
    100% {
        border-image-source: linear-gradient(360deg, #f4b400, transparent 50%, #f4b400);
    }
}


/* Hanya tampil di mobile */
@media (max-width: 767px) {
    .mobile-action-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        margin-top: 30px;
        background-color: #888888;
        border-radius: 10px;
        color: #ffffff;
        
        /* Garis Emas Berputar */
        border: 3px solid transparent; /* Border awal agar border-image bisa diaplikasikan */
        border-image: linear-gradient(45deg, #f4b400, #f4b40055, #f4b400) 1; /* Efek awal */
        border-image-slice: 1;
        animation: goldBorderSpin 8s linear infinite; /* Animasi garis emas */
    }

    /* Baris atas: Login & Register */
    .row.top-row {
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .row.top-row button {
        flex: 1 1 45%;
        padding: 12px;
        font-size: 1rem;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        border: 1px solid var(--primary-color);
        transition: background-color 0.3s, color 0.3s;

        /* Efek Kilau pada tombol */
        background-size: 200% 100%;
        background-image: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.3) 20%, transparent 40%, transparent 100%);
        animation: shimmering 3s infinite linear;
    }

    .primary-login {
        background-color: var(--primary-color);
        color: var(--text-dark);
        /* Warna kilau mungkin perlu disesuaikan agar cocok dengan latar belakang */
        background-image: linear-gradient(to right, var(--primary-color) 0%, rgba(255, 255, 255, 0.5) 20%, var(--primary-color) 40%, var(--primary-color) 100%);
        color: black; /* Agar terlihat lebih baik dengan kilau */
    }

    .secondary-register {
    background-color: #000000; /* Latar belakang hitam */
    color: #000000; /* Teks hitam, mungkin ini tidak ideal, mari kita ubah ke putih agar terlihat */
    
    /* Mengganti warna teks menjadi putih agar bisa dibaca */
    color: #ffffff; 
    
    /* Menyesuaikan efek kilau agar lebih terlihat di latar belakang gelap */
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.0) 100%);
    }

    /* Baris bawah: Note dan tombol */
    .row.bottom-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        flex-wrap: wrap;
    }

    /* Kolom keterangan (rata kiri) */
    .note-column {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 20px;
        text-align: left;
        min-width: 120px;
        font-size: 0.85rem;
    }

    /* Kolom tombol (rata kanan) */
    .button-column {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-end; /* rata kanan */
    }

    /* Tombol semua sama besar */
    .button-column button {
        min-width: 160px;    /* disamakan dengan refresh */
        padding: 12px 20px;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        border: 1px solid var(--primary-color);
        font-size: 1rem;

        /* Efek Kilau pada tombol */
        background-size: 200% 100%;
        background-image: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.3) 20%, transparent 40%, transparent 100%);
        animation: shimmering 3s infinite linear;
    }

    /* Warna tombol */
    .primary-deposit {
        background-color: var(--primary-color);
        color: var(--text-dark);
        background-image: linear-gradient(to right, var(--primary-color) 0%, rgba(255, 255, 255, 0.5) 20%, var(--primary-color) 40%, var(--primary-color) 100%);
        color: black;
    }

    .secondary-withdraw {
        background-color: transparent;
        color: var(--primary-color);
        background-image: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.3) 20%, transparent 40%, transparent 100%);
    }

    .info-refresh {
        background-color: #f0f0f0;
        color: #333;
        border-color: #ccc;
        background-image: linear-gradient(to right, #f0f0f0 0%, rgba(255, 255, 255, 0.5) 20%, #f0f0f0 40%, #f0f0f0 100%);
    }
}
.info-bar {
    background-color: #f4b400;
    color: black;
    text-align: center;
    padding: 0.25rem 0;
    font-weight: bold;
    font-size: 0.875rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.marquee-container {
    background-color: #f4b400;
    color: #0b0b0b;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    padding: 0.3rem 0;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.navbar-main {
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.navbar-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-list li a {
    position: relative;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: color 0.3s, transform 0.2s;
}

.navbar-list li a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

@keyframes glowing {
    0% {
        color: var(--primary-color);
        text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    }
    50% {
        color: #fff; /* Warna putih saat paling terang */
        text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    }
    100% {
        color: var(--primary-color);
        text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    }
}

.navbar-list .promo-link {
    color: var(--primary-color); /* Memastikan warna dasar kuning emas */
    font-weight: 700;
    animation: glowing 1.5s infinite alternate; /* Menerapkan animasi berkedip */
}

/* Container yang membungkus semua slide */
.slider-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1.25);
}

/* Setiap item slider */
.slider-item {
    min-width: 100%;
    height: 100%; /* Penting: agar gambar mengisi tinggi container */
    
    /* Properti ini yang mencegah gambar terlihat blur */
    background-size: cover;
    background-position: center;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 400px; /* Sesuaikan tinggi banner sesuai keinginan */
    overflow: hidden; /* Penting untuk menyembunyikan slide yang tidak terlihat */
}

/* Container yang membungkus semua slide */
.slider-container {
    display: flex; /* Penting: atur sebagai flexbox agar slide bisa sejajar */
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1.25); /* Transisi keren dengan sedikit "sentakan" */
}

/* Setiap item slider */
.slider-item {
    min-width: 100%; /* Pastikan setiap slide selebar 100% dari container */
    background-size: cover;
    background-position: center;
}

/* Gaya untuk dot navigasi */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dots .dot.active {
    background-color: white;
}
@media (max-width: 767px) {
    .hero-section {
        /* Mengurangi tinggi banner agar lebih pas di layar mobile */
        height: 200px; 
    }
}r-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.slider-button:hover {
    background-color: #f4b400;
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Content Sections */
.content-section {
    padding: 2rem 0;
}

.section-title {
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #f4b400 50%, var(--primary-color) 100%);
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(244, 180, 0, 0.5);
}

.provider-logos-stack, .logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-wrapper img, .logo-item img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.logo-wrapper img:hover, .logo-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.logo-wrapper-mobile {
  display: none; /* sembunyikan versi mobile di desktop */
}
/* === Mobile version === */
@media (max-width: 768px) {
  .logo-wrapper {
    display: none; /* sembunyikan versi desktop di mobile */
  }

  .logo-wrapper-mobile {
    display: block; /* tampilkan versi mobile */
    text-align: center;
  }

  .logo-wrapper-mobile img {
    max-width: 80%;
    height: auto;
  }
}

/* New Styles for Scrolling Logos */
.bank-scroller {
    overflow: hidden;
    width: 100%;
}

.bank-scroller-inner {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: bank-scroll 30s linear infinite;
}

@keyframes bank-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


.logo-item {
    width: 150px;
    height: 80px;
    background: linear-gradient(45deg, #1e1e1e, #2c2c2c);
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.logo-item img {
    max-height: 100%;
}

.about-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer-main {
    background-color: #1a1a1a;
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: color 0.3s, transform 0.2s;
}

.footer-nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-main p {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #aaa;
}

/* Live Chat Widget */
.live-chat-button {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 0;
    width: 40px;
    height: 150px;
    background: linear-gradient(90deg, #333, var(--primary-color));
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: -4px 4px 15px rgba(0,0,0,0.5);
    transition: width 0.3s ease-in-out;
    z-index: 1000;
    border-radius: 10px 0 0 10px;
}

.live-chat-button:hover {
    width: 45px;
}

.live-chat-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
}

.live-chat-button i {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.live-chat-window {
    position: fixed;
    bottom: 20px;
    right: 40px;
    width: 350px;
    height: 500px;
    background-color: var(--background-dark);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.7);
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 999;
    transform-origin: bottom right;
    animation: expandChat 0.5s ease-out forwards;
}

.live-chat-window.active {
    display: flex;
}

@keyframes expandChat {
    from { transform: scale(0.1); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.chat-body {
    flex-grow: 1;
}

.chat-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s forwards;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #2c2c2c);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-color);
}

#modalTitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

#modalContent input {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #444;
    background-color: #2c2c2c;
    color: white;
    border-radius: 5px;
    box-sizing: border-box;
}

#modalContent input::placeholder {
    color: #888;
}

#modalContent button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#modalContent button:hover {
    background-color: #f4b400;
}

/* New styles for the screenshot carousel */
.screenshot-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 0 50px; /* Tambahkan padding agar tombol tidak menutupi konten */
}

.carousel-images {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 15px;
    width: 100%;
    max-width: 900px;
    padding: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    justify-content: flex-start; /* Ubah agar gambar tidak terpusat */
    flex-wrap: nowrap;
}

.carousel-img {
    flex-shrink: 0;
    width: 250px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.carousel-img:hover {
    transform: scale(1.05);
}

.carousel-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, transform 0.2s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.prev-btn {
    left: 5px; /* Sesuaikan posisi tombol */
}

.next-btn {
    right: 5px; /* Sesuaikan posisi tombol */
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

/* Mobile Adjustments (max-width: 768px) */
@media (max-width: 768px) {
    /* Penyesuaian umum untuk semua elemen di perangkat mobile */
    body {
        font-size: 14px; /* Mengurangi ukuran font dasar */
    }
    
    .container {
        padding: 0 0.5rem; /* Mengurangi padding horizontal untuk ruang yang lebih sempit */
    }

    .logo-img {
        height: 30px; /* Mengecilkan logo di header */
    }
    
    .header-content {
        /* Mengatur tata letak header untuk mobile */
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .navbar-list {
        display: none; /* Menyembunyikan navigasi utama di layar kecil */
    }
    .slider-content h1 {
        font-size: 1.8rem; /* Mengurangi ukuran font judul slider */
    }
    
    .slider-content p {
        font-size: 0.8rem; /* Mengurangi ukuran font paragraf slider */
        margin: 0 auto 1rem;
    }

    .slider-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1rem; /* Mengurangi ukuran judul section */
        text-align: center; /* Memusatkan judul */
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%); /* Memusatkan garis di bawah judul */
    }

    .provider-logos-stack, .logo-grid {
        gap: 10px; /* Mengurangi jarak antar logo */
    }
    
    .logo-item {
        width: 120px; /* Mengurangi lebar logo item di scroller */
        height: 60px; /* Mengurangi tinggi logo item */
    }
    
    /* Live Chat Widget */
    .live-chat-button {
        display: none; /* Menyesuaikan posisi di bagian bawah */
    }
    
    .live-chat-text {
        font-size: 0.8rem;
    }

    .live-chat-button i {
        font-size: 1.2rem;
    }

    .live-chat-window {
        width: 90%; /* Mengatur lebar jendela chat agar pas di layar mobile */
        left: 50%;
        transform: translateX(-50%);
        bottom: 80px;
        right: auto;
    }

    .modal-content {
        padding: 1rem; /* Mengurangi padding pada modal */
    }
    
    .screenshot-carousel {
        padding: 0 10px; /* Mengurangi padding agar carousel pas di layar */
    }

    .carousel-images {
        gap: 10px;
        max-width: 100%;
        padding: 5px;
    }
    
    .carousel-img {
        width: 150px; /* Mengurangi lebar gambar di carousel */
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }

    /* Penyesuaian Footer */
    .footer-nav a {
        display: block; /* Membuat setiap link footer berada di baris baru */
        margin: 0.5rem 0;
    }
}

/* Tablet Adjustments (max-width: 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 1.5rem;
    }

    .logo-img {
        height: 35px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .navbar-main {
        padding: 0.5rem 0;
    }
    
    .navbar-list li a {
        padding: 0.5rem 0.8rem;
    }

    .slider-content h1 {
        font-size: 2.2rem;
    }
    
    .slider-content p {
        font-size: 0.9rem;
    }
}

.about-us-new-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

@keyframes imageShimmer {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

/* Default: mobile-first */
.about-us-new-layout {
    display: flex;
    flex-direction: column; /* Stack vertikal untuk mobile */
    text-align: center;     /* Center untuk mobile */
    gap: 20px;              /* Jarak antar elemen */
    padding: 15px;           /* Sedikit padding */
}

.about-image-wrapper {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

.about-text-wrapper h2 {
    color: var(--primary-color);
    font-size: 2rem; /* Lebih kecil dari desktop */
    margin-bottom: 10px;
}

.about-text-wrapper p {
    font-size: 1rem;  /* Sesuai mobile */
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Tablet dan desktop */
@media (min-width: 768px) {
    .about-us-new-layout {
        flex-direction: row;
        text-align: left;
        gap: 30px;
        padding: 30px;
    }

    .about-image-wrapper,
    .about-text-wrapper {
        flex: 1;
    }

    .about-text-wrapper {
        padding-left: 30px;
    }

    .about-text-wrapper h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .about-text-wrapper p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
}


.read-more-content {
  display: none; /* default tersembunyi */
  margin-top: 15px;
}

.read-more-content.open {
  display: block; /* tampil saat ada class open */
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  cursor: pointer;
  font-weight: bold;
  color: #f4b400;
  text-decoration: none;
  transition: 0.3s;
}

.read-more-btn:hover {
  color: #fff;
}

/* ===============================
   GUIDELINES SECTION
================================= */
.guidelines {
    display: flex;               /* Flex agar konten bisa sejajar */
    justify-content: center;     /* Pusatkan konten horizontal */
    align-items: center;         /* Pusatkan konten vertikal */
    grid-area: guidelines;
    background: var(--guidelines-background, #111);
    padding: 20px 0;             /* Tambahkan padding vertikal */
    text-align: center;
    flex-wrap: wrap;             /* Agar konten tidak overflow */
}

.guidelines-content {
    margin: 0;                   /* Hapus margin negatif */
    max-width: 1200px;           /* Batas maksimal agar tidak terlalu lebar */
    width: 90%;                  /* Menyesuaikan layar */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .guidelines {
        flex-direction: column;   /* Susun vertikal di mobile */
        padding: 15px 10px;       /* Kurangi padding */
    }

    .guidelines-content {
        width: 100%;              /* Penuhi layar mobile */
        margin-bottom: 15px;      /* Spasi antar konten */
    }

    .guidelines-content img {
        width: 100%;              /* Gambar menyesuaikan lebar layar */
        height: auto;             /* Tinggi otomatis agar proporsional */
        max-width: 615px;         /* Opsional, batas maksimal */
    }
}

/* ===============================
   BANTUAN SECTION
================================= */
.bantuan {
    width: 100%;
    margin: 40px auto;
    padding: 0;
    box-shadow: none;
}

.bantuan-content {
    display: flex;
    flex-wrap: wrap;                 /* Agar item bisa pindah baris di desktop bila perlu */
    justify-content: center;         /* Pusatkan item horizontal */
    align-items: center;             /* Pusatkan item vertikal */
    list-style: none;
    font-family: 'Ubuntu', sans-serif;
    padding: 0;
    margin: 0;
    gap: 15px;                       /* Jarak antar item di desktop */
}

.bantuan-item {
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #f1f1f1;
    transition: color 0.3s ease-in-out;
    padding: 5px 15px;               /* Ruang di sekitar teks */
    text-align: center;
    white-space: nowrap;              /* Agar teks tidak patah */
}

.bantuan-item:hover {
    color: var(--primary-color);
}

.bantuan-devider {
    display: block;                  /* Pembatas vertikal di desktop */
    color: #555;
    font-size: 18px;
    font-weight: bold;
}

/* ===============================
   MOBILE ADJUSTMENTS
================================= */
@media (max-width: 768px) {
    .bantuan-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;                /* Pindah baris jika terlalu panjang */
        justify-content: center;        /* Pusatkan horizontal */
        align-items: center;
        gap: 5px;                       /* Jarak antar item lebih rapat */
        padding: 0 10px;
    }

    .bantuan-item {
        font-size: 12px;                /* Ukuran font tetap terbaca */
        padding: 3px 5px;               /* Padding lebih tipis agar muat */
        flex: 1 1 auto;                 /* Item bisa mengecil jika terlalu panjang */
        min-width: 50px;                /* Minimal lebar item */
        text-align: center;
        white-space: nowrap;            /* Teks tetap satu baris */
    }

    .bantuan-devider {
        display: block;                 /* Tetap tampil di mobile */
        color: #555;
        font-size: 16px;                /* Bisa disesuaikan */
        font-weight: bold;
    }
}


#fireflies-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Penting agar tidak menghalangi interaksi mouse */
    z-index: 9999; /* Pastikan di atas background canvas tapi di bawah konten utama */
}

.firefly {
    position: absolute;
    background-color: var(--primary-color); /* Warna emas dari variabel CSS Anda */
    border-radius: 50%;
    opacity: 0;
    animation: fadeAndMove 10s infinite; /* Animasi utama */
    box-shadow: 0 0 5px var(--primary-color), 0 0 10px rgba(255, 204, 0, 0.7); /* Efek glow */
}

@keyframes fadeAndMove {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }
    10% {
        opacity: 0.8;
        transform: translate(random(200px) - 100px, random(200px) - 100px) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(random(400px) - 200px, random(400px) - 200px) scale(0.8);
    }
    90% {
        opacity: 0.2;
        transform: translate(random(600px) - 300px, random(600px) - 300px) scale(0.6);
    }
    100% {
        opacity: 0;
        transform: translate(random(800px) - 400px, random(800px) - 400px) scale(0.5);
    }
}

/* Panel sosmed */
.sosmed {
    position: relative; 
    width: 100%;
    background: #222;
    color: #fff;
    font-family: Arial, sans-serif;
    border-top: 3px solid var(--primary-color, #4caf50);
    padding: 15px;
    box-sizing: border-box;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
}

/* Judul */
.sosmed p {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
    color: var(--primary-color, #4caf50);
}

/* Konten */
.sosmed .content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Member Service */
.memberser dt {
    font-size: 20px;
    font-weight: bold;
}
.memberser dd {
    margin: 0;
    font-size: 14px;
    color: #ccc;
}

/* List Live Help / Join Now */
.liveitem {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}
.liveitem li a {
    text-decoration: none;
    color: #fff;
    background: var(--primary-color, #4caf50);
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.3s;
}
.liveitem li a:hover {
    background: #388e3c;
}

/* Kontak */
#contact_col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact_col {
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact_col span {
    width: 24px;
    height: 24px;
    background-size: cover;
}
.contact_col a {
    color: #fff;
    text-decoration: none;
}
.contact_col a:hover {
    text-decoration: underline;
}

/* Animasi open/close */
.siderbar_close {
    max-height: 0;
    opacity: 0;
    padding: 0 15px;
}
.siderbar_open {
    max-height: 500px; /* cukup besar untuk konten */
    opacity: 1;
    padding: 15px;
}

/* Responsif */
@media (max-width: 600px) {
    .sosmed .content {
        font-size: 14px;
    }
    .liveitem {
        flex-direction: column;
    }
}

/* Sembunyikan navigasi secara default untuk tampilan desktop */
.bottom-nav {
    display: none;
}

/* Tampilkan hanya di layar dengan lebar maksimal 768px (perangkat mobile) */
@media (max-width: 768px) {
    .bottom-nav {
        display: block; /* Menampilkan kembali navigasi di layar mobile */
        position: fixed; /* Menjadikan navigasi tetap di posisi bawah layar */
        bottom: -8px;
        left: 0;
        width: 100%;
        background-color: #1a1a1a; /* Ganti warna sesuai tema Anda */
        border-top: 1px solid #333;
        z-index: 1000; /* Memastikan navigasi selalu di atas konten lain */
    }

    .bottom-nav ul {
        display: flex;
        justify-content: space-around; /* Menyebarkan item secara merata */
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .bottom-nav li {
        flex-grow: 1; /* Membuat setiap item mengisi ruang yang sama */
        text-align: center;
    }

    .bottom-nav a {
        display: block;
        padding: 10px 0;
        color: #fff;
        text-decoration: none;
        font-size: 12px;
        transition: color 0.3s ease;
    }

    .bottom-nav a.active {
        color: #f4b400; /* Warna aktif */
    }

    .bottom-nav a:hover {
        color: #f4b400; /* Warna saat di-hover */
    }

    .bottom-nav i {
        display: block;
        font-size: 18px;
        margin-bottom: 5px;
    }

    .bottom-nav-icon {
        display: block;
        width: 25px;
        height: 25px;
        margin: 0 auto 5px;
        object-fit: contain;
    }

    .bottom-nav span {
        display: block;
        font-size: 10px;
        text-transform: uppercase;
    }

    
}

/* Styling untuk elemen li yang menjadi induk */
#games-li {
    position: relative; /* Penting agar overlay diposisikan dengan benar di bawahnya */
}

/* Styling untuk overlay dropdown */
.games-overlay {
    position: absolute;
    top: 100%;
    /* Mengubah posisi kiri dan transform untuk membuatnya lebih lebar dan tetap di tengah */
    left: 0; /* Mulai dari kiri */
    right: 0; /* Sampai kanan */
    transform: none; /* Hilangkan transform X karena sudah pakai left/right */
    
    z-index: 700;
    
    /* Atur lebar agar sesuai keinginan Anda */
    /* Anda bisa mencoba nilai lain seperti '100vw' jika ingin selebar viewport */
    /* Untuk sementara, kita akan coba lebar standar agar tidak terlalu keluar */
    width: 100vw; /* Ini akan membuatnya selebar viewport, sesuaikan jika perlu */
    max-width: 1200px; /* Batasi lebar maksimal agar tidak terlalu besar di layar lebar */
    left: 50%; /* Pindahkan ke tengah setelah menentukan lebar */
    transform: translateX(-50%); /* Geser kembali 50% lebar sendiri ke kiri */

    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    padding: 15px 0; /* Padding vertikal, horizontal 0 karena lebar sudah diatur */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
    
    border-image-source: linear-gradient(45deg, var(--primary-color), transparent 50%, var(--primary-color));
    border-image-slice: 1;
    animation: goldBorderSpin 8s linear infinite;
}

/* Penyesuaian tata letak konten di dalam overlay */
.overlay-content {
    display: flex;
    flex-wrap: wrap; 
    /* Menyebar logo secara merata di dalam overlay */
    justify-content: space-around; 
    align-items: center;
    gap: 10px; /* Jarak antar logo yang lebih seragam */
    padding: 0 15px; /* Tambahkan padding horizontal agar logo tidak menempel di tepi */
}

/* Penyesuaian gambar logo di dalam overlay */
.overlay-content img {
    /* Ukuran logo yang lebih kecil agar muat banyak dan menyebar */
    width: 80px; 
    height: auto;
    
    /* Tetap abu-abu terang secara default */
    filter: grayscale(100%) brightness(1.8);
    transition: transform 0.2s, filter 0.2s;
}

/* Efek saat logo di-hover */
.overlay-content img:hover {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1); /* Kembali ke warna asli */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
    cursor: pointer;
}

/* Tampilkan overlay saat hover pada li induk */
#games-li:hover .games-overlay {
    visibility: visible;
    opacity: 1;
}

/* Pastikan animasi ini ada di CSS Anda */
@keyframes goldBorderSpin {
    0% {
        border-image-source: linear-gradient(0deg, var(--primary-color), transparent 50%, var(--primary-color));
    }
    25% {
        border-image-source: linear-gradient(90deg, var(--primary-color), transparent 50%, var(--primary-color));
    }
    50% {
        border-image-source: linear-gradient(180deg, var(--primary-color), transparent 50%, var(--primary-color));
    }
    75% {
        border-image-source: linear-gradient(270deg, var(--primary-color), transparent 50%, var(--primary-color));
    }
    100% {
        border-image-source: linear-gradient(360deg, var(--primary-color), transparent 50%, var(--primary-color));
    }
}
.gift-wrapper {
    position: fixed;
    left: 10px;       /* tetap di kiri */
    top: 50%;         /* posisi vertikal tengah */
    transform: translateY(-50%); /* pastikan benar-benar tengah */
    display: flex;
    flex-direction: column;  /* susun vertikal */
    align-items: flex-start; /* tetap di kiri */
    gap: 10px;        /* jarak antar gift */
    z-index: 9999;
}

.gift-logo {
    width: 70px;      /* ukuran desktop */
    height: auto;
    object-fit: contain;
    transition: transform 0.2s;
}

/* Hover efek */
.gift-logo:hover {
    transform: scale(1.2);
}

/* Responsif tablet */
@media (max-width: 768px) {
    .gift-logo { width: 80px; }
}

/* Responsif mobile */
@media (max-width: 480px) {
    .gift-logo { width: 70px; }
}
.modal-lang-switcher {
    margin: 10px 0 20px 0;
    text-align: center;
}

.modal-lang-switcher button {
    background: #f4b400;
    color: #1a1a1a;
    border: none;
    padding: 6px 12px;
    margin: 0 5px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.modal-lang-switcher button:hover {
    background: #fff;
    color: #000;
}

#apicontainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Penting agar tidak menghalangi interaksi mouse */
    z-index: 9999; /* Pastikan di atas background canvas tapi di bawah konten utama */
}

.categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 10px;
}

.category-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.category-icon img {
  width: 80px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.category-icon img:hover {
  transform: rotate(10deg);
}

.category-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 8px 15px;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Sesuaikan warna tombol download agar matching */
.btn-android { background: #3ddc84; color: #fff; }
.btn-ios { background: #000; color: #fff; }

.btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}
.about-us {
  padding: 0px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  margin-top: 10px;
  margin-bottom: 5px;
}

.social_icon2 ul {
  text-align: center;
  margin: 20px auto;
  padding: 0;
  list-style: none;
}

.social_icon2 ul>li {
  display: inline-block;
  padding: 5px;
}

.social_icon2 ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Warna tombol sesuai request */
.telegram { background: #54A1C2; border: 1px solid #54A1C2; }
.telegram:hover { background: #3d758d; transform: scale(1.1); }

.whatsapp { background: #4FCE5D; border: 1px solid #4FCE5D; }
.whatsapp:hover { background: #31833b; transform: scale(1.1); }

.about-us h2 {
  text-align: left;
  margin-bottom: 10px;
  margin-top: 10px;
  font-size: 1.375rem;
  font-weight: 600;
}

.about-text p {
  font-size: 0.5rem;
  line-height: 1.6;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 10px auto;
}

.about-text h3 {
  margin-top: 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #f8d14b;
  text-align: left;
}

.about-section-icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: contain;
}

.about-text p {
  font-size: 0.5rem;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: justify;
  margin-bottom: 15px;
}

.about-text strong {
  color: #ffdd57;
}

.certification-section {
    padding: 18px 0 24px;
    background: rgb(23 23 23);
    border-top: 1px solid rgb(255 255 255 / 30%);
    border-bottom: 1px solid rgb(255 255 255 / 30%);
}

.certification-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.certification-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.certification-logo {
    display: block;
    width: min(100%, 520px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
}

.follow-section {
    padding: 18px 1rem 24px;
    color: #fff;
    text-align: left;
}

.follow-section > p {
    margin: 0 0 12px;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 800;
}

.follow-icons {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
}

.follow-icons a {
    display: block;
    width: 40px;
    height: 40px;
    text-decoration: none;
    transition: transform .2s;
}

.follow-icons img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.follow-icons a:hover,
.follow-icons a:focus-visible {
    transform: translateY(-2px);
}

/* ================= FOOTER ================= */
.footer {
  background: rgba(0,0,0,0.4);
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

/* ================= RESPONSIVE ================= */
@media(max-width: 768px) {
  .download-buttons {
    flex-direction: column;
    gap: 8px;
  }
}

/* Keep authentication actions available on mobile */
@media (max-width: 767px) {
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .auth-buttons {
        display: flex !important;
        align-items: center;
        gap: 6px;
        margin-left: auto;
    }

    .auth-buttons button {
        padding: 7px 10px;
        font-size: .72rem;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .header-content {
        justify-content: center;
    }

    .logo-link {
        flex: 1 1 100%;
        justify-content: center;
    }

    .language-switcher,
    .auth-buttons {
        margin-left: 0;
    }
}

.mobile-auth-actions {
    display: none;
}

.jackpot-play-section {
    display: none;
}

.home-progressive-jackpot {
    display: none;
}

.game-category-menu {
    display: none;
}

.popular-games {
    display: none;
}

.game-logo-slider {
    display: none;
}

.live-transaction-section {
    width: min(100% - 2rem, 560px);
    margin: 0 auto 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #4a120c 0%, #210607 52%, #100203 100%);
    border: 1px solid #ff3a32;
    box-shadow: 0 8px 20px rgba(90, 0, 0, .35);
}

.live-transaction-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(90deg, #8f0808 0%, #e51b17 52%, #a4070c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.live-transaction-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.live-transaction-status {
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
}

.live-transaction-status span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 5px;
    vertical-align: middle;
    background: #fff;
    border-radius: 50%;
    animation: liveTransactionBlink 1s steps(2, start) infinite;
}

@keyframes liveTransactionBlink {
    50% { opacity: .2; }
}

.live-transaction-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    text-align: center;
    background: #8e090b;
}

.live-transaction-columns span {
    padding: 7px 8px;
    border-right: 1px solid rgba(255, 255, 255, .4);
}

.live-transaction-columns span:first-child { background: #630707; }
.live-transaction-columns span:nth-child(2) { background: #df1515; }
.live-transaction-columns span:last-child { background: #a30a0e; border-right: 0; }

.live-transaction-table-wrap {
    overflow-x: auto;
}

.live-transaction-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    color: #1b1b1b;
    font-size: .7rem;
    background: rgba(255, 255, 255, .96);
}

.live-transaction-table td {
    padding: 9px 7px;
    border-top: 1px solid rgba(130, 0, 0, .12);
    text-align: center;
    white-space: nowrap;
}

.live-transaction-amount {
    font-weight: 800;
}

@media (max-width: 767px) {
    .auth-buttons {
        display: none !important;
    }

    .mobile-auth-actions {
        display: flex;
        width: 100%;
        margin: 0;
        gap: 0;
    }

    .mobile-auth-actions button {
        position: relative;
        overflow: hidden;
        flex: 1 1 0;
        min-width: 0;
        padding: 16px 10px;
        border: 1px solid var(--primary-color);
        border-radius: 0;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color .3s, color .3s, transform .2s;
    }

    .mobile-auth-actions .auth-button-icon {
        width: 18px;
        height: 18px;
        margin-right: 7px;
        vertical-align: middle;
        object-fit: contain;
    }

    .mobile-auth-actions button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 60%;
        height: 100%;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, .4), transparent);
        transform: translateX(-100%) skewX(-15deg);
        animation: shimmer 2.5s infinite;
        animation-delay: 1s;
    }

    .mobile-login-button {
        background: transparent;
        color: var(--text-light);
    }

    .mobile-register-button {
        background: var(--primary-color);
        color: var(--text-dark);
    }

    .mobile-auth-actions button:hover {
        background: var(--primary-color);
        color: var(--text-dark);
        transform: translateY(-2px);
    }

    .home-progressive-jackpot {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(1200px, calc(100% - 2rem));
        margin: 20px auto 30px;
        color: #fff;
        padding: 10px 10px 1px;
    }

    .game-category-menu {
        display: flex;
        align-items: stretch;
        width: 100%;
        margin: 0 auto 18px;
        padding: 8px 0;
        background: rgba(20, 20, 20, .96);
        border-top: 1px solid rgba(244, 180, 0, .35);
        border-bottom: 1px solid rgba(244, 180, 0, .35);
    }

    .game-category-track {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .game-category-track::-webkit-scrollbar {
        display: none;
    }

    .game-category-arrow {
        flex: 0 0 30px;
        border: 0;
        background: #131313;
        color: #ffffff;
        font-size: 1.45rem;
        font-weight: 700;
        cursor: pointer;
    }

    .game-category-arrow:hover,
    .game-category-arrow:focus-visible {
        background: var(--primary-color);
        color: #fff;
    }

    .game-category-menu a {
        display: flex;
        flex: 0 0 110px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-width: 0;
        padding: 7px 4px;
        color: #fff;
        font-size: .72rem;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
        transition: color .2s, background-color .2s;
    }

    .game-category-menu a + a {
        border-left: 1px solid rgba(255, 255, 255, .12);
    }

    .game-category-menu a:hover,
    .game-category-menu a:focus-visible {
        background: rgba(244, 180, 0, .14);
        color: var(--primary-color);
    }

    .game-category-menu img {
        display: block;
        width: 25px;
        height: 25px;
        object-fit: contain;
    }

    .live-transaction-table {
        min-width: 0;
        table-layout: fixed;
        font-size: .64rem;
    }

    .live-transaction-table td {
        width: 25%;
        padding: 9px 2px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .live-transaction-amount {
        font-size: .72rem;
    }

    .popular-games {
        display: block;
        width: calc(100% - 2rem);
        max-width: 560px;
        margin: 0 auto 24px;
        padding: 0;
        overflow: visible;
        background: transparent;
        border: 0;
    }

    .game-logo-slider {
        display: block;
        width: calc(100% - 2rem);
        max-width: 560px;
        margin: 0 auto 20px;
        overflow: hidden;
        background: linear-gradient(90deg, #170202, #460407, #170202);
        border: 1px solid var(--primary-color);
    }

    .game-logo-slider-track {
        display: flex;
        width: max-content;
        will-change: transform;
    }

    .game-logo-slider-group {
        display: flex;
        flex: 0 0 auto;
    }

    .game-logo-slider a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 112px;
        height: 72px;
        border-right: 1px solid rgba(255, 255, 255, .14);
    }

    .game-logo-slider img {
        display: block;
        width: 78px;
        height: 58px;
        object-fit: contain;
    }

    .game-logo-slider-track > a {
        flex: 0 0 112px;
    }

    .popular-games-heading {
        width: 220px;
        max-width: 70%;
        padding: 1px 14px;
        background: var(--primary-color);
        clip-path: polygon(0 0, 66% 0, 75% 92%, 0 92%);
    }

    .popular-games-heading h2 {
        margin: 0;
        color: #fff;
        font-size: 1rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    .popular-games-content {
        display: flex;
        align-items: stretch;
        min-height: 245px;
        background: #080808;
        border: 1px solid var(--primary-color);
        overflow: hidden;
    }

    .popular-games-track {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 106px;
        grid-template-rows: repeat(2, minmax(0, 1fr));
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .popular-games-track::-webkit-scrollbar {
        display: none;
    }

    .popular-games-arrow {
        flex: 0 0 30px;
        border: 0;
        background: rgb(8 8 8);
        color: #ffffff;
        font-size: 1.6rem;
        font-weight: 700;
        cursor: pointer;
    }

    .popular-games-arrow:hover,
    .popular-games-arrow:focus-visible {
        background: var(--primary-color);
        color: #fff;
    }

    .popular-game-item {
        display: flex;
        flex: 0 0 106px;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        min-width: 106px;
        padding: 12px 4px 8px;
        color: #fff;
        font-size: .68rem;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }

    .popular-game-item img {
        display: block;
        width: 100px;
        height: 100px;
        aspect-ratio: 1;
        border: 1px solid rgba(244, 180, 0, .55);
        border-radius: 0;
        object-fit: cover;
    }

    .home-progressive-jackpot .jackpot-play-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: auto !important;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        background: transparent;
        border: 0 !important;
        border-radius: 0 !important;
    }

    div#jackpot-play-heading {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: min-content !important;
        max-width: 100%;
        margin: 0 auto;
    }

    #jackpot-play-heading img {
        display: block !important;
        position: static !important;
        align-self: flex-end !important;
        width: auto !important;
        max-width: 100px;
        height: auto;
        object-fit: contain;
    }

    #jackpot-play-heading .jackpot-play-text {
        color: var(--primary-color);
        display: block !important;
        width: max-content !important;
        max-width: 100%;
        font-size: clamp(.95rem, 6vw, 1.7rem);
        font-weight: 900;
        letter-spacing: .02em;
        text-transform: uppercase;
        text-align: center !important;
        white-space: nowrap;
        text-shadow: 0 2px 0 #5a4300, 0 0 12px rgba(244, 180, 0, .35);
    }

    .jackpot-play-text label {
        color: #fff;
    }

    .jackpot-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 6px;
        padding: 13px 10px;
        background: linear-gradient(135deg, #fff0a0 0%, #f4b400 48%, #9c7300 100%);
        border: 2px solid #f4b400;
        border-radius: 70px;
        color: #fff;
        font-family: 'Open24DisplaySt', 'Arial Black', sans-serif;
        font-size: clamp(1.1rem, 7vw, 1.75rem);
        letter-spacing: 2px;
        box-shadow: 0 7px 20px rgba(244, 180, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .45);
        overflow: hidden;
    }

    .jackpot-container::after {
        content: '';
        position: absolute;
        inset: 2px;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: inherit;
        pointer-events: none;
    }

    .jackpot-inner-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .jackpot-border-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 42px;
        width: min(100%, 430px);
        padding: 0 18px;
        border: 3px dotted rgba(255, 220, 220, .45);
        border-radius: 52px;
        color: #fff;
        font-weight: 800;
        text-align: center;
    }

    .jackpot-currency {
        color: #fff;
        font-size: .78em;
        letter-spacing: 1px;
        text-shadow: 0 1px 2px rgba(122, 90, 0, .7);
    }

    #progressive_jackpot {
        font-size: clamp(.95rem, 6vw, 1.7rem);
        white-space: nowrap;
        color: #fff;
        font-variant-numeric: tabular-nums;
        text-shadow: 0 2px 3px rgba(122, 90, 0, .75);
    }
}

@media (min-width: 768px) {
    .game-logo-slider {
        display: block;
        width: min(900px, calc(100% - 4rem));
        margin: 0 auto 28px;
        overflow: hidden;
        background: linear-gradient(90deg, #170202, #460407, #170202);
        border: 1px solid var(--primary-color);
    }

    .game-logo-slider-track {
        display: flex;
        width: max-content;
        will-change: transform;
    }

    .game-logo-slider-group {
        display: flex;
        flex: 0 0 auto;
    }

    .game-logo-slider a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 150px;
        height: 86px;
        border-right: 1px solid rgba(255, 255, 255, .14);
    }

    .game-logo-slider img {
        display: block;
        width: 105px;
        height: 68px;
        object-fit: contain;
    }

    .live-transaction-section {
        margin-top: 28px;
    }
}

@media (min-width: 768px) {
    .home-progressive-jackpot {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(900px, calc(100% - 4rem));
        margin: 28px auto 34px;
        padding: 12px 20px 20px;
        color: #fff;
    }

    .home-progressive-jackpot .jackpot-play-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: auto;
    }

    #jackpot-play-heading {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        width: min-content;
        margin: 0 auto;
    }

    #jackpot-play-heading img {
        display: block;
        align-self: center;
        width: auto;
        max-width: 140px;
        height: auto;
    }

    #jackpot-play-heading .jackpot-play-text {
        display: block;
        width: max-content;
        color: var(--primary-color);
        font-size: 2rem;
        font-weight: 900;
        letter-spacing: .02em;
        text-align: center;
        text-transform: uppercase;
        white-space: nowrap;
        text-shadow: 0 2px 0 #5a4300, 0 0 12px rgba(244, 180, 0, .35);
    }

    .jackpot-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 8px;
        padding: 14px 12px;
        overflow: hidden;
        background: linear-gradient(135deg, #fff0a0 0%, #f4b400 48%, #9c7300 100%);
        border: 2px solid #f4b400;
        border-radius: 70px;
        box-shadow: 0 7px 20px rgba(244, 180, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .45);
        color: #fff;
        font-family: 'Open24DisplaySt', 'Arial Black', sans-serif;
        font-size: 1.75rem;
        letter-spacing: 2px;
    }

    .jackpot-container::after {
        content: '';
        position: absolute;
        inset: 2px;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: inherit;
        pointer-events: none;
    }

    .jackpot-inner-container,
    .jackpot-border-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .jackpot-inner-container {
        width: 100%;
    }

    .jackpot-border-container {
        gap: 10px;
        min-height: 48px;
        width: min(100%, 560px);
        padding: 0 22px;
        border: 3px dotted rgba(255, 220, 220, .45);
        border-radius: 52px;
        font-weight: 800;
        text-align: center;
    }

    .jackpot-currency {
        color: #fff;
        font-size: .78em;
    }

    #progressive_jackpot {
        color: #fff;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    .game-category-menu,
    .popular-games {
        display: flex;
        width: min(900px, calc(100% - 4rem));
        margin-right: auto;
        margin-left: auto;
    }

    .game-category-menu {
        align-items: stretch;
        margin-bottom: 20px;
        padding: 8px 0;
        background: rgba(20, 20, 20, .96);
        border-top: 1px solid rgba(244, 180, 0, .35);
        border-bottom: 1px solid rgba(244, 180, 0, .35);
    }

    .game-category-track {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .game-category-track::-webkit-scrollbar,
    .popular-games-track::-webkit-scrollbar {
        display: none;
    }

    .game-category-arrow,
    .popular-games-arrow {
        flex: 0 0 34px;
        border: 0;
        background: #131313;
        color: #fff;
        font-size: 1.5rem;
        font-weight: 700;
        cursor: pointer;
    }

    .game-category-menu a {
        display: flex;
        flex: 0 0 140px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 8px 6px;
        color: #fff;
        font-size: .8rem;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
    }

    .game-category-menu img {
        width: 28px;
        height: 28px;
    }

    .popular-games {
        display: block;
        overflow: hidden;
        background: transparent;
        border: 0;
    }

    .popular-games-heading {
        width: 240px;
        padding: 12px 16px;
        background: var(--primary-color);
        clip-path: polygon(0 0, 97% 0, 100% 100%, 0 100%);
    }

    .popular-games-heading h2 {
        margin: 0;
        color: #fff;
        font-size: 1.05rem;
        text-transform: uppercase;
    }

    .popular-games-content {
        display: flex;
        align-items: stretch;
        min-height: 250px;
        background: #080808;
        border: 1px solid var(--primary-color);
        overflow: hidden;
    }

    .popular-games-track {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 126px;
        grid-template-rows: repeat(2, minmax(0, 1fr));
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .popular-game-item {
        display: flex;
        flex: 0 0 126px;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        min-width: 126px;
        padding: 14px 8px 8px;
        color: #fff;
        font-size: .72rem;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }

    .popular-game-item img {
        width: 108px;
        height: 108px;
        object-fit: cover;
    }

    .about-us {
        width: min(1100px, calc(100% - 4rem));
        margin: 32px auto 24px;
        padding: 32px 0;
    }

    .about-us .container {
        max-width: 960px;
    }

    .about-us h2 {
        margin: 0 0 22px;
        font-size: 2rem;
        text-align: left;
    }

    .about-text p {
        max-width: none;
        margin: 0 0 16px;
        font-size: .95rem;
        line-height: 1.7;
        text-align: left;
    }

    .about-text h3 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 28px 0 10px;
        font-size: 1.25rem;
    }

    .about-section-icon {
        flex: 0 0 28px;
        margin-right: 0;
    }
}

