/* ==========================================================================
   SUNGAITOTO — Royal Gold (#ffd700) & Imperial Sapphire Navy (#1a2a6c)
   3D Luxury & Subtle Bling Theme — Strictly Color/Finish Overrides Only
   (Zero structural or layout alterations)
   ========================================================================== */

:root {
  --st-gold: #ffd700;
  --st-gold-bright: #fff3ad;
  --st-gold-mid: #f3c623;
  --st-gold-deep: #9e7308;
  --st-gold-bronze: #5c4004;
  --st-navy: #1a2a6c;
  --st-navy-light: #2b4399;
  --st-navy-mid: #101c4d;
  --st-navy-dark: #08102e;
  --st-navy-abyss: #040818;
  --st-ivory: #faf7ef;
  --st-pearl: #e4eaf7;
  --st-slate: #aab6d3;
  --st-glow-gold: 0 0 16px rgba(255, 215, 0, 0.42);
  --st-shadow-3d: 0 10px 26px rgba(2, 5, 18, 0.68), inset 0 1px 0 rgba(255, 248, 214, 0.22);
}

/* Base Page Atmosphere */
html,
body {
  background-color: var(--st-navy-abyss) !important;
  color: var(--st-pearl) !important;
}

body {
  background-image:
    radial-gradient(ellipse 80% 45% at 50% -8%, rgba(43, 67, 153, 0.62) 0%, rgba(26, 42, 108, 0.32) 48%, transparent 75%),
    radial-gradient(circle at 14% 28%, rgba(255, 215, 0, 0.06) 0%, transparent 38%),
    radial-gradient(circle at 86% 65%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, #050a1f 0%, #0b163d 38%, #132158 65%, #05091b 100%) !important;
  background-attachment: fixed;
}

/* Ambient Subtle Luxury Gold Dust & Shimmer (Never blocks clicks or alters layout) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1030;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    radial-gradient(circle at 22px 30px, rgba(255, 245, 190, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 95px 110px, rgba(255, 215, 0, 0.75) 0 1.2px, transparent 2.2px),
    radial-gradient(circle at 160px 55px, rgba(255, 255, 255, 0.65) 0 0.9px, transparent 1.8px);
  background-size: 180px 190px, 250px 270px, 310px 290px;
  animation: stLuxurySparkleDrift 24s linear infinite;
}

@keyframes stLuxurySparkleDrift {
  0% { transform: translate3d(0, -30px, 0); }
  100% { transform: translate3d(10px, 160px, 0); }
}

@keyframes stGoldSheen {
  0% { background-position: -180% 0; }
  100% { background-position: 220% 0; }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; opacity: 0.12 !important; }
}

a {
  color: var(--st-gold);
  transition: color 0.22s ease, text-shadow 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

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

/* ==========================================================================
   1. TOPBAR & LANGUAGE / UTILITY ICONS (WITH HOVER FIXES)
   ========================================================================== */
.topbar-container {
  background: linear-gradient(180deg, #1e317a 0%, #101d4f 52%, #070e29 100%) !important;
  border-bottom: 1px solid rgba(255, 215, 0, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 4px 14px rgba(0, 0, 0, 0.55) !important;
}

.topbar-left-section .topbar-item,
.topbar-left-section .topbar-item a {
  color: var(--st-ivory) !important;
  border-radius: 6px;
  transition: all 0.22s ease;
}

.topbar-left-section .live-chat {
  background: linear-gradient(180deg, #283f96 0%, #15235c 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.45) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 6px rgba(0, 0, 0, 0.4) !important;
  color: var(--st-ivory) !important;
  transition: all 0.22s ease;
}

/* Fix utility icon & button hover colors cleanly to Luxury Gold & Deep Navy */
.topbar-left-section .live-chat:hover,
.topbar-left-section .topbar-item a:hover,
.topbar-left-section .topbar-item a.download-apk-btn:hover,
.topbar-left-section .topbar-item a.search_popup_button:hover {
  background: linear-gradient(180deg, #fff3ad 0%, #ffd700 55%, #b8870b 100%) !important;
  color: #0b1437 !important;
  border-color: #fff6c4 !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.58), inset 0 1px 0 #ffffff !important;
}

/* Ensure white SVG background icons turn crisp deep navy when hovered on gold button */
.topbar-left-section .live-chat:hover [data-icon],
.topbar-left-section .topbar-item a:hover [data-icon] {
  filter: brightness(0) saturate(100%) invert(8%) sepia(48%) saturate(3450%) hue-rotate(218deg) brightness(92%) contrast(102%);
}

.topbar-left-section .language-selector-trigger {
  color: var(--st-ivory) !important;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 215, 0, 0.28);
  background: linear-gradient(180deg, rgba(35, 56, 134, 0.75), rgba(11, 20, 55, 0.85));
  transition: all 0.22s ease;
}

.topbar-left-section .language-selector-trigger:hover {
  border-color: var(--st-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
  color: var(--st-gold-bright) !important;
}

.topbar-left-section .language-selector-trigger:after {
  border-top-color: var(--st-gold) !important;
}

.dropdown-menu.language-selector {
  background: linear-gradient(160deg, #1b2d70 0%, #0b153b 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.65) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 244, 190, 0.22) !important;
}

.topbar-left-section .language-selector li {
  border-bottom: 1px solid rgba(255, 215, 0, 0.18) !important;
  color: var(--st-ivory) !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.topbar-left-section .language-selector li:hover {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.26) 0%, rgba(26, 42, 108, 0.6) 100%) !important;
  color: var(--st-gold-bright) !important;
}

/* ==========================================================================
   2. LOGIN & REGISTER 3D METALLIC BUTTONS
   ========================================================================== */
.login-panel .login-button {
  color: var(--st-gold-bright) !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.22), transparent 65%),
    linear-gradient(180deg, #2b4399 0%, #1a2a6c 52%, #0c163d 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -2px 4px rgba(4, 8, 24, 0.7),
    0 3px 0 #5c4206,
    0 6px 14px rgba(0, 0, 0, 0.5) !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75) !important;
  transition: all 0.22s ease !important;
}

.login-panel .login-button:hover,
.login-panel .login-button:focus {
  color: #091232 !important;
  background: linear-gradient(180deg, #fff6c2 0%, #ffd700 50%, #c8960c 100%) !important;
  border-color: #fff8d6 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 3px 0 #6e4f06,
    0 0 16px rgba(255, 215, 0, 0.65) !important;
}

.login-panel .register-button {
  color: #0b1437 !important;
  background: linear-gradient(180deg, #fff8cc 0%, #ffe156 28%, #ffd700 58%, #b58308 100%) !important;
  border: 1px solid #fff3b0 !important;
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.78),
    inset 0 -2px 3px rgba(120, 82, 0, 0.45),
    0 3px 0 #6b4c05,
    0 6px 16px rgba(255, 215, 0, 0.28) !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transition: all 0.22s ease !important;
}

.login-panel .register-button:hover,
.login-panel .register-button:focus {
  color: #060d26 !important;
  background: linear-gradient(180deg, #ffffff 0%, #ffec82 35%, #ffd700 68%, #cfa014 100%) !important;
  border-color: #ffffff !important;
  box-shadow:
    inset 0 2px 2px #ffffff,
    0 3px 0 #7a5807,
    0 0 20px rgba(255, 215, 0, 0.82) !important;
  filter: brightness(1.04);
}

/* ==========================================================================
   3. SITE HEADER, LOGO & MAIN NAVIGATION MENU (CRITICAL ICON HOVER FIX!)
   ========================================================================== */
.site-header {
  background:
    radial-gradient(ellipse 65% 90% at 50% -20%, rgba(56, 86, 189, 0.55) 0%, transparent 70%),
    linear-gradient(105deg, #070f2b 0%, #1a2a6c 48%, #0e1a47 78%, #060c24 100%) !important;
  border-top: 1px solid rgba(255, 240, 175, 0.22) !important;
  border-bottom: 3px solid #ffd700 !important;
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.25),
    0 3px 0 #705107,
    0 12px 28px rgba(0, 0, 0, 0.62) !important;
}

.site-header .logo {
  background-image: radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.16) 0%, transparent 70%) !important;
}

.site-header .logo > img {
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.32));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.site-header .logo:hover > img {
  filter: drop-shadow(0 3px 14px rgba(255, 215, 0, 0.62));
}

.top-menu > li {
  color: var(--st-pearl) !important;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.top-menu > li > a {
  color: inherit !important;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

/* Prevent broken `content: var(--image-src)` replacement on `<img>` during hover!
   Instead, keep the crisp SVG `src` intact and apply a luminous 3D gold highlight & glow. */
.top-menu > li > a > img {
  content: normal !important;
  transition: transform 0.24s ease, filter 0.24s ease;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
}

.top-menu > li:hover,
.top-menu > li[data-active="true"] {
  color: var(--st-gold) !important;
  background-image:
    radial-gradient(ellipse 80% 75% at 50% 0%, rgba(255, 215, 0, 0.28) 0%, rgba(26, 42, 108, 0.22) 60%, transparent 100%) !important;
  box-shadow: inset 0 3px 0 #ffd700 !important;
}

.top-menu > li:hover > a,
.top-menu > li[data-active="true"] > a {
  color: var(--st-gold-bright) !important;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.55), 0 1px 2px #000 !important;
}

.top-menu > li:hover > a > img,
.top-menu > li[data-active="true"] > a > img {
  content: normal !important;
  transform: translateY(-2px) scale(1.06);
  filter: brightness(0) saturate(100%) invert(83%) sepia(66%) saturate(1450%) hue-rotate(357deg) brightness(106%) contrast(104%) drop-shadow(0 0 8px rgba(255, 215, 0, 0.65)) !important;
}

/* Mega-menu Dropdown Game List */
.top-menu .game-list {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(45, 72, 168, 0.96) 0%, rgba(16, 28, 77, 0.98) 55%, rgba(6, 12, 34, 0.99) 100%) !important;
  border-top: 3px solid #ffd700 !important;
  border-bottom: 5px solid #b5850b !important;
  box-shadow:
    inset 0 1px 0 #fff5be,
    0 20px 44px rgba(0, 0, 0, 0.78) !important;
}

.top-menu .game-list > li > a .background {
  border: 1px solid rgba(255, 215, 0, 0.42) !important;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.top-menu .game-list > li:hover > a .background {
  border-color: #ffd700 !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.55), inset 0 0 0 1px #fff3ad !important;
}

.menu-slide .left_trigger,
.menu-slide .right_trigger {
  color: var(--st-gold) !important;
  background: linear-gradient(180deg, #24398a, #0e1945) !important;
  border: 1px solid rgba(255, 215, 0, 0.45) !important;
}

.menu-slide .left_trigger:hover,
.menu-slide .right_trigger:hover {
  color: #0b1437 !important;
  background: linear-gradient(180deg, #fff2a8, #ffd700) !important;
}

/* ==========================================================================
   4. HERO BANNER & ANNOUNCEMENT TICKER
   ========================================================================== */
.banner {
  background: linear-gradient(180deg, #060d26 0%, #101d4f 50%, #070e29 100%) !important;
  border-bottom: 2px solid rgba(255, 215, 0, 0.52);
}

.banner-carousel > div:first-child img,
.banner .slick-slide img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  background: #060c24;
}

.home-info-container {
  background:
    radial-gradient(ellipse 75% 50% at 50% 0%, rgba(39, 63, 148, 0.42) 0%, transparent 70%),
    linear-gradient(180deg, #08112e 0%, #122056 48%, #070f29 100%) !important;
}

.announcement-container {
  background:
    linear-gradient(110deg, #1d317a 0%, #111e52 52%, #091233 100%) !important;
  color: var(--st-ivory) !important;
  border: 1px solid rgba(255, 215, 0, 0.62) !important;
  border-radius: 10px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 198, 0.25),
    0 3px 0 #614606,
    0 8px 20px rgba(0, 0, 0, 0.45) !important;
}

.announcement-container > [data-section="announcements"] {
  background: linear-gradient(90deg, rgba(6, 12, 36, 0.86) 0%, rgba(14, 25, 68, 0.78) 100%) !important;
  border-radius: 6px;
}

.announcement-container .announcement-list li,
.announcement-container ul.newsticker li {
  color: var(--st-ivory) !important;
  font-weight: 500;
}

.announcement-container > [data-section="title"],
.announcement-container > [data-section="date"] {
  color: var(--st-gold-bright) !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   5. 3D ROYAL PROGRESSIVE JACKPOTVAULT
   ========================================================================== */
.home-progressive-jackpot {
  background:
    linear-gradient(125deg, #6e4f07 0%, #ffd700 22%, #fff5be 36%, #c8960c 52%, #ffd700 74%, #6e4f07 100%) !important;
  border-radius: 16px !important;
  padding: 3px !important;
  box-shadow:
    0 5px 0 #4d3604,
    0 14px 32px rgba(0, 0, 0, 0.62),
    0 0 24px rgba(255, 215, 0, 0.22) !important;
}

.home-progressive-jackpot .outer-container {
  background: linear-gradient(160deg, #223785 0%, #132158 52%, #070f2b 100%) !important;
  border-radius: 14px !important;
}

.home-progressive-jackpot .inner-container {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(56, 86, 189, 0.45) 0%, transparent 65%),
    linear-gradient(145deg, #1a2a6c 0%, #0d1842 58%, #050b20 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.55) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.home-progressive-jackpot .border-container {
  border-color: rgba(255, 215, 0, 0.78) !important;
}

.home-progressive-jackpot .jackpot-container {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(26, 42, 108, 0.68) 0%, rgba(5, 10, 28, 0.96) 100%) !important;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.85) !important;
}

.home-progressive-jackpot .jackpot-border-container {
  border: 2px solid rgba(255, 215, 0, 0.75) !important;
  box-shadow: inset 0 0 14px rgba(255, 215, 0, 0.18), 0 1px 0 rgba(255, 245, 190, 0.35) !important;
}

.home-progressive-jackpot .jackpot-currency {
  color: var(--st-gold) !important;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.55), 0 2px 3px rgba(0, 0, 0, 0.9) !important;
}

.home-progressive-jackpot #progressive_jackpot {
  color: #fff6c2 !important;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.65), 0 2px 4px rgba(0, 0, 0, 0.95) !important;
}

.home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
  color: var(--st-ivory) !important;
}

.home-progressive-jackpot .jackpot-play-section .jackpot-play-text label {
  color: var(--st-gold) !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* ==========================================================================
   6. POPULAR GAMES, JACKPOT WINNERS & GAME CARDS (3D BEVEL & GOLD HOVER)
   ========================================================================== */
.popular-games,
.popular-game-title-container .container-content,
.home-game-list-container .container-content {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(45, 71, 163, 0.42) 0%, transparent 65%),
    linear-gradient(160deg, rgba(26, 42, 108, 0.88) 0%, rgba(12, 22, 60, 0.94) 55%, rgba(6, 11, 32, 0.97) 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.55) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 196, 0.22),
    0 4px 0 #5b4106,
    0 12px 28px rgba(0, 0, 0, 0.55) !important;
}

.popular-games .section-title,
.jackpot-winner-title {
  background: linear-gradient(180deg, #263d94 0%, #162561 55%, #0b1438 100%) !important;
  color: var(--st-gold-bright) !important;
  border-bottom: 2px solid #ffd700 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.popular-games [data-section="left"] {
  background: linear-gradient(180deg, rgba(26, 42, 108, 0.65) 0%, rgba(8, 15, 43, 0.88) 100%) !important;
  border-right: 1px solid rgba(255, 215, 0, 0.35) !important;
}

.jackpot-winners .winners-ticker-container,
.jackpot-winners .winner-item {
  color: var(--st-ivory) !important;
}

.jackpot-winners .winner-amount,
.jackpot-winners strong {
  color: var(--st-gold) !important;
}

/* Section Ribbon Headers */
.home-game-list-container .container-title span,
.popular-game-title-container .container-title span {
  color: #091232 !important;
  background: linear-gradient(115deg, #fff8cc 0%, #ffd700 45%, #d4a012 78%, #ffea85 100%) !important;
  border: 1px solid #fff5be !important;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 3px 0 #6b4c05,
    0 6px 14px rgba(0, 0, 0, 0.45) !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.home-game-list-container .container-title span:after,
.popular-game-title-container .container-title span:after {
  background: linear-gradient(180deg, #ffd700, #9e7308) !important;
}

/* Provider Tabs inside Popular Games */
.popular-games .nav-tabs > li > a {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(64, 96, 204, 0.45), transparent 70%),
    linear-gradient(180deg, #1b2d73 0%, #0d1844 65%, #070e29 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.38) !important;
  border-radius: 10px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 3px 0 #050a1f,
    0 5px 10px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.22s ease !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, #fff7c7 0%, #ffd700 52%, #b8860b 100%) !important;
  color: #0b1437 !important;
  border-color: #fff6c4 !important;
  box-shadow:
    inset 0 2px 1px #ffffff,
    0 3px 0 #6b4c05,
    0 0 16px rgba(255, 215, 0, 0.58) !important;
  transform: translateY(-1px);
}

/* Ensure white provider logos stay crisp & legible on bright gold active/hover tab */
.popular-games .nav-tabs > li.active > a img,
.popular-games .nav-tabs > li > a:hover img {
  filter: drop-shadow(0 1px 2px rgba(9, 18, 50, 0.85)) contrast(1.08);
}

.scrtabs-tab-scroll-arrow {
  background: linear-gradient(180deg, #fff5be 0%, #ffd700 52%, #a87908 100%) !important;
  color: #091232 !important;
  border: 1px solid #fff3ad !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 2px 6px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.2s ease;
}

.scrtabs-tab-scroll-arrow:hover {
  background: linear-gradient(180deg, #ffffff 0%, #ffe45e 55%, #c49210 100%) !important;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.7) !important;
}

/* Individual Game Cards */
.game-item .wrapper-container,
.game-item .game-wrapper {
  background: linear-gradient(180deg, #162561 0%, #09112e 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.42) !important;
  border-radius: 10px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 3px 0 #4f3805,
    0 7px 16px rgba(0, 0, 0, 0.5) !important;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease !important;
}

.game-item .wrapper-container:hover,
.game-item .game-wrapper:hover {
  border-color: #ffd700 !important;
  box-shadow:
    0 0 0 1px #fff3ad,
    0 0 18px rgba(255, 215, 0, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.65) !important;
}

.game-item .game-name {
  color: var(--st-ivory) !important;
  font-weight: 600;
}

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

/* Play Now & Demo ("MAIN" / "COBA") Buttons */
.game-item .play-now,
.play-now {
  color: #091232 !important;
  background: linear-gradient(180deg, #fff7c4 0%, #ffd700 52%, #b58409 100%) !important;
  border: 1px solid #fff3ad !important;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 3px 8px rgba(0, 0, 0, 0.55) !important;
  text-shadow: none !important;
}

.game-item .play-now:hover,
.play-now:hover {
  color: #050b21 !important;
  background: linear-gradient(180deg, #ffffff 0%, #ffe666 55%, #cc9912 100%) !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.8) !important;
}

.game-item .free-play,
.free-play {
  color: var(--st-gold-bright) !important;
  background: linear-gradient(180deg, #273e96 0%, #132158 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.68) !important;
  font-weight: 700 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 3px 8px rgba(0, 0, 0, 0.5) !important;
}

.game-item .free-play:hover,
.free-play:hover {
  color: #091232 !important;
  background: linear-gradient(180deg, #fff4b8 0%, #ffd700 58%, #ba880c 100%) !important;
  border-color: #fff6c4 !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.65) !important;
}

/* ==========================================================================
   7. DOWNLOAD APK SECTION
   ========================================================================== */
.download-apk-container {
  background-color: #0a1438 !important;
  background-image:
    radial-gradient(ellipse 60% 80% at 25% 50%, rgba(255, 215, 0, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 65% 85% at 80% 30%, rgba(52, 82, 184, 0.45) 0%, transparent 70%),
    linear-gradient(115deg, #07102c 0%, #1a2a6c 50%, #081130 100%) !important;
  border-top: 2px solid rgba(255, 215, 0, 0.55) !important;
  border-bottom: 2px solid rgba(255, 215, 0, 0.45) !important;
  box-shadow: inset 0 1px 0 rgba(255, 245, 190, 0.2), 0 10px 28px rgba(0, 0, 0, 0.5) !important;
}

#download_apk > div:first-child > picture > img {
  border-radius: 14px;
  border: 2px solid rgba(255, 215, 0, 0.58);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 215, 0, 0.18);
  object-fit: contain;
  background: #07102c;
}

.download-apk .h2,
.download-apk .h3,
.download-apk p,
.download-apk span {
  color: var(--st-ivory) !important;
}

.download-apk .h2 > strong,
.download-apk .rating-box strong {
  color: var(--st-gold) !important;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.38);
}

#download_apk .download-apk-qr-code img {
  padding: 4px;
  background: #ffffff;
  border: 2px solid #ffd700;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
  object-fit: contain;
}

.download-apk .btn {
  color: #091232 !important;
  background: linear-gradient(180deg, #fff7c4 0%, #ffd700 55%, #b58308 100%) !important;
  border: 1px solid #fff3ad !important;
  font-weight: 800 !important;
  border-radius: 20px !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 3px 0 #664805, 0 6px 14px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.22s ease !important;
}

.download-apk .btn:hover,
.download-apk .btn:focus {
  color: #050b21 !important;
  background: linear-gradient(180deg, #ffffff 0%, #ffe666 55%, #cc9912 100%) !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 3px 0 #755307, 0 0 18px rgba(255, 215, 0, 0.72) !important;
}

/* ==========================================================================
   8. FOOTER, SITE-INFO, PROVIDERS & SEO ARTICLE (.site-description)
   ========================================================================== */
.site-footer {
  background-color: #050a1e !important;
  background-image:
    radial-gradient(ellipse 75% 40% at 50% 0%, rgba(36, 58, 138, 0.52) 0%, transparent 70%),
    linear-gradient(180deg, #111e52 0%, #091233 48%, #040818 100%) !important;
  border-top: 3px solid #ffd700 !important;
  box-shadow: inset 0 2px 0 rgba(255, 246, 198, 0.28) !important;
  color: var(--st-pearl) !important;
}

.footer-links > li > a {
  color: var(--st-pearl) !important;
  font-weight: 600;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-links > li > a:hover {
  color: var(--st-gold) !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
}

.copyright {
  color: var(--st-slate) !important;
}

.footer-separator {
  border-color: rgba(255, 215, 0, 0.28) !important;
}

/* SEO Article Container (.site-description) */
.site-description {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.10) 0%, transparent 55%),
    linear-gradient(145deg, #172869 0%, #0e1a47 55%, #070e29 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.58) !important;
  border-radius: 14px !important;
  padding: 24px 28px !important;
  margin: 16px 0 22px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 210, 0.22),
    0 4px 0 #594006,
    0 14px 32px rgba(0, 0, 0, 0.55) !important;
}

.site-description h1 {
  color: var(--st-gold) !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.site-description p {
  color: var(--st-ivory) !important;
  font-size: 14.5px !important;
  line-height: 1.78 !important;
  text-align: justify;
  margin-bottom: 14px !important;
}

.site-description p:last-child {
  margin-bottom: 0 !important;
}

.site-description a {
  color: var(--st-gold-bright) !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 215, 0, 0.65);
  text-underline-offset: 3px;
}

.site-description a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Site Info Columns (Pelayanan, Produk, Bantuan) */
.site-info-title h3,
.site-info-description h4,
.footer-section-title {
  color: var(--st-gold) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

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

.site-info-description.with-seperator {
  border-color: rgba(255, 215, 0, 0.22) !important;
}

#deposit_progress > div,
#withdrawal_progress > div {
  background: linear-gradient(90deg, #1a2a6c 0%, #ffd700 65%, #fff3ad 100%) !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
}

.contact-list li a {
  background: linear-gradient(180deg, #233888 0%, #111d4f 100%) !important;
  color: var(--st-ivory) !important;
  border: 1px solid rgba(255, 215, 0, 0.5) !important;
  border-radius: 20px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 8px rgba(0, 0, 0, 0.4);
}

.contact-list li a:hover {
  background: linear-gradient(180deg, #fff5be 0%, #ffd700 58%, #b58308 100%) !important;
  color: #091232 !important;
  border-color: #fff6c4 !important;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.65);
}

/* Provider Badges Grid in Footer (With clean hover glow & zero broken icons) */
.provider-container {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(45, 71, 163, 0.35) 0%, transparent 70%),
    linear-gradient(160deg, #162561 0%, #0b1438 65%, #060c22 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.45) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 190, 0.16),
    0 3px 0 #4f3805,
    0 8px 20px rgba(0, 0, 0, 0.48) !important;
}

.provider-container h5 {
  background: linear-gradient(90deg, #223785 0%, #1a2a6c 50%, #101c4d 100%) !important;
  color: var(--st-gold) !important;
  border: 1px solid rgba(255, 215, 0, 0.52) !important;
  border-radius: 8px !important;
  padding: 4px 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hover-list > li {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hover-list > li:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.55));
}

/* ==========================================================================
   9. MODALS & FORMS (LOGIN, FORGOT PASSWORD, APK GUIDE, POPUP)
   ========================================================================== */
.modal-content {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(52, 82, 184, 0.45) 0%, transparent 60%),
    linear-gradient(155deg, #1a2a6c 0%, #0d1842 58%, #060c24 100%) !important;
  border: 2px solid rgba(255, 215, 0, 0.72) !important;
  border-radius: 14px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 210, 0.28),
    0 22px 55px rgba(0, 0, 0, 0.82),
    0 0 24px rgba(255, 215, 0, 0.18) !important;
  color: var(--st-ivory) !important;
}

.modal-header,
.modal-footer,
.modal-header hr {
  border-color: rgba(255, 215, 0, 0.32) !important;
}

.modal-title {
  color: var(--st-gold) !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.modal .close {
  color: var(--st-gold-bright) !important;
  opacity: 0.92;
  text-shadow: 0 1px 3px #000;
}

.modal .close:hover {
  color: #ffffff !important;
  opacity: 1;
}

.modal label {
  color: var(--st-pearl) !important;
}

.modal .form-control,
.modal input[type="text"],
.modal input[type="password"],
.modal input[type="email"] {
  background-color: #070f2b !important;
  border: 1px solid rgba(255, 215, 0, 0.38) !important;
  color: #ffffff !important;
  border-radius: 8px;
}

.modal .form-control:focus,
.modal input:focus {
  border-color: #ffd700 !important;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2) !important;
}

.btn-primary,
.standard-secondary-button.btn-primary,
.modal-footer .btn-primary {
  color: #091232 !important;
  background: linear-gradient(180deg, #fff7c4 0%, #ffd700 55%, #b58308 100%) !important;
  border: 1px solid #fff3ad !important;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 3px 0 #664805, 0 6px 14px rgba(0, 0, 0, 0.45) !important;
}

.btn-primary:hover,
.standard-secondary-button.btn-primary:hover,
.modal-footer .btn-primary:hover {
  color: #050b21 !important;
  background: linear-gradient(180deg, #ffffff 0%, #ffe666 55%, #cc9912 100%) !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.75) !important;
}

.forgot-password-link {
  color: var(--st-gold-bright) !important;
}

.forgot-password-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}
