/* Navy & gold color finish. Original page containers and layout remain intact. */
:root{--st-gold:#ffd700;--st-navy:#1a2a6c;--st-soft:#fff1a1}
body{background-color:#0a1232;color:#f3f5ff}
.topbar-container{background:linear-gradient(180deg,#263d91,#0b143a)!important;border-color:#ae8b2a!important;box-shadow:inset 0 1px #92a3df55,0 2px 10px #0008}
.site-header{background:linear-gradient(180deg,#263d91,#1a2a6c 55%,#0a143c)!important;border-color:#d4b038!important;box-shadow:inset 0 1px #97aceb44,0 4px 14px #0008}
.top-menu>li:hover,.top-menu>li[data-active="true"]{background:linear-gradient(180deg,#344d9f,#142253)!important;box-shadow:inset 0 -3px #ffd700,inset 0 1px #a8b9ee55}
.top-menu>li:hover>a,.top-menu>li[data-active="true"]>a{color:#ffe162!important}
.login-button{background:linear-gradient(180deg,#304d9e,#111d4b)!important;color:white!important;border-color:#d5b13b!important;box-shadow:inset 0 1px #adbef766,0 3px 8px #0008}
.register-button{background:linear-gradient(180deg,#fff4ac,#ffd700 48%,#af7807)!important;color:#11183a!important;border-color:#ffec97!important;box-shadow:inset 0 1px #fff9d5,0 3px 10px #0009}
.announcement-container,.home-info-container{background-color:#101b4a!important;border-color:#7c6935!important;box-shadow:inset 0 1px #ffffff1a,0 4px 14px #0005}
.popular-games,.jackpot-winners{background-color:#101b4c!important;border-color:#b69937!important}
.popular-games .nav-tabs>li.active>a,.popular-games .nav-tabs>li>a:hover{background-color:#293d85!important;color:#ffe265!important}
.site-footer{background-color:#080f2c!important;border-color:#bb9a32!important}
.site-info .site-info-title,.footer-separator{border-color:#a8873266!important}
.site-info .site-info-title h5,.footer-section-title,.site-description h1,.site-description a{color:#ffe071!important}
.site-description,.site-info,.site-info-description,.site-info-description p{color:#e4eafa!important}
.site-info-title h5,.site-info-description h5,.site-info-description h4{color:#fff0ae!important}
.telegram-banner-container{background-color:#0b1539!important;border-color:#b59434!important}
.provider-container{border-color:#4b5785!important}.provider-container h5{color:#ffe071!important}
.modal-content{background-color:#111d4a;color:#eef2ff;border-color:#d8b642;box-shadow:0 16px 45px #000b}.modal-header,.modal-footer{border-color:#c3a64855}.modal .close{color:#ffde5a;opacity:1;text-shadow:0 1px 3px #000}
.download-apk .h2 strong,.download-apk-section i{color:#ffd700!important}.download-apk .btn{background:linear-gradient(#fff0a5,#ffd700 52%,#ac790b)!important;color:#101836!important}
/* Fit the replacement GIF inside the existing logo box. */
.site-header .logo>img{width:100%;max-width:100%;height:auto;max-height:calc(100% - 30px);object-fit:contain;top:50%;transform:translate(-50%,-50%);margin:0}
.top-menu>li>a>img{filter:brightness(0) saturate(100%) invert(84%) sepia(90%) saturate(1600%) hue-rotate(359deg) brightness(106%)}
/* Local fallback styling for the existing search control. */
.search-popup-container.open{align-items:flex-start;padding-top:60px;background:rgba(4,8,25,.88)!important}.st-search-dialog{position:relative;width:92%;max-width:780px;padding:22px;background:linear-gradient(180deg,#1a2a6c,#0b1336);border:2px solid #ffd700;border-radius:12px;color:#fff;box-shadow:0 22px 60px #000b}.st-search-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.st-search-head h4{color:#ffdf65;margin:0}.st-search-close{border:1px solid #ffecaa;border-radius:50%;width:34px;height:34px;background:linear-gradient(#fff0a0,#ffd700,#ad7b0e);color:#10183b;font-size:22px;line-height:1;cursor:pointer}.st-search-input{width:100%;padding:10px 12px;background:#080f2c;color:white;border:1px solid #ac8b32;border-radius:6px;margin-bottom:14px}.st-search-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;max-height:55vh;overflow-y:auto}.st-search-card{display:flex;flex-direction:column;gap:5px;color:#fff;text-decoration:none;text-align:center;background:#142456;border:1px solid #ab8c3a;border-radius:7px;padding:6px}.st-search-card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px}.st-search-card span{font-size:12px}
.site-description p{color:#e4eafa!important}.site-footer .footer-links a,.site-footer .footer-copyright{color:#c7d0e9!important}
/* APK area matches the navy/gold theme and retains the original two-column layout. */
.download-apk-container{background:radial-gradient(ellipse at 72% 45%,#253d82 0%,#17275f 38%,#090f2c 100%)!important;border-top:1px solid #b99737;border-bottom:1px solid #b99737}
.download-apk-qr-code img{background:#fff;image-rendering:pixelated}
.download-apk-section>*{min-width:0}.download-apk .h3{font-size:23px}

/* Lightning highlights without new widgets or layout boxes. */
html::before{content:"";position:fixed;inset:0;z-index:50;pointer-events:none;opacity:0;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20900%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M285%20-8%20L221%20122%20L264%20117%20L182%20280%20L199%20165%20L168%20171%20Z%22%20fill%3D%22%23d6eaff%22%20fill-opacity%3D%22.34%22%20stroke%3D%22%23eaf6ff%22%20stroke-opacity%3D%22.72%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M1195%20-5%20L1139%20132%20L1173%20123%20L1101%20268%20L1115%20160%20L1081%20169%20Z%22%20fill%3D%22%23ffe58d%22%20fill-opacity%3D%22.3%22%20stroke%3D%22%23fff1bb%22%20stroke-opacity%3D%22.7%22%20stroke-width%3D%221.5%22%2F%3E%3C%2Fsvg%3E");background-size:100% 100%;animation:thunder-glint 11s infinite}
@keyframes thunder-glint{0%,45%,46%,46.4%,47%,100%{opacity:0}45.3%,46.7%{opacity:.28}45.55%{opacity:.11}}
@media(prefers-reduced-motion:reduce){html::before{animation:none}}
.download-apk>div:first-child img{width:100%;height:408px;object-fit:cover;object-position:center}
.welcome-overlay-close{position:absolute;right:7px;top:5px;z-index:2;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #ffe78d;border-radius:50%;background:linear-gradient(#fff5b4,#ffd700 55%,#b78616);color:#111a42;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 2px 8px #0009}
