/* m249 — glass biru-kuning, hujan dan gelombang footer */
:root{--m249-blue:#1a2a6c;--m249-yellow:#ffd700;--m249-white:#fff}
html{scroll-behavior:smooth} body{background:#1a2a6c!important;color:#f7f9ff!important;padding-bottom:100px}body::before{display:none!important}
a{color:#ffd700}h1,h2,h3,h4,h5,h6{color:#fff}p{color:inherit}
.topbar-container,.site-header{background:rgba(14,27,79,.93)!important;border:0!important}.site-header{position:relative;z-index:30}.site-header .logo{background:none!important}.site-header .logo img{width:100%;height:100%;max-width:210px;object-fit:contain}.top-menu>li{background:transparent!important}.top-menu>li>a{color:white!important}.top-menu>li>a>img{width:30px!important;height:30px!important;object-fit:contain;content:normal!important;filter:brightness(0) invert(1)}.top-menu>li:hover>a>img,.top-menu>li[data-active=true]>a>img{content:normal!important;filter:brightness(0) saturate(100%) invert(83%) sepia(95%) saturate(1971%) hue-rotate(1deg) brightness(105%)}.top-menu>li:hover>a,.top-menu>li[data-active=true]>a{color:#ffd700!important}.top-menu .game-list{background:rgba(26,42,108,.97)!important;border:1px solid rgba(255,255,255,.45)!important;border-radius:18px;box-shadow:0 12px 30px #09113388!important}.top-menu .game-list li{border-radius:12px!important;overflow:hidden}
.banner{background:transparent!important;padding:18px max(15px,calc((100% - 1170px)/2))!important}.banner-carousel{border:1px solid rgba(255,255,255,.72);border-radius:23px;overflow:hidden;box-shadow:0 8px 26px #09123969,0 0 16px #fff2}.banner-carousel>div{display:none}.banner-carousel>div.m249-active{display:block}.banner-carousel img{display:block;width:100%;height:auto;aspect-ratio:3.2;object-fit:cover}
.home-info-container,.download-apk-container,.telegram-banner-container,.site-footer,.provider-section{background:transparent!important;background-image:none!important}
.home-info-container .container>.row{margin-bottom:18px}
.home-inner-container,.popular-game-title-container,.popular-games,.download-apk,.site-description,.provider-section .provider-container,.m249-rtp>.container{border:1px solid rgba(255,255,255,.6)!important;border-radius:22px!important;background:linear-gradient(135deg,rgba(55,81,165,.62),rgba(26,42,108,.8))!important;box-shadow:0 8px 24px #101b5370,0 0 18px #ffffff12!important;backdrop-filter:blur(12px)}
.popular-game-title-container,.download-apk,.m249-rtp>.container{background:linear-gradient(135deg,rgba(255,215,0,.29),rgba(255,215,0,.10))!important}
.home-inner-container,.popular-game-title-container,.popular-games,.download-apk,.site-description,.provider-section .provider-container{padding:20px!important;margin-bottom:18px}
.home-progressive-jackpot,.lottery-result-container,.popular-games [data-section],.game-item,.jackpot-winners,.provider-section .hover-list li{background:rgba(26,42,108,.50)!important;border:1px solid rgba(255,255,255,.27)!important;border-radius:15px!important;box-shadow:none!important}
.popular-game-title-container .container-title,.section-title,.jackpot-winner-title,.footer-section-title{color:#ffd700!important}
.popular-game-title-container .game-list{display:flex!important;overflow-x:auto;gap:12px}.popular-game-title-container .games-group{display:flex;gap:12px;flex:0 0 auto}.popular-game-title-container .game-item{padding:8px!important;overflow:hidden}.popular-game-title-container .game-item img{border-radius:10px}.game-name{color:#fff!important}
.download-apk>div{opacity:1!important;transform:none!important}.download-apk{display:flex;align-items:center;gap:24px;overflow:hidden}.download-apk .h2,.download-apk .h3{color:#fff!important}.download-apk strong,.download-apk i{color:#ffd700!important}
.telegram-banner-container img{width:100%;height:auto;border-radius:20px;border:1px solid #ffffff99;box-shadow:0 8px 22px #0b174c70}
.site-description{color:#f5f7ff!important;line-height:1.8}.site-description h1,.site-description h2,.site-description h3{color:#ffd700!important}.site-description p{color:#f5f7ff!important}.provider-section h5{color:#ffd700!important}.provider-section .hover-list li{margin:4px!important;padding:5px!important}
.m249-rtp{padding:0 15px;margin:20px auto}.m249-rtp>.container{padding:24px!important}.m249-rtp-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.m249-rtp-head h2{margin:5px 0;color:#fff;font-size:28px}.m249-rtp-head span{color:#ffd700;font-size:11px;font-weight:bold;letter-spacing:2px}.m249-rtp-head p{margin:0;color:#fff}.m249-rtp-head>a{color:#ffd700;font-weight:bold;white-space:nowrap}.m249-rtp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.m249-rtp-card{display:grid;grid-template-columns:64px 1fr;gap:5px 12px;padding:13px;background:rgba(26,42,108,.7);border:1px solid #ffffff80;border-radius:16px;color:white!important;align-items:center}.m249-rtp-card img{width:64px;height:64px;object-fit:cover;border-radius:11px;grid-row:span 3}.m249-rtp-card span{font-weight:bold}.m249-rtp-card strong{font-size:12px;color:#ffd700}.m249-rtp-card small{grid-column:1/-1;font-size:10px;color:#eee}.m249-meter{height:5px;border-radius:8px;background:#ffffff24;overflow:hidden}.m249-meter i{display:block;width:65%;height:100%;background:#ffd700;border-radius:8px}
.ns88-fixed-footer{position:fixed!important;bottom:12px!important;left:50%!important;transform:translateX(-50%)!important;width:min(600px,calc(100% - 24px))!important;max-width:600px!important;min-height:68px;overflow:hidden;border:1px solid rgba(255,255,255,.68)!important;border-radius:21px!important;background:rgba(17,34,92,.63)!important;backdrop-filter:blur(16px);box-shadow:0 8px 24px #080f3499,0 0 14px #ffffff1c!important;z-index:1000!important}.ns88-fixed-footer:before,.ns88-fixed-footer:after{content:"";position:absolute;pointer-events:none;width:180%;height:60px;left:-40%;bottom:-38px;border-radius:46% 44% 0 0;background:rgba(255,255,255,.10);animation:m249-wave 8s ease-in-out infinite alternate}.ns88-fixed-footer:after{bottom:-43px;background:rgba(255,215,0,.12);animation-duration:11s;animation-direction:alternate-reverse}.ns88-fixed-footer>a{position:relative;z-index:1;color:#fff!important;font-weight:bold;font-size:11px!important;text-shadow:0 1px 3px #071438}.ns88-fixed-footer>a img{height:25px!important;width:25px!important;object-fit:contain}.ns88-fixed-footer .dragon-shine{display:none!important}@keyframes m249-wave{from{transform:translateX(-8%) rotate(-2deg)}to{transform:translateX(8%) rotate(2deg)}}
.m249-rain{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:90;opacity:.34}.m249-rain i{position:absolute;top:-24%;width:1px;height:50px;border-radius:100%;background:linear-gradient(transparent,rgba(220,239,255,.7),transparent);animation:m249-rainfall 1.5s linear infinite}.m249-rain i:nth-child(6n+1){left:4%;animation-delay:-.8s}.m249-rain i:nth-child(6n+2){left:22%;animation-delay:-.4s}.m249-rain i:nth-child(6n+3){left:40%;animation-delay:-1.2s}.m249-rain i:nth-child(6n+4){left:58%;animation-delay:-.6s}.m249-rain i:nth-child(6n+5){left:76%;animation-delay:-1s}.m249-rain i:nth-child(6n){left:94%;animation-delay:-.2s}.m249-rain i:nth-child(n+7){margin-left:4%;animation-duration:2s}.m249-rain i:nth-child(n+13){margin-left:8%;animation-duration:1.75s}.m249-rain i:nth-child(n+19){margin-left:12%;animation-duration:2.25s}@keyframes m249-rainfall{to{transform:translate(-30px,130vh)}}
@media(max-width:767px){.site-header .logo{max-width:190px;margin:auto}.site-header .logo img{max-height:46px}.menu-slide{overflow-x:auto}.top-menu{min-width:max-content}.top-menu .game-list{position:fixed;top:110px;left:10px;right:10px;width:auto;max-height:55vh;overflow:auto;z-index:99}.banner{padding:12px!important}.banner-carousel img{aspect-ratio:2.5}.m249-rtp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m249-rtp-head{align-items:flex-start;flex-direction:column}.m249-rtp-head h2{font-size:23px}.m249-rtp-card{grid-template-columns:48px 1fr;padding:9px}.m249-rtp-card img{width:48px;height:48px}.download-apk{flex-direction:column}.home-inner-container,.popular-game-title-container,.popular-games,.download-apk,.site-description,.provider-section .provider-container{padding:14px!important}.m249-rain{opacity:.22}}
@media(prefers-reduced-motion:reduce){.m249-rain i,.ns88-fixed-footer:before,.ns88-fixed-footer:after{animation:none}}
/* Overrides for the reference's nested jackpot and fixed footer */
.banner-carousel:not(:has(.m249-active))>div:first-child{display:block}
.ns88-fixed-footer{display:flex;align-items:center;justify-content:space-around}
.ns88-fixed-footer>a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;gap:3px;padding:6px 0}
.ns88-fixed-footer>a img{display:block;animation:none;filter:none;margin:0}
.ns88-fixed-footer>a.tada{background:rgba(255,215,0,.17);border-radius:13px;box-shadow:none;animation:none;transform:none}
.ns88-fixed-footer:before,.ns88-fixed-footer:after{top:auto;right:auto;inset:auto auto -38px -40%;mask:none;-webkit-mask:none;z-index:0;padding:0}
.ns88-fixed-footer:after{bottom:-43px}
.home-progressive-jackpot .outer-container,.home-progressive-jackpot .inner-container,.home-progressive-jackpot .border-container,.home-progressive-jackpot .jackpot-container,.home-progressive-jackpot .jackpot-inner-container,.home-progressive-jackpot .jackpot-border-container{background:rgba(26,42,108,.24)!important;background-image:none!important;border:0!important;box-shadow:none!important}
.home-progressive-jackpot .jackpot-play-text,.home-progressive-jackpot .jackpot-play-text label,.home-progressive-jackpot .jackpot-currency,.home-progressive-jackpot #progressive_jackpot{color:#ffd700!important;text-shadow:none!important}
.lottery-result-container,.lottery-result-title,.lottery-date{color:white!important;background-image:none!important}
.topbar-item .telegram-btn,.login-panel .login-panel-item a{background:rgba(255,215,0,.15)!important;color:#fff!important;border:1px solid #ffffff70!important;border-radius:10px!important;box-shadow:none!important}
.topbar-item i[data-icon="live-chat"]{--image-src:url('../image/menu-chat.svg')!important}
.topbar-item i[data-icon="telegram"]{background-image:url('../image/menu-telegram.svg')!important}
.topbar-item i[data-icon="contact-us"]{background-image:url('../image/menu-mobile.svg')!important}
.topbar-item i[data-icon="search"]{--image-src:url('../image/menu-search.svg')!important}
@media(max-width:767px){
 html,body{max-width:100%;overflow-x:clip}
 .home-inner-container{display:flex!important;flex-direction:column;align-items:stretch!important;gap:14px}
 .home-inner-container>[data-section]{width:100%!important;max-width:100%!important;flex:none!important}
 .home-progressive-jackpot,.home-progressive-jackpot .outer-container,.home-progressive-jackpot .inner-container,.home-progressive-jackpot .border-container,.home-progressive-jackpot .jackpot-container,.home-progressive-jackpot .jackpot-inner-container,.home-progressive-jackpot .jackpot-border-container{width:100%!important;min-width:0!important;max-width:100%!important;padding:4px!important;margin:0!important}
 .home-progressive-jackpot .border-container{gap:6px!important;flex-wrap:wrap!important;justify-content:center!important}
 .home-progressive-jackpot .jackpot-play-section{width:auto!important;max-width:100%!important;margin:0!important}
 .home-progressive-jackpot .jackpot-container{justify-content:center!important}
 .home-progressive-jackpot #progressive_jackpot{font-size:clamp(20px,6vw,32px)!important;letter-spacing:0!important}
 .lottery-result-container{width:100%!important;max-width:100%!important}
 .popular-games{flex-direction:column!important;gap:12px}.popular-games>[data-section]{width:100%!important;max-width:100%!important;min-width:0!important}
 .topbar-container .topbar-left-section{max-width:50%;overflow:hidden}.topbar-container .topbar-left-section .topbar-item{flex-shrink:0}
}
.announcement-container{background:rgba(255,215,0,.16)!important;border:1px solid #ffffff90!important;border-radius:16px!important;color:#fff!important;overflow:hidden}
.announcement-container [data-section="title"]{color:#ffd700!important;font-weight:700}
.announcement-container .tickercontainer,.announcement-container .mask{overflow:hidden!important}
.announcement-container .newsticker{animation:m249-ticker 45s linear infinite!important;left:0!important}
@keyframes m249-ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.home-inner-container .center-btn,.home-inner-container button{background:rgba(255,215,0,.22)!important;color:#fff!important;border:1px solid #ffffff70!important;box-shadow:none!important}
@media(max-width:767px){.top-menu{min-width:0!important;overflow-x:auto!important;display:flex!important;flex-wrap:nowrap!important}.top-menu>li{flex:0 0 auto!important}.announcement-container{display:flex!important;align-items:center!important;gap:10px!important;padding:10px!important}.announcement-container [data-section="title"]{flex:0 0 auto!important}.announcement-container [data-section="announcements"]{flex:1 1 auto!important;min-width:0!important}.announcement-container [data-section="date"]{display:none!important}}
/* REVISI: kaca bening, pinggiran kuning dan bayangan halus */
.home-inner-container,.popular-game-title-container,.popular-games,.download-apk,.site-description,.provider-section .provider-container,.m249-rtp>.container{
 background:rgba(255,255,255,.035)!important;background-image:none!important;
 border:1px solid rgba(255,215,0,.9)!important;
 box-shadow:0 0 8px rgba(255,215,0,.35),0 0 21px rgba(255,215,0,.12),inset 0 1px 0 rgba(255,255,255,.13)!important;
 backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
}
.popular-games [data-section],.game-item,.jackpot-winners,.provider-section .hover-list li,.m249-rtp-card{
 background:rgba(255,255,255,.025)!important;background-image:none!important;border:1px solid rgba(255,215,0,.5)!important;box-shadow:0 0 7px rgba(255,215,0,.13)!important}
.m249-rtp-card{color:#fff!important}.m249-rtp-head p,.m249-rtp-card small{color:#f7f8ff!important}
/* The provider artwork is from the actual menu assets, never stretched logos. */
.top-menu .game-list li{overflow:hidden!important;border-radius:13px!important}
.top-menu .game-list .foreground{background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important}
.top-menu .game-list .foreground.m249-logo-only{background-size:auto 45%!important;max-width:100%}
.top-menu .game-list{background:rgba(17,31,82,.97)!important;border:1px solid rgba(255,215,0,.85)!important;box-shadow:0 0 18px #ffd70033!important}
/* The exact user-provided promo stays a remote URL */
.download-apk>div:first-child{flex:1 1 50%;min-width:0}.download-apk>div:last-child{flex:1 1 50%;min-width:0}
.download-apk>div:first-child picture{display:block;width:100%}
.download-apk>div:first-child img{display:block;width:100%;height:auto!important;max-width:100%;object-fit:contain;border-radius:15px}
/* New readable jackpot and draw layout */
.home-inner-container{display:flex!important;gap:14px!important;align-items:stretch!important;justify-content:stretch!important}
.m249-jackpot,.m249-draw{border:1px solid rgba(255,215,0,.62);background:rgba(255,255,255,.035);border-radius:17px;box-shadow:0 0 12px #ffd70022;min-width:0}
.m249-jackpot{flex:1 1 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 28px;text-decoration:none!important;color:white!important}
.m249-jackpot-brand{display:flex;align-items:center;gap:12px}.m249-jackpot-brand img{width:58px;height:58px;object-fit:contain}.m249-jackpot-brand div{display:grid;gap:3px}.m249-jackpot-brand span{font-size:20px;font-weight:900;color:#ffd700;letter-spacing:.04em}.m249-jackpot-brand small{color:#fff;letter-spacing:.16em;font-size:10px}
.m249-jackpot-amount{display:grid;text-align:right;gap:3px}.m249-jackpot-amount>span{font-size:10px;letter-spacing:.18em;color:#fff}.m249-jackpot-amount strong{font-size:clamp(20px,2.8vw,37px);line-height:1.1;color:#ffd700;white-space:nowrap;font-variant-numeric:tabular-nums}.m249-jackpot-amount strong small{font-size:.44em;vertical-align:middle;color:#fff}.m249-jackpot-amount em{font-size:10px;font-style:normal;color:#ddd}
.m249-draw{flex:0 0 230px;text-align:center;padding:13px 16px;display:grid;place-items:center;gap:4px}.m249-draw>span{font-size:10px;letter-spacing:.18em;color:#ffd700}.m249-draw>strong{font-size:15px;color:white}.m249-draw-numbers{display:flex;gap:6px}.m249-draw-numbers b{display:grid;place-items:center;width:30px;height:32px;border-radius:7px;background:rgba(255,215,0,.17);border:1px solid rgba(255,215,0,.65);font-size:18px;color:#ffd700}.m249-draw>small{font-size:10px;color:#e5eaff}
/* Wave footer — two independently moving sine shapes clipped to the glass */
.ns88-fixed-footer{background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,215,0,.8)!important;box-shadow:0 0 13px #ffd70035,0 8px 25px #0b163a80!important;backdrop-filter:blur(15px)!important;-webkit-backdrop-filter:blur(15px)!important;isolation:isolate}
.ns88-fixed-footer:before,.ns88-fixed-footer:after{content:none!important;animation:none!important}
.m249-wave-wrap{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:0}
.m249-wave{position:absolute;bottom:-1px;left:0;width:200%;height:38px;max-width:none;will-change:transform}
.m249-wave path{fill:rgba(239,247,255,.17)}.m249-wave-b path{fill:rgba(255,215,0,.12)}
.m249-wave-a{animation:m249-water 7s linear infinite}.m249-wave-b{left:-100%;animation:m249-water-back 10s linear infinite}
@keyframes m249-water{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes m249-water-back{from{transform:translateX(0)}to{transform:translateX(50%)}}
.ns88-fixed-footer>a{z-index:2!important}.ns88-fixed-footer>a.tada{background:rgba(255,215,0,.12)!important}
/* CSS-only water rain is visible immediately (negative animation delays). */
.m249-rain{position:fixed!important;inset:0!important;z-index:150!important;opacity:1!important;pointer-events:none!important;overflow:hidden!important}
.m249-rain i,.m249-rain i:nth-child(n){position:absolute!important;display:block!important;left:var(--x)!important;top:-80px!important;margin:0!important;width:2px!important;height:var(--drop-height)!important;border-radius:2px!important;opacity:.65!important;background:linear-gradient(to bottom,transparent,rgba(222,242,255,.85))!important;animation:m249-rain-revised var(--duration) linear var(--delay) infinite!important;will-change:transform}
@keyframes m249-rain-revised{from{transform:translate3d(20px,0,0)}to{transform:translate3d(-25px,calc(100vh + 130px),0)}}
/* Main banner frame pulse, independent from carousel */
.banner-carousel{border:2px solid #ffd700!important;box-shadow:0 0 8px rgba(255,215,0,.5)!important;animation:m249-banner-glow 2.8s ease-in-out infinite!important}
@keyframes m249-banner-glow{0%,100%{box-shadow:0 0 7px rgba(255,215,0,.35)}50%{box-shadow:0 0 19px rgba(255,215,0,.8),0 0 32px rgba(255,215,0,.25)}}
@media(max-width:767px){.home-inner-container{flex-direction:column!important}.m249-jackpot{flex-direction:column;align-items:flex-start;gap:12px;padding:17px}.m249-jackpot-amount{text-align:left}.m249-jackpot-amount strong{font-size:clamp(19px,6.2vw,27px)}.m249-draw{flex:0 0 auto!important;width:100%}.download-apk>div:first-child,.download-apk>div:last-child{width:100%}.m249-rain i{opacity:.48!important}}
@media(prefers-reduced-motion:reduce){.m249-rain{display:none!important}.m249-wave,.banner-carousel{animation:none!important}}
.top-menu .game-list li>a,.top-menu .game-list li>a .background{background:rgba(255,255,255,.025)!important;background-image:none!important;border-color:rgba(255,215,0,.65)!important;box-shadow:none!important}
