/* ============================================================================
   SUNGAITOTO — "AURORA GLASS" skin  (batch 3)
   #FFD700 gold · #1A2A6C navy · tints / shades / neutral ink & pearl
   Language: liquid glass & jewel gloss — mesh-gradient light pools, frosted
   translucent panels, specular sheens, soft depth shadows, rounded jewel
   corners and floating gold bokeh. Deliberately unlike the two skins before it
   (batch 1 = soft glow, batch 2 = flat art-deco geometry).
   Colour / border / shadow / filter / radius only — no structural changes.
   ========================================================================== */

:root {
    /* gold */
    --g0: #fffdf2;
    --g1: #fff6cf;
    --g2: #ffe98a;
    --g3: #ffd700;
    --g4: #e0b429;
    --g5: #a67c12;
    --g6: #6b4f09;
    /* navy */
    --n0: #f4f7ff;
    --n1: #cfd8f0;
    --n2: #93a3ce;
    --n3: #4d69b8;
    --n4: #2f4aa8;
    --n5: #1a2a6c;
    --n6: #101a4a;
    --n7: #070c22;
    --ink: #03050f;
    --pearl: #fbf7ea;
    --smoke: #c9d3ea;

    /* glass & gloss faces ------------------------------------------- */
    --glass: linear-gradient(158deg, rgba(255, 215, 0, .13) 0%, rgba(28, 46, 118, .88) 34%, rgba(6, 10, 28, .95) 100%);
    --glass-soft: linear-gradient(158deg, rgba(255, 215, 0, .09) 0%, rgba(20, 33, 92, .90) 48%, rgba(4, 7, 20, .96) 100%);
    --glass-ink: linear-gradient(180deg, rgba(12, 19, 48, .92) 0%, rgba(4, 7, 20, .96) 100%);
    --spec: linear-gradient(180deg, rgba(255, 253, 242, .62) 0%, rgba(255, 253, 242, .06) 46%, rgba(255, 253, 242, 0) 72%);
    --goldgloss: linear-gradient(180deg, #fffdf2 0%, #ffe98a 24%, #ffd700 52%, #dfb42d 74%, #9a7410 100%);
    --goldgloss-x: linear-gradient(96deg, #96700f 0%, #e0b429 18%, #fff6cf 38%, #ffd700 58%, #e0b429 80%, #96700f 100%);
    --navyglass: linear-gradient(180deg, #28418f 0%, #1a2a6c 48%, #0b1338 100%);
    --aurora: radial-gradient(60% 70% at 8% -10%, rgba(255, 215, 0, .30) 0%, rgba(255, 215, 0, 0) 62%),
              radial-gradient(55% 60% at 88% 4%, rgba(77, 105, 184, .55) 0%, rgba(77, 105, 184, 0) 66%),
              radial-gradient(70% 60% at 50% 108%, rgba(26, 42, 108, .85) 0%, rgba(26, 42, 108, 0) 70%);
    --rim: inset 0 1px 0 rgba(255, 253, 242, .55), inset 0 -20px 34px -26px rgba(0, 0, 0, .85),
           0 0 0 1px rgba(255, 215, 0, .40), 0 22px 44px -26px rgba(0, 0, 0, .95);
    --rim-hover: inset 0 1px 0 rgba(255, 253, 242, .8), inset 0 -22px 36px -24px rgba(0, 0, 0, .9),
                 0 0 0 1px rgba(255, 215, 0, .85), 0 26px 52px -24px rgba(0, 0, 0, 1),
                 0 0 26px -10px rgba(255, 215, 0, .55);
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --carve: 0 1px 0 rgba(0, 0, 0, .7), 0 0 2px rgba(0, 0, 0, .6);
}

/* ------------------------------------------------------------------ canvas */
html {
    background: var(--ink);
}

body {
    background-color: var(--ink);
    background-image:
        var(--aurora),
        linear-gradient(180deg, #0a1338 0%, #070c22 34%, #040612 68%, #02030a 100%);
    background-attachment: fixed, fixed;
    color: var(--smoke);
    -webkit-font-smoothing: antialiased;
}

/* floating gold bokeh + a faint glass grid, painted with pure CSS */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 215, 0, .55) 0 1.2px, rgba(255, 215, 0, 0) 2px),
        radial-gradient(circle, rgba(255, 253, 242, .35) 0 1px, rgba(255, 253, 242, 0) 1.8px),
        radial-gradient(circle, rgba(77, 105, 184, .45) 0 1.4px, rgba(77, 105, 184, 0) 2.4px);
    background-size: 46px 46px, 73px 73px, 97px 97px;
    background-position: 0 0, 21px 33px, 47px 9px;
    opacity: .55;
    mix-blend-mode: screen;
}

/* soft gold horizon glow pinned to the top edge */
body::after {
    content: "";
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 70;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--g5) 14%, var(--g3) 40%, var(--g0) 50%, var(--g3) 60%, var(--g5) 86%, transparent);
    box-shadow: 0 0 12px rgba(255, 215, 0, .55);
}

::selection {
    background: rgba(255, 215, 0, .9);
    color: #0a1030;
}

a {
    color: var(--g2);
    text-decoration: none;
    transition: color .16s ease, text-shadow .16s ease;
}

a:hover,
a:focus {
    color: var(--g0);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 215, 0, .55);
}

h1, h2, h3, h4, h5 {
    color: var(--pearl);
    text-shadow: var(--carve);
}

/* ------------------------------------------------------------------ topbar */
.topbar-container {
    background-image: var(--glass-ink);
    border-bottom: 1px solid rgba(255, 215, 0, .26);
    box-shadow: inset 0 -1px 0 rgba(255, 253, 242, .06), 0 10px 26px -22px #000;
    position: relative;
}

.topbar-item > a,
.topbar-item > span,
.topbar-left-section i {
    color: var(--g1);
}

.topbar-item:hover > a,
.topbar-item:hover > span {
    color: var(--g3);
}

.language-selector-trigger {
    background: rgba(255, 253, 242, .06) !important;
    border: 1px solid rgba(255, 215, 0, .30) !important;
    border-radius: var(--r-sm);
    color: var(--g1) !important;
    backdrop-filter: blur(6px);
}

.topbar-item:hover .language-selector-trigger {
    border-color: var(--g3) !important;
    color: var(--g0) !important;
    box-shadow: 0 0 14px -4px rgba(255, 215, 0, .8);
}

.language-selector {
    background-image: var(--glass-ink);
    border: 1px solid rgba(255, 215, 0, .35);
    border-radius: var(--r-md);
    backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 26px 46px -28px #000, inset 0 1px 0 rgba(255, 253, 242, .35);
    overflow: hidden;
}

.language-selector li {
    border-bottom: 1px solid rgba(255, 215, 0, .10);
    color: var(--smoke);
}

.language-selector li:hover {
    background-image: var(--glass);
    color: var(--g0);
}

/* icon sprites are flat white: gild them with a metallic filter */
i[data-icon][style*="background-image"]:not([data-language]) {
    filter: brightness(0) saturate(100%) invert(84%) sepia(66%) saturate(1400%) hue-rotate(357deg) brightness(106%) contrast(102%) drop-shadow(0 1px 1px rgba(0, 0, 0, .55));
    transition: filter .16s linear;
}

a:hover i[data-icon][style*="background-image"]:not([data-language]),
.topbar-item:hover i[data-icon][style*="background-image"]:not([data-language]),
.btn:hover i[data-icon][style*="background-image"]:not([data-language]),
.top-menu > li > a:hover i[data-icon]:not([data-language]) {
    filter: brightness(0) saturate(100%) invert(94%) sepia(52%) saturate(2000%) hue-rotate(357deg) brightness(114%) contrast(104%) drop-shadow(0 0 7px rgba(255, 215, 0, .8));
}

/* ------------------------------------------------------------- site header */
.site-header {
    background-image:
        radial-gradient(120% 130% at 50% -40%, rgba(255, 215, 0, .16) 0%, rgba(255, 215, 0, 0) 58%),
        var(--glass-soft);
    border-bottom: 1px solid rgba(255, 215, 0, .28);
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .30), 0 16px 34px -28px #000;
    backdrop-filter: blur(10px) saturate(130%);
    position: relative;
}

.site-header .logo a,
.site-header .logo a[style*="logo-background"] {
    background-image: var(--glass-ink) !important;
    border-radius: var(--r-lg);
    box-shadow: var(--rim);
}

.site-header .logo > picture img,
.site-header .logo picture img,
.site-header .logo > img {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .8));
    transition: filter .2s ease, transform .2s ease;
}

.site-header .logo a:hover img {
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, .7)) saturate(1.1);
    transform: translateY(-1px);
}

/* -------------------------------------------------------------------- menu */
.top-menu,
.top-menu > li > a {
    background-color: transparent;
}

.top-menu > li > a {
    color: var(--g1);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-radius: var(--r-sm);
    transition: color .16s ease, background-image .16s ease, box-shadow .16s ease, transform .16s ease;
}

.top-menu > li > a .foreground,
.top-menu > li > a .background {
    display: none !important;
}

.top-menu > li > a:hover {
    color: var(--g0);
    background-image: linear-gradient(180deg, rgba(255, 215, 0, .22), rgba(255, 215, 0, .06));
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .45), 0 0 18px -8px rgba(255, 215, 0, .8);
    text-shadow: 0 0 10px rgba(255, 215, 0, .55);
}

.top-menu > li.active > a {
    color: #0a1030;
    background-image: var(--goldgloss);
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .9), 0 10px 20px -12px rgba(0, 0, 0, .9);
    text-shadow: none;
}

.top-menu > li.active > a:hover {
    color: #0a1030;
    background-image: var(--goldgloss-x);
}

.menu-slide .slick-next,
.menu-slide .slick-prev {
    background-color: rgba(255, 253, 242, .06);
    border-radius: 50%;
    filter: sepia(1) saturate(4) hue-rotate(357deg) brightness(1.2);
}

/* ------------------------------------------------------------------ banner */
.banner {
    background: transparent;
}

.banner img {
    border-radius: var(--r-lg);
    box-shadow: var(--rim);
}

.banner ul.slick-dots li button {
    background: rgba(255, 253, 242, .22);
    border: 1px solid rgba(255, 215, 0, .35);
    border-radius: 50%;
    opacity: 1;
}

.banner .slick-dots li.slick-active button {
    background-image: var(--goldgloss);
    box-shadow: 0 0 12px rgba(255, 215, 0, .8);
}

/* ------------------------------------------------------------ ticker strip */
.announcement-container {
    background-image: var(--glass-soft);
    border: 1px solid rgba(255, 215, 0, .22);
    border-radius: var(--r-md);
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .28), 0 20px 38px -30px #000;
    backdrop-filter: blur(8px) saturate(125%);
}

.announcement-container * {
    color: var(--pearl);
}

.announcement-container a:hover {
    color: var(--g3);
}

.announcement-list li:before {
    color: var(--g4);
}

/* ------------------------------------------------------------------ jackpot */
.jackpot-play-section {
    background-image:
        radial-gradient(90% 150% at 50% 128%, rgba(255, 215, 0, .20) 0%, rgba(255, 215, 0, 0) 66%),
        var(--glass-soft);
    border: 1px solid rgba(255, 215, 0, .26);
    border-radius: var(--r-lg);
    box-shadow: var(--rim);
    backdrop-filter: blur(10px) saturate(130%);
    overflow: hidden;
}

.jackpot-border-container {
    background: rgba(3, 6, 18, .55) !important;
    border: 1px solid rgba(255, 215, 0, .55) !important;
    border-radius: 999px;
    box-shadow: inset 0 2px 0 rgba(255, 253, 242, .30), inset 0 -18px 28px -22px #000,
                0 0 22px -10px rgba(255, 215, 0, .75);
}

.jackpot-inner-container * {
    color: var(--pearl);
}

.jackpot-amount,
.jackpot-container .jackpot-currency,
.jackpot-inner-container .h1,
.jackpot-inner-container .h2,
#progressive_jackpot {
    color: var(--g3);
    background-image: linear-gradient(180deg, #fffdf2 0%, #ffe98a 26%, #ffd700 55%, #d9ae2c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .7));
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}

/* the progressive figure comes from a remote API that cannot work offline:
   hide whatever placeholder the script injects and print a static figure */
#progressive_jackpot {
    font-size: 0 !important;
    background-image: none;
    -webkit-text-fill-color: currentColor;
}

#progressive_jackpot::after {
    content: "88.888.000";
    display: inline-block;
    font-size: clamp(20px, 2.7vw, 40px);
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--g3);
    -webkit-text-fill-color: var(--g3);
    background-image: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .75), 0 0 18px rgba(255, 215, 0, .35);
}

.jackpot-play-section img {
    opacity: 1 !important;
    filter: sepia(1) saturate(4.2) hue-rotate(357deg) brightness(1.14) contrast(1.05);
}

.jackpot-play-section .play-now {
    background-image: var(--goldgloss);
    color: #0a1030 !important;
    -webkit-text-fill-color: #0a1030;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .95), 0 12px 22px -14px #000;
    transition: transform .16s ease, box-shadow .16s ease, background-image .16s ease, color .16s ease;
}

.jackpot-play-section .play-now:hover {
    background-image: var(--navyglass);
    color: var(--g3) !important;
    -webkit-text-fill-color: var(--g3);
    box-shadow: inset 0 0 0 1px var(--g3), inset 0 1px 0 rgba(255, 253, 242, .3), 0 0 22px -8px rgba(255, 215, 0, .8);
    transform: translateY(-1px);
}

/* the "jackpot play" wordmark that sits inside the capsule */
.jackpot-play-text,
.jackpot-play-text label,
.jackpot-play-text span,
.jackpot-play-section .jackpot-play-text * {
    color: var(--g3) !important;
    -webkit-text-fill-color: var(--g3);
    background-image: none !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .75);
    letter-spacing: .05em;
}

.jackpot-play-text label {
    color: var(--g2) !important;
    -webkit-text-fill-color: var(--g2);
}

/* ------------------------------------------------------------ section heads */
.popular-game-title-container .container-title,
.footer-section-title,
.emailbox-heading {
    color: var(--g2);
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .8);
    position: relative;
}

.popular-game-title-container .container-title:after {
    content: "";
    display: block;
    width: 62%;
    max-width: 440px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background-image: linear-gradient(90deg, transparent, var(--g4) 20%, var(--g3) 50%, var(--g4) 80%, transparent);
    box-shadow: 0 0 14px -2px rgba(255, 215, 0, .8);
}

.popular-game-title-container {
    position: relative;
}

.popular-game-title-container .container-title > span,
.popular-game-title-container .container-title > a,
.container-title > span {
    background-image: var(--goldgloss) !important;
    background-color: transparent !important;
    color: #0a1030 !important;
    -webkit-text-fill-color: #0a1030;
    letter-spacing: .12em;
    font-weight: 800;
    border-radius: var(--r-sm);
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .9), 0 12px 24px -16px #000;
    text-shadow: none;
}

.popular-game-title-container .container-title > span::after,
.container-title > span::after {
    background-color: #0f1840 !important;
    background-image: var(--navyglass) !important;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .25), 0 0 0 1px rgba(255, 215, 0, .35);
}

/* -------------------------------------------------------------- game tiles */
.link-container,
.game-wrapper .link-container {
    background-image: var(--glass-ink);
    border: 1px solid rgba(255, 215, 0, .22);
    border-radius: var(--r-md);
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .22), 0 18px 34px -26px #000;
    backdrop-filter: blur(6px) saturate(125%);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.game-item:hover .link-container {
    border-color: rgba(255, 215, 0, .85);
    box-shadow: var(--rim-hover);
    transform: translateY(-3px);
}

.game-item .wrapper-container img,
.games-group img,
.game-wrapper img {
    border-radius: var(--r-md);
    transition: transform .25s ease, filter .25s ease;
}

.game-item:hover .wrapper-container img {
    transform: scale(1.03);
    filter: saturate(1.08) brightness(1.03);
}

.wrapper-container .background,
.wrapper-container .foreground {
    border-radius: var(--r-md);
}

.game-item:hover .background {
    opacity: .9;
}

.play-now {
    background-image: var(--goldgloss);
    color: #0a1030 !important;
    -webkit-text-fill-color: #0a1030;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .95), 0 10px 18px -12px #000;
    opacity: 1;
    transition: background-image .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.play-now:hover,
.game-item .play-now:hover,
.link-container .play-now:hover {
    background-image: var(--navyglass);
    color: var(--g3) !important;
    -webkit-text-fill-color: var(--g3);
    box-shadow: inset 0 0 0 1px var(--g3), 0 0 20px -8px rgba(255, 215, 0, .85);
    transform: translateY(-1px);
}

.game-name {
    color: var(--pearl);
    letter-spacing: .03em;
    text-shadow: var(--carve);
}

.game-item:hover .game-name {
    color: var(--g2);
}

.game-item .free-play {
    background-color: rgba(6, 10, 26, .88);
    border: 1px solid rgba(255, 215, 0, .40);
    color: var(--g2) !important;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .22);
    transition: background-image .16s ease, color .16s ease;
}

.game-item .free-play:hover,
.game-item:hover .free-play:hover {
    background-image: var(--goldgloss);
    color: #0a1030 !important;
}

.hover-list > li a {
    color: var(--n1);
    border-radius: var(--r-sm);
    letter-spacing: .04em;
    transition: color .16s ease, background-image .16s ease, box-shadow .16s ease;
}

.hover-list > li a:hover {
    color: var(--g0);
    background-image: linear-gradient(90deg, rgba(255, 215, 0, .26), rgba(255, 215, 0, .04));
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .35);
}

.hover-list > li.active a {
    color: #0a1030;
    background-image: var(--goldgloss);
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .9), 0 10px 18px -14px #000;
}

.hover-list > li.active a:hover {
    color: #0a1030;
}

/* ---------------------------------------------------------------- providers */
.provider-container {
    background-image: var(--glass-ink);
    border: 1px solid rgba(255, 215, 0, .18);
    border-radius: var(--r-md);
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .18), 0 14px 28px -24px #000;
    backdrop-filter: blur(5px) saturate(120%);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.provider-container:hover {
    border-color: rgba(255, 215, 0, .8);
    box-shadow: var(--rim-hover);
    transform: translateY(-2px);
}

.provider-container *,
.provider-container h4,
.provider-container h5,
.provider-container span,
.provider-container div {
    color: var(--pearl) !important;
}

.provider-container > h5 {
    color: var(--pearl);
    letter-spacing: .04em;
    text-shadow: var(--carve);
}

.provider-container:hover > h5 {
    color: var(--g2);
}

.provider-container img,
.games-group img {
    filter: brightness(1.08);
}

/* ----------------------------------------------------------- winner ticker */
.winner-info {
    background-image: var(--glass-soft);
    border: 1px solid rgba(255, 215, 0, .20);
    border-radius: var(--r-md);
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .22), 0 12px 24px -22px #000;
    backdrop-filter: blur(6px);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.winner-info:hover {
    border-color: rgba(255, 215, 0, .75);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .35), 0 0 20px -10px rgba(255, 215, 0, .8);
}

.winner-amount {
    color: var(--g3) !important;
    font-weight: 800;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .8);
}

/* ------------------------------------------------------------ info / apk */
.site-info-container,
.site-info {
    background-image: var(--glass-soft);
    border: 1px solid rgba(255, 215, 0, .20);
    border-radius: var(--r-lg);
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .26), 0 22px 44px -34px #000;
    backdrop-filter: blur(8px) saturate(125%);
}

.site-info-title h3 {
    color: var(--g2);
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 215, 0, .28);
    padding-bottom: 6px;
}

.site-info-title i[data-icon] {
    filter: brightness(0) saturate(100%) invert(84%) sepia(66%) saturate(1400%) hue-rotate(357deg) brightness(108%) contrast(102%);
}

.site-info *,
.site-info p,
.site-info div,
.site-info span,
.site-info li,
.site-info-description * {
    color: var(--pearl) !important;
}

.site-info-title h3 {
    color: var(--g2) !important;
    border-bottom-color: rgba(255, 215, 0, .38);
}

.site-info-title p {
    color: var(--n1) !important;
}

.site-info-description > p,
.site-info-description h4 + p {
    color: var(--g2) !important;
}

.site-info-description h4,
.with-seperator h4 {
    color: var(--g1) !important;
}

.site-info-description a,
.site-info-description a * {
    color: var(--g3) !important;
}

.site-info-container .site-info-description + .site-info-description {
    border-top: 1px solid rgba(255, 215, 0, .14);
}

.site-info-description ul li a,
.social-media-list li a {
    background-image: var(--navyglass);
    border: 1px solid rgba(255, 215, 0, .35);
    border-radius: 999px;
    color: var(--g2) !important;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .3);
}

.site-info-description ul li a:hover,
.social-media-list li a:hover {
    background-image: var(--goldgloss);
    color: #0a1030 !important;
    box-shadow: 0 0 22px -8px rgba(255, 215, 0, .9);
}

.site-info-description ul li a img,
.social-media-list li a img,
.telegram-btn img {
    filter: brightness(0) saturate(100%) invert(88%) sepia(60%) saturate(1500%) hue-rotate(357deg) brightness(108%);
}

.site-info-description ul li a:hover img,
.social-media-list li a:hover img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(38%) saturate(900%) hue-rotate(190deg) brightness(96%);
}

.site-info-description .btn,
.site-info-description button,
.site-info .livechat-btn,
.site-info .chat-button {
    background-image: var(--navyglass) !important;
    border: 1px solid rgba(255, 215, 0, .45) !important;
    border-radius: 999px;
    color: var(--g2) !important;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .3);
}

.site-info-description .btn:hover,
.site-info-description button:hover,
.site-info .livechat-btn:hover,
.site-info .chat-button:hover {
    background-image: var(--goldgloss) !important;
    color: #0a1030 !important;
}

.with-seperator h4 {
    color: var(--g2);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.with-seperator p {
    color: var(--smoke);
}

.download-apk-container {
    background-image:
        radial-gradient(80% 120% at 12% 0%, rgba(255, 215, 0, .20) 0%, rgba(255, 215, 0, 0) 62%),
        var(--glass-soft);
    border: 1px solid rgba(255, 215, 0, .26);
    border-radius: var(--r-lg);
    box-shadow: var(--rim);
    backdrop-filter: blur(10px) saturate(130%);
    overflow: hidden;
}

.download-apk-container img {
    border-radius: var(--r-md);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .7));
}

.download-apk .h2 > strong,
.download-apk > div {
    color: var(--g2);
}

.download-apk .download-apk-detail {
    color: var(--n1);
}

.download-apk .btn {
    background-image: var(--goldgloss);
    color: #0a1030 !important;
    -webkit-text-fill-color: #0a1030;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .95), 0 12px 22px -14px #000;
    transition: transform .16s ease, box-shadow .16s ease, background-image .16s ease, color .16s ease;
}

.download-apk .btn:hover {
    background-image: var(--navyglass);
    color: var(--g3) !important;
    -webkit-text-fill-color: var(--g3);
    box-shadow: inset 0 0 0 1px var(--g3), 0 0 22px -8px rgba(255, 215, 0, .8);
    transform: translateY(-1px);
}

.download-apk-qr-code img {
    background: #fff;
    border-radius: var(--r-sm);
    box-shadow: 0 0 0 3px rgba(3, 5, 15, .9), 0 0 20px -6px rgba(255, 215, 0, .8);
}

/* blocks revealed by a scroll script that never runs offline */
.download-apk,
.download-apk > div,
.download-apk-info,
.download-apk-section,
/* NOTE: .popular-games tiles must keep their idle overlay hidden,
   otherwise the COBA / MAIN plate covers the game artwork. */

.site-info-container img,
.powered-by-logo,
.certification-container img,
.footer-certification img {
    filter: brightness(1.16) contrast(1.04);
}

/* ------------------------------------------------------------------- forms */
.form-control {
    background-color: rgba(5, 9, 24, .85);
    border: 1px solid rgba(255, 215, 0, .28);
    border-radius: var(--r-sm);
    color: var(--pearl);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55), inset 0 -1px 0 rgba(255, 253, 242, .10);
    backdrop-filter: blur(6px);
}

.form-control:focus {
    border-color: var(--g3);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55), 0 0 0 3px rgba(255, 215, 0, .18), 0 0 18px -6px rgba(255, 215, 0, .9);
    color: var(--g0);
}

.form-control::placeholder {
    color: var(--n2);
}

.standard-inline-form-group .btn {
    background-image: var(--goldgloss);
    color: #0a1030 !important;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .95), 0 12px 22px -16px #000;
}

.standard-inline-form-group .btn:hover {
    background-image: var(--navyglass);
    color: var(--g3) !important;
    box-shadow: inset 0 0 0 1px var(--g3), 0 0 20px -8px rgba(255, 215, 0, .8);
}

.standard-secondary-button.btn-secondary {
    background-image: var(--navyglass);
    color: var(--g2) !important;
    border: 1px solid rgba(255, 215, 0, .45);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .3);
}

.btn-secondary:hover,
.standard-secondary-button.btn-secondary:hover {
    background-image: var(--goldgloss);
    color: #0a1030 !important;
    border-color: var(--g0);
}

.forgot-password-link {
    color: var(--n2) !important;
}

.forgot-password-link:hover {
    color: var(--g3) !important;
}

.alert-danger {
    background-color: rgba(60, 12, 18, .85);
    border: 1px solid #8a3a44;
    border-radius: var(--r-sm);
    color: #ffdfe2;
}

/* ------------------------------------------------------------- login panel */
.login-panel .register-button,
.login-panel .login-button {
    background-image: var(--goldgloss);
    color: #0a1030 !important;
    -webkit-text-fill-color: #0a1030;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .95), 0 12px 22px -16px #000;
    transition: background-image .16s ease, color .16s ease, box-shadow .16s ease;
}

.login-panel .register-button:hover,
.login-panel .login-button:hover {
    background-image: var(--goldgloss-x);
    color: #0a1030 !important;
    -webkit-text-fill-color: #0a1030;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .95), 0 0 24px -8px rgba(255, 215, 0, .9);
}

.login-panel .forgot-password-link {
    color: var(--n2) !important;
}

/* ------------------------------------------------------------------ modals */
.modal-content {
    background-image: var(--glass-ink);
    border: 1px solid rgba(255, 215, 0, .35);
    border-radius: var(--r-lg);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 40px 70px -40px #000, inset 0 1px 0 rgba(255, 253, 242, .35);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 215, 0, .26);
    background-image: linear-gradient(180deg, rgba(255, 215, 0, .16), rgba(255, 215, 0, 0));
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.modal-title {
    color: var(--g2);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.modal-footer {
    border-top: 1px solid rgba(255, 215, 0, .26);
}

.modal-header .close {
    color: var(--g2);
    opacity: 1;
    text-shadow: none;
}

.modal-header .close:hover {
    color: var(--g0);
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, .8);
}

/* ------------------------------------------------------------------- tabs */
.nav-tabs {
    border-bottom: 1px solid rgba(255, 215, 0, .26);
}

.nav-tabs > li > a {
    color: var(--n1) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: var(--r-sm) var(--r-sm) 0 0 !important;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-weight: 700;
    transition: color .16s ease, background-image .16s ease;
}

.nav-tabs > li > a:hover {
    color: var(--g3) !important;
    background-image: linear-gradient(180deg, rgba(255, 215, 0, .18), rgba(255, 215, 0, 0)) !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-image: var(--goldgloss) !important;
    color: #0a1030 !important;
    border: 0 !important;
    border-radius: var(--r-sm) var(--r-sm) 0 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .9), 0 0 22px -10px rgba(255, 215, 0, .9);
}

/* ------------------------------------------------------------------ tables */
table > thead > tr > th {
    background-image: var(--navyglass);
    color: var(--g2);
    border-bottom: 1px solid rgba(255, 215, 0, .35);
    letter-spacing: .05em;
    text-transform: uppercase;
}

table > tbody > tr > td {
    border-top: 1px solid rgba(255, 215, 0, .12);
    color: var(--smoke);
}

table > tbody > tr:hover > td {
    background-color: rgba(255, 215, 0, .06);
}

/* ---------------------------------------------------------------- progress */
.progress {
    background-color: rgba(5, 9, 24, .9);
    border: 1px solid rgba(255, 215, 0, .30);
    border-radius: 999px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6);
    overflow: hidden;
}

.progress-bar-success,
.progress > div,
.progress div[style*="width"] {
    background-image: var(--goldgloss-x) !important;
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .85), 0 0 16px -4px rgba(255, 215, 0, .8);
    border-radius: 999px;
}

/* ------------------------------------------------------------------ footer */
footer,
.site-footer {
    background-image:
        radial-gradient(120% 60% at 50% -10%, rgba(255, 215, 0, .16) 0%, rgba(255, 215, 0, 0) 60%),
        linear-gradient(180deg, #0a1136 0%, #050920 46%, #02030a 100%);
    border-top: 1px solid rgba(255, 215, 0, .45);
    box-shadow: inset 0 1px 0 rgba(255, 253, 242, .28), 0 -20px 44px -30px #000;
    color: var(--smoke);
}

footer a,
.site-footer a {
    color: var(--g1) !important;
}

footer a:hover,
.site-footer a:hover {
    color: var(--g3) !important;
}

.footer-separator {
    height: 1px;
    border: 0;
    background-image: linear-gradient(90deg, transparent, var(--g4) 16%, var(--g3) 50%, var(--g4) 84%, transparent);
    box-shadow: 0 0 14px -2px rgba(255, 215, 0, .8);
    opacity: .95;
}

.footer-links a,
.site-footer .footer-links a {
    color: var(--g1) !important;
}

.footer-links a:hover,
.site-footer .footer-links a:hover {
    color: var(--g3) !important;
}

.footer-links li + li:before {
    color: var(--g4);
}

.site-description h1 {
    color: var(--g2);
    text-shadow: var(--carve);
}

.site-description p {
    color: var(--smoke);
    line-height: 1.7;
}

.site-description p a {
    color: var(--g3);
    border-bottom: 1px solid rgba(255, 215, 0, .45);
}

.site-description p a:hover {
    color: var(--g0);
    border-bottom-color: var(--g0);
}

.copyright {
    background-image: var(--glass-ink);
    border-top: 1px solid rgba(255, 215, 0, .18);
    color: var(--n2);
}

.powered-by-logo {
    filter: sepia(1) saturate(3.3) hue-rotate(357deg) brightness(1.12);
    opacity: .92;
}

.powered-by-logo:hover {
    filter: sepia(1) saturate(4.6) hue-rotate(357deg) brightness(1.4);
    opacity: 1;
}

/* --------------------------------------------------------------- scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #040612;
}

::-webkit-scrollbar-thumb {
    background-image: linear-gradient(180deg, #a67c12, #ffd700 42%, #a67c12);
    border: 2px solid #040612;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background-image: linear-gradient(180deg, #e0b429, #fffdf2 46%, #e0b429);
}

/* --------------------------------------------------------------- utilities */
.topbar-container,
.site-header,
.download-apk-container,
.announcement-container,
.jackpot-play-section {
    position: relative;
}

.site-header:after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: 1px;
    background-image: linear-gradient(90deg, transparent, rgba(255, 215, 0, .8), transparent);
    pointer-events: none;
}

/* ------------------------------------------------------------------ mobile */
@media (max-width: 991px) {
    .top-menu > li > a {
        letter-spacing: .04em;
    }
}

@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    body::before {
        background-size: 40px 40px, 61px 61px, 83px 83px;
        opacity: .45;
    }

    .site-header .logo > picture img,
    .site-header .logo picture img,
    .site-header .logo > img {
        max-width: 58vw;
        height: auto;
    }

    .top-menu > li > a {
        font-size: 12px;
        letter-spacing: .02em;
        text-transform: none;
    }

    .announcement-container {
        flex-wrap: wrap;
        row-gap: 4px;
        overflow: hidden;
    }

    .announcement-container .tickercontainer,
    .announcement-container .mask {
        max-width: 100%;
        overflow: hidden;
    }

    .announcement-container > [data-section="title"],
    .announcement-container > [data-section="announcements"],
    .announcement-container > [data-section="date"] {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    /* the desktop artwork blocks overflow the 390px column: keep them inside */
    .popular-games .animated-image,
    .popular-games img.animated-image,
    .popular-games .game-item img {
        max-width: 100%;
        height: auto;
    }

    .download-apk .h2,
    .download-apk .h2 > strong {
        font-size: 21px !important;
        line-height: 1.3;
        letter-spacing: .01em;
    }

    .download-apk .h3,
    .download-apk-detail,
    .download-apk p {
        font-size: 13px !important;
        line-height: 1.6;
    }

    .download-apk-info,
    .download-apk-section {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }

    .download-apk-section > span {
        flex: 1 0 100%;
        text-align: center;
    }

    /* the provider tab artwork is a big decorative plate on desktop;
       on a 390 px screen it would sit on top of the game grid */
    .tab-pane {
        position: relative;
    }

    .tab-pane > picture {
        position: absolute !important;
        right: -12% !important;
        top: -4% !important;
        width: 58% !important;
        height: auto !important;
        opacity: .16;
        z-index: 0;
        pointer-events: none;
    }

    .tab-pane > picture img {
        width: 100% !important;
        height: auto !important;
    }

    .popular-game-list {
        position: relative;
        z-index: 1;
    }

    .jackpot-border-container {
        border-radius: var(--r-md);
    }

    #progressive_jackpot,
    .jackpot-inner-container * {
        font-size: min(4.6vw, 20px);
    }

    .play-now,
    .download-apk .btn {
        letter-spacing: .05em;
    }

    .banner img {
        border-radius: var(--r-md);
    }
}

/* ---------- L4: game tile picture placement ----------
   the tile <picture> is an inline 0x0 box and its <img> is absolutely
   positioned, so in the tab panes the artwork drifts out of the frame.
   Anchor it to the tile instead. */
.wrapper-container {
    position: relative;
    overflow: hidden;
}

.wrapper-container > picture {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.wrapper-container > picture > img {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.game-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-sm);
}

.game-wrapper > picture {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.game-wrapper > picture > img {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.game-wrapper > .link-container {
    z-index: 2;
    opacity: 0;
    transition: opacity .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.game-wrapper:hover > .link-container,
.game-wrapper:focus-within > .link-container {
    opacity: 1;
}

/* ------------------------------------------------------------------
   L5 — "Slot Gacor Populer": on phones the vendor grid keeps its
   desktop column widths (98 px for the whole tab area), which squashes
   the game group to 16 px tiles. Stack the block and let the game
   group use the full width. Markup untouched.
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
    .popular-games {
        flex-direction: column;
        width: 100% !important;
        max-width: 100% !important;
        row-gap: 12px;
        height: auto !important;
    }

    .popular-games > div {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .popular-games .scrtabs-tab-container,
    .popular-games .scrtabs-tabs-movable-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .popular-games .tab-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible;
    }

    .popular-games .tab-pane {
        width: 100% !important;
        height: auto !important;
    }

    .popular-games .popular-game-list {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .popular-games .popular-game-list .game-item {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .popular-games .popular-game-list .game-wrapper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .popular-games .popular-game-list .game-wrapper > picture,
    .popular-games .popular-game-list .game-wrapper > picture > img {
        width: 100% !important;
        height: 100% !important;
    }

    .popular-games .jackpot-winners {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
}

/* ------------------------------------------------------------------
   L5b — "Game Populer" strip: on phones the 10 game groups are squeezed
   into ~30 px thumbnails. Turn the strip into a swipeable 2-row rail
   with readable tiles. Markup untouched.
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
    .popular-game-title-container .container-content {
        height: auto !important;
        overflow: visible !important;
    }

    .popular-game-title-container .container-content .game-list {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .popular-game-title-container .container-content .games-group {
        flex: 0 0 auto;
        display: grid !important;
        grid-template-columns: 118px;
        gap: 10px;
        width: auto !important;
        height: auto !important;
    }

    .popular-game-title-container .container-content .game-item {
        width: 118px !important;
        height: auto !important;
    }

    .popular-game-title-container .container-content .wrapper-container {
        width: 118px !important;
        height: 118px !important;
    }

    .popular-game-title-container .container-content .wrapper-container > picture,
    .popular-game-title-container .container-content .wrapper-container > picture > img {
        width: 100% !important;
        height: 100% !important;
    }

    .popular-game-title-container .container-content .game-name {
        font-size: 11px !important;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ------------------------------------------------------------------
   L6 — header must beat the hero artwork.
   The glass header uses backdrop-filter, which turns .site-header into
   a stacking context at z-index:auto; the nav "game group" dropdown
   (z-index:16) therefore got painted under the banner that follows it
   in the DOM. Lift the header's stacking context instead.
   ------------------------------------------------------------------ */
.site-header {
    position: relative;
    z-index: 900;
}

/* keep the dropdown itself above everything inside the header */
.top-menu > li > .game-list,
.top-menu > li > ul.game-list {
    z-index: 950;
}

/* the open nav panel sits on top of the hero art now, so it needs to be
   opaque enough that the banner does not bleed through the glass */
.top-menu > li > ul.game-list,
.top-menu > li > .game-list {
    background-color: #060a1c !important;
    background-image: linear-gradient(160deg, rgba(16, 26, 66, .99) 0%, rgba(6, 10, 30, .995) 45%, rgba(3, 5, 16, .995) 100%) !important;
    border: 1px solid rgba(255, 215, 0, .32) !important;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 34px 60px -34px #000, inset 0 1px 0 rgba(255, 253, 242, .14);
    backdrop-filter: blur(16px) saturate(135%);
}
