/* ==========================================================================
   SUNGAITOTO — LUXURY ROYAL SAPPHIRE (#1a2a6c) & IMPERIAL GOLD (#ffd700) 3D THEME
   Layout-preserving visual theme with 3D metallic depth & golden stardust specks
   ========================================================================== */

:root {
    --st-navy-abyss: #05091a;
    --st-navy-deep: #0b1336;
    --st-navy-core: #1a2a6c;
    --st-navy-royal: #253c94;
    --st-navy-bright: #3352bd;
    --st-gold-light: #fff4b8;
    --st-gold-champagne: #ffec8b;
    --st-gold-core: #ffd700;
    --st-gold-rich: #e5b80b;
    --st-gold-metallic: #d4af37;
    --st-gold-bronze: #996f07;
    --st-neutral-ivory: #f8fafc;
    --st-neutral-silver: #cbd5e1;
    --st-neutral-muted: #94a3b8;

    /* Organic multi-scale golden stardust ("bintik-bintik kuning") pattern */
    --st-gold-specks:
        radial-gradient(circle at 18% 24%, rgba(255, 215, 0, 0.55) 0, rgba(255, 215, 0, 0.55) 1.1px, transparent 2.2px),
        radial-gradient(circle at 76% 14%, rgba(255, 240, 150, 0.48) 0, rgba(255, 240, 150, 0.48) 1.3px, transparent 2.6px),
        radial-gradient(circle at 42% 68%, rgba(255, 215, 0, 0.42) 0, rgba(255, 215, 0, 0.42) 1px, transparent 2px),
        radial-gradient(circle at 88% 72%, rgba(212, 175, 55, 0.50) 0, rgba(212, 175, 55, 0.50) 1.4px, transparent 2.8px),
        radial-gradient(circle at 11% 84%, rgba(255, 236, 139, 0.38) 0, rgba(255, 236, 139, 0.38) 1px, transparent 2.1px),
        radial-gradient(circle at 61% 39%, rgba(255, 215, 0, 0.34) 0, rgba(255, 215, 0, 0.34) 1.2px, transparent 2.4px),
        radial-gradient(circle at 31% 11%, rgba(255, 244, 184, 0.40) 0, rgba(255, 244, 184, 0.40) 0.9px, transparent 1.9px),
        radial-gradient(circle at 93% 43%, rgba(255, 215, 0, 0.45) 0, rgba(255, 215, 0, 0.45) 1.1px, transparent 2.3px);
}

/* Global Body Surface — Deep Royal Navy + Subtle Luxury Stardust */
body {
    background-color: var(--st-navy-abyss);
    background-image:
        var(--st-gold-specks),
        radial-gradient(ellipse at 50% 0%, rgba(37, 60, 148, 0.55) 0%, rgba(26, 42, 108, 0.32) 45%, rgba(5, 9, 26, 0.98) 100%);
    background-size:
        197px 197px, 263px 263px, 173px 173px, 311px 311px,
        229px 229px, 281px 281px, 157px 157px, 347px 347px,
        100% 100%;
    color: var(--st-neutral-ivory);
}

a {
    color: var(--st-gold-core);
    transition: color 0.22s ease, text-shadow 0.22s ease, filter 0.22s ease;
}
a:hover, a:focus {
    color: var(--st-gold-light);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.45);
    text-decoration: none;
}

/* ==========================================================================
   1. TOPBAR & 3D LOGIN / DAFTAR LUXURY BUTTONS
   ========================================================================== */
.topbar-container {
    background:
        linear-gradient(180deg, #1d307a 0%, #132054 55%, #09102e 100%) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 4px 14px rgba(0, 0, 0, 0.6);
}

.topbar-left-section .topbar-item .live-chat {
    background: linear-gradient(180deg, rgba(26, 42, 108, 0.9), rgba(11, 19, 54, 0.95)) !important;
    border: 1px solid rgba(255, 215, 0, 0.28);
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}
.topbar-left-section .topbar-item .live-chat:hover {
    background: linear-gradient(180deg, #2b45ab 0%, #1a2a6c 100%) !important;
    border-color: var(--st-gold-core);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
}

.topbar-left-section .topbar-item .telegram-btn {
    background: linear-gradient(135deg, #253c94 0%, #1a2a6c 60%, #101b4a 100%);
    border: 1px solid rgba(255, 215, 0, 0.45);
    color: var(--st-gold-light) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 8px rgba(0, 0, 0, 0.45);
}
.topbar-left-section .topbar-item .telegram-btn:hover {
    border-color: var(--st-gold-core);
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.topbar-left-section .language-selector {
    background: linear-gradient(180deg, #162561 0%, #0a1234 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75);
}
.topbar-left-section .language-selector li:hover {
    background: rgba(255, 215, 0, 0.14) !important;
}

/* MASUK Button — 3D Royal Sapphire with Gold Rim */
.login-panel .login-button {
    background: linear-gradient(180deg, #314ec2 0%, #1a2a6c 52%, #0e1842 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 215, 0, 0.65) !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.35),
        inset 0 -2px 3px rgba(4, 8, 24, 0.7),
        0 3px 10px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.25s ease !important;
}
.login-panel .login-button:hover {
    background: linear-gradient(180deg, #3e5ee0 0%, #22378c 55%, #132057 100%) !important;
    border-color: var(--st-gold-light) !important;
    color: var(--st-gold-light) !important;
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.45),
        0 0 14px rgba(255, 215, 0, 0.42) !important;
}

/* DAFTAR Button — 3D Imperial 24K Bullion Gold */
.login-panel .register-button {
    background: linear-gradient(180deg, #fff5b8 0%, #ffd700 38%, #dca80e 78%, #9e7204 100%) !important;
    color: #0b1336 !important;
    border: 1px solid #fff2a6 !important;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -2px 3px rgba(122, 84, 0, 0.65),
        0 3px 12px rgba(255, 215, 0, 0.38) !important;
    transition: all 0.25s ease !important;
}
.login-panel .register-button:hover {
    background: linear-gradient(180deg, #ffffff 0%, #ffe135 42%, #e6b412 82%, #b58407 100%) !important;
    color: #05091a !important;
    box-shadow:
        inset 0 1px 2px #ffffff,
        0 0 18px rgba(255, 215, 0, 0.7) !important;
}

/* ==========================================================================
   2. SITE HEADER, LOGO GIF FIT & NAVIGATION MENU
   ========================================================================== */
.site-header {
    background-color: var(--st-navy-core) !important;
    background-image:
        var(--st-gold-specks),
        radial-gradient(ellipse at 50% 0%, rgba(62, 94, 224, 0.42) 0%, transparent 68%),
        linear-gradient(180deg, #22378a 0%, #1a2a6c 48%, #0c153b 100%) !important;
    background-size:
        197px 197px, 263px 263px, 173px 173px, 311px 311px,
        229px 229px, 281px 281px, 157px 157px, 347px 347px,
        100% 100%, 100% 100% !important;
    border-bottom: 3px solid var(--st-gold-core) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 8px 24px rgba(0, 0, 0, 0.68),
        0 2px 12px rgba(255, 215, 0, 0.22);
}

/* Ensure wide animated GIF logo fits crisply inside header .logo box */
.site-header .logo > picture {
    width: 94% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.site-header .logo > picture img,
.site-header .logo > img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.32));
}

.site-header .top-menu > li {
    color: #e2e8f0 !important;
    transition: all 0.22s ease;
}
.site-header .top-menu > li > a {
    color: #e2e8f0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}
.site-header .top-menu > li[data-active="true"],
.site-header .top-menu > li:hover {
    color: var(--st-gold-core) !important;
    background-image:
        radial-gradient(ellipse at 50% 100%, rgba(255, 215, 0, 0.30) 0%, transparent 72%),
        linear-gradient(180deg, rgba(46, 74, 178, 0.55) 0%, rgba(16, 28, 78, 0.92) 100%) !important;
    box-shadow: inset 0 -2px 0 var(--st-gold-core);
}
.site-header .top-menu > li:hover > a,
.site-header .top-menu > li[data-active="true"] > a {
    color: var(--st-gold-core) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
}

.menu-slide > i {
    color: var(--st-gold-core) !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Mega-menu Dropdown */
.site-header .top-menu .game-list {
    background:
        var(--st-gold-specks),
        linear-gradient(180deg, rgba(16, 28, 78, 0.97) 0%, rgba(7, 13, 38, 0.98) 100%) !important;
    background-size:
        197px 197px, 263px 263px, 173px 173px, 311px 311px,
        229px 229px, 281px 281px, 157px 157px, 347px 347px,
        100% 100% !important;
    border-top: 2px solid var(--st-gold-core) !important;
    border-bottom: 3px solid var(--st-gold-core) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   3. BANNER CAROUSEL & ANNOUNCEMENT TICKER
   ========================================================================== */
.banner {
    background: linear-gradient(180deg, #091130 0%, #05091a 100%) !important;
    border-bottom: 2px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.65);
}
.banner .carousel-indicators li {
    border: 1px solid rgba(255, 215, 0, 0.7) !important;
    background-color: rgba(11, 19, 54, 0.75) !important;
}
.banner .carousel-indicators .active,
.banner .carousel-indicators .slick-active {
    background: var(--st-gold-core) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.85);
}

.home-info-container {
    background-color: var(--st-navy-abyss) !important;
    background-image:
        var(--st-gold-specks),
        radial-gradient(circle at 15% 18%, rgba(37, 60, 148, 0.35) 0%, transparent 48%),
        radial-gradient(circle at 85% 52%, rgba(255, 215, 0, 0.07) 0%, transparent 45%),
        linear-gradient(180deg, #0b143a 0%, #122058 35%, #091130 75%, #060b20 100%) !important;
    background-size:
        197px 197px, 263px 263px, 173px 173px, 311px 311px,
        229px 229px, 281px 281px, 157px 157px, 347px 347px,
        100% 100%, 100% 100%, 100% 100% !important;
    border-color: rgba(255, 215, 0, 0.32) !important;
}

.announcement-container {
    background: linear-gradient(90deg, #253c94 0%, #1a2a6c 50%, #142259 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.5) !important;
    border-radius: 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 6px 18px rgba(0, 0, 0, 0.55);
}
.announcement-container [data-section="title"] {
    color: var(--st-gold-core) !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.announcement-container [data-section="announcements"] {
    background: linear-gradient(180deg, #070d26 0%, #0d1740 100%) !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
    color: #f1f5f9 !important;
}
.announcement-container [data-section="date"] {
    color: var(--st-gold-champagne) !important;
}

/* ==========================================================================
   4. PROGRESSIVE JACKPOT 3D VAULT & LOTTERY RESULT CARD
   ========================================================================== */
.home-progressive-jackpot {
    background-image: linear-gradient(135deg, #101c4e 0%, #243b8a 50%, #0d1740 100%) !important;
    border-radius: 14px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.75),
        0 0 22px rgba(255, 215, 0, 0.18);
}
.home-progressive-jackpot .outer-container {
    background: linear-gradient(180deg, #0a1234 0%, #1a2a6c 50%, #080e29 100%) !important;
}
.home-progressive-jackpot .inner-container {
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.16) 0%, transparent 65%),
        linear-gradient(180deg, #1f3485 0%, #0d163d 100%) !important;
}
.home-progressive-jackpot .border-container {
    border: 2px solid var(--st-gold-core) !important;
    box-shadow:
        inset 0 0 15px rgba(255, 215, 0, 0.2),
        0 0 12px rgba(255, 215, 0, 0.25);
}
.home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}
.home-progressive-jackpot .jackpot-play-section .jackpot-play-text label {
    color: var(--st-gold-core) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.55);
}
.home-progressive-jackpot .jackpot-container {
    background: linear-gradient(180deg, #ffd700 0%, #b8860b 50%, #ffd700 100%) !important;
    padding: 2px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}
.home-progressive-jackpot .jackpot-inner-container {
    background: linear-gradient(180deg, #050a1f 0%, #0f1c4d 50%, #050a1f 100%) !important;
    border-radius: 8px;
}
.home-progressive-jackpot .jackpot-border-container {
    border-color: rgba(255, 215, 0, 0.45) !important;
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.85);
}
.home-progressive-jackpot .jackpot-currency {
    color: var(--st-gold-core) !important;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.65);
}
#progressive_jackpot {
    color: #fff8d6 !important;
    text-shadow:
        0 0 14px rgba(255, 215, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.95);
}

/* Lottery Result Box */
.lottery-result-container {
    background: linear-gradient(180deg, #1a2a6c 0%, #0b1336 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.55) !important;
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.65);
}
.lottery-result-container .lottery-result-title {
    background: linear-gradient(90deg, #ffd700 0%, #e5b80b 55%, #b8860b 100%) !important;
    color: #0b1336 !important;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.lottery-result-container .lottery-numbers {
    background: #060b20 !important;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}
.lottery-result-container .lottery-date {
    color: var(--st-gold-champagne) !important;
}

/* ==========================================================================
   5. POPULAR GAMES, PROVIDER TABS & 3D GAME CARDS
   ========================================================================== */
.popular-game-title-container .container-title,
.home-game-list-container .container-title span {
    background: linear-gradient(135deg, #fff2a6 0%, #ffd700 42%, #c9971a 100%) !important;
    color: #091130 !important;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.3);
}
.home-game-list-container .container-title span:after {
    background: #c9971a !important;
}

.popular-games {
    background-color: #0a1338 !important;
    border: 1px solid rgba(255, 215, 0, 0.42);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}
.popular-games [data-section="left"] .section-title {
    background: linear-gradient(90deg, #253c94 0%, #1a2a6c 100%) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.45);
    color: var(--st-gold-core) !important;
    font-weight: 700;
}
.popular-games .jackpot-winners,
.slot-jackpot-container .jackpot-winners {
    background: linear-gradient(90deg, #101c4e 0%, #22388c 50%, #101c4e 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.35);
}
.jackpot-winners .winners-ticker-container,
.scrtabs-tab-container {
    background: linear-gradient(180deg, #1a2a6c 0%, #0e1842 100%) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.38);
}
.winners-ticker ul li .winner-amount {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
    color: #080f2c !important;
    font-weight: 700;
}

.popular-games .nav-tabs > li > a {
    background: linear-gradient(180deg, #172663 0%, #0e1842 100%) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 215, 0, 0.18) !important;
}
.popular-games .nav-tabs > li.active > a,
.popular-games .nav-tabs > li.active > a:hover,
.popular-games .nav-tabs > li.active > a:focus,
.popular-games .nav-tabs > li > a:hover {
    background: linear-gradient(180deg, #2b45ab 0%, #1a2a6c 100%) !important;
    color: var(--st-gold-core) !important;
    border-color: var(--st-gold-core) !important;
    box-shadow: inset 0 2px 0 var(--st-gold-core), 0 0 12px rgba(255, 215, 0, 0.25);
}
.popular-games .tab-pane,
.popular-games .tab-content {
    background-color: #091130 !important;
    border-color: rgba(255, 215, 0, 0.28) !important;
}

/* Provider Slider Strip */
.provider-slide {
    background: linear-gradient(180deg, #22388a 0%, #1a2a6c 55%, #101b4a 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 8px 22px rgba(0, 0, 0, 0.6);
}
.provider-slide > i {
    background: rgba(11, 19, 54, 0.65) !important;
    color: var(--st-gold-core) !important;
    border: 1px solid rgba(255, 215, 0, 0.35);
}
.provider-slide > i:hover {
    background: var(--st-gold-core) !important;
    color: #0b1336 !important;
}
.provider-slide > main > .slide-item {
    background: rgba(8, 14, 42, 0.45) !important;
    border: 1px solid rgba(255, 215, 0, 0.2);
}
.provider-slide > main > .slide-item > a:not(.game-info) {
    background: linear-gradient(180deg, #16245e 0%, #0b1336 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.22);
    transition: all 0.22s ease;
}
.provider-slide > main > .slide-item > a:not(.game-info):hover {
    background: linear-gradient(180deg, #2942a3 0%, #1a2a6c 100%) !important;
    border-color: var(--st-gold-core);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
}

/* Game Containers & 3D Game Cards */
.home-game-list-container .container-content {
    border: 1px solid rgba(255, 215, 0, 0.45) !important;
    background: linear-gradient(180deg, #0b1438 0%, #070d26 100%) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.game-list-title,
.game-list {
    background-color: #080f2c !important;
    border-color: rgba(255, 215, 0, 0.25) !important;
}
.game-list .game-item,
.portfolio-wrapper {
    background: linear-gradient(180deg, #162561 0%, #0c153b 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.24);
    border-radius: 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 5px 14px rgba(0, 0, 0, 0.55);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.game-list .game-item:hover,
.portfolio-wrapper:hover {
    border-color: var(--st-gold-core);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.75),
        0 0 14px rgba(255, 215, 0, 0.38);
}
.game-list .game-name,
.portfolio-wrapper .slotGameName {
    background: linear-gradient(90deg, #1a2a6c 0%, #253c94 50%, #1a2a6c 100%) !important;
    color: var(--st-gold-champagne) !important;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}
.home-game-list-container .container-content .game-list .game-item .game-name {
    color: #f1f5f9 !important;
}

/* Game Hover Overlay Action Buttons (MAIN & COBA) */
.play-now {
    background: linear-gradient(180deg, #fff3a6 0%, #ffd700 45%, #c9971a 100%) !important;
    color: #091130 !important;
    font-weight: 800 !important;
    border: 1px solid #fff5b8 !important;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.45);
}
.play-now:hover {
    background: linear-gradient(180deg, #ffffff 0%, #ffe347 50%, #dfb01c 100%) !important;
    color: #05091a !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.75);
}
.free-play {
    background: linear-gradient(180deg, #2b45ab 0%, #1a2a6c 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 215, 0, 0.55) !important;
}
.free-play:hover {
    background: linear-gradient(180deg, #3a58cf 0%, #22378a 100%) !important;
    border-color: var(--st-gold-core) !important;
    color: var(--st-gold-light) !important;
}

/* ==========================================================================
   6. DOWNLOAD APK, TELEGRAM BANNER & FOOTER / SEO ARTICLE
   ========================================================================== */
.download-apk-container {
    background-color: #091130 !important;
    border-top: 2px solid rgba(255, 215, 0, 0.4);
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}
.download-apk .h2 strong {
    color: var(--st-gold-core) !important;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}
.download-apk-section i {
    color: var(--st-gold-core) !important;
}
.download-apk .btn {
    background: linear-gradient(180deg, #fff3a6 0%, #ffd700 45%, #c9971a 100%) !important;
    color: #091130 !important;
    font-weight: 700;
    border: 1px solid #fff5b8 !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}
.download-apk .btn:hover {
    background: linear-gradient(180deg, #ffffff 0%, #ffe135 50%, #d4af37 100%) !important;
    color: #05091a !important;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.65);
}

.telegram-banner-container {
    background-color: #070d26 !important;
    background-image:
        var(--st-gold-specks),
        linear-gradient(180deg, #0c163d 0%, #070d26 100%) !important;
    background-size:
        197px 197px, 263px 263px, 173px 173px, 311px 311px,
        229px 229px, 281px 281px, 157px 157px, 347px 347px,
        100% 100% !important;
}

.site-footer {
    background-color: #060b20 !important;
    background-image:
        var(--st-gold-specks),
        radial-gradient(ellipse at 50% 0%, rgba(26, 42, 108, 0.55) 0%, transparent 65%),
        linear-gradient(180deg, #101c4e 0%, #080f2c 45%, #040818 100%) !important;
    background-size:
        197px 197px, 263px 263px, 173px 173px, 311px 311px,
        229px 229px, 281px 281px, 157px 157px, 347px 347px,
        100% 100%, 100% 100% !important;
    border-top: 3px solid var(--st-gold-core) !important;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.7);
}

.footer-links > li > a {
    color: #e2e8f0 !important;
    font-weight: 500;
}
.footer-links > li > a:hover {
    color: var(--st-gold-core) !important;
}
.copyright {
    color: var(--st-gold-champagne) !important;
}
.footer-separator {
    border-top: 1px solid rgba(255, 215, 0, 0.28) !important;
}

/* Luxury 3D Panel for SEO Article (.site-description) */
.site-description {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.10) 0%, transparent 65%),
        linear-gradient(165deg, rgba(26, 42, 108, 0.62) 0%, rgba(10, 18, 52, 0.88) 100%);
    border: 1px solid rgba(255, 215, 0, 0.38);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 10px 28px rgba(0, 0, 0, 0.55);
}
.site-description h1 {
    color: var(--st-gold-core) !important;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-top: 4px;
    margin-bottom: 18px;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.85),
        0 0 16px rgba(255, 215, 0, 0.32);
}
.site-description p {
    color: #e2e8f0 !important;
    line-height: 1.8;
    font-size: 14.5px;
    margin-bottom: 14px;
}
.site-description p:last-child {
    margin-bottom: 0;
}
.site-description a {
    color: var(--st-gold-core) !important;
    font-weight: 700;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.65);
    padding-bottom: 1px;
}
.site-description a:hover {
    color: #ffffff !important;
    border-bottom-style: solid;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Footer Service/Product/Support Info & Progress Bars */
.site-info .site-info-title h3,
.footer-section-title {
    color: var(--st-gold-core) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.site-info .site-info-description.with-seperator + .with-seperator {
    border-top-color: rgba(255, 215, 0, 0.22) !important;
}
.proggress {
    background: linear-gradient(90deg, #1a2a6c 0%, #ffd700 100%) !important;
}
.contact-list > li a {
    background: linear-gradient(90deg, #1d307a 0%, #111d4f 100%) !important;
    color: var(--st-gold-light) !important;
    border: 1px solid rgba(255, 215, 0, 0.38);
}
.contact-list > li a:hover {
    border-color: var(--st-gold-core);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}
.provider-container {
    border-color: rgba(255, 215, 0, 0.25) !important;
}
.provider-container > h5 {
    background: linear-gradient(90deg, #1a2a6c 0%, #0d1740 100%) !important;
    color: var(--st-gold-core) !important;
    border: 1px solid rgba(255, 215, 0, 0.35);
}

/* ==========================================================================
   7. MODALS, POPUPS & SEARCH OVERLAY — GUARANTEED VISIBLE GOLD "×" CLOSE BUTTON
   ========================================================================== */
.modal-backdrop.in {
    opacity: 0.78 !important;
    background-color: #030613 !important;
}

.modal-content {
    position: relative !important;
    background:
        var(--st-gold-specks),
        radial-gradient(ellipse at 50% 0%, rgba(45, 72, 175, 0.45) 0%, transparent 68%),
        linear-gradient(180deg, #182869 0%, #0c153b 65%, #070d26 100%) !important;
    background-size:
        197px 197px, 263px 263px, 173px 173px, 311px 311px,
        229px 229px, 281px 281px, 157px 157px, 347px 347px,
        100% 100%, 100% 100% !important;
    border: 2px solid var(--st-gold-core) !important;
    border-radius: 14px !important;
    color: #f1f5f9 !important;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.88),
        0 0 24px rgba(255, 215, 0, 0.25) !important;
}

.modal-header {
    position: relative !important;
    background: linear-gradient(180deg, rgba(26, 42, 108, 0.85) 0%, rgba(11, 19, 54, 0.9) 100%) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.35) !important;
    padding: 18px 48px 14px 20px !important;
}

.modal-content h4,
.modal-header .modal-title,
.download-popup-modal .modal-header .modal-title {
    color: var(--st-gold-core) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

/* Prominent 3D Gold Close (×) Button on ALL Modals */
.modal-header .close,
.modal-content button.close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: linear-gradient(180deg, #fff3a6 0%, #ffd700 50%, #b8860b 100%) !important;
    color: #080f2c !important;
    border: 1px solid #ffffff !important;
    opacity: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 20 !important;
    cursor: pointer !important;
    text-shadow: none !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 215, 0, 0.45) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.modal-header .close span,
.modal-content button.close span {
    color: #080f2c !important;
    line-height: 1 !important;
}
.modal-header .close:hover,
.modal-content button.close:hover {
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.85) !important;
}

.modal-body {
    background: transparent !important;
    color: #e2e8f0 !important;
}

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

.btn.btn-primary,
.modal-footer .btn-primary,
.standard-button-group .btn-primary {
    background: linear-gradient(180deg, #fff3a6 0%, #ffd700 45%, #c9971a 100%) !important;
    color: #091130 !important;
    font-weight: 800 !important;
    border: 1px solid #fff5b8 !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}
.btn.btn-primary:hover,
.modal-footer .btn-primary:hover,
.standard-button-group .btn-primary:hover {
    background: linear-gradient(180deg, #ffffff 0%, #ffe135 50%, #d4af37 100%) !important;
    color: #05091a !important;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.65);
}

.simple-modal .btn-secondary,
.modal-footer .btn-secondary {
    background: linear-gradient(180deg, #253c94 0%, #16245e 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.6) !important;
    color: var(--st-gold-light) !important;
}

/* Client-Side Luxury Search Overlay (#search_popup_container) */
.search-popup-container {
    background: rgba(4, 8, 24, 0.88) !important;
    backdrop-filter: blur(6px);
    align-items: flex-start;
    padding-top: 60px;
}
.st-search-dialog {
    position: relative;
    width: 92%;
    max-width: 780px;
    background:
        var(--st-gold-specks),
        linear-gradient(180deg, #1a2a6c 0%, #0b1336 100%);
    background-size:
        197px 197px, 263px 263px, 173px 173px, 311px 311px,
        229px 229px, 281px 281px, 157px 157px, 347px 347px,
        100% 100%;
    border: 2px solid var(--st-gold-core);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 24px rgba(255, 215, 0, 0.25);
    color: #ffffff;
}
.st-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.32);
}
.st-search-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--st-gold-core);
    margin: 0;
    letter-spacing: 0.5px;
}
.st-search-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    background: linear-gradient(180deg, #fff3a6 0%, #ffd700 50%, #b8860b 100%);
    color: #080f2c;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}
.st-search-close:hover {
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.85);
}
.st-search-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.55);
    background: #060b20;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    margin-bottom: 16px;
}
.st-search-input:focus {
    border-color: var(--st-gold-core);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}
.st-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 12px;
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 4px;
}
.st-search-card {
    background: linear-gradient(180deg, #162561 0%, #091130 100%);
    border: 1px solid rgba(255, 215, 0, 0.28);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    color: #f8fafc;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.st-search-card:hover {
    transform: translateY(-2px);
    border-color: var(--st-gold-core);
    color: var(--st-gold-core);
}
.st-search-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
}
.st-search-card span {
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Local, CSS-relative assets: reliable under file:// and ordinary web servers. */
.topbar-left-section i[data-language] { background-image: url("../image/ui/layout/flags.png"); }
.announcement-container [data-icon="announcement"],
.popular-games [data-section="left"] [data-icon="play"],
.sports-platform-title [data-icon="play"] { background-image: url("../image/ui/layout/icon-sprite.png"); }
.jackpot-winners .jackpot-winner-title [data-icon="trophy"] { background-image: url("../image/ui/jackpot/trophy.png"); }
.lottery-result-container [data-lottery-number] { background-image: url("../image/ui/home/numbers.png"); }
.popular-games { background-image: url("../image/ui/home/popular-games-background.jpg"); }
.download-apk-container { background-image: url("../image/ui/home/download-apk-background.webp"); }
.contact-list > li a i { background: linear-gradient(145deg, #fff3a6, #ffd700 52%, #a9790a); border-radius: 50%; box-shadow: inset 0 1px 2px #fff8b5, 0 2px 5px #050917; }
.top-menu > li:hover > a > img[src$="/menu/hot-games.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/hot-games.png"] { content: url("../image/ui/menu/hot-games-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/slots.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/slots.png"] { content: url("../image/ui/menu/slots-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/casino.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/casino.png"] { content: url("../image/ui/menu/casino-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/race.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/race.png"] { content: url("../image/ui/menu/race-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/sports.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/sports.png"] { content: url("../image/ui/menu/sports-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/cockfight.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/cockfight.png"] { content: url("../image/ui/menu/cockfight-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/others.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/others.png"] { content: url("../image/ui/menu/others-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/arcade.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/arcade.png"] { content: url("../image/ui/menu/arcade-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/poker.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/poker.png"] { content: url("../image/ui/menu/poker-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/e-sports.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/e-sports.png"] { content: url("../image/ui/menu/e-sports-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/crash-game.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/crash-game.png"] { content: url("../image/ui/menu/crash-game-active.png"); }
.top-menu > li:hover > a > img[src$="/menu/promotion.png"],
.top-menu > li[data-active="true"] > a > img[src$="/menu/promotion.png"] { content: url("../image/ui/menu/promotion-active.png"); }
