/* ============================================================================
   SUNGAITOTO — skin "GILDED OBSIDIAN"  (batch 5)
   A third, brand-new visual language: opaque obsidian glass with heavy gold
   bevels, molten-foil arcs, cupped gold section caps and a sheen sweep.
   Palette: #ffd700 + #1a2a6c (plus close tints/shades + warm neutrals).
   Loaded last, after the vendor stylesheets.
   ========================================================================== */

:root {
    /* base navy family */
    --obsidian: #04060d;
    --onyx: #070b18;
    --ink: #05070f;
    --navy-deep: #0a1233;
    --navy: #1a2a6c;
    --navy-soft: #22347e;
    --navy-glow: #33499f;

    /* gold family */
    --gold: #ffd700;
    --gold-pale: #fff6cf;
    --gold-lt: #ffe98a;
    --gold-md: #e6bd2e;
    --gold-dk: #9a6f12;
    --amber: #f0a91f;
    --copper: #b8742a;

    /* neutrals used only for depth */
    --pearl: #fffdf4;
    --mist: #dfe5ff;
    --slate: #8d97c4;

    /* surfaces */
    --panel: linear-gradient(158deg, #16214e 0%, #0b1330 38%, #060a18 72%, #04060d 100%);
    --panel-flat: linear-gradient(158deg, #101a41 0%, #080d20 60%, #04060d 100%);
    --panel-hot: linear-gradient(150deg, #22347e 0%, #16204c 45%, #070c1c 100%);
    --gold-foil: linear-gradient(105deg, #8a5f0d 0%, #e6bd2e 18%, #ffd700 38%,
                                            #fff6cf 52%, #ffd700 66%, #d9a521 84%, #7d5510 100%);
    --gold-sheen: linear-gradient(100deg, rgba(255, 246, 207, .0) 12%, rgba(255, 250, 226, .85) 46%,
                                          rgba(255, 215, 0, .25) 62%, rgba(255, 246, 207, 0) 88%);

    /* shadows / bevels */
    --bevel: inset 0 1px 0 rgba(255, 246, 207, .30),
             inset 0 -1px 0 rgba(0, 0, 0, .80),
             inset 0 22px 34px -26px rgba(255, 246, 207, .35),
             inset 0 -26px 40px -30px rgba(0, 0, 0, .95);
    --lift: 0 26px 48px -30px rgba(0, 0, 0, .95), 0 8px 20px -14px rgba(0, 0, 0, .8);
    --ring: 0 0 0 1px rgba(255, 215, 0, .42), 0 0 0 5px rgba(255, 215, 0, .10);
    --ring-hot: 0 0 0 1px rgba(255, 215, 0, .95), 0 0 0 6px rgba(255, 215, 0, .16),
                0 26px 46px -24px rgba(0, 0, 0, .95);

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-xl: 34px;

    --font-display: "Gilroy-Bold", "BebasNeueRegular", Impact, sans-serif;
}

/* ------------------------------------------------------------------ canvas */
html {
    background: #04060d;
}

body {
    position: relative;
    background:
        radial-gradient(1200px 620px at 50% -12%, rgba(51, 73, 159, .55) 0%, rgba(10, 18, 51, 0) 62%),
        radial-gradient(900px 420px at 12% 8%, rgba(255, 215, 0, .10) 0%, rgba(255, 215, 0, 0) 60%),
        radial-gradient(1000px 520px at 88% 4%, rgba(240, 169, 31, .08) 0%, rgba(240, 169, 31, 0) 58%),
        linear-gradient(180deg, #071026 0%, #050913 34%, #04060f 66%, #03050c 100%) !important;
    color: var(--mist);
    overflow-x: hidden;
}

/* molten filigree arcs + sparkle dust */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        repeating-conic-gradient(from 200deg at 50% -18%,
            rgba(255, 215, 0, .055) 0deg 0.5deg,
            rgba(255, 215, 0, 0) 0.5deg 5deg),
        radial-gradient(closest-side, rgba(255, 215, 0, .05), rgba(255, 215, 0, 0) 70%) 0 -30% / 100% 60% no-repeat,
        radial-gradient(2px 2px at 12% 22%, rgba(255, 246, 207, .55), rgba(255, 246, 207, 0) 60%),
        radial-gradient(2px 2px at 78% 12%, rgba(255, 246, 207, .40), rgba(255, 246, 207, 0) 60%),
        radial-gradient(2px 2px at 34% 62%, rgba(255, 246, 207, .30), rgba(255, 246, 207, 0) 60%),
        radial-gradient(2px 2px at 66% 78%, rgba(255, 246, 207, .28), rgba(255, 246, 207, 0) 60%),
        radial-gradient(1.5px 1.5px at 88% 46%, rgba(255, 246, 207, .35), rgba(255, 246, 207, 0) 60%);
    opacity: .95;
}

body > * {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------- headings */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--gold-pale);
    letter-spacing: .012em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .65), 0 10px 22px rgba(0, 0, 0, .55);
}

a {
    color: var(--gold-lt);
    transition: color .18s ease, -webkit-text-fill-color .18s ease;
}

a:hover, a:focus {
    color: var(--gold);
    text-decoration: none;
}

/* ----------------------------------------------------------------- header */
.site-header {
    position: relative;
    z-index: 900;
    background:
        linear-gradient(180deg, rgba(8, 13, 33, .99) 0%, rgba(5, 8, 20, .995) 100%) !important;
    border-bottom: 1px solid rgba(255, 215, 0, .34);
    box-shadow: 0 22px 44px -32px #000, inset 0 1px 0 rgba(255, 246, 207, .10);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--gold-foil);
    opacity: .55;
    pointer-events: none;
}

.site-header .container {
    position: relative;
}

.site-header .logo > img {
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .7)) drop-shadow(0 0 16px rgba(255, 215, 0, .18));
}

/* topbar (language, icon links, MASUK / DAFTAR) */
.topbar-container {
    background: linear-gradient(180deg, rgba(6, 10, 26, .98), rgba(4, 7, 18, .98)) !important;
    border-bottom: 1px solid rgba(255, 215, 0, .16);
}

.topbar-item, .language-name, .language-selector-trigger {
    color: var(--pearl) !important;
}

.language-selector {
    background: rgba(5, 8, 20, .99) !important;
    border: 1px solid rgba(255, 215, 0, .32) !important;
    border-radius: var(--r-md);
    box-shadow: var(--lift), var(--bevel);
    overflow: hidden;
}

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

.language-selector li:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, .24), rgba(255, 215, 0, .06)) !important;
}

.login-panel .register-button,
.login-panel .login-button,
.register-button,
.login-button {
    color: #0a1233 !important;
    background-image: var(--gold-foil) !important;
    border: 1px solid rgba(255, 246, 207, .65) !important;
    border-radius: 999px !important;
    box-shadow: var(--bevel), 0 14px 26px -16px #000 !important;
    font-weight: 700;
    letter-spacing: .06em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
    transition: filter .18s ease, box-shadow .18s ease, transform .18s ease;
}

.login-panel .register-button:hover,
.login-panel .login-button:hover,
.register-button:hover,
.login-button:hover {
    color: #05070f !important;
    -webkit-text-fill-color: #05070f !important;
    filter: brightness(1.08) saturate(1.05);
    box-shadow: var(--bevel), var(--ring-hot) !important;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------- nav */
.menu-slide {
    background: transparent;
}

.top-menu > li > a {
    color: var(--pearl) !important;
    border-radius: var(--r-sm);
    transition: color .16s ease, background .16s ease, box-shadow .16s ease;
}

.top-menu > li > a:hover,
.top-menu > li.active > a {
    color: var(--gold-pale) !important;
    -webkit-text-fill-color: var(--gold-pale) !important;
    background-image: linear-gradient(180deg, rgba(255, 215, 0, .20), rgba(255, 215, 0, .04)) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .38);
}

/* the game group panel that drops out of the navbar */
.top-menu > li > ul.game-list,
.top-menu > li > .game-list {
    z-index: 950;
    background-color: #05070f !important;
    background-image:
        radial-gradient(700px 260px at 20% -10%, rgba(255, 215, 0, .12), rgba(255, 215, 0, 0) 70%),
        linear-gradient(158deg, rgba(20, 30, 70, .995) 0%, rgba(7, 11, 26, .998) 48%, rgba(3, 5, 12, .998) 100%) !important;
    border: 1px solid rgba(255, 215, 0, .34) !important;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: 0 40px 70px -38px #000, inset 0 1px 0 rgba(255, 246, 207, .16);
    backdrop-filter: blur(16px) saturate(135%);
}

.menu-slide .slick-prev,
.menu-slide .slick-next {
    color: var(--gold);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, .45));
}

/* -------------------------------------------------------------- announcer */
.announcement-container {
    background:
        linear-gradient(160deg, rgba(18, 27, 66, .96) 0%, rgba(7, 11, 26, .98) 100%) !important;
    border: 1px solid rgba(255, 215, 0, .30);
    border-radius: var(--r-lg);
    box-shadow: var(--bevel), var(--lift);
    color: var(--pearl) !important;
    overflow: hidden;
}

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

.announcement-container a {
    color: var(--gold-pale) !important;
}

.announcement-container a:hover {
    color: var(--gold) !important;
}

/* --------------------------------------------------------------- jackpot */
.home-progressive-jackpot .outer-container,
.home-progressive-jackpot .inner-container,
.home-progressive-jackpot .border-container {
    border-radius: var(--r-xl);
}

.home-progressive-jackpot .border-container {
    background-image:
        radial-gradient(120% 180% at 50% 0%, rgba(255, 246, 207, .16) 0%, rgba(255, 246, 207, 0) 58%),
        var(--panel-hot);
    border: 1px solid rgba(255, 215, 0, .58);
    box-shadow: var(--bevel), 0 34px 60px -34px #000,
                0 0 0 6px rgba(255, 215, 0, .07);
}

.jackpot-play-section img {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .8)) saturate(1.05);
}

.jackpot-play-text,
.jackpot-play-section .jackpot-play-text * {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .8), 0 0 20px rgba(255, 215, 0, .45);
}

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

.jackpot-inner-container * {
    color: var(--gold-pale) !important;
}

#progressive_jackpot {
    font-size: 0 !important;
    color: transparent !important;
}

#progressive_jackpot::after {
    content: "88.888.000";
    font-family: "Open24DisplaySt", "DigitalNumbers-Regular", monospace;
    font-size: clamp(20px, 2.7vw, 40px);
    line-height: 1;
    letter-spacing: .04em;
    background-image: var(--gold-foil);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .75)) drop-shadow(0 0 22px rgba(255, 215, 0, .35));
}

/* --------------------------------------------------------- section headers */
.container-title > span,
.popular-game-title-container .container-title > span,
.provider-container > h5 {
    position: relative;
    color: #0a1233 !important;
    -webkit-text-fill-color: #0a1233 !important;
    background-image: var(--gold-foil) !important;
    border: 1px solid rgba(255, 246, 207, .75);
    border-radius: var(--r-md);
    box-shadow: var(--bevel), 0 18px 32px -22px #000;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-weight: 700;
    overflow: visible;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}

.container-title > span::after,
.popular-game-title-container .container-title:after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -9px;
    height: 10px;
    background: radial-gradient(closest-side, rgba(255, 215, 0, .55), rgba(255, 215, 0, 0) 78%);
    pointer-events: none;
}

/* ------------------------------------------------------------ game tiles */
.game-item .wrapper-container,
.game-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
    background-image: var(--panel-flat);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .22), 0 16px 30px -22px #000;
}

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

.game-item .wrapper-container > picture > img,
.game-wrapper > picture > img,
.games-group img {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: var(--r-md);
    transition: transform .3s ease, filter .3s ease;
}

.game-name {
    color: var(--pearl) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .85);
}

/* hover overlay (COBA / MAIN) */
.link-container,
.game-wrapper .link-container {
    z-index: 2;
    opacity: 0;
    background-image:
        radial-gradient(90% 70% at 50% 0%, rgba(255, 215, 0, .16) 0%, rgba(255, 215, 0, 0) 62%),
        linear-gradient(180deg, rgba(10, 16, 40, .93) 0%, rgba(4, 6, 15, .97) 100%);
    border: 1px solid rgba(255, 215, 0, .38);
    border-radius: var(--r-md);
    box-shadow: inset 0 1px 0 rgba(255, 246, 207, .20);
    transition: opacity .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.game-item:hover .link-container,
.game-wrapper:hover > .link-container,
.game-wrapper:focus-within > .link-container {
    opacity: 1;
    border-color: rgba(255, 215, 0, .92);
    box-shadow: var(--ring-hot);
    transform: translateY(-2px);
}

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

.game-item:hover .game-name {
    color: var(--gold) !important;
}

/* buttons inside the tiles */
.play-now,
.game-item .free-play,
.jackpot-play-section .play-now {
    color: #0a1233 !important;
    -webkit-text-fill-color: #0a1233 !important;
    background-image: var(--gold-foil) !important;
    border: 1px solid rgba(255, 246, 207, .70) !important;
    border-radius: 999px !important;
    box-shadow: var(--bevel), 0 12px 22px -16px #000 !important;
    font-weight: 700;
    letter-spacing: .05em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.play-now:hover,
.game-item .free-play:hover,
.jackpot-play-section .play-now:hover {
    color: #ffd700 !important;
    -webkit-text-fill-color: #ffd700 !important;
    background-image: linear-gradient(150deg, #22347e 0%, #101a3f 55%, #05070f 100%) !important;
    border-color: rgba(255, 215, 0, .95) !important;
    box-shadow: var(--ring-hot) !important;
    transform: translateY(-1px);
}

/* -------------------------------------------------- game populer strip */
.popular-game-title-container {
    background-image:
        radial-gradient(760px 240px at 50% -30%, rgba(255, 215, 0, .10), rgba(255, 215, 0, 0) 70%),
        var(--panel);
    border: 1px solid rgba(255, 215, 0, .26);
    border-radius: var(--r-lg);
    box-shadow: var(--bevel), var(--lift);
}

/* ------------------------------------------------------- provider tabs */
.nav-tabs {
    border: 0;
}

.nav-tabs > li > a {
    color: var(--pearl) !important;
    background-image: var(--panel-flat) !important;
    border: 1px solid rgba(255, 215, 0, .26) !important;
    border-radius: var(--r-sm) !important;
    box-shadow: inset 0 1px 0 rgba(255, 246, 207, .14);
    transition: color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.nav-tabs > li > a:hover {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .7);
    transform: translateY(-1px);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    color: #0a1233 !important;
    -webkit-text-fill-color: #0a1233 !important;
    background-image: var(--gold-foil) !important;
    border-color: rgba(255, 246, 207, .75) !important;
    box-shadow: var(--bevel);
}

/* winners ticker */
.winner-info,
.winner-amount,
.jackpot-winners, .jackpot-winners * {
    color: var(--pearl) !important;
}

.jackpot-winners {
    background-image: var(--panel-flat);
    border: 1px solid rgba(255, 215, 0, .22);
    border-radius: var(--r-md);
    box-shadow: inset 0 1px 0 rgba(255, 246, 207, .12);
}

/* ---------------------------------------------------------- download apk */
.download-apk,
.download-apk > div,
.download-apk-info,
.download-apk-section,
.popular-games .game-wrapper {
    opacity: 1 !important;
    transform: none !important;
}

.download-apk {
    background-image:
        radial-gradient(900px 320px at 18% 0%, rgba(255, 215, 0, .14), rgba(255, 215, 0, 0) 62%),
        var(--panel);
    border: 1px solid rgba(255, 215, 0, .30);
    border-radius: var(--r-lg);
    box-shadow: var(--bevel), var(--lift);
}

.download-apk .btn,
.standard-inline-form-group .btn,
.standard-secondary-button.btn-secondary {
    color: #0a1233 !important;
    -webkit-text-fill-color: #0a1233 !important;
    background-image: var(--gold-foil) !important;
    border: 1px solid rgba(255, 246, 207, .70) !important;
    border-radius: 999px !important;
    box-shadow: var(--bevel), 0 14px 26px -18px #000 !important;
    font-weight: 700;
    transition: filter .18s ease, box-shadow .18s ease, transform .18s ease;
}

.download-apk .btn:hover,
.standard-inline-form-group .btn:hover,
.standard-secondary-button.btn-secondary:hover {
    color: #ffd700 !important;
    -webkit-text-fill-color: #ffd700 !important;
    background-image: linear-gradient(150deg, #22347e, #101a3f 60%, #05070f) !important;
    border-color: rgba(255, 215, 0, .95) !important;
    box-shadow: var(--ring-hot) !important;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------- article */
.site-description {
    background-image:
        radial-gradient(700px 240px at 8% -20%, rgba(255, 215, 0, .09), rgba(255, 215, 0, 0) 70%),
        var(--panel);
    border: 1px solid rgba(255, 215, 0, .24);
    border-radius: var(--r-lg);
    box-shadow: var(--bevel), var(--lift);
    padding: 26px 30px;
}

.site-description h1 {
    color: var(--gold-lt);
    text-shadow: none !important;
    background-image: linear-gradient(100deg, #b8860b 0%, #ffd700 26%, #fffbe6 48%,
                                    #ffd700 68%, #b8860b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .7)) drop-shadow(0 0 18px rgba(255, 215, 0, .22));
    font-weight: 700;
    line-height: 1.28;
}

.site-description p {
    color: #e9eeff !important;
    font-size: 15px !important;
    line-height: 1.95;
    letter-spacing: .002em;
}

.site-description p a {
    color: var(--gold-pale) !important;
    -webkit-text-fill-color: var(--gold-pale) !important;
    border-bottom: 1px solid rgba(255, 215, 0, .55);
    font-weight: 600;
}

.site-description p a:hover {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
    border-bottom-color: var(--gold);
}

.footer-separator {
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0), rgba(255, 215, 0, .55), rgba(255, 215, 0, 0));
    margin: 22px 0;
}

/* ------------------------------------------------------------ site info */
.site-info {
    background-image: var(--panel-flat);
    border: 1px solid rgba(255, 215, 0, .26);
    border-radius: var(--r-lg);
    box-shadow: var(--bevel), var(--lift);
    padding: 20px 22px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.site-info:hover {
    border-color: rgba(255, 215, 0, .62);
    box-shadow: var(--bevel), var(--ring-hot);
    transform: translateY(-2px);
}

.site-info-title h3 {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
    letter-spacing: .06em;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .8);
}

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

.site-info-description *,
.site-info-description h4 + p {
    color: var(--pearl) !important;
    font-size: 12.5px !important;
    line-height: 1.65;
}

.site-info-description h4 {
    font-size: 13px !important;
    letter-spacing: .04em;
    color: var(--gold-lt) !important;
    -webkit-text-fill-color: var(--gold-lt) !important;
}

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

.site-info-title i[data-icon] {
    filter: brightness(0) saturate(100%) invert(86%) sepia(58%) saturate(1855%)
            hue-rotate(359deg) brightness(102%) contrast(104%);
    opacity: .96;
}

.site-info .chat-button,
.site-info .chat-button:hover,
.telegram-btn img {
    filter: brightness(1.1) contrast(1.05);
}

.progress {
    background: rgba(255, 246, 207, .10);
    border-radius: 999px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .8);
    overflow: hidden;
}

.progress div[style*="width"] {
    background-image: var(--gold-foil) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* --------------------------------------------------------- provider wall */
.provider-container {
    background-image: var(--panel);
    border: 1px solid rgba(255, 215, 0, .22);
    border-radius: var(--r-lg);
    box-shadow: var(--bevel), var(--lift);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.provider-container:hover {
    border-color: rgba(255, 215, 0, .55);
    box-shadow: var(--bevel), var(--ring-hot);
}

.provider-container > h5 {
    color: #0a1233 !important;
}

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

.provider-container img {
    filter: brightness(1.12) contrast(1.04) drop-shadow(0 6px 12px rgba(0, 0, 0, .5));
}

/* --------------------------------------------------------------- footer */
.site-footer {
    background-image:
        radial-gradient(900px 300px at 50% 0%, rgba(255, 215, 0, .10), rgba(255, 215, 0, 0) 66%),
        linear-gradient(180deg, #070c1c 0%, #04060f 70%, #03050b 100%);
    border-top: 1px solid rgba(255, 215, 0, .30);
    box-shadow: inset 0 1px 0 rgba(255, 246, 207, .10);
    color: var(--pearl);
}

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

.site-footer a:hover,
.site-footer .footer-links a:hover {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
}

.footer-links li + li:before {
    color: rgba(255, 215, 0, .55);
}

.footer-section-title,
.footer-separator + .footer-section-title,
.copyright {
    color: var(--gold-pale) !important;
    letter-spacing: .04em;
}

.social-media-list li a:hover img,
.powered-by-logo:hover,
.footer-certification img,
.certification-container img {
    filter: brightness(1.12) contrast(1.05);
}

/* ----------------------------------------------------------- forms/modals */
.form-control {
    background: rgba(6, 10, 24, .96) !important;
    border: 1px solid rgba(255, 215, 0, .34) !important;
    border-radius: var(--r-sm) !important;
    color: var(--pearl) !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8);
}

.form-control::placeholder {
    color: rgba(223, 229, 255, .55) !important;
}

.form-control:focus {
    border-color: rgba(255, 215, 0, .85) !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8), 0 0 0 4px rgba(255, 215, 0, .14) !important;
}

.modal-content {
    background-image: var(--panel);
    border: 1px solid rgba(255, 215, 0, .42);
    border-radius: var(--r-lg);
    box-shadow: 0 50px 90px -50px #000, var(--bevel);
    color: var(--mist);
}

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

.modal-title {
    color: var(--gold-pale) !important;
    letter-spacing: .06em;
}

.modal-header .close {
    color: var(--gold-lt);
    opacity: .85;
    text-shadow: 0 0 12px rgba(255, 215, 0, .5);
}

.modal-header .close:hover {
    color: var(--gold);
    opacity: 1;
}

.alert-danger {
    background: rgba(120, 22, 22, .35);
    border-color: rgba(255, 215, 0, .35);
    color: var(--pearl);
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 991px) {
    .popular-games {
        row-gap: 14px;
    }
}

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

    body::before {
        background:
            radial-gradient(900px 420px at 50% -14%, rgba(51, 73, 159, .42), rgba(10, 18, 51, 0) 60%),
            radial-gradient(2px 2px at 22% 26%, rgba(255, 246, 207, .40), rgba(255, 246, 207, 0) 60%),
            radial-gradient(2px 2px at 74% 62%, rgba(255, 246, 207, .28), rgba(255, 246, 207, 0) 60%);
    }

    /* stack the popular block so the game group is not squeezed to 16 px */
    .popular-games {
        flex-direction: column;
        width: 100% !important;
        max-width: 100% !important;
        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,
    .popular-games .tab-pane {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: visible;
    }

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

    .popular-games .popular-game-list .game-item,
    .popular-games .popular-game-list .game-wrapper {
        width: auto !important;
        height: auto !important;
    }

    .popular-games .popular-game-list .game-wrapper {
        aspect-ratio: 1 / 1;
    }

    .popular-games .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;
    }

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

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

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

    /* game populer strip -> swipeable rail */
    .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;
    }

    /* announcement bar full width */
    .announcement-container {
        border-radius: var(--r-md);
        overflow: hidden;
    }

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

    /* apk block typography */
    .download-apk .h2,
    .download-apk .h2 > strong {
        font-size: 21px !important;
        line-height: 1.3;
    }

    .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;
    }

    .site-description {
        padding: 20px 18px;
    }

    .site-description h1 {
        font-size: 22px !important;
        line-height: 1.35;
    }

    .site-description p {
        font-size: 13px !important;
        line-height: 1.8;
    }
}


/* ---------------------------------------------------- filigree corner work */
.site-description,
.site-info,
.popular-game-title-container,
.provider-container {
    position: relative;
}

.site-description::before,
.site-info::before,
.popular-game-title-container::before,
.provider-container::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(closest-side at 0% 0%, rgba(255, 215, 0, .38), rgba(255, 215, 0, 0) 58%) 0 0/74px 74px no-repeat,
        radial-gradient(closest-side at 100% 0%, rgba(255, 215, 0, .30), rgba(255, 215, 0, 0) 58%) 100% 0/74px 74px no-repeat,
        radial-gradient(closest-side at 0% 100%, rgba(255, 215, 0, .24), rgba(255, 215, 0, 0) 58%) 0 100%/74px 74px no-repeat,
        radial-gradient(closest-side at 100% 100%, rgba(255, 215, 0, .24), rgba(255, 215, 0, 0) 58%) 100% 100%/74px 74px no-repeat;
    opacity: .75;
}

/* the telegram promo strip ships in purple: pull it back to the palette */
.communication-banner img,
[class*="telegram"] img,
img[alt="Telegram"] {
    filter: saturate(.9) brightness(.96) contrast(1.02);
}

.communication-banner,
[class*="telegram"] {
    border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .34), var(--lift);
}

/* footer + copyright legibility */
.copyright,
.site-footer .container {
    font-size: 12.5px;
    letter-spacing: .02em;
}

.site-footer .footer-links a {
    font-size: 12.5px;
    letter-spacing: .06em;
}

/* jackpot: molten ring sheen around the plate */
.home-progressive-jackpot .border-container::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(from 210deg,
        rgba(255, 215, 0, 0) 0deg, rgba(255, 246, 207, .55) 40deg,
        rgba(255, 215, 0, .10) 90deg, rgba(255, 215, 0, 0) 150deg,
        rgba(255, 246, 207, .38) 220deg, rgba(255, 215, 0, 0) 300deg);
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    opacity: .8;
}

/* ------------------------------------------------------------------
   L7 — phone layout repairs (390 px):
   the vendor sheets keep desktop pixel widths for the notice bar and the
   jackpot capsule, which pushed them off screen and clipped the digits.
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
    .announcement-container {
        flex-direction: column !important;
        height: auto !important;
        row-gap: 8px;
        padding: 12px 14px !important;
    }

    .announcement-container > div {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        justify-content: flex-start !important;
    }

    .announcement-container [data-section="announcements"] {
        overflow: hidden !important;
    }

    .announcement-container .announcement-list,
    .announcement-container .tickercontainer,
    .announcement-container .mask {
        max-width: 100% !important;
    }

    .announcement-container [data-section="date"] {
        font-size: 11px !important;
    }

    /* keep the capsule artwork intact and scale the whole plate to the screen */
    .home-progressive-jackpot {
        display: flex !important;
        justify-content: center;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: hidden;
    }

    .home-progressive-jackpot .outer-container {
        width: 533px !important;
        max-width: none !important;
        height: 166px !important;
        transform: scale(.71);
        transform-origin: top center;
        margin-bottom: -50px;
    }

    .topbar-container .row {
        flex-wrap: wrap;
        row-gap: 6px;
    }
}

@media (max-width: 400px) {
    .home-progressive-jackpot .outer-container {
        transform: scale(.66);
        margin-bottom: -58px;
    }
}

/* small hover gaps: dropdown trigger + footer link chips + login buttons */
.language-selector-trigger:hover,
.language-selector-trigger:focus {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
}

.hover-list > li a:hover,
.hover-list > li.active a {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, .45));
}

.login-panel .register-button:hover,
.login-panel .login-button:hover {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
    background-image: linear-gradient(150deg, #22347e 0%, #101a3f 55%, #05070f 100%) !important;
    border-color: rgba(255, 215, 0, .95) !important;
    box-shadow: var(--ring-hot) !important;
}

/* ------------------------------------------------- signature flourishes --- */
/* molten halo behind the jackpot capsule */
.home-progressive-jackpot {
    position: relative;
}

.home-progressive-jackpot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 112%;
    height: 190%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background:
        radial-gradient(closest-side, rgba(255, 215, 0, .20) 0%, rgba(255, 215, 0, .07) 46%, rgba(255, 215, 0, 0) 74%),
        conic-gradient(from 0deg at 50% 50%,
            rgba(255, 215, 0, 0) 0deg, rgba(255, 246, 207, .16) 26deg, rgba(255, 215, 0, 0) 62deg,
            rgba(255, 215, 0, 0) 180deg, rgba(255, 246, 207, .12) 206deg, rgba(255, 215, 0, 0) 244deg);
    filter: blur(6px);
    z-index: -1;
}

/* winged gold flourish around every section cap */
.container-title {
    position: relative;
}

.container-title::before,
.container-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 64px;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0), rgba(255, 215, 0, .85));
    box-shadow: 0 0 10px rgba(255, 215, 0, .55);
    pointer-events: none;
}

.container-title::before {
    right: 100%;
    margin-right: 12px;
}

.container-title::after {
    left: 100%;
    margin-left: 12px;
    background: linear-gradient(270deg, rgba(255, 215, 0, 0), rgba(255, 215, 0, .85));
}

/* chrome flash sweeping over a tile while it is hovered */
.game-item .wrapper-container::after,
.game-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 34%,
                                        rgba(255, 246, 207, .38) 50%,
                                        rgba(255, 255, 255, 0) 66%);
    transform: translateX(-120%);
    transition: transform .55s ease;
    pointer-events: none;
    z-index: 3;
}

.game-item:hover .wrapper-container::after,
.game-wrapper:hover::after {
    transform: translateX(120%);
}
