/* ===============================
   ROOT COLOR SYSTEM
================================ */
:root {
    --color-base: #0d2b52;
    --color-accent: #ffeb3b;

    --popup-bg-main: rgba(0,0,0,.45);
    --popup-bg-layer: rgba(0,0,0,.35);
    --popup-border: rgba(255,235,59,.35);
    --popup-shadow: 0 6px 18px rgba(0,0,0,.7);
    --container-max: 1280px;
    --container-max-lg: 1180px;


    
}

/* ===============================
   HEADER (ROOT BASE)
================================ */
.main-offset {
    padding-top: 60px; /* ≈ tinggi header */
}

.header-base {
    background-color: var(--color-base);
}

/* MENU BUTTON */
.header-btn {
    background: transparent;
    border: none;
    color: var(--color-accent);
    padding: 4px 6px;
}

.header-btn:focus {
    box-shadow: none;
}

/* ICON */
.header-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* LOGO */
#navbar-imglogo {
    max-height: 52px;
    max-width: 220px;
    margin-left: -36px;
}

/* ===============================
   MENUBAR BASE
================================ */
.menubar {
    background-color: var(--color-base);
    padding: 6px 0;
    height: 70px;
    display: flex;
    align-items: center; /* ⬅️ jaga konten tetap center */    
}



/* ===============================
   MENU SCROLL (NATIVE)
================================ */
#category-navbar {
    display: flex;
    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none; /* firefox */
}

#category-navbar::-webkit-scrollbar {
    display: none; /* chrome */
}

/* ===============================
   MENU ITEM
================================ */
.menu-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

/* ===============================
   MENU LINK
================================ */
.menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 64px;
    padding: 6px 0;

    color: #fff;
    text-decoration: none;

    cursor: pointer;
    touch-action: manipulation; /* ⬅️ klik langsung */
    -webkit-tap-highlight-color: transparent;

    transition: transform .15s ease, color .15s ease;
}

.menu-link:hover {
    color: var(--color-accent);
    transform: translateY(-1px);
}

/* ===============================
   ICON
================================ */
.menu-link img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* ===============================
   TEXT
================================ */
.menu-text {
    font-size: 0.65rem;
    margin-top: 4px;
    font-weight: 700;
}

/* ===============================
   DESKTOP
================================ */
@media (min-width: 1200px) {

    /* ⬇️ INI KUNCI UTAMA FIX */
    .menubar {
        height: auto;          /* jangan dipaksa */
        min-height: 80px;      /* tetap konsisten visual */
        padding: 10px 0;
    }

    #category-navbar {
        overflow-x: visible;
        justify-content: space-between;
        gap: 140px;            /* kontrol jarak manual */
    }

    .menu-link img {
        width: 46px;
        height: 46px;
    }

    .menu-text {
        font-size: 0.7rem;
    }
}




/* ===============================
   SIDEBAR BASE
================================ */
.sidebar-base {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;

    width: 280px;
    background: rgba(13, 43, 82, .92);
    backdrop-filter: blur(6px);

    transform: translateX(-100%);
    transition: transform .25s ease;

    z-index: 1050;
    overflow-y: auto;
}

.sidebar-base.active {
    transform: translateX(0);
}

/* ===============================
   SIDEBAR OVERLAY
================================ */
#sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1040;

    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

#sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===============================
   HEADER (DIPERKETAT)
================================ */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 20px;          /* 🔥 lebih tipis */
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.sidebar-logo img {
    max-height: 42px;            /* 🔥 lebih sejajar dengan avatar */
}

.sidebar-close-btn {
    background: transparent;
    border: none;
    color: var(--color-accent);
    font-size: 1.2rem;
    cursor: pointer;
}

/* ===============================
   USER INFO (MENYATU)
================================ */
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 16px;          /* 🔥 sama dengan header */
    border-bottom: 1px solid rgba(255,255,255,.10);

    background: rgba(255,255,255,.03); /* 🔥 lembut, tidak kontras */
}

/* AVATAR */
.sidebar-user .userbar-avatar {
    width: 38px;                 /* 🔥 diperkecil */
    height: 38px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,215,64,.18);
    border: 1px solid rgba(255,215,64,.45);

    color: var(--color-accent);
    font-size: 14px;
}

/* INFO TEXT */
.sidebar-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: #ffffff;
}

.sidebar-user-info strong {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    display: inline-block; /* ⬅️ wajib supaya margin-bottom kepakai */
}


.sidebar-user-info span {
    font-size: 11px;
    opacity: .75;
}

/* ===============================
   MENU
================================ */
.sidebar-menu {
    list-style: none;
    padding: 12px;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 12px;
    border-radius: 8px;

    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    opacity: .9;

    transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.sidebar-menu a:hover {
    background: rgba(255,215,64,.18);
    color: var(--color-accent);
    opacity: 1;
}

.sidebar-menu i {
    font-size: 1.1rem;
}

/* DIVIDER */
.sidebar-menu .divider {
    height: 1px;
    background: rgba(255,255,255,.12);
    margin: 10px 0;
}

/* ===============================
   LOGOUT BUTTON
================================ */
.sidebar-logout-form {
    margin: 0;
}

.sidebar-logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 14px;

    background: transparent;
    border: none;

    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;

    cursor: pointer;
    transition: all .2s ease;
}

.sidebar-logout-btn:hover {
    background: rgba(220,53,69,.18);
    color: #ff6b6b;
}





/* ===============================
   PROGRESSIVE JACKPOT SECTION
   Darken ~10% from top → bottom
================================ */
.progressive-section {
    position: relative;
    margin: 0;

    /* JARAK HALUS DARI BANNER */
    padding-top: 5px;      /* ⬅️ tetap */
    padding-bottom: 0;

    /* base color */
    background-color: var(--color-base);
}

/* DARKEN LAYER (~20% lebih gelap) */
.progressive-section::before {
    content: "";
    position: absolute;
    inset: 0;

    /* solid dark overlay (BUKAN GRADIENT) */
    background: rgba(0, 0, 0, 0.25);

    pointer-events: none;
    z-index: 0;
}

/* pastikan isi di atas overlay */
.progressive-section > * {
    position: relative;
    z-index: 1;
}


/* ===============================
   WRAPPER (AUTO SCALE)
================================ */
.progressive-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;

    border-radius: 10px;
    overflow: hidden;

    box-shadow:
        0 4px 14px rgba(0,0,0,.65),
        inset 0 0 0 1px rgba(255,255,255,.08),
        inset 0 0 12px rgba(255,235,59,.15);
}

/* ===============================
   BACKGROUND GIF
================================ */
.progressive-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===============================
   JACKPOT NUMBER (FLUID)
================================ */
.jackpot-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: var(--color-accent);
    font-weight: 800;
    white-space: nowrap;

    font-size: clamp(1.1rem, 4.5vw, 2rem);

    text-shadow:
        2px 2px 6px rgba(0,0,0,.9),
        0 0 14px var(--color-accent),
        0 0 28px rgba(255,235,59,.45);

    font-family: 'Orbitron', sans-serif;
}

/* ===============================
   DESKTOP ENHANCEMENT
================================ */
@media (min-width: 1200px) {
    .progressive-section {
        display: none;
    }
}



/* ===============================
   LOGIN SECTION (SOLID DARK)
================================ */
.login-section {
    position: relative;
    padding: 16px 12px;

    background-color: var(--color-base);
}

/* DARK OVERLAY (SAMA DENGAN SECTION LAIN) */
.login-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 0;
}

/* pastikan konten di atas overlay */
.login-section > * {
    position: relative;
    z-index: 1;
}

/* ===============================
   LOGIN WRAPPER
================================ */
.login-wrapper {
    max-width: 420px;
    margin: 0 auto;
    padding: 16px;

    background: rgba(0, 0, 0, 0.45);
    border-radius: 12px;

    box-shadow:
        0 6px 18px rgba(0,0,0,.6),
        inset 0 0 0 1px rgba(255,255,255,.08);
}

/* ===============================
   TITLE
================================ */
.login-title {
    text-align: center;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 14px;

    text-shadow: 0 0 8px rgba(255,235,59,.4);
}

/* ===============================
   FORM
================================ */
.login-form .form-group {
    margin-bottom: 10px;
}

.login-form input {
    width: 100%;
    height: 42px;
    text-align: center;

    background: rgba(0,0,0,.6);
    border: 2px solid var(--color-accent);
    border-radius: 10px;

    color: #ffffff;
    font-weight: 600;
}

.login-form input::placeholder {
    color: rgba(255,255,255,.6);
}

.login-form input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255,235,59,.5);
}

/* ===============================
   FORGOT PASSWORD
================================ */
.login-forgot {
    text-align: right;
    margin-bottom: 12px;
}

.login-forgot a {
    color: var(--color-accent);
    font-size: .75rem;
    text-decoration: underline;
}

/* ===============================
   BUTTONS (CASINO PREMIUM)
================================ */

/* LOGIN */
.btn-login {
    width: 100%;
    height: 42px;
    line-height: 42px;

    background: linear-gradient(
        180deg,
        #4a4a4a,
        #2e2e2e,
        #1c1c1c
    );

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;

    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;

    box-shadow:
        0 4px 12px rgba(0,0,0,.75),
        inset 0 0 0 1px rgba(255,255,255,.05);

    transition: all .2s ease;
}

.btn-login:hover {
    filter: brightness(1.08);
}

/* REGISTER */
.btn-register {
    display: block;
    margin-top: 12px;

    height: 42px;
    line-height: 42px;
    text-align: center;

    border-radius: 14px;

    background: linear-gradient(
        180deg,
        #64b5f6,
        #2196f3,
        #1976d2
    );

    color: #ffffff;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;

    border: 1px solid rgba(79,195,247,.9);

    box-shadow:
        0 4px 12px rgba(0,0,0,.7),
        0 0 10px rgba(79,195,247,.5);

    transition: all .2s ease;
}

.btn-register:hover {
    filter: brightness(1.1);
}

/* PROMO */
.btn-promo {
    display: block;
    margin-top: 10px;

    height: 42px;
    line-height: 42px;
    text-align: center;

    border-radius: 14px;

    background: linear-gradient(
        180deg,
        #ff9800,
        #ff5722
    );

    color: #1a1a1a;
    font-weight: 900;
    letter-spacing: .8px;
    text-decoration: none;

    border: 1px solid rgba(255,152,0,.9);

    box-shadow:
        0 4px 12px rgba(0,0,0,.65),
        0 0 10px rgba(255,87,34,.55);

    transition: all .2s ease;
}

.btn-promo:hover {
    filter: brightness(1.1);
}

/* ===============================
   REMOVE LOGIN UNDERLINE (FINAL)
================================ */
.btn-login,
.btn-login * {
    text-decoration: none !important;
}

.btn-login::before,
.btn-login::after {
    content: none !important;
}

/* ===============================
   HIDE LOGIN SECTION ON DESKTOP
================================ */
@media (min-width: 1200px) {
    .login-section {
        display: none !important;
    }
}



/* ===============================
   FOOTER MOBILE NAV
================================ */
.footer-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    height: 64px;
    padding: 6px 4px;

    display: flex;
    justify-content: space-around;
    align-items: center;

    background-color: var(--color-base);
    border-top: 2px solid var(--color-accent);

    border-top-left-radius: 26px;
    border-top-right-radius: 26px;

    box-shadow:
        0 -4px 14px rgba(0,0,0,.7);

    z-index: 999; /* ⬅️ di atas konten */
}

/* ===============================
   FOOTER ITEM
================================ */
.footer-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-size: .65rem;
    transition: all .2s ease;
}

/* hover */
.footer-item:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* ===============================
   ICON
================================ */
.footer-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.1rem;

    background: rgba(0,0,0,.55);
    border-radius: 10px;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.08);
}

/* ===============================
   TITLE
================================ */
.footer-title {
    margin-top: 2px;
    font-weight: 600;
    font-size: .6rem;
}

/* ===============================
   CENTER MAIN (DAFTAR)
================================ */
.footer-item-main {
    position: relative;
    top: -10px;
}

.footer-icon-main {
    width: 42px;
    height: 42px;

    background: linear-gradient(
        180deg,
        #fff176,
        var(--color-accent),
        #f9a825
    );

    color: #1a1a1a;
    font-size: 1.2rem;

    border-radius: 14px;
    border: 2px solid var(--color-accent);

    box-shadow:
        0 0 14px rgba(255,235,59,.7),
        0 6px 16px rgba(0,0,0,.8);
}

.footer-item-main .footer-title {
    color: var(--color-accent);
    font-weight: 800;
}

/* ===============================
   🔥 FIX KONTEN KETIMPA FOOTER
   (WAJIB UNTUK MOBILE)
================================ */
@media (max-width: 768px) {

    body {
        padding-bottom: 60px; /* ⬅️ ruang aman untuk footer mobile */

        /* ⬇️ background sama dengan layer ke-2 */
        background-color: var(--color-base);
        background-image: linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.35)
        );
    }

}


/* ===============================
   DESKTOP: HIDE FOOTER MOBILE
================================ */
/* ===============================
   DESKTOP (TAMBAHAN AMAN)
================================ */
@media (min-width: 769px) {

    body {
        padding-bottom: 80px; /* ⬅️ footer desktop biasanya lebih tinggi */

        /* desktop tetap clean, tanpa ganggu layout */
        background-color: var(--color-base);
        background-image: linear-gradient(
            rgba(0,0,0,.25),
            rgba(0,0,0,.25)
        );
    }

}

/* ===============================
   GAME POPULER SECTION (SOLID DARK)
================================ */
.fav-game-container {
    position: relative;
    margin: 0;
    padding: 14px 16px;

    background-color: var(--color-base);
}

/* DARK OVERLAY GLOBAL (SAMA DENGAN LOGIN) */
.fav-game-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35); /* layer ke-2 */
    pointer-events: none;
    z-index: 0;
}

/* pastikan konten di atas overlay */
.fav-game-container > * {
    position: relative;
    z-index: 1;
}

/* ===============================
   TITLE
================================ */
.fav-game-title {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.fav-game-title span {
    color: var(--color-accent);
    background-color: rgba(0,0,0,.55);
    text-transform: uppercase;

    padding: 6px 44px 6px 10px;
    position: relative;
    font-weight: 800;
    font-size: .8rem;

    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.fav-game-title span::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;

    width: 18px;
    height: 100%;
    background-color: rgba(0,0,0,.55);
    transform: skew(25deg);
}

/* ===============================
   GAME LIST WRAPPER (DARK BOX)
================================ */
.fav-game-content {
    position: relative;
    display: flex;
    align-items: stretch;

    padding: 10px 0 8px;

    background: rgba(0,0,0,.45);
    border-radius: 12px;
    border: 1px solid rgba(255,235,59,.35);

    box-shadow:
        0 6px 18px rgba(0,0,0,.7),
        inset 0 0 0 1px rgba(255,255,255,.05);
}

/* ===============================
   CHEVRON
================================ */
.fav-chevron {
    color: var(--color-accent);
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
}

.fav-left::before  { content: "‹"; }
.fav-right::before { content: "›"; }

/* ===============================
   GAME LIST (HORIZONTAL)
================================ */
.fav-game-list {
    flex-grow: 1;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;

    scroll-behavior: smooth;
    gap: 14px;              /* lebih renggang */
    padding: 4px 6px;
}

.fav-game-list::-webkit-scrollbar {
    display: none;
}

/* ===============================
   GAME GROUP (MOBILE)
================================ */
.fav-games-group {
    width: calc((100% - 12px) / 3.1);   /* ❗ LEBIH BESAR (sebelumnya 3.5) */
    min-width: calc((100% - 12px) / 3.1);

    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===============================
   GAME ITEM
================================ */
.fav-game-item {
    display: block;
    padding: 2px;          /* ❗ padding diperkecil */
    text-decoration: none;
    color: #ffffff;
}

.fav-game-item img {
    width: 100%;
    height: auto;

    border-radius: 12px;   /* lebih smooth */
    box-shadow: 0 6px 18px rgba(0,0,0,.9); /* lebih tegas */
}

/* ===============================
   GAME NAME
================================ */
.fav-game-name {
    margin-top: 4px;
    padding: 3px 6px;

    font-size: 8px;       /* ❗ lebih besar */
    font-weight: 700;

    text-align: center;
    text-transform: uppercase;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    color: #ffffff;
}
/* ===============================
   DESKTOP MODE
   - 4 KOLOM
   - 3 BARIS
   - SLIDE HORIZONTAL
================================ */
@media (min-width: 1200px) {

    .fav-game-container {
        max-width: 1280px;   /* sedikit diperlebar */
        margin: 0 auto;
        padding: 20px 28px;
    }

    .fav-game-content {
        padding: 12px 0;
    }

    .fav-game-list {
        gap: 16px;           /* lebih lega */
    }

    /* 1 KOLOM = 3 BARIS */
    .fav-games-group {
        display: flex;
        flex-direction: column;
        gap: 12px;

        width: calc((100% - 48px) / 4);   /* ❗ dari 6 → 4 kolom */
        min-width: calc((100% - 48px) / 4);
        flex-shrink: 0;
    }

    .fav-game-item img {
        border-radius: 10px;
        box-shadow: 0 8px 22px rgba(0,0,0,.95);
    }

    .fav-game-name {
        font-size: 12px;     /* lebih readable */
        margin-top: 6px;
    }

    .fav-chevron {
        font-size: 18px;
        padding: 0 10px;
    }
}


/* ===============================
   DESKTOP BACKGROUND SIDE FILL
   (SAMA DENGAN LAYER KE-2)
================================ */
@media (min-width: 1200px) {

    body {
        background-color: var(--color-base);
    }

    .fav-game-container::after {
        content: "";
        position: fixed;
        inset: 0;

        background: rgba(0,0,0,.35);
        z-index: -1;
        pointer-events: none;
    }
}


/* ===============================
   PROVIDER SECTION (SAMA DENGAN GAME POPULER)
================================ */

.provider-section {
    position: relative;
    margin: 0;
    padding: 14px 16px;
    background-color: var(--color-base);
}

/* LAYER KE-2 (SAMA DENGAN GAME POPULER) */
.provider-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    pointer-events: none;
    z-index: 0;
}

/* pastikan isi di atas overlay */
.provider-section > * {
    position: relative;
    z-index: 1;
}

/* ===============================
   PROVIDER SECTION TITLE
================================ */
.provider-section-title {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--color-accent);
    background-color: rgba(0,0,0,.55);
    text-transform: uppercase;
    padding: 6px 44px 6px 10px;
    font-size: .8rem;
    font-weight: 800;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.provider-section-title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 100%;
    background-color: rgba(0,0,0,.55);
    transform: skew(25deg);
}

/* ===============================
   PROVIDER BOX (SAMA DENGAN .fav-game-content)
================================ */
.provider-box {
    position: relative;
    display: block;                 /* ⬅️ PENTING */
    padding: 14px 20px;             /* ⬅️ kiri kanan lebih seimbang */
    margin: 24px 0 0 0;             /* ⬅️ hilangkan offset kanan */
    background: rgba(0,0,0,.45);
    border-radius: 12px;
    border: 1px solid rgba(255,235,59,.35);
    box-shadow:
        0 6px 18px rgba(0,0,0,.7),
        inset 0 0 0 1px rgba(255,255,255,.05);
    color: #ffffff;
}


/* ===============================
   PROVIDER BOX TITLE (FLOAT)
================================ */
.provider-box-title {
    position: absolute;
    top: -18px;
    left: 12px;
    background-color: rgba(0,0,0,.55);
    color: var(--color-accent);
    padding: 2px 10px;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

/* ===============================
   PROVIDER LIST
================================ */
.provider-hover-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===============================
   PROVIDER ITEM
================================ */
.provider-item {
    position: relative;
    width: 130px;
    height: 50px;
    list-style: none; /* Hilangkan dots putih */
}

/* default image */
.provider-item picture:first-child {
    opacity: 1;
}

/* hover image */
.provider-item picture:last-child {
    position: absolute;
    inset: 0;
    opacity: 0;
}

/* smooth transition */
.provider-item picture {
    transition: opacity .35s ease;
}

.provider-item:hover picture:first-child {
    opacity: 0;
}

.provider-item:hover picture:last-child {
    opacity: 1;
}

/* ===============================
   MOBILE MODE - 1 baris 5 provider
================================ */
@media (max-width: 768px) {
    .provider-section {
        padding: 12px; /* Kurangi padding kiri-kanan di mobile */
    }
    
    .provider-box {
        width: 100%;
        margin: 20px 0 0 0;
        padding: 12px 10px; /* Kurangi padding dalam box */
    }

    .provider-box-title {
        left: 8px; /* Sesuaikan posisi title */
        padding: 2px 8px;
        font-size: .7rem;
    }

    .provider-hover-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;

        justify-content: center;  /* ⬅️ KUNCI RAPINYA */
    }


    .provider-item {
        width: calc(20% - 4px); /* 5 item per baris */
        height: auto;
        aspect-ratio: 130/50;
    }

    .provider-item picture,
    .provider-item picture img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* ===============================
   TABLET MODE - 1 baris 5 provider
================================ */
@media (min-width: 769px) and (max-width: 1199px) {
    .provider-hover-list {
        gap: 8px;
    }

    .provider-item {
        width: calc(20% - 7px); /* 5 item per baris */
        height: auto;
        aspect-ratio: 130/50;
    }

    .provider-item picture,
    .provider-item picture img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* ===============================
   DESKTOP MODE (SAMA DENGAN GAME POPULER)
================================ */
@media (min-width: 1200px) {
    .provider-section {
        max-width: 1280px;      /* ⬅️ SAMA */
        margin: 0 auto;
        padding: 16px 24px;     /* ⬅️ SAMA */
    }

    .provider-box {
        margin-top: 28px;      /* ⬅️ tidak pakai margin-right */
    }

    .provider-item {
        width: 130px;
        height: 50px;
    }
}

/* ===============================
   DESKTOP BACKGROUND SIDE FILL
   (SAMA DENGAN GAME POPULER)
================================ */
@media (min-width: 1200px) {
    body {
        background-color: var(--color-base);
    }

    .provider-section::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35); /* ⬅️ SAMA */
        z-index: -1;
        pointer-events: none;
    }
}

/* ===============================
   VERY SMALL MOBILE - 5 provider per baris dengan padding minimal
================================ */
@media (max-width: 480px) {
    .provider-section {
        padding: 10px 8px; /* Minimal padding di mobile sangat kecil */
    }
    
    .provider-box {
        padding: 10px 8px; /* Minimal padding dalam box */
        margin-top: 18px;
    }

    .provider-box-title {
        left: 6px;
        top: -16px;
        padding: 1px 6px;
        font-size: .65rem;
    }

    .provider-hover-list {
        justify-content: space-evenly;
    }

    .provider-item {
        width: calc(20% - 3px); /* Tetap 5 item per baris */
    }
}


/* ===============================
   TRANSAKSI LIST
   (ADAPT KE PROVIDER BOX)
================================ */

/* ===============================
   TRANSAKSI BOX (SAMA DENGAN GAME POPULER)
================================ */
.transaksi-bank {
    position: relative;
    width: 100%;
}

.transaksi-wrapper {
    position: relative;
    display: block;
    padding: 16px 20px;
    margin-top: 24px;

    background: rgba(0,0,0,.45);
    border-radius: 12px;
    border: 1px solid rgba(255,235,59,.35);

    box-shadow:
        0 6px 18px rgba(0,0,0,.7),
        inset 0 0 0 1px rgba(255,255,255,.05);
}

/* ===============================
   TITLE
================================ */
.transaksi-name {
    color: var(--color-accent);
    font-weight: 800;
    font-size: .8rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* ===============================
   GRID LIST (DESKTOP / DEFAULT)
================================ */
.transaksi-list-bank,
.transaksi-list-other {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px 12px;
    width: 100%;

    justify-content: center;
    align-items: center;
}

/* ===============================
   ITEM
================================ */
.transaksi-item {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ===============================
   BANK BUTTON
================================ */
.transaksi-header {
    position: relative;

    width: 100%;
    max-width: 120px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,235,59,.35);
    border-radius: 8px;

    color: #ffffff;
    font-weight: 700;
    font-size: .8rem;

    padding: 0 14px 0 28px; /* ruang dot */
    white-space: nowrap;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.06);
}

/* ===============================
   ONLINE DOT (ROOT BASED)
================================ */
.transaksi-header.is-online::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);

    width: 9px;
    height: 9px;
    border-radius: 50%;

    background-color: #00ff66;
    box-shadow: 0 0 6px rgba(255,235,59,.85);
}

/* ===============================
   OFFLINE
================================ */
.transaksi-header.is-offline {
    background: rgba(0,0,0,.35);
    border-color: rgba(255,255,255,.15);
    color: rgba(255,255,255,.45);
    padding-left: 14px;
}

/* fallback jika tidak ada class */
.transaksi-header:not(.is-online):not(.is-offline) {
    background: rgba(0,0,0,.35);
    border-color: rgba(255,255,255,.15);
    color: rgba(255,255,255,.45);
}

/* ===============================
   MOBILE FIX – BANK LIST
   (4 ITEM PER BARIS)
================================ */
@media (max-width: 768px) {

    .transaksi-list-bank,
    .transaksi-list-other {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* ⬅️ 4 per baris */
        gap: 8px;
        width: 100%;

        justify-items: center;
        align-items: center;
    }

    .transaksi-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .transaksi-header {
        width: 100%;
        max-width: 110px;
        height: 34px;

        font-size: .75rem;
        font-weight: 700;

        background: rgba(0,0,0,.45);
        border: 1px solid var(--color-accent);
        color: #ffffff;

        border-radius: 7px;

        padding: 0 10px 0 26px; /* dot space */
    }

    .transaksi-header.is-online::before {
        left: 10px;
        width: 8px;
        height: 8px;
        box-shadow: 0 0 5px rgba(255,235,59,.85);
    }

    .transaksi-header.is-offline {
        opacity: .35;
        border-color: rgba(255,255,255,.25);
    }
}

/* ===============================
   VERY SMALL MOBILE (≤480px)
   → tetap 4 per baris, lebih kecil
================================ */
@media (max-width: 480px) {

    .transaksi-list-bank,
    .transaksi-list-other {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .transaksi-header {
        max-width: 96px;
        height: 32px;
        font-size: .7rem;
    }
}



/* ===============================
   5 LAST WITHDRAW
   (SAMA DENGAN PROVIDER BOX)
================================ */

.lastwd-container {
    position: relative;
    display: block;

    margin: 24px 15px 0 15px;
    padding: 14px 0 0 0;

    background: rgba(0,0,0,.45);
    border-radius: 12px;
    border: 1px solid rgba(255,235,59,.35);

    box-shadow:
        0 6px 18px rgba(0,0,0,.7),
        inset 0 0 0 1px rgba(255,255,255,.05);

    color: #ffffff;
}

/* ===============================
   FLOAT TITLE (SAMA)
================================ */
.lastwd-title {
    position: absolute;
    top: -18px;
    left: 12px;

    background-color: rgba(0,0,0,.55);
    color: var(--color-accent);

    padding: 2px 10px;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;

    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

/* ===============================
   TABLE
================================ */
.lastwd-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    color: #ffffff;
}

/* HEADER */
.lastwd-table thead tr {
    background: rgba(0,0,0,.55);
}

.lastwd-table th {
    padding: 10px 12px;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-accent);
}

.lastwd-th-left {
    text-align: left;
}

.lastwd-th-right {
    text-align: right;
}

/* ===============================
   ROW
================================ */
.lastwd-table tbody tr {
    background: rgba(0,0,0,.35);
    border-top: 1px solid rgba(255,255,255,.08);
    animation: lastwd-move-up .45s ease-out;
}

.lastwd-table tbody tr:hover {
    background: rgba(255,255,255,.05);
}

.lastwd-table td {
    padding: 10px 12px;
    font-size: .8rem;
}

/* amount */
.lastwd-amount {
    text-align: right;
    font-weight: 700;
    color: #ffffff;
}

/* ===============================
   ANIMATION
================================ */
@keyframes lastwd-move-up {
    from {
        transform: translateY(18px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ===============================
   MOBILE FIX – 5 LAST WITHDRAW
   (IKUT PROVIDER BOX 100%)
================================ */
@media (max-width: 768px) {

    .lastwd-container {
        width: 100%;
        margin: 20px 0 0 0;        /* ⬅️ SAMA PERSIS */
        padding: 12px 10px;        /* ⬅️ SAMA PERSIS */
        border-radius: 12px;       /* ⬅️ JANGAN DIPERKECIL */
    }

    .lastwd-title {
        top: -16px;
        left: 8px;                 /* ⬅️ SAMA provider-box-title */
        padding: 2px 8px;
        font-size: .7rem;
    }

    .lastwd-table {
        margin-top: 12px;
    }

    .lastwd-table th {
        padding: 8px 10px;
        font-size: .7rem;
    }

    .lastwd-table td {
        padding: 8px 10px;
        font-size: .75rem;
    }
}

/* ===============================
   DESKTOP FIX – 5 LAST WITHDRAW
   (IKUT PROVIDER SECTION)
================================ */
@media (min-width: 1200px) {

    .lastwd-container {
        max-width: 1280px;     /* ⬅️ SAMA */
        margin: 28px auto 0;   /* ⬅️ CENTER */
        padding: 16px 24px;    /* ⬅️ SAMA */
    }

    .lastwd-title {
        left: 12px;            /* ⬅️ SAMA provider-box-title */
        top: -18px;
    }
}



/* ===============================
   KONTAK HORIZONTAL
================================ */
.kontak-horizontal {
    display: flex;
    gap: 12px;
    padding-top: 6px;
}

/* ===============================
   BUTTON
================================ */
.kontak-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 16px;

    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,235,59,.35);
    border-radius: 10px;

    color: #ffffff;
    text-decoration: none;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.06);

    transition: all .25s ease;
}

.kontak-btn:hover {
    transform: translateY(-2px);
    border-color: var(--color-accent);
    box-shadow:
        0 0 12px rgba(255,235,59,.25),
        inset 0 0 0 1px rgba(255,255,255,.08);
}

/* ===============================
   ICON
================================ */
.kontak-btn i {
    font-size: 1.6rem;
    line-height: 1;
}

/* platform colors */
.kontak-btn.wa i {
    color: #00ff66;
}

.kontak-btn.tg i {
    color: #2aabee;
}

.kontak-btn.live i {
    color: var(--color-accent);
}

/* ===============================
   TEXT
================================ */
.kontak-btn span {
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.1rem;
}

.kontak-btn span small {
    display: block;
    font-size: .65rem;
    font-weight: 500;
    opacity: .7;
}

/* ===============================
   MOBILE FIX – TETAP HORIZONTAL
================================ */
@media (max-width: 768px) {

    .kontak-horizontal {
        display: flex;
        gap: 8px;                /* lebih rapat */
    }

    .kontak-btn {
        padding: 10px 10px;      /* lebih tipis */
        gap: 8px;
    }

    .kontak-btn i {
        font-size: 1.3rem;
    }

    .kontak-btn span {
        font-size: .75rem;
        line-height: 1rem;
    }

    .kontak-btn span small {
        font-size: .6rem;
    }
}

/* ===============================
   AUTH REGISTER CONTAINER
   (SAMA DNA DENGAN FAV-GAME)
================================ */
.auth-register-container {
    position: relative;
    margin: 0;
    padding: 14px 16px;
    background-color: var(--color-base);
}

/* overlay gelap global */
.auth-register-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    pointer-events: none;
    z-index: 0;
}

.auth-register-container > * {
    position: relative;
    z-index: 1;
}

/* ===============================
   TITLE
================================ */
.auth-register-title {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.auth-register-title span {
    color: var(--color-accent);
    background-color: rgba(0,0,0,.55);
    text-transform: uppercase;

    padding: 6px 44px 6px 10px;
    position: relative;
    font-weight: 800;
    font-size: .8rem;

    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.auth-register-title span::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;

    width: 18px;
    height: 100%;
    background-color: rgba(0,0,0,.55);
    transform: skew(25deg);
}

/* ===============================
   CONTENT BOX
================================ */
.auth-register-content {
    position: relative;
    padding: 14px 16px;

    background: rgba(0,0,0,.45);
    border-radius: 12px;
    border: 1px solid rgba(255,235,59,.35);

    box-shadow:
        0 6px 18px rgba(0,0,0,.7),
        inset 0 0 0 1px rgba(255,255,255,.05);
}

/* ===============================
   FORM LAYOUT
================================ */
.auth-register-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

/* ===============================
   GROUP / SECTION
================================ */
.auth-register-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.auth-register-group-title {
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: .9;
    margin-bottom: 4px;
}

/* ===============================
   FIELD
================================ */
.auth-register-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-register-field label {
    font-size: .7rem;
    font-weight: 700;
    color: #ffffff;
    opacity: .85;
}

.auth-register-field input,
.auth-register-field select {
    width: 100%;
    height: 38px;

    padding: 0 12px;

    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,235,59,.25);
    border-radius: 8px;

    color: #ffffff;
    font-size: .8rem;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.05);

    outline: none;
}

.auth-register-field input::placeholder {
    color: rgba(255,255,255,.45);
}

.auth-register-field input:focus,
.auth-register-field select:focus {
    border-color: var(--color-accent);
    box-shadow:
        0 0 0 1px rgba(255,235,59,.35),
        inset 0 0 0 1px rgba(255,255,255,.08);
}

/* ===============================
   ACTION
================================ */
.auth-register-action {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.auth-register-btn {
    width: 100%;
    height: 44px;

    background: rgba(0,0,0,.65);
    border: 1px solid var(--color-accent);
    border-radius: 10px;

    color: #ffffff;
    font-size: .9rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;

    box-shadow:
        0 0 12px rgba(255,235,59,.25),
        inset 0 0 0 1px rgba(255,255,255,.08);

    transition: all .25s ease;
}

.auth-register-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 18px rgba(255,235,59,.35),
        inset 0 0 0 1px rgba(255,255,255,.12);
}

.auth-register-login-link {
    text-align: center;
}

.auth-register-login-link a {
    font-size: .7rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    opacity: .85;
}

.auth-register-login-link a:hover {
    text-decoration: underline;
}

/* ===============================
   DESKTOP MODE
================================ */
@media (min-width: 1024px) {

    .auth-register-container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 18px 24px;
    }

    .auth-register-form {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 26px;
    }

    .auth-register-action {
        grid-column: span 2;
    }
}

/* ===============================
   VERY SMALL MOBILE
================================ */
@media (max-width: 480px) {

    .auth-register-content {
        padding: 12px;
    }

    .auth-register-field input,
    .auth-register-field select {
        height: 36px;
        font-size: .75rem;
    }

    .auth-register-btn {
        height: 42px;
        font-size: .85rem;
    }
}


/* ===============================
   PASSWORD TOGGLE — LOGIN MODAL ONLY
   (ANTI OVERLAY / ANTI KETIMPA)
================================ */

.auth-password-wrap-modal {
    position: relative;
    width: 100%;
}

/* input */
.auth-password-wrap-modal input {
    width: 100%;
    padding-right: 52px; /* ruang icon */
    box-sizing: border-box;
}

/* button eye */
.auth-pass-toggle-modal {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);

    width: 22px;
    height: 22px;

    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;              /* 🔥 TEMBUS SEMUA OVERLAY */
    pointer-events: auto;       /* 🔥 PASTI BISA DIKLIK */
}

/* svg */
.auth-pass-toggle-modal svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255,255,255,.7);
    stroke-width: 2;
}

/* toggle state */
.auth-pass-toggle-modal .icon-eye-off {
    display: none;
}

.auth-pass-toggle-modal.active .icon-eye {
    display: none;
}

.auth-pass-toggle-modal.active .icon-eye-off {
    display: block;
}

.auth-pass-toggle-modal:hover svg {
    stroke: var(--color-accent);
}


/* ===============================
   PASSWORD TOGGLE (FIXED ALIGN)
================================ */
.auth-password-wrap {
    position: relative;
}

/* input tetap */
.auth-password-wrap input {
    padding-right: 46px;
}

/* icon eye */
.auth-pass-toggle {
    position: absolute;
    right: 12px;

    /* ⬇️ KUNCI FIX */
    top: calc(100% - 19px); /* sejajar tengah input */
    transform: translateY(-50%);

    height: 18px;
    width: 18px;

    background: none;
    border: none;
    padding: 0;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* svg */
.auth-pass-toggle svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255,255,255,.6);
    stroke-width: 2;
}

/* toggle state */
.auth-pass-toggle .icon-eye-off {
    display: none;
}

.auth-pass-toggle.active .icon-eye {
    display: none;
}

.auth-pass-toggle.active .icon-eye-off {
    display: block;
}

.auth-pass-toggle:hover svg {
    stroke: var(--color-accent);
}
/* ===============================
   PASSWORD INPUT BALANCE
================================ */
/* ===============================
   PASSWORD TOGGLE - LOGIN ONLY (FIX FINAL)
================================ */
.auth-password-wrap-utama {
    position: relative;
}

/* input login */
.auth-password-wrap-utama input {
    padding-right: 48px;   /* ✅ RUANG ICON */
    padding-left: 16px;    /* ✅ NORMAL TEXT */
    box-sizing: border-box;
}

/* icon eye */
.auth-password-wrap-utama .auth-pass-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);

    height: 18px;
    width: 18px;

    background: none;
    border: none;
    padding: 0;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* svg */
.auth-password-wrap-utama .auth-pass-toggle svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255,255,255,.6);
    stroke-width: 2;
}

/* toggle state */
.auth-password-wrap-utama .icon-eye-off {
    display: none;
}

.auth-password-wrap-utama .auth-pass-toggle.active .icon-eye {
    display: none;
}

.auth-password-wrap-utama .auth-pass-toggle.active .icon-eye-off {
    display: block;
}

.auth-password-wrap-utama .auth-pass-toggle:hover svg {
    stroke: var(--color-accent);
}

.auth-password-wrap-utama input {
    padding-left: 46px; /* IMBANGI icon eye */
}

/* ===============================
   SITE MARQUEE / ANNOUNCEMENT
================================ */
.site-marquee {
    position: relative;
    display: flex;
    align-items: center;

    width: 100%;
    height: 34px;

    background: rgba(0,0,0,.55);
    border-bottom: 1px solid rgba(255,235,59,.35);

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.05);

    overflow: hidden;
}

/* ICON */
.site-marquee-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 100%;

    background: rgba(0,0,0,.65);
    border-right: 1px solid rgba(255,235,59,.35);
}

.site-marquee-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
}

/* TRACK */
.site-marquee-track {
    position: relative;
    flex: 1;
    overflow: hidden;
}

/* TEXT */
.site-marquee-text {
    display: inline-block;
    white-space: nowrap;

    padding-left: 100%;
    padding-right: 40px;

    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;

    animation: marquee-scroll 18s linear infinite;
}

/* ANIMATION */
@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ===============================
   MOBILE TWEAK
================================ */
@media (max-width: 768px) {
    .site-marquee {
        height: 30px;
    }

    .site-marquee-text {
        font-size: .7rem;
        animation-duration: 14s;
    }
}

/* ==================================================
   AUTH MODAL LOGIN
   SOLID DARK – DNA GAME POPULER
================================================== */

/* ===============================
   WRAPPER
================================ */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;
}

.auth-modal.active {
    display: flex;
}

/* ===============================
   OVERLAY
================================ */
.auth-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}

/* ===============================
   MODAL BOX
================================ */
.auth-modal-box {
    position: relative;
    z-index: 1;

    width: calc(100% - 32px);
    max-width: 380px;

    padding: 8px 9px;

    background-color: var(--color-base);
    border-radius: 12px;
    border: 1px solid rgba(255,235,59,.35);

    box-shadow:
        0 6px 18px rgba(0,0,0,.7),
        inset 0 0 0 1px rgba(255,255,255,.05);
}

/* ===============================
   CLOSE BUTTON
================================ */
.auth-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;

    background: none;
    border: none;

    color: #ffffff;
    font-size: 18px;
    font-weight: 700;

    cursor: pointer;
    opacity: .7;
}

.auth-modal-close:hover {
    opacity: 1;
}

/* ===============================
   TITLE (SAMA DENGAN GAME POPULER)
================================ */
.auth-modal-title {
    display: inline-block;
    margin-bottom: 14px;

    color: var(--color-accent);
    background-color: rgba(0,0,0,.55);

    padding: 6px 42px 6px 10px;
    position: relative;

    font-weight: 800;
    font-size: .8rem;
    text-transform: uppercase;

    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.auth-modal-title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;

    width: 18px;
    height: 100%;
    background-color: rgba(0,0,0,.55);
    transform: skew(25deg);
}

/* ===============================
   FORM ACTION (LOGIN BUTTON)
================================ */
.auth-modal .btn-login,
.auth-modal .auth-register-btn {
    margin-top: 14px;
}

/* ===============================
   ERROR MESSAGE
================================ */
.auth-modal-error {
    margin-bottom: 10px;
    padding: 8px 10px;

    background: rgba(255,0,0,.12);
    border: 1px solid rgba(255,0,0,.35);
    border-radius: 8px;

    color: #ffffff;
    font-size: .75rem;
}

/* ===============================
   FOOTER
================================ */
.auth-modal-footer {
    margin-top: 12px;
    text-align: center;
}

.auth-modal-footer a {
    font-size: .7rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    opacity: .85;
}

.auth-modal-footer a:hover {
    text-decoration: underline;
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 480px) {

    .auth-modal-box {
        padding: 8px;
        border-radius: 12px;
    }

    .auth-modal-title {
        font-size: .75rem;
    }
}




/* ===============================
   USER BAR
================================ */
.userbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 12px 14px;
    margin-bottom: 0px;

    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 0;

    color: #fff;

    box-shadow:
        0 10px 26px rgba(0,0,0,.75),
        inset 0 0 0 1px rgba(255,255,255,.05);
}

/* LEFT */
.userbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.userbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,215,64,.15);
    border: 1px solid rgba(255,215,64,.45);

    color: #ffd740;
    font-size: 14px;
}

.userbar-identity {
    display: flex;
    flex-direction: column;
}

.userbar-username {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.userbar-status {
    font-size: 11px;
    opacity: .7;
}

/* CENTER */
.userbar-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.userbar-balance {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 700;
}

.userbar-balance .currency {
    font-size: 11px;
    opacity: .7;
}

.userbar-balance .amount {
    font-size: 14px;
    color: #ffffff;
}

/* ===============================
   USERBAR REFRESH BUTTON
================================ */

/* BUTTON BASE */
.userbar-refresh {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;

    color: #ffffff;
    cursor: pointer;

    padding: 0;
    line-height: 1;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        opacity .25s ease;
}

/* ICON */
.userbar-refresh i {
    display: inline-block;
    font-size: 14px;
}

/* HOVER (AMAN – TANPA ROTATE) */
.userbar-refresh:hover {
    background: rgba(255,215,64,.18);
    border-color: rgba(255,215,64,.55);
    color: #ffd740;
}

/* DISABLED STATE */
.userbar-refresh:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* ===============================
   ROTATING STATE (JS CONTROLLED)
================================ */
.userbar-refresh.rotating i {
    animation: userbar-spin .9s linear infinite;
}

/* SPIN KEYFRAMES */
@keyframes userbar-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===============================
   BALANCE TEXT ANIMATION
================================ */
/* BASE */
.userbar-balance .amount {
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.userbar-balance.loading .amount {
    opacity: .45;
    transform: scale(.97);
}



/* ===============================
   ICON RETURN TO DEFAULT
================================ */
.userbar-refresh i {
    transition: transform .25s ease;
}

.userbar-refresh:not(.rotating) i {
    transform: rotate(0deg);
}





/* ===============================
   TRANSAKSI – GLOBAL LAYOUT
================================ */
.transaksi-page {
    padding-bottom: 90px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #ffffff;
}

/* FULL BACKGROUND */
.deposit-container {
    position: relative;
    padding: 16px 14px;
    background-color: var(--color-base);
}

/* overlay global */
.deposit-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    pointer-events: none;
}

.deposit-container > * {
    position: relative;
    z-index: 1;
}

/* ===============================
   TAB MENU (DEPOSIT / WITHDRAW)
================================ */
.tab-menu-container.transaksi-tab-menu {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.tab-menu-container.transaksi-tab-menu a {
    flex: 1;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;

    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    backdrop-filter: blur(4px);
    transition: all .25s ease;
}

.tab-menu-container.transaksi-tab-menu a:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.35);
}

.tab-menu-container.transaksi-tab-menu i {
    width: 18px;
    height: 18px;
    background-image: var(--image-src);
    background-repeat: no-repeat;
    background-size: contain;
}

.tab-menu-container.transaksi-tab-menu a[data-active="true"] {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,215,64,.55);
    box-shadow:
        0 0 0 1px rgba(255,215,64,.25),
        0 6px 18px rgba(0,0,0,.65);
    font-weight: 700;
}

/* ===============================
   FLOW WRAPPER
================================ */
.transaksi-flow {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.transaksi-flow:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* ===============================
   SECTION LABEL
================================ */
.deposit-form-group label {
    display: block;
    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #ffffff;
}

/* ===============================
   METODE PEMBAYARAN
================================ */
.payment-method-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.payment-method-selection input {
    display: none;
}

.payment-method-selection label {
    height: 42px;
    padding: 6px 8px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;

    font-size: 12px;
    font-weight: 600;
    color: #ffffff;

    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all .25s ease;
}

.payment-method-selection label:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.35);
    transform: translateY(-1px);
}

.payment-method-selection label img {
    width: 20px;
    height: 20px;
}

.payment-method-selection input:checked + label {
    background: rgba(255,215,64,.14);
    border-color: rgba(255,215,64,.55);
    box-shadow:
        0 0 0 1px rgba(255,215,64,.25),
        0 6px 18px rgba(0,0,0,.65);
    font-weight: 700;
}

/* ===============================
   BANK INFO
================================ */
.bank-info {
    margin-top: 8px;
    padding: 14px;

    background: rgba(0,0,0,.55);
    border-radius: 14px;
    border: 1px solid rgba(255,215,64,.35);

    color: #ffffff;

    box-shadow:
        0 8px 22px rgba(0,0,0,.75),
        inset 0 0 0 1px rgba(255,255,255,.05);
}

.bank-info strong {
    color: #ffffff;
}

/* ===============================
   INPUT / FORM
================================ */
.form-control {
    width: 100%;
    height: 42px;
    padding: 0 14px;

    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;

    color: #ffffff;
    font-size: 14px;
}

.form-control::placeholder {
    color: rgba(255,255,255,.7);
}

.form-control:focus {
    outline: none;
    border-color: rgba(255,215,64,.55);
    box-shadow:
        0 0 0 1px rgba(255,215,64,.25),
        0 4px 12px rgba(0,0,0,.6);
}

/* ===============================
   BUTTON
================================ */
.standard-button-group {
    margin-top: 18px;
}

.standard-secondary-button {
    width: 100%;
    height: 44px;

    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;

    color: #ffffff;
    font-weight: 700;
    font-size: 14px;

    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all .25s ease;
}

.standard-secondary-button:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,215,64,.55);
    box-shadow: 0 6px 18px rgba(0,0,0,.65);
}

.standard-secondary-button:active {
    transform: scale(.96);
}

/* ===============================
   TRANSAKSI – MAIN CARD
================================ */
.transaksi-box {
    padding: 14px;
    margin-bottom: 30px;
    background: rgba(0,0,0,.55);
    border-radius: 0;
    border: 1px solid rgba(255,255,255,.12);

    box-shadow:
        0 12px 28px rgba(0,0,0,.75),
        inset 0 0 0 1px rgba(255,255,255,.05);

    backdrop-filter: blur(6px);
}

/* ===============================
   SECTION TITLE
================================ */
.section-title {
    display: block;
    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #ffffff;
}

/* ===============================
   TAB WRAPPER
================================ */
.transaksi-tab-wrapper {
    padding: 12px;
    border-radius: 0;

    background: rgba(0,0,0,.65);
    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 10px 26px rgba(0,0,0,.8),
        inset 0 0 0 1px rgba(255,255,255,.04);
}

/* ===============================
   PAYMENT METHOD SVG – WHITE
   KHUSUS ICON TRANSAKSI
================================ */

/* Default: putih lembut */
.transaksi-box .payment-method-selection img {
    filter: brightness(0) invert(1);
    opacity: .9;
    transition: filter .25s ease, opacity .25s ease, transform .2s ease;
}

/* Hover */
.transaksi-box .payment-method-selection label:hover img {
    filter: brightness(0) invert(1) brightness(1.25);
    opacity: 1;
    transform: translateY(-1px);
}

/* Active (radio checked) */
.transaksi-box
.payment-method-selection input:checked + label img {
    filter: brightness(0) invert(1) brightness(1.4);
    opacity: 1;
}

/* Disabled safety (kalau ada nanti) */
.transaksi-box
.payment-method-selection input:disabled + label img {
    opacity: .4;
    filter: grayscale(1);
}

/* ===============================
   SAFE MOBILE INPUT VIEW
================================ */
.transaksi-page {
    padding-bottom: env(safe-area-inset-bottom, 90px);
}

.form-control {
    scroll-margin-bottom: 140px;
}


/* ===============================
   TRANSAKSI FORM – THEME SAFE
================================ */

/* INPUT & SELECT */
.transaksi-box .form-control,
.transaksi-box select,
.transaksi-box input[type="number"],
.transaksi-box input[type="text"] {
    background: rgba(0,0,0,.55);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;

    -webkit-appearance: none;
    appearance: none;
}

/* PLACEHOLDER */
.transaksi-box .form-control::placeholder {
    color: rgba(255,255,255,.5);
}

/* FOCUS */
.transaksi-box .form-control:focus,
.transaksi-box select:focus {
    outline: none;
    border-color: rgba(255,215,64,.7);
    box-shadow: 0 0 0 1px rgba(255,215,64,.35);
    background: rgba(0,0,0,.65);
    color: #fff;
}

/* OPTION DROPDOWN (ANDROID FIX) */
.transaksi-box select option {
    background: #111;
    color: #fff;
}

/* DISABLE WHITE AUTOFILL (CHROME) */
.transaksi-box input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(0,0,0,.6) inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* ===============================
   MODAL – VERIFIKASI DEPOSIT
================================ */

/* BACKDROP LEBIH GELAP & HALUS */
.modal-backdrop.show {
    opacity: .75;
    background: #000;
}

/* MODAL CONTAINER */
.deposit-modal-content {
    background: rgba(0,0,0,.72);
    border: 1px solid rgba(255,215,64,.35);
    border-radius: 14px;

    color: #ffffff;

    box-shadow:
        0 18px 40px rgba(0,0,0,.85),
        inset 0 0 0 1px rgba(255,255,255,.05);

    backdrop-filter: blur(8px);
}

/* HEADER */
.deposit-modal-header {
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 14px 16px;
}

.deposit-modal-header .modal-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #ffd740;
}

/* CLOSE BUTTON */
.deposit-modal-header .btn-close {
    filter: invert(1);
    opacity: .8;
}

.deposit-modal-header .btn-close:hover {
    opacity: 1;
}

/* BODY */
.deposit-modal-body {
    padding: 16px;
    font-size: 13px;
}

/* ALERT KETENTUAN */
.deposit-modal-body .alert {
    background: rgba(255,215,64,.12);
    border: 1px solid rgba(255,215,64,.35);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px;
}

.deposit-modal-body .alert strong {
    color: #ffd740;
}

.deposit-modal-body .alert ul {
    padding-left: 18px;
    margin: 8px 0 0;
}

.deposit-modal-body .alert li {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.4;
}

/* ROW INFO (JUMLAH DEPOSIT) */
.deposit-modal-body .row {
    align-items: center;
    font-size: 13px;
}

#modalDepositAmount {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

/* FOOTER */
.deposit-modal-footer {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 12px 16px;
    gap: 8px;
}

/* BUTTON – BATAL */
.deposit-modal-footer .btn-outline-secondary {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.25);
    color: #ffffff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.deposit-modal-footer .btn-outline-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.45);
}

/* BUTTON – LANJUTKAN */
.deposit-modal-footer .btn-primary {
    background: linear-gradient(
        180deg,
        rgba(255,215,64,1),
        rgba(255,193,7,1)
    );
    border: none;
    color: #000;
    font-weight: 800;
    font-size: 13px;
    border-radius: 10px;

    box-shadow:
        0 6px 18px rgba(0,0,0,.6),
        inset 0 1px 0 rgba(255,255,255,.45);
}/* ===============================
   BUTTON – LANJUTKAN (GREEN CONFIRM)
================================ */
.deposit-modal-footer .btn-primary {
    background: linear-gradient(
        180deg,
        rgba(76,175,80,1),     /* green 500 */
        rgba(56,142,60,1)      /* green 700 */
    );
    border: none;

    color: #ffffff;
    font-weight: 800;
    font-size: 13px;

    border-radius: 12px;

    box-shadow:
        0 6px 18px rgba(0,0,0,.65),
        inset 0 1px 0 rgba(255,255,255,.25);

    transition: all .25s ease;
}

/* HOVER */
.deposit-modal-footer .btn-primary:hover {
    filter: brightness(1.08);
    box-shadow:
        0 8px 22px rgba(0,0,0,.8),
        0 0 0 1px rgba(76,175,80,.45);
}

/* ACTIVE */
.deposit-modal-footer .btn-primary:active {
    transform: scale(.96);
}


/* ===============================
   TRANSAKSI – TOAST ALERT
================================ */
.deposit-toast {
    position: fixed;
    left: 50%;
    bottom: 120px; /* aman dari bottom nav */
    transform: translateX(-50%) translateY(20px);

    background: rgba(0,0,0,.85);
    border: 1px solid rgba(255,215,64,.45);
    border-radius: 12px;

    padding: 12px 16px;
    min-width: 220px;
    max-width: 90%;

    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;

    box-shadow:
        0 10px 28px rgba(0,0,0,.85),
        inset 0 0 0 1px rgba(255,255,255,.06);

    backdrop-filter: blur(6px);

    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;

    z-index: 2000;
}

.deposit-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.deposit-toast span {
    color: #ffd740;
}

/* ===============================
   MODAL – DEPOSIT SUCCESS
================================ */

/* CONTENT */
.deposit-success-content {
    background: rgba(0,0,0,.75);
    border: 1px solid rgba(76,175,80,.45);
    border-radius: 14px;
    color: #ffffff;

    box-shadow:
        0 18px 42px rgba(0,0,0,.85),
        inset 0 0 0 1px rgba(255,255,255,.05);

    backdrop-filter: blur(8px);
}

/* HEADER */
.deposit-success-header {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.deposit-success-header .modal-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #4caf50;
}

.deposit-success-header .btn-close {
    filter: invert(1);
    opacity: .8;
}

/* BODY */
.deposit-success-body {
    padding: 18px 16px;
    text-align: center;
}

.deposit-success-text {
    font-size: 13px;
    line-height: 1.5;
    color: #ffffff;
}

/* FOOTER */
.deposit-success-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,.12);
}

/* BUTTON OK */
.deposit-success-footer .btn-primary {
    width: 100%;
    background: linear-gradient(
        180deg,
        rgba(76,175,80,1),
        rgba(56,142,60,1)
    );
    border: none;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 800;
    color: #ffffff;

    box-shadow:
        0 6px 18px rgba(0,0,0,.65),
        inset 0 1px 0 rgba(255,255,255,.25);
}

.deposit-success-footer .btn-primary:hover {
    filter: brightness(1.08);
}

/* ===============================
   TAB ICON – FONT AWESOME
================================ */
.transaksi-tab-menu .transaksi-tab-fa-icon {
    font-size: 16px;
    line-height: 1;
    opacity: .9;
    transition: all .25s ease;
}

/* Hover */
.transaksi-tab-menu a:hover .transaksi-tab-fa-icon {
    opacity: 1;
    transform: translateY(-1px);
}

/* Active */
.transaksi-tab-menu a[data-active="true"] .transaksi-tab-fa-icon {
    opacity: 1;
}


/* ===============================
   RIWAYAT TRANSAKSI
================================ */
.riwayat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.riwayat-item {
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 12px;

    color: #ffffff; /* ✅ DEFAULT FONT PUTIH */

    box-shadow:
        0 10px 26px rgba(0,0,0,.75),
        inset 0 0 0 1px rgba(255,255,255,.04);
}

/* HEADER */
.riwayat-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.riwayat-type {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff; /* ✅ PUTIH */
}

/* STATUS BADGE */
.riwayat-status {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

/* Pending */
.status-1 {
    background: rgba(255,193,7,.2);
    color: #ffc107;
}

/* Success */
.status-2 {
    background: rgba(40,167,69,.25);
    color: #28a745;
}

/* Reject */
.status-3 {
    background: rgba(220,53,69,.25);
    color: #dc3545;
}

/* Expired */
.status-4 {
    background: rgba(220,53,69,.25);
    color: #dc3545;
}

/* BODY */
.riwayat-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.riwayat-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #ffffff; /* ✅ PUTIH */
}

.riwayat-row span {
    color: #ffffff; /* ✅ PUTIH */
}

.riwayat-row.small {
    opacity: .75;
    font-size: 11px;
    color: rgba(255,255,255,.8); /* PUTIH LEMBUT */
}




/* ===============================
   SLOT GAME LIST
================================ */
.slot-game-list {
    padding: 10px;
}

.slot-game-list ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* ===============================
   SLOT GAME CARD
================================ */
.slot-game-card {
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0,0,0,.45);

    box-shadow:
        0 4px 12px rgba(0,0,0,.7),
        inset 0 0 0 1px rgba(255,255,255,.05);
}

.slot-game-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
}

/* ===============================
   IMAGE
================================ */
.slot-game-media img {
    width: 100%;
    display: block;
}

/* ==================================================
   SLOT GAME CARD (BASE)
================================================== */
.slot-game-card {
    background: rgba(0,0,0,.35);
    border-radius: 10px;
    overflow: hidden;

    box-shadow:
        0 6px 18px rgba(0,0,0,.45),
        inset 0 0 0 1px rgba(255,255,255,.04);

    transition: transform .2s ease, box-shadow .2s ease;
}

.slot-game-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 26px rgba(0,0,0,.6),
        inset 0 0 0 1px rgba(255,255,255,.06);
}

/* ==================================================
   GAME IMAGE
================================================== */
.slot-game-media {
    position: relative;
    background: #000;
}

.slot-game-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===============================
   RTP BLOCK (STRONGER CONTRAST)
================================ */
.slot-game-rtp {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 6px 8px;
    background: rgba(0,0,0,.72);

    font-size: 11px;
    font-weight: 500;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.05);
}

/* ===============================
   RTP LABEL (CLEAR & SHARP)
================================ */
.slot-rtp-label {
    font-weight: 700;
    color: #ffeb3b;
    letter-spacing: .4px;
    flex-shrink: 0;
}

/* ===============================
   RTP BAR (DEPTH + TRACK)
================================ */
.slot-rtp-bar {
    position: relative;
    flex: 1;
    height: 6px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,.12),
        rgba(0,0,0,.85)
    );

    border-radius: 4px;
    overflow: hidden;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.06),
        inset 0 2px 4px rgba(0,0,0,.85);
}

/* ===============================
   RTP FILL (VISIBLE PROGRESS)
================================ */
.slot-rtp-fill {
    position: relative;
    height: 100%;
    width: 0%;

    border-radius: 4px;

    animation:
        rtpReload 1s cubic-bezier(.4,0,.2,1) forwards,
        rtpIdle 3.2s ease-in-out infinite;
}

/* ===============================
   RTP COLOR STATES (TEGAS)
================================ */
.slot-rtp-fill.high {
    --neon-color: #22e37b;
    background: linear-gradient(
        90deg,
        #0f5132 0%,
        #1fa463 45%,
        #5cff9f 100%
    );
}

.slot-rtp-fill.medium {
    --neon-color: #ffca28;
    background: linear-gradient(
        90deg,
        #8d6e00 0%,
        #f9a825 45%,
        #ffe082 100%
    );
}

.slot-rtp-fill.low {
    --neon-color: #ff5252;
    background: linear-gradient(
        90deg,
        #7f1d1d 0%,
        #c62828 45%,
        #ff8a80 100%
    );
}

/* ===============================
   RTP VALUE (ANCHOR FEEL)
================================ */
.slot-rtp-value {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .3px;
    flex-shrink: 0;
}

/* ===============================
   RELOAD (PROGRESS FILL)
================================ */
@keyframes rtpReload {
    0% {
        width: 0%;
        opacity: .35;
    }
    100% {
        width: var(--rtp-width, 95%);
        opacity: 1;
    }
}

/* ===============================
   IDLE GLOW (VISIBLE BUT SAFE)
================================ */
@keyframes rtpIdle {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.22);
    }
}

/* ===============================
   NEON CHARGE SWEEP
================================ */
.slot-rtp-fill::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,.06) 25%,
        var(--neon-color) 50%,
        rgba(255,255,255,.06) 75%,
        transparent 100%
    );

    opacity: .75;
    mix-blend-mode: screen;

    transform: translateX(-140%);
    animation: neonCharge 1.2s linear infinite;
}

/* ===============================
   BULLET TIP (END INDICATOR)
================================ */
.slot-rtp-fill::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 50%;

    width: 9px;
    height: 9px;

    transform: translateY(-50%);
    border-radius: 50%;



    box-shadow:
        0 0 6px var(--neon-color),
        0 0 14px var(--neon-color);

    opacity: .95;
}

/* ===============================
   NEON KEYFRAMES
================================ */
@keyframes neonCharge {
    0%   { transform: translateX(-140%); }
    100% { transform: translateX(140%); }
}

/* ===============================
   GAME TITLE (DARKER & SOLID)
================================ */
.slot-game-title {
    padding: 6px 8px;
    font-size: 12px;
    text-align: center;

    background: rgba(0,0,0,.78);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===============================
   DESKTOP GRID
================================ */
@media (min-width: 992px) {
    .slot-game-list ul {
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }
}

/* ===============================
   MOBILE TUNING (NO RISK)
================================ */
@media (max-width: 767px) {

    .slot-game-rtp {
        padding: 5px 6px;
        font-size: 10px;
    }

    .slot-rtp-bar {
        height: 5px;
    }

    .slot-game-title {
        padding: 5px 6px;
        font-size: 11px;
    }

    .slot-game-rtp + .slot-game-title {
        margin-top: -2px;
    }
}

.label-new {
    position: absolute;
    z-index: 6;

    padding: 3px 7px;
    font-size: 10px;
    font-weight: 100; /* lebih tebal */

    color: #ffffff; /* teks putih */
    background: linear-gradient(
        90deg,
        #b71c1c, /* deep red */
        #e53935, /* red utama */
        #ff5252  /* red terang */
    );

    border-radius: 4px;

    box-shadow:
        0 0 6px rgba(229,57,53,.85),
        0 0 12px rgba(229,57,53,.45);
}

.blink {
    animation: hotBlink 1.2s ease-in-out infinite;
}

@keyframes hotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.slot-game-card {
    position: relative;
}











/* ===============================
   SLOT PROVIDER FILTER (UI FRIENDLY)
================================ */
.slot-provider-container {
    position: relative;
    padding: 14px;
    margin-bottom: 0; /* 🔥 HILANGKAN JARAK */
    background: rgba(0, 0, 0, 0.75); /* ⬅️ PURE, TANPA GRADIENT */
    border-radius: 0px 0px 0 0; /* 🔥 sambung ke bawah */
}

/* content layer */
.slot-provider-container > * {
    position: relative;
    z-index: 1;
}

/* ===============================
   GRID
================================ */
.slot-provider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* ===============================
   SLOT GAME INNER WRAPPER
   (INI KUNCI UTAMA)
================================ */
.slot-game-inner {
    max-width: 1280px;   /* desktop */
    margin: 0 auto;
    padding: 0 12px;     /* jarak kiri kanan */
}

@media (min-width: 1200px) {
    .slot-game-inner {
        max-width: 1180px;
    }
}

/* ===============================
   PROVIDER BUTTON
================================ */
.slot-provider-btn {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 42px;
    padding: 6px 8px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;

    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;

    backdrop-filter: blur(4px);

    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .2s ease;
}

.slot-provider-btn:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.35);
    transform: translateY(-1px);
}

.slot-provider-btn.active {
    background: linear-gradient(
        180deg,
        rgba(255,215,64,.18),
        rgba(255,215,64,.08)
    );
    border-color: rgba(255,215,64,.55);
    box-shadow:
        0 0 0 1px rgba(255,215,64,.25),
        0 6px 18px rgba(0,0,0,.65);
    font-weight: 600;
}

/* ===============================
   PROVIDER LOGO
================================ */
.slot-provider-btn img {
    max-width: 82px;
    max-height: 22px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05);
}

/* ===============================
   LIVE SEARCH (MENEMPEL KE PROVIDER)
================================ */
.slot-search-box {
    margin: 0; /* 🔥 HAPUS SEMUA JARAK */
    padding: 10px 14px;

    background: rgba(0, 0, 0, 0.75); /* ⬅️ PURE, TANPA GRADIENT */

    border-left: 1px solid rgba(255,255,255,.14);
    border-right: 1px solid rgba(255,255,255,.14);
}

.slot-search-box input {
    width: 100%;
    height: 42px;

    padding: 0 14px;

    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;

    color: #ffffff;
    font-size: 14px;

    backdrop-filter: blur(4px);
}

.slot-search-box input::placeholder {
    color: rgba(255,255,255,.55);
}

.slot-search-box input:focus {
    outline: none;
    border-color: rgba(255,215,64,.55);
    box-shadow:
        0 0 0 1px rgba(255,215,64,.25),
        0 4px 12px rgba(0,0,0,.6);
}

/* ===============================
   SLOT GAME LIST (MENEMPEL)
================================ */
.slot-game-list {
    margin-top: 0;
    padding-top: 10px;

    background: rgba(0, 0, 0, 0.75); /* ⬅️ PURE, TANPA GRADIENT */
    border-radius: 0 0 14px 14px;
}


/* ===============================
   RESPONSIVE GRID
================================ */
@media (min-width: 768px) {
    .slot-provider-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

@media (min-width: 992px) {
    .slot-provider-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
    }
}


/* ===============================
   PAGINATION (SINGLE CLEAN STYLE)
   - Box sama dengan Live Search
   - < Page x of y >
================================ */
.slot-pagination {
    margin: 0 0 20px;              /* rapat ke konten, aman ke nav */
    padding: 10px 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    width: 100%;

    background: linear-gradient(
        180deg,
        rgba(0,0,0,.45),
        rgba(0,0,0,.65)
    );

    border-left: 1px solid rgba(255,255,255,.14);
    border-right: 1px solid rgba(255,255,255,.14);
    border-bottom: 1px solid rgba(255,255,255,.14);

    border-radius: 0 0 14px 14px;  /* nyambung panel di atas */
    backdrop-filter: blur(4px);
}

/* ===============================
   PAGE INDICATOR
================================ */
.slot-page-indicator {
    padding: 8px 16px;

    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;

    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.04);
}

.slot-page-indicator strong {
    color: #ffd740;
    font-weight: 600;
}

/* ===============================
   PAGINATION BUTTONS
================================ */
.slot-pagination .pagination {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.slot-pagination .page-item {
    flex: 0 0 auto;
}

/* ===============================
   PAGE BUTTON
================================ */
.slot-pagination .page-link {
    min-width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    backdrop-filter: blur(4px);

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.04);

    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .2s ease;
}

.slot-pagination .page-link:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.35);
    transform: translateY(-1px);
}

/* ===============================
   DISABLED
================================ */
.slot-pagination .page-item.disabled .page-link {
    opacity: .4;
    pointer-events: none;
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 480px) {
    .slot-pagination {
        gap: 10px;
        padding: 10px 12px;
        margin-bottom: 10px; /* aman dari bottom nav */
    }

    .slot-page-indicator {
        font-size: 12px;
        padding: 7px 12px;
    }

    .slot-pagination .page-link {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
    }
}





/* ===============================
   SHOW MORE BUTTON
================================ */
.slot-load-more {
    display: flex;
    justify-content: center;
    padding: 18px 14px 26px;
}

#loadMoreBtn {
    position: relative;

    min-width: 180px;
    height: 44px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,235,59,.45);
    border-radius: 12px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;

    cursor: pointer;
    user-select: none;
    text-decoration: none;

    box-shadow:
        0 6px 18px rgba(0,0,0,.7),
        inset 0 0 0 1px rgba(255,255,255,.06);

    transition: all .25s ease;
}

/* hover */
#loadMoreBtn:hover {
    transform: translateY(-1px);
    border-color: var(--color-accent);
    box-shadow:
        0 10px 24px rgba(0,0,0,.85),
        inset 0 0 0 1px rgba(255,255,255,.08);
}

/* active click */
#loadMoreBtn:active {
    transform: translateY(0);
    box-shadow:
        0 4px 12px rgba(0,0,0,.8),
        inset 0 0 0 1px rgba(255,255,255,.05);
}

/* loading / disabled */
#loadMoreBtn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    border-color: rgba(255,255,255,.15);
    box-shadow:
        0 4px 10px rgba(0,0,0,.6),
        inset 0 0 0 1px rgba(255,255,255,.04);
}

/* ===============================
   OPTIONAL: LOADING DOT
================================ */
#loadMoreBtn.loading::after {
    content: "";
    width: 14px;
    height: 14px;
    margin-left: 6px;

    border: 2px solid rgba(255,255,255,.4);
    border-top-color: var(--color-accent);
    border-radius: 50%;

    animation: loadMoreSpin .8s linear infinite;
}

@keyframes loadMoreSpin {
    to {
        transform: rotate(360deg);
    }
}


/* ===============================
   POPUP REGISTER / LOGIN / LOGOUT
================================ */

/* ===============================
   ERROR BORDER
================================ */
.auth-register-field input.field-error,
.auth-register-field select.field-error {
    border: 1.5px solid #ff5252 !important;
    box-shadow: 0 0 0 1px rgba(255,82,82,.15);
}


/* ===============================
   SHAKE EFFECT
================================ */
@keyframes shake {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-4px); }
    40%  { transform: translateX(4px); }
    60%  { transform: translateX(-3px); }
    80%  { transform: translateX(3px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake .35s ease;
}


/* ===============================
   POPUP CONTAINER
================================ */
#abc123-container {
    display: flex;
    align-items: center;
    justify-content: center;

    position: fixed;
    inset: 0;
    z-index: 11;
}


/* ===============================
   BACKDROP / OVERLAY
================================ */
#bg999 {
    position: fixed;
    inset: 0;
    z-index: 10;
    background-color: rgba(0,0,0,.55);
}


/* ===============================
   POPUP WRAPPER
================================ */
#xyz456-wrapper {
    width: 85%;
    min-width: 315px;
    max-width: 500px;
    min-height: 210px;

    position: relative;
    z-index: 11;

    border-radius: 12px;
    overflow: hidden;

    background: var(--popup-bg-main);
    border: 1px solid var(--popup-border);

    box-shadow:
        var(--popup-shadow),
        inset 0 0 0 1px rgba(255,255,255,.05);

    color: #ffffff;
}


/* ===============================
   FONT CONSISTENCY
================================ */
#xyz456-wrapper,
#xyz456-wrapper * {
    font-family: 'Poppins', "Segoe UI", sans-serif;
}


/* ===============================
   IMAGE HEADER
================================ */
#xyz456-wrapper img {
    width: 100%;
    display: block;
    border-radius: 12px 12px 0 0;
}


/* ===============================
   MODAL BASE STYLE
================================ */
.modalX999 {
    width: 85%;
    max-width: 500px;
    border-radius: 12px;
}


/* ===============================
   MODAL BODY (LAYERED)
================================ */
.modalBody888 {
    position: relative;
    background-color: var(--color-base);
}

/* overlay layer seperti provider-section */
.modalBody888::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--popup-bg-layer);
    pointer-events: none;
    z-index: 0;
}

/* pastikan konten di atas overlay */
.modalBody888 > * {
    position: relative;
    z-index: 1;
}


/* ===============================
   ACCENT BACKGROUND HELPER
================================ */
.grayX888 {
    background: var(--color-base) no-repeat;
}


/* ===============================
   ACTION BUTTON
================================ */
.modalBtn555 {
    width: 100%;
    padding: 12px;

    border: none;
    border-radius: 0 0 12px 12px;

    background: linear-gradient(
        180deg,
        var(--color-accent),
        #d4c02a
    );

    color: #000000;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;

    cursor: pointer;
}


/* ===============================
   ANIMATION IN
================================ */
.aniIn789 {
    animation: aniIn789 0.6s ease-out both;
}

@keyframes aniIn789 {
    0% {
        transform: scale(.85);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* ===============================
   ANIMATION OUT
================================ */
.aniOut321 {
    animation: aniOut321 0.6s ease-in both;
}

@keyframes aniOut321 {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(.85);
        opacity: 0;
    }
}

.input-hint {
    font-size: 12px;
    margin-top: 6px;
    color: #ff5252;
}



/* =========================================
   QRIS – DOWNLOAD BUTTON
========================================= */
.qris-download-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.qris-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    min-width: 160px;

    border-radius: 10px;
    border: 1px solid #c9a93a;
    background: linear-gradient(
        180deg,
        rgba(255, 215, 100, 0.12),
        rgba(255, 215, 100, 0.04)
    );

    color: #f5d76e;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;

    transition: all .2s ease;
}

/* hover */
.qris-download-btn:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 215, 100, 0.25),
        rgba(255, 215, 100, 0.08)
    );
    color: #fff;
    transform: translateY(-1px);
}

/* active */
.qris-download-btn:active {
    transform: scale(0.97);
}

.qris-title {
    white-space: nowrap;     /* tetap 1 baris */
    overflow: hidden;        /* cegah overflow */
    max-width: 100%;
    font-size: clamp(11px, 3vw, 14px); /* mengecil di layar kecil */
    font-weight: 600;
    text-align: center;
}


.qris-countdown {
    text-align: center;
    margin-top: 2px;
}

.qris-countdown b {
    font-size: 13px;      /* SELALU lebih kecil dari title */
    font-weight: 700;    /* tetap bold */
    white-space: nowrap; /* jangan pecah baris */
}

/* IMAGE & VIDEO FULL COVER */
.slot-game-media img,
.slot-game-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slot-64 {
    cursor: pointer;
}

/* ===============================
   PROMOSI PAGE (USER VIEW)
   DNA: provider-box / fav-game
================================ */

/* ===============================
   CONTAINER
================================ */
.promosi-container {
    position: relative;
    padding: 14px 16px;
    background-color: var(--color-base);
}

/* overlay layer ke-2 */
.promosi-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    pointer-events: none;
    z-index: 0;
}

.promosi-container > * {
    position: relative;
    z-index: 1;
}

/* ===============================
   PROMOSI TITLE – FULL BLEED DARK BAR
   (FIX WARP + WARNA + ACCENT LINE)
================================ */
.promosi-title {
    position: relative;

    /* ⬅️ keluar dari padding container */
    margin-left: -16px;
    margin-right: -16px;
    margin-top: -14px;
    margin-bottom: 5px;

    padding: 12px 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        180deg,
        rgba(5,15,25,.98),
        rgba(5,15,25,.92)
    );

    /* ⬇️ GARIS BAWAH ACCENT */
    border-bottom: 0.2px solid var(--color-accent);

    /* opsional: garis atas halus */
    border-top: 0.2px solid var(--color-accent);

    color: var(--color-accent);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;

    text-shadow:
        0 2px 6px rgba(0,0,0,.95),
        0 0 10px rgba(255,215,64,.35);
}

/* desktop padding fix */
@media (min-width: 1200px) {
    .promosi-title {
        margin-left: -24px;
        margin-right: -24px;
    }
}


/* ===============================
   GRID
================================ */
.promosi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

/* ===============================
   CARD
================================ */
.promosi-card {
    background: rgba(0,0,0,.45);
    border-radius: 14px;
    border: 1px solid rgba(255,235,59,.35);
    overflow: hidden;

    box-shadow:
        0 8px 22px rgba(0,0,0,.75),
        inset 0 0 0 1px rgba(255,255,255,.05);

    transition: transform .25s ease, box-shadow .25s ease;
}

.promosi-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 28px rgba(0,0,0,.85),
        0 0 0 1px rgba(255,235,59,.45);
}

/* IMAGE */
.promosi-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===============================
   CARD BODY
================================ */
.promosi-body {
    padding: 12px 14px;
    background: linear-gradient(
        180deg,
        rgba(9, 25, 46, 0.9),
        rgba(9, 25, 46, 0.9)
    );

    border-top: 1px solid rgba(255,235,59,.25);
}

/* NAME */
.promosi-name {
    font-size: .9rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 6px;
}

/* DESC – BALOK ISI */
.promosi-desc {
    margin-top: 6px;
    padding: 8px 10px;

    background: rgba(0,0,0,.50);
    border-left: 4px solid var(--color-accent);
    border-radius: 6px;

    font-size: .78rem;
    line-height: 1.45;
    color: rgba(255,255,255,.9);
}

/* ===============================
   EMPTY STATE
================================ */
.promosi-empty {
    background: rgba(0,0,0,.45);
    border: 1px dashed rgba(255,235,59,.35);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    color: rgba(255,255,255,.75);
    font-size: .8rem;
}

/* ===============================
   RESPONSIVE GRID
================================ */
@media (min-width: 768px) {
    .promosi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1200px) {
    .promosi-container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 20px 24px;
    }

    .promosi-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* ===============================
   PROMOSI MODAL
================================ */
.promosi-open {
    cursor: pointer;
}

.promosi-modal-desc {
    padding: 14px 16px 18px;
    font-size: .8rem;
    line-height: 1.6;
    color: rgba(255,255,255,.9);
}

/* image di modal */
#promosiModal img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* modal box custom size */
#promosiModal .auth-modal-box {
    max-width: 520px;
}

/* mobile optimization */
@media (max-width: 480px) {
    .promosi-modal-desc {
        font-size: .75rem;
        padding: 12px;
    }
}
/* ===============================
   GLOBAL INNER WRAPPER
================================ */
.container-inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 1200px) {
    .container-inner {
        max-width: var(--container-max-lg);
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* ===============================
   DESKTOP GUEST ACTION BAR - FIX ALIGNMENT (FINAL)
================================ */
.desktop-guest-actions {
    display: none;
}

@media (min-width: 1200px) {

    /* ===============================
       CONTAINER
    ================================ */
    .desktop-guest-actions {
        display: block;
        margin: 0 0 22px;
        padding: 0;
    }

    /* ===============================
       GRID (TANPA PADDING)
    ================================ */
    .desktop-guest-grid {
        display: flex;
        align-items: stretch;
        gap: 16px;

        /* ❌ TIDAK ADA PADDING DI SINI */
        padding: 0;

        background: rgba(0,0,0,.45);
        border-radius: 14px;
        border: 1px solid rgba(255,235,59,.35);
        box-shadow:
            0 6px 18px rgba(0,0,0,.7),
            inset 0 0 0 1px rgba(255,255,255,.05);

        width: 100%;
        box-sizing: border-box;
    }

    /* ===============================
       COLUMN (SUMBER SPACING & TINGGI)
    ================================ */
    .guest-col {
        flex: 1;
        display: flex;
        align-items: stretch;
        min-width: 0;

        /* ✅ SEMUA BUTTON DAPAT RUANG IDENTIK */
        padding: 12px 8px;
        box-sizing: border-box;
    }

    /* ===============================
       BUTTON (MURNI & KONSISTEN)
    ================================ */
    .btn-guest {
        width: 100%;
        height: 42px;
        min-width: 120px;

        box-sizing: border-box;
        margin: 0;
        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 12px;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .3px;

        line-height: 1;              /* ⬅️ biarkan flex yang center */
        white-space: nowrap;
        text-align: center;

        text-decoration: none;
        cursor: pointer;
        user-select: none;

        transition:
            transform .15s ease,
            box-shadow .2s ease,
            background .2s ease;
    }

    /* ===============================
       VARIANT BUTTON
    ================================ */
    .btn-login-2 {
        width: 100%;
        height: 42px;
        line-height: 42px;

        background: linear-gradient(
            180deg,
            #4a4a4a,
            #2e2e2e,
            #1c1c1c
        );

        border: 1px solid rgba(255,255,255,.12);
        border-radius: 10px;

        font-size: 1rem;
        font-weight: 900;
        letter-spacing: 1px;
        color: #ffffff;

        box-shadow:
            0 4px 12px rgba(0,0,0,.75),
            inset 0 0 0 1px rgba(255,255,255,.05);

        transition: all .2s ease;
    }

    .btn-register {
        display: block;
        line-height: 42px;
        text-align: center;

        border-radius: 14px;

        background: linear-gradient(
            180deg,
            #64b5f6,
            #2196f3,
            #1976d2
        );

        color: #ffffff;
        font-size: 1rem;
        font-weight: 900;
        letter-spacing: 1px;
        text-decoration: none;

        border: 1px solid rgba(79,195,247,.9);

        box-shadow:
            0 4px 12px rgba(0,0,0,.7),
            0 0 10px rgba(79,195,247,.5);

        transition: all .2s ease;
    }

    .btn-promo {
        width: 100%;
        height: 42px;
        line-height: 42px;

        background: linear-gradient(
            180deg,
            #4a4a4a,
            #2e2e2e,
            #1c1c1c
        );

        border: 1px solid rgba(255,255,255,.12);
        border-radius: 10px;

        font-size: 1rem;
        font-weight: 900;
        letter-spacing: 1px;
        color: #ffffff;

        box-shadow:
            0 4px 12px rgba(0,0,0,.75),
            inset 0 0 0 1px rgba(255,255,255,.05);

        transition: all .2s ease;
    }


    /* ===============================
       HOVER
    ================================ */
    .btn-guest:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0,0,0,.85);
    }
}
.sidebar-tab-link i[data-icon] {
    width: 22px;
    height: 22px;
    background: var(--image-src) center / contain no-repeat;
}

.sidebar-tab-link[data-active="true"] i[data-icon] {
    background-image: var(--active-image-src);
}
