/* ==========================================================================
   SUNGAITOTO x PRISMATIC SUNBURST  (LP #6)
   Palet wajib : #ffd700 (emas) x #1a2a6c (navy) + turunan dekat + netral
   Identitas tema (beda dari LP #1-#5):
     1. conic-gradient 24 stop  -> cakram cahaya di kepala halaman
     2. repeating-conic rays    -> sinar prisma menyebar dari satu titik
     3. specular sweep          -> sapuan kilau diagonal saat hover
     4. prism rim               -> cincin tipis emas->navy->emas mengelilingi panel
   Hanya menyentuh warna, gradien, bayangan, border, radius, tipografi.
   Tidak menambah widget, tidak menggeser elemen, tidak memakai ikon CDN.
   ========================================================================== */

:root {
    /* ---- turunan emas ------------------------------------------------- */
    --ps-gold-100: #fffbe6;
    --ps-gold-200: #fff3c4;
    --ps-gold-300: #ffe680;
    --ps-gold-400: #ffd700;   /* wajib */
    --ps-gold-500: #e6c235;
    --ps-gold-600: #b8860b;
    --ps-gold-700: #8a6508;
    /* ---- turunan navy ------------------------------------------------- */
    --ps-navy-900: #060a18;
    --ps-navy-800: #0b1436;
    --ps-navy-700: #131f52;
    --ps-navy-600: #1a2a6c;   /* wajib */
    --ps-navy-500: #2a3d86;
    --ps-navy-400: #3f5199;
    /* ---- netral untuk efek gelap-terang (3D) -------------------------- */
    --ps-light: #f4f8ff;
    --ps-mid: #93a3cf;
    --ps-dim: #54628e;

    /* ---- gradien khas tema -------------------------------------------- */
    --ps-24stop: conic-gradient(from 0deg,
        #fff3c4 0deg, #ffd700 15deg, #e6c235 30deg, #b8860b 45deg,
        #1a2a6c 60deg, #131f52 75deg, #060a18 90deg, #131f52 105deg,
        #2a3d86 120deg, #1a2a6c 135deg, #b8860b 150deg, #ffd700 165deg,
        #fff3c4 180deg, #ffd700 195deg, #e6c235 210deg, #b8860b 225deg,
        #1a2a6c 240deg, #131f52 255deg, #060a18 270deg, #131f52 285deg,
        #2a3d86 300deg, #1a2a6c 315deg, #b8860b 330deg, #ffd700 345deg,
        #fff3c4 360deg);
    --ps-rays: repeating-conic-gradient(from 8deg at 50% 0%,
        rgba(255, 215, 0, .16) 0deg 1.1deg,
        rgba(26, 42, 108, 0) 1.1deg 9deg);
    --ps-rays-bottom: repeating-conic-gradient(from 188deg at 50% 100%,
        rgba(255, 215, 0, .13) 0deg 1deg,
        rgba(26, 42, 108, 0) 1deg 8deg);
    --ps-plate: linear-gradient(160deg, #131f52 0%, #1a2a6c 46%, #0b1436 100%);
    --ps-plate-deep: linear-gradient(170deg, #0b1436 0%, #060a18 60%, #0b1436 100%);
    --ps-gold-plate: linear-gradient(180deg, #fff3c4 0%, #ffd700 42%, #e6c235 68%, #b8860b 100%);
    --ps-sweep: linear-gradient(115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 243, 196, .55) 44%,
        rgba(255, 255, 255, .92) 50%,
        rgba(255, 243, 196, .55) 56%,
        rgba(255, 255, 255, 0) 100%);
    --ps-rim: 0 0 0 1px rgba(255, 215, 0, .55),
              0 0 0 2px rgba(6, 10, 24, .9),
              0 0 22px rgba(255, 215, 0, .16);
    --ps-rim-strong: 0 0 0 1px #ffd700,
                     0 0 0 3px rgba(26, 42, 108, .95),
                     0 0 26px rgba(255, 215, 0, .34),
                     inset 0 1px 0 rgba(255, 251, 230, .35);
    --ps-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9),
                 0 2px 10px rgba(6, 10, 24, .8);
    --ps-radius: 16px;
    --ps-radius-sm: 10px;

    /* ---- override variabel template -------------------------------- */
    --body-theme-bg: #060a18;
    --body-color: #c6d1ef;
    --a-color: #ffd700;
    --a-focus-hover-color: #fff3c4;

    --topbar-cntr-bg: linear-gradient(180deg, #0b1436 0%, #060a18 100%);
    --topbar-left-section-item-color: #f4f8ff;
    --topbar-left-section-item-a-hover-color: #ffd700;
    --topbar-left-section-language-selector-bg: #131f52;
    --topbar-left-section-language-selector-li-border: 1px solid rgba(255, 215, 0, .35);

    --site-header-bg: linear-gradient(180deg, #0b1436 0%, #131f52 78%, #1a2a6c 100%);
    --site-header-border: 3px solid #ffd700;
    --menu-slide-i-color: #ffd700;
    --top-menu-li-a-color: #dfe7ff;
    --top-menu-li-true-hover-a-color: #ffd700;
    --top-menu-li-true-hover-bg: radial-gradient(circle at top center,
        rgba(255, 215, 0, .28) 0, rgba(255, 215, 0, 0) 100%);
    --top-menu-game-list-bg: rgba(11, 20, 54, .96);
    --top-menu-game-list-btop: 3px solid #ffd700;
    --top-menu-game-list-bbot: 8px solid #0b1436;
    --top-menu-game-list-li-a-background-bg: linear-gradient(90deg, rgba(11, 20, 54, 0) 0%, #1a2a6c 99.99%);
    --top-menu-game-list-li-a-background-border: 1px solid #b8860b;

    --banner-bg: linear-gradient(180deg, #1a2a6c 0%, #0b1436 100%);
    --banner-carousel-indicators-li-border: 1px solid rgba(255, 215, 0, .6);
    --banner-carousel-indicators-active-bg: #ffd700;
    --banner-carousel-indicators-active-border: #ffd700;

    --announcement-cntr-bg: linear-gradient(90deg, #131f52 0%, #1a2a6c 50%, #131f52 100%);
    --announcement-cntr-color: #f4f8ff;
    --announcement-cntr-section-announcement-bg: transparent;
    --announcement-cntr-section-announcement-color: #ffd700;
    --announcement-cntr-list-li-color: #ffe680;

    --popular-games-bg: transparent;
    --popular-games-left-section-title-bg: linear-gradient(90deg, #1a2a6c 0%, #131f52 100%);
    --popular-games-left-section-title-color: #ffd700;
    --popular-games-scrtabs-tab-cntr-bg: linear-gradient(to bottom, #131f52 0%, #1a2a6c 50%, #0b1436 100%);
    --popular-games-nav-tabs-li-a-bg: #0b1436;
    --popular-games-nav-tabs-li-a-active-bg: linear-gradient(180deg, #1a2a6c 0%, #131f52 100%);
    --popular-games-scroll-arrow-color: #ffd700;
    --popular-games-tab-pane-bg: #0b1436;
    --popular-games-tab-content-border: 1px solid rgba(255, 215, 0, .28);
    --popular-games-list-game-item-hover-link-cntr-bg: rgba(255, 215, 0, .16);

    --sports-platform-title-color: #ffd700;

    --download-apk-content-bg: linear-gradient(150deg, #131f52 0%, #1a2a6c 60%, #0b1436 100%);
    --download-apk-color: #f4f8ff;
    --download-apk-details-title-color: #ffd700;
    --download-apk-details-desc-color: #d2ddff;
    --download-apk-details-btn-color: #1a2a6c;
    --download-apk-details-btn-bg: linear-gradient(180deg, #fff3c4 0%, #ffd700 55%, #b8860b 100%);
    --download-apk-btn-color: #1a2a6c;
    --download-apk-btn-bg: linear-gradient(180deg, #fff3c4 0%, #ffd700 60%, #e6c235 100%);
    --download-apk-btn-hover-color: #060a18;
    --download-apk-section-i-color: #ffd700;

    --footer-featured-product-bg: transparent;
    --footer-card-container-border: rgba(255, 215, 0, .22);
    --footer-separator-border: 1px solid rgba(255, 215, 0, .22);
    --footer-links-li-a-color: #c6d1ef;
    --footer-links-li-a-hover-color: #ffd700;
    --footer-links-li-li-a-border: 1px solid rgba(26, 42, 108, .9);
    --footer-section-title-color: #ffd700;
    --footer-description-header-color: #ffd700;
    --footer-description-note-color: #93a3cf;
    --footer-sitemap-header-color: #ffd700;
    --footer-sitemap-link-color: #c6d1ef;
    --footer-featured-product-card-header-color: #ffd700;
    --footer-featured-product-card-note-color: #a9b8e0;
    --footer-bank-list-note-color: #a9b8e0;
    --footer-transaction-service-header-color: #ffd700;
    --footer-transaction-service-note-color: #a9b8e0;
    --footer-sitemap-icon-bg: rgba(255, 215, 0, .14);
    --footer-sitemap-icon-filter: invert(.9) sepia(.4) saturate(4) hue-rotate(-12deg);
    --footer-banking-card-bg: linear-gradient(160deg, #131f52 0%, #0b1436 100%);
    --footer-bank-logo-bg: rgba(255, 215, 0, .1);
    --footer-hero-icon-bg: rgba(255, 215, 0, .16);

    --provider-cntr-border: rgba(255, 215, 0, .22);
    --provider-cntr-h5-bg: linear-gradient(90deg, #1a2a6c 0%, #131f52 100%);
    --provider-cntr-h5-color: #ffd700;
    --provider-page-large-game-list-cntr-bg: rgba(19, 31, 82, .55);
    --provider-info-bg: #0b1436;
    --provider-slide-bg: #0b1436;
    --provider-slide-i-bg: rgba(255, 215, 0, .14);
    --provider-slide-i-color: #ffd700;
    --provider-slide-i-hover-bg: rgba(255, 215, 0, .3);
    --provider-slide-main-slide-item-bg: rgba(255, 215, 0, .1);
    --provider-slide-main-slide-item-a-not-game-info-bg: #0b1436;
    --provider-slide-main-slide-item-a-not-game-info-hover-bg: #131f52;
    --provider-slide-main-slide-item-h5-color: #f4f8ff;
    --provider-slide-main-slide-item-maintenance-h5-color: #93a3cf;

    --unread-announcements-popup-border: 2px solid #ffd700;
    --unread-announcements-popup-before-border: 10px solid #ffd700;
    --unread-announcements-popup-bg: #0b1436;
    --unread-announcements-popup-color: #f4f8ff;
}

/* ==========================================================================
   1. LATAR DASAR — cakram cahaya + sinar prisma
   ========================================================================== */
body {
    background-color: var(--ps-navy-900);
    background-image:
        radial-gradient(1200px 620px at 50% -14%, rgba(255, 215, 0, .13), rgba(6, 10, 24, 0) 68%),
        radial-gradient(900px 520px at 88% 8%, rgba(63, 81, 153, .28), rgba(6, 10, 24, 0) 70%),
        radial-gradient(760px 460px at 6% 22%, rgba(26, 42, 108, .5), rgba(6, 10, 24, 0) 72%),
        linear-gradient(180deg, #060a18 0%, #0b1436 42%, #060a18 100%);
    background-attachment: fixed;
    color: var(--body-color);
}

/* tipografi: judul memakai gradien emas */
h1, h2, h3, .h1, .h2, .h3 {
    letter-spacing: .2px;
}
.site-footer h1, .site-footer h2 {
    background: linear-gradient(180deg, #fffbe6 0%, #ffd700 46%, #b8860b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-weight: 700;
}

/* ==========================================================================
   2. TOPBAR + HEADER + MENU
   ========================================================================== */
.topbar-container {
    background: var(--topbar-cntr-bg);
    border-bottom: 1px solid rgba(255, 215, 0, .4);
    box-shadow: 0 1px 0 rgba(255, 251, 230, .08) inset, 0 6px 18px -12px #000;
}
.topbar-left-section .topbar-item > a:hover i,
.topbar-left-section .topbar-item > span:hover i {
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, .9));
}
.login-panel .register-button,
.login-panel-item a {
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, .55);
    background: linear-gradient(180deg, rgba(255, 243, 196, .16), rgba(26, 42, 108, .6));
    color: #fff3c4 !important;
    text-shadow: 0 1px 0 rgba(6, 10, 24, .8);
    transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}
.login-panel .register-button:hover,
.login-panel-item a:hover {
    background: var(--ps-gold-plate);
    color: #1a2a6c !important;
    border-color: #fff3c4;
    box-shadow: 0 0 18px rgba(255, 215, 0, .55);
}

/* kepala halaman: pita emas + cakram 24 stop tipis di bawahnya */
.site-header {
    position: relative;
    background: var(--site-header-bg);
    border-bottom: 3px solid #ffd700;
    box-shadow: 0 10px 30px -18px rgba(255, 215, 0, .55), inset 0 -1px 0 rgba(6, 10, 24, .6);
}
.site-header::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 3px;
    background: var(--ps-24stop);
    background-size: 240px 100%;
    opacity: .95;
    pointer-events: none;
}
.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ps-rays);
    opacity: .5;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0));
}
.site-header > .container { position: relative; z-index: 2; }
.site-header .logo img {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, .45)) drop-shadow(0 2px 3px rgba(6, 10, 24, .9));
}

/* menu utama */
.menu-slide .top-menu > li > a,
.top-menu > li > a {
    color: #dfe7ff;
    border-radius: var(--ps-radius-sm) var(--ps-radius-sm) 0 0;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.menu-slide .top-menu > li > a:hover,
.menu-slide .top-menu > li[data-active="true"] > a,
.top-menu > li > a:hover,
.top-menu > li[data-active="true"] > a {
    color: #ffd700 !important;
    background: linear-gradient(180deg, rgba(255, 215, 0, .16) 0%, rgba(26, 42, 108, .25) 100%);
    box-shadow: inset 0 -2px 0 #ffd700, 0 0 16px -4px rgba(255, 215, 0, .7);
    text-shadow: 0 0 10px rgba(255, 215, 0, .45);
}
.top-menu > li > a img {
    /* ikon template aslinya hijau: dipaksa jadi emas di semua state */
    filter: sepia(1) saturate(5.2) hue-rotate(-12deg) brightness(1.1)
            drop-shadow(0 0 5px rgba(255, 215, 0, .5));
    transition: filter .2s ease;
}
.top-menu > li > a:hover img,
.top-menu > li[data-active="true"] > a img {
    filter: sepia(1) saturate(6.5) hue-rotate(-8deg) brightness(1.3)
            drop-shadow(0 0 10px rgba(255, 215, 0, 1));
}
ul.game-list {
    border: 1px solid rgba(255, 215, 0, .4);
    border-radius: var(--ps-radius-sm);
    background: linear-gradient(180deg, #131f52 0%, #0b1436 100%);
    box-shadow: var(--ps-shadow), var(--ps-rim);
    overflow: hidden;
}
ul.game-list li a .foreground {
    border-radius: 8px;
}
ul.game-list li a:hover .foreground {
    box-shadow: inset 0 0 0 2px #ffd700, 0 0 14px rgba(255, 215, 0, .55);
}

/* ==========================================================================
   3. BANNER — bingkai prisma
   ========================================================================== */
.banner {
    background: var(--banner-bg);
    position: relative;
}
.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--ps-rays);
    opacity: .28;
    z-index: 0;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0) 55%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0) 55%);
}
.banner-carousel img,
.banner-group-vertical img {
    /* gambar banner template berukuran 1920x600: rapatkan ke lebar wadahnya */
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 215, 0, .45), 0 22px 44px -26px #000;
}
.banner-carousel .slick-dots li.slick-active button,
.banner-carousel ul li button { border-radius: 999px; }

/* topbar: hover eksplisit (warna + glow), termasuk ikon live chat */
.topbar-left-section .topbar-item a,
.topbar-left-section .topbar-item a.download-apk-btn,
.topbar-left-section .topbar-item .live-chat,
.topbar-right-container .topbar-item a {
    color: #e8eeff !important;
    transition: color .2s ease, filter .2s ease, background .2s ease;
}
.topbar-left-section .topbar-item a:hover,
.topbar-left-section .topbar-item a.download-apk-btn:hover,
.topbar-left-section .topbar-item .live-chat:hover,
.topbar-right-container .topbar-item a:hover {
    color: #ffd700 !important;
    background: rgba(255, 215, 0, .1);
    border-radius: 8px;
}
.topbar-left-section .topbar-item a:hover i,
.topbar-left-section .topbar-item .live-chat:hover i,
.topbar-left-section .topbar-item a:focus-visible i {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, .95)) brightness(1.25);
}
.language-selector-trigger:hover { box-shadow: 0 0 0 1px #ffd700, 0 0 14px -4px rgba(255, 215, 0, .8); }
.language-selector .language_selector:hover {
    background: rgba(255, 215, 0, .16);
    color: #ffd700;
}

/* ==========================================================================
   4. PEMBERITAHUAN (ticker)
   ========================================================================== */
.announcement-container {
    background: var(--announcement-cntr-bg);
    border: 1px solid rgba(255, 215, 0, .38);
    border-radius: var(--prism-radius, var(--ps-radius));
    border-radius: var(--ps-radius);
    box-shadow: inset 0 1px 0 rgba(255, 251, 230, .12), 0 12px 26px -22px #000;
    position: relative;
    overflow: hidden;
}
.announcement-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg,
        rgba(255, 215, 0, .07) 0 3px, rgba(0, 0, 0, 0) 3px 26px);
    pointer-events: none;
}
.announcement-container > div { position: relative; z-index: 1; }
.announcement-container [data-section="title"] {
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(255, 215, 0, .35);
}
.announcement-container [data-section="announcements"],
.announcement-list li,
.announcement-container [data-section="date"] {
    color: #e8eeff !important;
}
.announcement-list li { opacity: .95; }
/* ticker bawaan template punya latar hitam sendiri -> disatukan dengan panel */
.announcement-container .tickercontainer { background: transparent !important; }
.announcement-container .newsticker li,
.announcement-container .newsticker a { color: #fff3c4 !important; }

/* ==========================================================================
   5. PANEL UMUM — pelat navy + rim prisma
   ========================================================================== */
#ibc_widget_container,
.popular-games,
.sports-platform,
.download-apk,
.site-info-description,
.banking-footer-section .bank-list-container,
.provider-container {
    border-radius: var(--ps-radius);
}
.popular-games {
    border: 1px solid rgba(255, 215, 0, .26);
    background: linear-gradient(180deg, rgba(19, 31, 82, .72) 0%, rgba(6, 10, 24, .86) 100%);
    box-shadow: var(--ps-shadow);
}
.popular-game-title-container .popular-games-left-section-title,
.popular-games-left-section-title {
    border-radius: var(--ps-radius-sm);
    box-shadow: inset 0 1px 0 rgba(255, 251, 230, .16), 0 0 18px -8px rgba(255, 215, 0, .6);
    border: 1px solid rgba(255, 215, 0, .35);
}

/* kartu game: hover = sapuan kilau + sinar kecil */
.popular-games .game-item .game-wrapper,
.popular-games .game-item {
    border-radius: var(--ps-radius-sm);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.popular-games .game-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--ps-rim-strong), 0 20px 30px -20px #000;
    filter: saturate(1.08) brightness(1.04);
}
.popular-games .game-item .game-wrapper {
    position: relative;
    overflow: hidden;
}
.popular-games .game-item .game-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ps-sweep);
    transform: translateX(-130%);
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .8;
}
.popular-games .game-item:hover .game-wrapper::after { transform: translateX(130%); }

/* tombol COBA / MAIN di dalam kartu game */
.popular-games .game-item .free-play {
    background: linear-gradient(180deg, rgba(19, 31, 82, .96) 0%, rgba(6, 10, 24, .98) 100%) !important;
    color: #fff3c4 !important;
    border: 1px solid rgba(255, 215, 0, .6) !important;
    border-radius: 999px !important;
    text-shadow: 0 1px 2px rgba(6, 10, 24, .9);
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.popular-games .game-item .free-play:hover {
    background: linear-gradient(180deg, rgba(26, 42, 108, 1) 0%, rgba(19, 31, 82, 1) 100%) !important;
    color: #ffd700 !important;
    box-shadow: 0 0 0 1px #ffd700, 0 0 18px -2px rgba(255, 215, 0, .8);
}
.popular-games .game-item .play-now {
    background: var(--ps-gold-plate) !important;
    color: #1a2a6c !important;
    border: 1px solid #fff3c4 !important;
    border-radius: 999px !important;
    text-shadow: 0 1px 0 rgba(255, 251, 230, .6);
    transition: filter .2s ease, box-shadow .2s ease;
}
.popular-games .game-item .play-now:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 22px rgba(255, 215, 0, .85);
}
.popular-games .game-item .link-container { border-radius: var(--ps-radius-sm); }

/* tab provider */
.popular-games-scrtabs-tab-cntr,
.popular-games .nav-tabs { border-radius: var(--ps-radius-sm); }
.popular-games .nav-tabs li a {
    color: #d2ddff;
    border-radius: 8px 8px 0 0;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.popular-games .nav-tabs li a:hover {
    color: #ffd700;
    background: linear-gradient(180deg, #1a2a6c 0%, #131f52 100%);
    box-shadow: inset 0 -2px 0 rgba(255, 215, 0, .8);
}
.popular-games .nav-tabs li.active a,
.popular-games .nav-tabs li a.active {
    color: #ffd700 !important;
    background: linear-gradient(180deg, #1a2a6c 0%, #13152c 100%) !important;
    box-shadow: inset 0 -2px 0 #ffd700, 0 0 16px -6px rgba(255, 215, 0, .8);
}

/* ==========================================================================
   6. OLAHRAGA & APK
   ========================================================================== */
.sports-platform-container {
    background: linear-gradient(180deg, rgba(11, 20, 54, .9) 0%, rgba(6, 10, 24, .95) 100%);
    border-top: 1px solid rgba(255, 215, 0, .3);
    border-bottom: 1px solid rgba(255, 215, 0, .3);
    position: relative;
    overflow: hidden;
}
.sports-platform-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ps-rays);
    opacity: .22;
    pointer-events: none;
}
.sports-platform-container > .container { position: relative; z-index: 1; }
.sports-platform { border-radius: var(--ps-radius); }
.sports-platform .matches-background,
.sports-platform [class*="background"] { border-radius: var(--ps-radius-sm); }

.download-apk {
    /* cakram cahaya 24 stop dipakai sebagai lapisan latar (tidak menyentuh layout) */
    background-image:
        radial-gradient(120% 150% at 12% 0%, rgba(255, 215, 0, .16), rgba(11, 20, 54, 0) 62%),
        linear-gradient(150deg, rgba(19, 31, 82, .96) 0%, rgba(26, 42, 108, .96) 52%, rgba(11, 20, 54, .98) 100%);
    border: 1px solid rgba(255, 215, 0, .4);
    box-shadow: var(--ps-shadow), inset 0 1px 0 rgba(255, 251, 230, .14);
}
/* foto latar template masih hijau -> dibersihkan ke navy */
.download-apk .img-responsive,
.download-apk picture img {
    filter: grayscale(1) brightness(.55) sepia(1) hue-rotate(178deg) saturate(3.4) contrast(1.05);
    border-radius: var(--ps-radius-sm);
}
.download-apk .h2,
.download-apk .h3,
.download-apk-detail > div {
    color: #f4f8ff;
}
.download-apk .h2 strong { color: #ffd700; text-shadow: 0 0 16px rgba(255, 215, 0, .35); }
.download-apk .btn,
.download-apk-detail .btn {
    border-radius: 999px !important;
    border: 1px solid #fff3c4;
    background: var(--ps-gold-plate) !important;
    color: #1a2a6c !important;
    font-weight: 700;
    box-shadow: 0 6px 16px -8px rgba(255, 215, 0, .9);
}
.download-apk .btn:hover,
.download-apk-detail .btn:hover {
    background: linear-gradient(180deg, #fffbe6 0%, #ffd700 60%, #e6c235 100%) !important;
    color: #060a18 !important;
    box-shadow: 0 0 22px rgba(255, 215, 0, .75);
}
.download-apk-qr-code img {
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(255, 215, 0, .6), 0 0 18px -6px rgba(255, 215, 0, .8);
    background: #fff;
}

/* banner telegram (gambar biru) -> ditint navy/emas */
.telegram-banner-container {
    background: linear-gradient(90deg, #0b1436 0%, #131f52 50%, #0b1436 100%);
    border-top: 1px solid rgba(255, 215, 0, .3);
    border-bottom: 1px solid rgba(255, 215, 0, .3);
    position: relative;
    overflow: hidden;
}
.telegram-banner-container img {
    filter: hue-rotate(-40deg) saturate(.85) brightness(.94) contrast(1.02) sepia(.18);
}
.telegram-banner-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 10, 24, .55), rgba(255, 215, 0, .12), rgba(6, 10, 24, .55));
    pointer-events: none;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #0b1436 0%, #060a18 100%);
    border-top: 3px solid #ffd700;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    left: -20%; right: -20%; top: -140px;
    height: 520px;
    background: var(--ps-rays-bottom);
    opacity: .45;
    pointer-events: none;
}
.site-footer > .container,
.site-footer > .provider-section { position: relative; z-index: 1; }
.footer-separator { border-color: rgba(255, 215, 0, .22) !important; }
.footer-description-section p { color: #c6d1ef; }
.footer-description-section strong,
.footer-description-section u { color: #ffd700; }
.footer-description-section a { color: #ffe680; text-decoration: none; }
.footer-description-section a:hover { color: #fffbe6; text-shadow: 0 0 12px rgba(255, 215, 0, .8); }
.footer-links li a,
.contact-list li a { transition: color .2s ease, text-shadow .2s ease, padding-left .2s ease; }
.footer-links li a:hover,
.contact-list li a:hover {
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255, 215, 0, .7);
    padding-left: 3px;
}
.social-media-list li a {
    border-radius: 999px;
    padding: 2px 8px 2px 4px;
    color: #c6d1ef;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.social-media-list li a:hover {
    color: #1a2a6c;
    background: var(--ps-gold-plate);
    box-shadow: 0 0 16px rgba(255, 215, 0, .6);
}
.social-media-list li a:hover img { filter: none; }
.site-info-description {
    background: linear-gradient(160deg, rgba(19, 31, 82, .7), rgba(6, 10, 24, .9));
    border: 1px solid rgba(255, 215, 0, .22);
    box-shadow: inset 0 1px 0 rgba(255, 251, 230, .1);
    padding: 12px;
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.site-info-description:hover {
    border-color: rgba(255, 215, 0, .7);
    box-shadow: var(--ps-rim);
    transform: translateY(-2px);
}
.site-info-description h4 { color: #ffd700; }
.site-info-description p { color: #a9b8e0; }

/* bank & transaksi */
.banking-footer-section .bank-list-container {
    background: linear-gradient(160deg, rgba(19, 31, 82, .62), rgba(6, 10, 24, .9));
    border: 1px solid rgba(255, 215, 0, .22);
    box-shadow: var(--ps-shadow);
}
.bank-list .bank-logo-wrapper {
    border-radius: var(--ps-radius-sm);
    transition: box-shadow .22s ease, transform .22s ease, background .22s ease;
}
.bank-list li:hover .bank-logo-wrapper {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px #ffd700, 0 0 18px -4px rgba(255, 215, 0, .7);
}
.bank-list li:hover .bank-logo {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 215, 0, .55));
}
.bank-list .bank-logo-wrapper,
.bank-logo-wrapper {
    /* label "AUTO" versi emas (SVG lokal, bukan CDN) */
    --auto-icon: url(../image/footer/bank-list/auto-icon-gold.svg);
}
.bank-list [data-online="true"]::before { box-shadow: 0 0 10px rgba(255, 215, 0, .8); }
.banking-footer-section .footer-section-title { color: #ffd700; }

/* provider */
.provider-container {
    background: linear-gradient(180deg, rgba(19, 31, 82, .5), rgba(6, 10, 24, .85));
    border: 1px solid rgba(255, 215, 0, .2);
}
.provider-container h5 {
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, .35);
    box-shadow: inset 0 1px 0 rgba(255, 251, 230, .14);
}
.provider-container .hover-list li img {
    filter: grayscale(1) brightness(1.55) contrast(.9);
    opacity: .82;
    transition: filter .22s ease, opacity .22s ease, transform .22s ease;
}
.provider-container .hover-list li:hover img {
    filter: none;
    opacity: 1;
    transform: translateY(-2px);
}
.copyright { color: #ffd700; letter-spacing: .3px; }

/* ==========================================================================
   8. MODAL / POPUP
   ========================================================================== */
.modal .modal-content {
    border-radius: var(--ps-radius) !important;
    border: 1px solid rgba(255, 215, 0, .55) !important;
    background: linear-gradient(170deg, #131f52 0%, #0b1436 60%, #060a18 100%) !important;
    box-shadow: 0 30px 70px -30px #000, 0 0 0 1px rgba(6, 10, 24, .9), 0 0 40px -12px rgba(255, 215, 0, .45) !important;
    color: #e8eeff;
    overflow: hidden;
}
.modal .modal-header {
    border-bottom: 1px solid rgba(255, 215, 0, .3) !important;
    background: linear-gradient(90deg, rgba(255, 215, 0, .14), rgba(26, 42, 108, .35) 55%, rgba(255, 215, 0, .1));
}
.modal .modal-title,
.modal .modal-header .modal-title {
    color: #ffd700 !important;
    text-shadow: 0 0 14px rgba(255, 215, 0, .4);
}
.modal .modal-body { color: #e8eeff; }
.modal .modal-footer {
    border-top: 1px solid rgba(255, 215, 0, .25) !important;
}
.modal .close {
    color: #ffd700 !important;
    opacity: .9;
    text-shadow: 0 0 10px rgba(255, 215, 0, .8);
}
.modal .close:hover { color: #fffbe6 !important; opacity: 1; }
.modal-backdrop.in { opacity: .82; background-color: #04060f; }

/* tombol di dalam popup (template menulis gradien hijau inline) */
.popup-modal .modal-body a[href] {
    background: var(--ps-gold-plate) !important;
    color: #1a2a6c !important;
    text-shadow: 0 1px 0 rgba(255, 251, 230, .65) !important;
    box-shadow: 0 0 0 1px rgba(255, 251, 230, .8), 0 8px 18px -10px rgba(255, 215, 0, .9) !important;
    border-radius: 999px !important;
    font-weight: 700;
    transition: filter .2s ease, box-shadow .2s ease;
}
.popup-modal .modal-body a[href]:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 0 1px #fffbe6, 0 0 24px rgba(255, 215, 0, .85) !important;
}
.popup-modal .modal-body img { border-radius: var(--ps-radius-sm); }

/* tombol umum */
.btn-primary,
button.btn-primary,
a.btn-primary {
    background: var(--ps-gold-plate) !important;
    border-color: #fff3c4 !important;
    color: #1a2a6c !important;
    border-radius: var(--ps-radius-sm);
    font-weight: 700;
}

/* ==========================================================================
   9. SNACKBAR (notifikasi withdraw) — template punya gradien rusak
   ========================================================================== */
#snackbar {
    background: linear-gradient(160deg, #131f52 0%, #1a2a6c 60%, #0b1436 100%) !important;
    color: #fffbe6 !important;
    text-shadow: 0 1px 3px rgba(6, 10, 24, .9);
    border: 2px solid #ffd700 !important;
    border-radius: var(--ps-radius-sm) !important;
    box-shadow: 0 18px 40px -18px #000, 0 0 26px -8px rgba(255, 215, 0, .7) !important;
    font-weight: 700;
    letter-spacing: .2px;
}

/* ==========================================================================
   10. SCROLLBAR + DETAIL KECIL
   ========================================================================== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #060a18; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffd700, #b8860b);
    border-radius: 999px;
    border: 2px solid #060a18;
}
::selection { background: rgba(255, 215, 0, .35); color: #fffbe6; }

/* focus ring aksesibilitas tetap terlihat */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* ==========================================================================
   11. RESPONSIF (tidak mengubah layout, hanya kerapian tepi)
   ========================================================================== */
@media (max-width: 991px) {
    html, body { overflow-x: hidden; }
    .site-header::after { opacity: .35; }
    .download-apk::before { opacity: .12; }
}
@media (max-width: 600px) {
    .announcement-container { border-radius: var(--ps-radius-sm); }
    #snackbar { font-size: 13px; }
}

/* hormati preferensi gerak minimal */
@media (prefers-reduced-motion: reduce) {
    .popular-games .game-item .game-wrapper::after { transition: none; }
    .popular-games .game-item:hover { transform: none; }
}
