/* ===========================================================================
   TEMA: CELESTIAL AURORA — LP SUNGAITOTO r5 (lp4.html)
   Navy malam + kabut indigo/violet (nebula) + debu emas.
   ATURAN: hanya warna / gradien / bayangan. Tidak ada width, height, padding,
           margin, atau display -> layout tidak bergeser. Garis pakai box-shadow.
   =========================================================================== */

:root {
    --au-gold:      #ffd700;
    --au-gold-hi:   #fffbe0;
    --au-gold-mid:  #e8bd2a;
    --au-gold-lo:   #a8811a;
    --au-navy:      #1a2a6c;
    --au-navy-lo:   #0f1a45;
    --au-indigo:    #4a3f9e;
    --au-teal:      #14406b;
    --au-night:     #0a0a1a;
    --au-night-2:   #0d1330;
    --au-ink:       #111634;
    --au-starlight: #e6e9ff;
    --au-muted:     #9fa6d0;

    --au-foil: linear-gradient(178deg, #fffbe0 0%, #ffd700 30%, #d9a900 58%, #8a6a00 78%, #ffe87a 100%);
    --au-panel: linear-gradient(180deg, rgba(38, 44, 92, .55) 0%, rgba(10, 12, 30, .88) 100%);
    --au-edge: inset 0 0 0 1px rgba(255, 215, 0, .30), inset 0 1px 0 rgba(180, 190, 255, .22);
    --au-glow: 0 20px 44px -28px #000;
}

html { background: #06060f; }

body,
body.normad-alpha {
    background-color: var(--au-night) !important;
    background-image:
        radial-gradient(760px 420px at 16% -12%, rgba(74, 63, 158, .55) 0%, rgba(74, 63, 158, 0) 62%),
        radial-gradient(680px 400px at 90% 6%, rgba(20, 64, 107, .50) 0%, rgba(20, 64, 107, 0) 60%),
        radial-gradient(900px 520px at 50% 108%, rgba(42, 29, 94, .50) 0%, rgba(42, 29, 94, 0) 68%),
        radial-gradient(2px 2px at 12% 22%, rgba(255, 246, 196, .90), rgba(255, 246, 196, 0) 60%),
        radial-gradient(1.6px 1.6px at 28% 61%, rgba(255, 255, 255, .70), rgba(255, 255, 255, 0) 60%),
        radial-gradient(2.2px 2.2px at 44% 15%, rgba(255, 215, 0, .80), rgba(255, 215, 0, 0) 60%),
        radial-gradient(1.6px 1.6px at 63% 47%, rgba(255, 255, 255, .60), rgba(255, 255, 255, 0) 60%),
        radial-gradient(2.4px 2.4px at 79% 25%, rgba(255, 246, 196, .85), rgba(255, 246, 196, 0) 60%),
        radial-gradient(1.8px 1.8px at 88% 65%, rgba(255, 215, 0, .65), rgba(255, 215, 0, 0) 60%),
        linear-gradient(180deg, #0b0f24 0%, #080a18 55%, #0a0a1a 100%) !important;
    background-attachment: fixed, fixed, fixed, scroll, scroll, scroll, scroll, scroll, scroll, fixed;
    color: var(--au-starlight);
}

::selection { background: rgba(120, 110, 255, .35); color: #fff; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #0a0d1e; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4a3f9e, #c9a227 45%, #4a3f9e);
    border-radius: 99px;
    box-shadow: inset 0 0 0 2px #0a0d1e;
}

/* ---------------------------------------------------------------- topbar -- */
.topbar-container {
    background: linear-gradient(180deg, rgba(17, 22, 52, .96) 0%, rgba(8, 10, 26, .96) 100%) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 215, 0, .26), 0 12px 30px -26px #000;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.topbar-item i, .topbar-item [data-icon] {
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, .40));
    transition: filter .25s ease;
}
.topbar-item:hover i, .topbar-item:hover [data-icon] {
    filter: drop-shadow(0 0 10px rgba(255, 246, 196, .90)) brightness(1.15);
}
.language-selector-trigger:hover .language-name,
.language_selector:hover .language-name { color: var(--au-gold); }
.dropdown-menu, .language-selector-container .dropdown-menu {
    background: var(--au-panel);
    box-shadow: var(--au-edge), var(--au-glow);
}
.dropdown-menu > li > a { color: var(--au-starlight); }
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background: linear-gradient(180deg, rgba(74, 63, 158, .45), rgba(255, 215, 0, .10));
    color: var(--au-gold-hi);
}

/* ---------------------------------------------------------------- tombol -- */
.btn, .btn-primary, .register-button, .standard-secondary-button,
.play-now, .download-apk-btn, .telegram-btn, .login-button {
    background-image: var(--au-foil) !important;
    background-color: transparent !important;
    color: #1a1500 !important;
    font-weight: 800;
    letter-spacing: .04em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .40);
    border-color: transparent !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .60),
        inset 0 -2px 0 rgba(90, 64, 0, .50),
        0 10px 24px -18px rgba(74, 63, 158, .9),
        0 0 0 1px rgba(255, 215, 0, .40) !important;
    background-size: 200% 100%, 100% 100%;
    background-image:
        linear-gradient(105deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .50) 50%, rgba(255, 255, 255, 0) 58%),
        var(--au-foil) !important;
    animation: au-shimmer 6s linear infinite;
    transition: filter .22s ease, box-shadow .22s ease;
}
.btn:hover, .btn-primary:hover, .register-button:hover, .standard-secondary-button:hover,
.play-now:hover, .download-apk-btn:hover, .telegram-btn:hover, .login-button:hover {
    filter: saturate(1.05) brightness(1.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .8),
        inset 0 -2px 0 rgba(90, 64, 0, .40),
        0 14px 30px -16px rgba(255, 215, 0, .45),
        0 0 0 1px rgba(255, 246, 196, .85) !important;
}
.standard-secondary-button {
    background-image: linear-gradient(180deg, #1a2050 0%, #0b0e24 100%) !important;
    color: var(--au-gold) !important;
    text-shadow: none;
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .50), 0 8px 18px -14px #000 !important;
    animation: none;
}
.standard-secondary-button:hover { background-image: var(--au-foil) !important; color: #1a1500 !important; }

@keyframes au-shimmer {
    0%   { background-position: -160% 0, 0 0; }
    100% { background-position: 260% 0, 0 0; }
}

/* ----------------------------------------------------------------- judul -- */
.container-title, .section-title, .popular-game-title-container .title,
.footer-section-title, .site-description h1, .site-description h2, .site-description h3,
.jackpot-container .title, h1.au-article-title {
    background-image: linear-gradient(180deg, #fffbe0, #ffd700 46%, #c9a227 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--au-gold-hi);
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .55)) drop-shadow(0 0 16px rgba(140, 120, 255, .35));
    text-shadow: none;
}

/* ------------------------------------------------------- panel & kartu ---- */
.popular-games, .jackpot-container, .winners-ticker-container, .sports-platform,
.download-apk-container, .telegram-banner-container > .container > .row > div > a {
    border-radius: 14px;
}
.popular-games, .jackpot-container, .sports-platform {
    background-image:
        radial-gradient(560px 240px at 50% -26%, rgba(120, 110, 255, .22), rgba(120, 110, 255, 0) 70%),
        radial-gradient(420px 200px at 100% 110%, rgba(20, 64, 107, .35), rgba(20, 64, 107, 0) 70%),
        var(--au-panel) !important;
    background-color: transparent !important;
    box-shadow: var(--au-edge), var(--au-glow);
    position: relative;
}
/* tepi holografik (dekorasi, tanpa elemen layout) */
.popular-games::before, .jackpot-container::before, .sports-platform::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(255, 215, 0, .9), rgba(120, 110, 255, .55), rgba(255, 215, 0, 0)) top left / 46% 1px no-repeat,
        linear-gradient(270deg, rgba(255, 215, 0, .9), rgba(20, 64, 107, .8), rgba(255, 215, 0, 0)) top right / 46% 1px no-repeat,
        linear-gradient(90deg, rgba(120, 110, 255, .55), rgba(255, 215, 0, 0)) bottom left / 26% 1px no-repeat,
        linear-gradient(270deg, rgba(255, 215, 0, .45), rgba(255, 215, 0, 0)) bottom right / 26% 1px no-repeat;
}

.game-item .link-container {
    border-radius: 10px;
    position: relative;
    transition: box-shadow .25s ease, transform .25s ease;
}
.game-item:hover .link-container {
    box-shadow: 0 0 0 1px rgba(255, 215, 0, .85), 0 0 28px -6px rgba(120, 110, 255, .75),
                0 16px 28px -20px #000;
    transform: translateY(-2px);
}
.game-item .link-container::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background-image: linear-gradient(150deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, 0) 44%, rgba(140, 120, 255, .28) 100%);
    transition: opacity .28s ease;
}
.game-item:hover .link-container::after { opacity: 1; }
.game-item .game-name { color: var(--au-gold-hi); transition: color .2s ease; }
.game-item:hover .game-name { color: #fff; }

/* ------------------------------------------------- tab provider (carousel) */
.nav-tabs { border-bottom-color: transparent !important; }
#popular_providers > li > a, .target-tabs > li > a {
    background-color: transparent !important;
    background-image: linear-gradient(180deg, rgba(38, 44, 92, .45), rgba(10, 12, 30, .85));
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .18);
    border-radius: 8px;
    transition: box-shadow .22s ease, filter .22s ease;
}
#popular_providers > li > a:hover, .target-tabs > li > a:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .65), 0 0 20px -6px rgba(120, 110, 255, .8);
    filter: brightness(1.12);
}
#popular_providers > li.active > a, .target-tabs > li.active > a,
#popular_providers > li.active > a:hover, .target-tabs > li.active > a:hover {
    background-image:

        radial-gradient(130% 100% at 50% 0%, rgba(255, 215, 0, .30) 0%, rgba(255, 215, 0, 0) 70%),
        linear-gradient(180deg, #2a2f63 0%, #0d1030 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .85), 0 0 24px -8px rgba(255, 215, 0, .65);
}
.scrtabs-tab-scroll-arrow, .sg-provider-nav {
    color: var(--au-gold) !important;
    background-image: linear-gradient(180deg, #232a5e, #0b0e24) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .35);
    border-radius: 6px;
}
.scrtabs-tab-scroll-arrow:hover { filter: brightness(1.25); }

/* hitungan & pemenang ------------------------------------------------ */
.jackpot-winner-title, .winners-ticker-container .title {
    color: var(--au-gold);
    letter-spacing: .10em;
    box-shadow: inset 0 -1px 0 rgba(255, 215, 0, .20);
}
.winner-amount, .winners-ticker .winner-amount, .amount {
    color: var(--au-gold-hi);
    font-family: "digital_sans_ef_medium", "Gilroy-Bold", monospace;
    text-shadow: 0 0 12px rgba(255, 215, 0, .50), 0 1px 0 #000;
}
#progressive_jackpot, .progressive-jackpot-value, .jackpot-value {
    color: var(--au-gold-hi) !important;
    font-family: "Open24DisplaySt", "digital_sans_ef_medium", monospace;
    letter-spacing: .03em;
    text-shadow: 0 0 20px rgba(255, 215, 0, .60), 0 0 40px rgba(120, 110, 255, .35), 0 2px 0 #000;
}

/* ---------------------------------------------------------- unduh APK ---- */
.download-apk-container {
    background-image:
        radial-gradient(700px 300px at 18% 0%, rgba(120, 110, 255, .22) 0%, rgba(120, 110, 255, 0) 68%),
        radial-gradient(560px 300px at 88% 100%, rgba(20, 64, 107, .55) 0%, rgba(20, 64, 107, 0) 70%),
        linear-gradient(180deg, #111634 0%, #080a18 100%) !important;
    background-color: transparent !important;
    box-shadow: inset 0 1px 0 rgba(255, 215, 0, .30), inset 0 -1px 0 rgba(120, 110, 255, .30);
}
.download-apk-container .title, .download-apk-container h2, .download-apk-container h3 {
    color: var(--au-gold-hi);
}

/* banner promo / hero ------------------------------------------------ */
.banner-group-vertical img, .banner-group img, .slick-slide img,
.telegram-banner-container img, .popup-thumbnail img {
    border-radius: 12px;
    object-fit: cover;
}
.banner-group-vertical img, .banner-group img, .slick-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    box-shadow: var(--au-edge), 0 24px 44px -32px #000;
}
.telegram-banner-container img { max-height: 188px; }

/* --------------------------------------------------------------- footer -- */
.site-footer, footer.site-footer {
    background-image:
        radial-gradient(900px 380px at 50% 0%, rgba(120, 110, 255, .16) 0%, rgba(120, 110, 255, 0) 70%),
        radial-gradient(700px 340px at 10% 100%, rgba(20, 64, 107, .35) 0%, rgba(20, 64, 107, 0) 70%),
        linear-gradient(180deg, #0a0d1e 0%, #07080f 100%) !important;
    background-color: transparent !important;
    box-shadow: inset 0 1px 0 rgba(255, 215, 0, .26);
    color: var(--au-muted);
}
.footer-separator {
    background-image: linear-gradient(90deg, rgba(255, 215, 0, 0), rgba(255, 215, 0, .55) 32%, rgba(120, 110, 255, .55) 68%, rgba(120, 110, 255, 0));
    background-color: transparent;
    opacity: 1;
}
.footer-links a, .site-description a { color: var(--au-gold); text-decoration: none; }
.footer-links a:hover, .site-description a:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 215, 0, .60);
}
.site-description p { color: #cfd4ee; line-height: 1.78; }
.site-description strong { color: var(--au-gold-hi); }

.bank-logo-wrapper {
    background-image: linear-gradient(180deg, rgba(120, 110, 255, .16), rgba(255, 215, 0, .06));
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .22), 0 8px 16px -14px #000;
    border-radius: 8px;
    transition: box-shadow .22s ease, transform .22s ease;
}
.bank-logo-wrapper:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .75), 0 0 20px -8px rgba(120, 110, 255, .8);
    transform: translateY(-1px);
}
.bank-logo-wrapper img { filter: none; }

/* --------------------------------------------------------- modal & form -- */
.modal-content {
    background-image:
        radial-gradient(600px 240px at 50% 0%, rgba(120, 110, 255, .22), rgba(120, 110, 255, 0) 70%),
        var(--au-panel);
    background-color: transparent;
    box-shadow: var(--au-edge), 0 40px 90px -46px #000;
    border-radius: 14px;
}
.modal-header { box-shadow: inset 0 -1px 0 rgba(255, 215, 0, .20); }
.modal-title { color: var(--au-gold-hi); letter-spacing: .04em; }
.modal-backdrop.in { background-color: #05060f; opacity: .86; }
.close { color: var(--au-gold); opacity: .85; text-shadow: 0 0 10px rgba(255, 215, 0, .55); }
.form-control {
    background-color: #0b0e24;
    color: var(--au-starlight);
    border-color: rgba(255, 215, 0, .26) !important;
}
.form-control:focus {
    border-color: rgba(255, 215, 0, .70) !important;
    box-shadow: 0 0 0 2px rgba(120, 110, 255, .22);
}
.login-panel { background-image: var(--au-panel); box-shadow: var(--au-edge); }

/* -------------------------------------------------------------- aksesori -- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 2px solid rgba(255, 215, 0, .85);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .btn, .btn-primary, .download-apk-btn, .register-button { animation: none; }
    .game-item .link-container, .bank-logo-wrapper { transition: none; }
}
