/* SUNGAITOTO theme overrides; the source DOM and scripts remain intact. */
:root{--st-navy:#1a2a6c;--st-navy-deep:#142257;--st-navy-mid:#233775;--st-copy:#f5f7ff;--st-muted:#d4dcf4;--st-cta:#ffd700;--st-cta-ink:#17265f}
html,body{background:#1a2a6c!important;background-image:none!important;color:#f5f7ff!important}
body{font-family:Arial,Helvetica,sans-serif}
body *:not(input):not(select):not(textarea):not(option):not([data-sungaitoto-cta="true"]):not([data-sungaitoto-cta="true"] *){color:#f5f7ff!important}
body [data-sungaitoto-cta="true"],body [data-sungaitoto-cta="true"] *{color:#17265f!important}
body,body p,body li,body small,body label{color:#f5f7ff!important}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{color:#fff!important}
a{color:#e2e8ff}
a:hover,a:focus{color:#fff;text-decoration:none}
.site-header,.site-header .container,.site-header .container .row,.site-header .container .row>div{background-color:#1a2a6c!important;background-image:none!important}
.site-header{position:relative;z-index:1000}
.site-main,.site-content,.main-content,.content-wrapper,.content-container,.site-description,.footer-container,.site-footer{color:#f5f7ff!important}
.site-description{background:#1a2a6c!important}
.site-description p{color:#e9edfb!important;line-height:1.75}
.site-description a{color:#e9edfb!important;text-decoration:underline;text-underline-offset:2px}
.announcement-container,.popular-games,.game-list,.download-apk-container,.provider-container,.site-footer,.footer-content{background-color:#16245e!important;background-image:none!important}
.menu-slide{position:relative;z-index:1100;overflow:visible!important}
.menu-slide>.top-menu{overflow:visible!important;position:relative}
.top-menu>li{color:#e3e9ff!important}
.top-menu>li[data-active="true"],.top-menu>li:hover,.top-menu>li:focus-within{color:#fff!important;background:#243878!important;background-image:none!important}
.top-menu>li:not(:hover):not(:focus-within) .game-list{display:none!important}
.top-menu>li:hover .game-list,.top-menu>li:focus-within .game-list{display:flex!important;visibility:visible!important;opacity:1!important}
.top-menu .game-list{z-index:1200!important;background-color:#142257!important;border-color:#344b94!important}
.top-menu .game-list>li:hover>a{transform:scale(1.02);transition:transform .2s ease}
/* Preserve the menu's flex row while allowing its hovered dropdown to escape both clipping boxes. */
#menu_slides,.menu-slide,.top-menu{overflow:visible!important}
#menu_slides .top-menu{display:flex;flex-wrap:nowrap}
.btn,.button,.login-button,.register-button,.pm88-login,.pm88-daftar,[data-sungaitoto-cta="true"]{transition:filter .18s ease,transform .18s ease,box-shadow .18s ease}
.login-button,.register-button,.pm88-login,.pm88-daftar,[data-sungaitoto-cta="true"]{background:#ffd700!important;background-image:none!important;border-color:#ffd700!important;color:#17265f!important;font-weight:700!important;box-shadow:0 3px 12px rgba(255,215,0,.24)!important}
.login-button:hover,.register-button:hover,.pm88-login:hover,.pm88-daftar:hover,[data-sungaitoto-cta="true"]:hover{background:#ffd700!important;color:#17265f!important;filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 5px 15px rgba(255,215,0,.32)!important}
.btn:not(.login-button):not(.register-button):not(.pm88-login):not(.pm88-daftar):not([data-sungaitoto-cta="true"]),button:not([data-sungaitoto-cta="true"]){background-color:#243878;border-color:#40569a;color:#fff}
.btn:not(.login-button):not(.register-button):not(.pm88-login):not(.pm88-daftar):not([data-sungaitoto-cta="true"]):hover,button:not([data-sungaitoto-cta="true"]):hover{background-color:#2b428a;border-color:#6074b3;color:#fff}
.pm88-popup,.popup-modal,.modal-content{background-color:#142257;color:#f5f7ff}
.modal-header,.modal-footer{border-color:#344b94}
input,select,textarea{background-color:#f7f8fc;color:#1b2450!important}
body::after{content:"";position:fixed;inset:0;z-index:9998;pointer-events:none;opacity:.22;background-image:radial-gradient(circle at 7% 16%,rgba(255,255,255,.92) 0 1px,transparent 2px),radial-gradient(circle at 23% 72%,rgba(210,228,255,.8) 0 1px,transparent 2px),radial-gradient(circle at 47% 37%,rgba(255,255,255,.74) 0 1px,transparent 2px),radial-gradient(circle at 68% 81%,rgba(205,222,255,.75) 0 1px,transparent 2px),radial-gradient(circle at 88% 26%,rgba(255,255,255,.82) 0 1px,transparent 2px);animation:st-particle-glow 5s ease-in-out infinite alternate}
@keyframes st-particle-glow{from{opacity:.12}to{opacity:.32}}
@media(max-width:768px){#menu_slides .top-menu{overflow:visible!important}.site-description{padding-left:16px;padding-right:16px}.site-description p{font-size:15px}.top-menu>li>a{font-size:10px}}
@media(prefers-reduced-motion:reduce){body::after{animation:none}.btn,.button,.login-button,.register-button,.pm88-login,.pm88-daftar,[data-sungaitoto-cta="true"]{transition:none}}

/* Repair the navbar artwork with local raster copies for reliable loading on static hosts. */
.top-menu>li>a>img{display:block;width:30px;height:30px;object-fit:contain;margin:0 auto 3px;filter:brightness(0) saturate(100%) invert(84%) sepia(90%) saturate(1400%) hue-rotate(358deg) brightness(104%) contrast(105%)}
.top-menu>li:hover>a>img,.top-menu>li:focus-within>a>img{filter:brightness(0) saturate(100%) invert(84%) sepia(90%) saturate(1400%) hue-rotate(358deg) brightness(112%) contrast(110%)}
/* Keep the local PNG icon as the image content during hover, focus, or active click states. */
#menu_slides .top-menu>li:hover>a>img,#menu_slides .top-menu>li:focus-within>a>img,#menu_slides .top-menu>li[data-active="true"]>a>img{content:normal!important}
/* Replace the inherited blue-magenta jackpot treatment with the requested navy and gold palette. */
.home-progressive-jackpot{background:#1a2a6c!important;background-image:none!important;border:2px solid #ffd700;border-radius:28px;box-shadow:0 0 0 3px rgba(255,215,0,.18),inset 0 0 20px rgba(255,215,0,.08)}
.home-progressive-jackpot .outer-container{background:#101b4c!important;border:1px solid rgba(255,215,0,.65)}
.home-progressive-jackpot .inner-container{background:#1a2a6c!important;background-image:none!important}
.home-progressive-jackpot .border-container{background:#1a2a6c!important;border:2px solid #ffd700!important}
.home-progressive-jackpot .jackpot-container{background:#ffd700!important;background-image:none!important;color:#1a2a6c!important}
.home-progressive-jackpot .jackpot-inner-container{background:#101b4c!important}
.home-progressive-jackpot .jackpot-border-container{border-color:#ffd700!important}
.home-progressive-jackpot .jackpot-currency{color:#ffd700!important}
.home-progressive-jackpot .jackpot-play-text,.home-progressive-jackpot .jackpot-play-text label{color:#ffd700!important}
@media(max-width:768px){.home-progressive-jackpot .border-container{gap:12px;padding:7px}.home-progressive-jackpot .jackpot-container{font-size:clamp(18px,5vw,30px);letter-spacing:1px;padding:6px}.home-progressive-jackpot .jackpot-currency{margin-right:5px}}
