/* ==========================================================================
   SUNGAITOTO — "CELESTIAL HOROLOGY (SWISS TOURBILLON & SUNRAY GUILLOCHE)"
   Chronometer Gold (#ffd700) & Sunray Midnight Dial (#1a2a6c) + Sapphire Crystal
   Strictly Color / Lighting / 3D Horological Material Overrides (Zero Layout Edits)
   ========================================================================== */

:root {
  /* 18K/24K Swiss Chronometer Gold Spectrum */
  --ch-gold-crown: #ffd700;
  --ch-gold-lume: #fff8d6;
  --ch-gold-bezel-hi: #ffe670;
  --ch-gold-champagne: #e6b800;
  --ch-gold-fluted: #9c6f06;
  --ch-gold-deep-case: #4d3502;

  /* Swiss Sunray & Guilloche Midnight Dial (#1a2a6c Spectrum) */
  --ch-dial-core: #1a2a6c;
  --ch-dial-sunray: #2c47ab;
  --ch-dial-royal: #14225b;
  --ch-dial-caseback: #08102e;
  --ch-dial-cosmos: #040819;

  /* Platinum Index & Super-LumiNova Neutral Accents */
  --ch-platinum-index: #f4f7ff;
  --ch-rhodium-silver: #dce5fa;
  --ch-steel-brushed: #9aa9cf;
  --ch-sapphire-glare: rgba(255, 255, 255, 0.22);

  /* 3D Horology Bezel & Case Shadows */
  --ch-fluted-bezel-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.85),
    inset 0 -2px 3px rgba(102, 70, 0, 0.55),
    0 3px 0 #593d02,
    0 8px 20px rgba(0, 0, 0, 0.68);
  --ch-sapphire-case-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(255, 215, 0, 0.28),
    0 6px 0 #050a20,
    0 16px 36px rgba(2, 5, 18, 0.82);
}

/* ==========================================================================
   0. SWISS SUNRAY DIAL & CONCENTRIC GUILLOCHE ATMOSPHERE
   ========================================================================== */
html,
body {
  background-color: var(--ch-dial-cosmos) !important;
  color: var(--ch-platinum-index) !important;
}

body {
  /* Authentic Horological Sunburst Conic Dial + Concentric Guilloche Rings + Deep Sapphire Base */
  background-image:
    conic-gradient(
      from 180deg at 50% 18%,
      rgba(44, 71, 171, 0.28) 0deg,
      rgba(10, 19, 56, 0.08) 28deg,
      rgba(255, 215, 0, 0.06) 52deg,
      rgba(44, 71, 171, 0.32) 90deg,
      rgba(8, 16, 46, 0.10) 132deg,
      rgba(255, 215, 0, 0.05) 160deg,
      rgba(44, 71, 171, 0.34) 180deg,
      rgba(255, 215, 0, 0.05) 200deg,
      rgba(8, 16, 46, 0.10) 228deg,
      rgba(44, 71, 171, 0.32) 270deg,
      rgba(255, 215, 0, 0.06) 308deg,
      rgba(10, 19, 56, 0.08) 332deg,
      rgba(44, 71, 171, 0.28) 360deg
    ),
    repeating-radial-gradient(
      circle at 50% 18%,
      rgba(255, 215, 0, 0.022) 0px,
      rgba(255, 215, 0, 0.022) 1px,
      transparent 1px,
      transparent 28px
    ),
    radial-gradient(ellipse 85% 50% at 50% 0%, #263e99 0%, #1a2a6c 44%, #091234 78%, #040819 100%) !important;
  background-attachment: fixed;
}

/* Celestial Star-Wheel & Minute-Track Micro-Lume Accents (Non-blocking) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1030;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    radial-gradient(circle at 60px 42px, #fff8d6 0 1px, rgba(255, 215, 0, 0.45) 2px, transparent 3.2px),
    radial-gradient(circle at 210px 155px, #ffffff 0 0.8px, rgba(168, 194, 255, 0.45) 1.8px, transparent 3px),
    radial-gradient(circle at 330px 88px, #ffd700 0 1px, transparent 2.5px);
  background-size: 260px 240px, 350px 320px, 430px 390px;
}

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

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

/* ==========================================================================
   1. CHRONOGRAPH MINUTE-TRACK TOPBAR & CROWN UTILITY CONTROLS
   ========================================================================== */
.topbar-container {
  /* Precision horology minute-tick scale along bottom edge + brushed midnight case */
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 215, 0, 0.32) 0px,
      rgba(255, 215, 0, 0.32) 1px,
      transparent 1px,
      transparent 12px
    ) 0 100% / 100% 3px no-repeat,
    linear-gradient(180deg, #22388c 0%, #14225b 55%, #070e2b 100%) !important;
  border-bottom: 1px solid #ffd700 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 5px 16px rgba(0, 0, 0, 0.65) !important;
}

.topbar-left-section .topbar-item,
.topbar-left-section .topbar-item a {
  color: var(--ch-platinum-index) !important;
  border-radius: 20px;
  transition: all 0.22s ease;
}

.topbar-left-section .live-chat,
.topbar-left-section .topbar-item a.download-apk-btn {
  background:
    radial-gradient(circle at 50% 20%, rgba(74, 108, 224, 0.45), transparent 70%),
    linear-gradient(180deg, #243b94 0%, #132057 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.58) !important;
  border-radius: 20px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 2px 6px rgba(0, 0, 0, 0.5) !important;
  color: var(--ch-platinum-index) !important;
}

.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, #fff9db 0%, #ffd700 52%, #b07d05 100%) !important;
  color: #08102e !important;
  border-color: #ffffff !important;
  box-shadow: inset 0 1px 1px #ffffff, 0 0 14px rgba(255, 215, 0, 0.72) !important;
}

/* Crisp dark navy icon inversion when hovered over bright gold crown 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(52%) saturate(3600%) hue-rotate(219deg) brightness(92%) contrast(104%);
}

.topbar-left-section .language-selector-trigger {
  color: var(--ch-platinum-index) !important;
  padding: 4px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 215, 0, 0.42);
  background: linear-gradient(180deg, #213687 0%, #0d1742 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.topbar-left-section .language-selector-trigger:hover {
  border-color: #ffd700;
  color: var(--ch-gold-lume) !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.45);
}

.topbar-left-section .language-selector-trigger:after {
  border-top-color: #ffd700 !important;
}

.dropdown-menu.language-selector {
  background: linear-gradient(165deg, #1d307a 0%, #091233 100%) !important;
  border: 1px solid #ffd700 !important;
  border-radius: 10px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

.topbar-left-section .language-selector li {
  border-bottom: 1px solid rgba(255, 215, 0, 0.18) !important;
  color: var(--ch-platinum-index) !important;
}

.topbar-left-section .language-selector li:hover {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.28) 0%, rgba(26, 42, 108, 0.65) 100%) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   2. HOROLOGICAL PUSHER & FLUTED GOLD CROWN BUTTONS (MASUK / DAFTAR)
   ========================================================================== */
.login-panel .login-button {
  color: var(--ch-gold-lume) !important;
  background:
    radial-gradient(ellipse at 50% 15%, rgba(255, 255, 255, 0.24) 0%, transparent 55%),
    linear-gradient(180deg, #2b45a8 0%, #1a2a6c 54%, #0b1438 100%) !important;
  border: 1.5px solid #ffd700 !important;
  border-radius: 22px !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.38),
    0 3px 0 #573c03,
    0 6px 14px rgba(0, 0, 0, 0.58) !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85) !important;
}

.login-panel .login-button:hover,
.login-panel .login-button:focus {
  color: #07102e !important;
  background: linear-gradient(180deg, #ffffff 0%, #ffe97d 38%, #ffd700 72%, #b88406 100%) !important;
  border-color: #ffffff !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  box-shadow: inset 0 2px 1px #ffffff, 0 3px 0 #6b4a04, 0 0 18px rgba(255, 215, 0, 0.78) !important;
}

/* Fluted Gold Chronometer Crown ("Daftar") */
.login-panel .register-button {
  color: #07102e !important;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.16) 0px,
      rgba(255, 255, 255, 0.16) 2px,
      transparent 2px,
      transparent 7px
    ),
    linear-gradient(180deg, #fffbe0 0%, #ffe45c 28%, #ffd700 58%, #b37f05 100%) !important;
  border: 1.5px solid #fff8cc !important;
  border-radius: 22px !important;
  box-shadow: var(--ch-fluted-bezel-shadow), 0 0 16px rgba(255, 215, 0, 0.32) !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68) !important;
}

.login-panel .register-button:hover,
.login-panel .register-button:focus {
  color: #04091e !important;
  background: linear-gradient(180deg, #ffffff 0%, #fff099 35%, #ffd700 72%, #cc9308 100%) !important;
  border-color: #ffffff !important;
  box-shadow: inset 0 2px 2px #ffffff, 0 3px 0 #735004, 0 0 24px rgba(255, 215, 0, 0.9) !important;
}

/* ==========================================================================
   3. SUNRAY DIAL HEADER, FLUTED GOLD BEZEL & INDEX NAVIGATION (HOVER SAFE!)
   ========================================================================== */
.site-header {
  /* Radial sunray dial reflection + fluted gold bottom bezel */
  background:
    radial-gradient(ellipse 70% 110% at 50% 100%, rgba(255, 215, 0, 0.12) 0%, transparent 58%),
    conic-gradient(from 180deg at 50% -30%, #101c4d 0deg, #27409e 145deg, #1a2a6c 180deg, #27409e 215deg, #101c4d 360deg) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-bottom: 4px solid #ffd700 !important;
  box-shadow:
    inset 0 -1px 0 #ffffff,
    0 3px 0 #664703,
    0 14px 32px rgba(0, 0, 0, 0.72) !important;
}

.site-header .logo {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.22) 0%, rgba(26, 42, 108, 0.35) 58%, transparent 76%) !important;
}

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

.site-header .logo:hover > img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.75));
}

/* Keep .top-menu > li without position:relative so .game-list mega-menu never clips! */
.top-menu > li {
  color: var(--ch-rhodium-silver) !important;
  transition: background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.top-menu > li > a {
  color: inherit !important;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

/* CRITICAL ICON HOVER FIX: Prevent broken content:var(--image-src) replacement on menu <img> */
.top-menu > li > a > img {
  content: normal !important;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), filter 0.24s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65));
}

/* Watch Hour-Index Gold Marker & Domed Sapphire Glow on Hover */
.top-menu > li:hover,
.top-menu > li[data-active="true"] {
  color: var(--ch-gold-lume) !important;
  background-image:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 215, 0, 0.28) 38%, rgba(26, 42, 108, 0.25) 72%, transparent 100%) !important;
  box-shadow:
    inset 0 3px 0 #ffd700,
    inset 0 -2px 0 rgba(255, 248, 214, 0.55) !important;
}

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

.top-menu > li:hover > a > img,
.top-menu > li[data-active="true"] > a > img {
  content: normal !important;
  transform: translateY(-2px) scale(1.07);
  filter: drop-shadow(0 0 9px rgba(255, 215, 0, 0.88)) brightness(1.12) contrast(1.06) !important;
}

/* Mega-Menu Tourbillon Caseback Dropdown */
.top-menu .game-list {
  background:
    repeating-radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.03) 0 1px, transparent 1px 24px),
    radial-gradient(ellipse at 50% 0%, rgba(44, 71, 171, 0.97) 0%, rgba(18, 30, 82, 0.99) 58%, rgba(6, 11, 32, 0.99) 100%) !important;
  border-top: 3px solid #ffd700 !important;
  border-bottom: 5px solid #9c6f06 !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 24px 52px rgba(0, 0, 0, 0.86) !important;
}

.top-menu .game-list > li > a .background {
  border: 1px solid rgba(255, 215, 0, 0.45) !important;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 5px 14px rgba(0, 0, 0, 0.55);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.top-menu .game-list > li:hover > a .background {
  border-color: #ffd700 !important;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px #fff8d6, 0 0 18px rgba(255, 215, 0, 0.68) !important;
}

.menu-slide .left_trigger,
.menu-slide .right_trigger {
  color: #ffd700 !important;
  background: linear-gradient(180deg, #253d99, #0c1640) !important;
  border: 1px solid rgba(255, 215, 0, 0.55) !important;
}

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

/* ==========================================================================
   4. HERO BANNER & CHRONOGRAPH APERTURE ANNOUNCEMENT WINDOW
   ========================================================================== */
.banner {
  background: linear-gradient(180deg, #050a20 0%, #121f54 50%, #060c24 100%) !important;
  border-bottom: 3px solid #ffd700 !important;
  box-shadow: 0 4px 0 #593d02, 0 12px 28px rgba(0, 0, 0, 0.68);
}

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

.home-info-container {
  background: transparent !important;
}

/* Date-Window / Chronograph Aperture Bar */
.announcement-container {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 45%),
    linear-gradient(90deg, #233a91 0%, #162563 50%, #0b143b 100%) !important;
  color: var(--ch-platinum-index) !important;
  border: 1.5px solid #ffd700 !important;
  border-radius: 28px !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.36),
    0 4px 0 #543a03,
    0 10px 24px rgba(0, 0, 0, 0.58) !important;
}

.announcement-container > [data-section="announcements"] {
  background: linear-gradient(90deg, rgba(5, 10, 30, 0.92) 0%, rgba(13, 24, 66, 0.88) 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.32);
  border-radius: 18px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

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

.announcement-container > [data-section="title"],
.announcement-container > [data-section="date"] {
  color: var(--ch-gold-lume) !important;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   5. TOURBILLON FLUTED GOLD BEZEL PROGRESSIVE JACKPOT CHRONOMETER
   ========================================================================== */
.home-progressive-jackpot {
  /* Fluted Swiss Coin-Edge Bezel Pattern around 24K Gold Case */
  background:
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      rgba(255, 255, 255, 0.22) 0deg 1.5deg,
      transparent 1.5deg 4deg
    ),
    linear-gradient(135deg, #7a5404 0%, #ffd700 22%, #fffbe0 38%, #d49b08 54%, #ffd700 76%, #6e4b03 100%) !important;
  border-radius: 22px !important;
  padding: 4px !important;
  box-shadow:
    inset 0 2px 2px #ffffff,
    0 6px 0 #4d3502,
    0 18px 42px rgba(0, 0, 0, 0.78),
    0 0 28px rgba(255, 215, 0, 0.25) !important;
}

.home-progressive-jackpot .outer-container {
  background: linear-gradient(165deg, #263f9e 0%, #152461 52%, #070e29 100%) !important;
  border-radius: 19px !important;
}

.home-progressive-jackpot .inner-container {
  /* Sunburst Horology Dial + Domed Sapphire Specular Arc */
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    conic-gradient(from 180deg at 50% 50%, #101d4f 0deg, #253d9c 90deg, #152461 180deg, #253d9c 270deg, #101d4f 360deg) !important;
  border: 1.5px solid rgba(255, 215, 0, 0.78) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
}

.home-progressive-jackpot .border-container {
  border-color: #ffd700 !important;
}

.home-progressive-jackpot .jackpot-container {
  /* Recessed Chronograph Sub-Dial Aperture */
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.03) 0 1px, transparent 1px 10px),
    radial-gradient(ellipse at 50% 50%, #162666 0%, #050a20 88%) !important;
  box-shadow: inset 0 5px 16px rgba(0, 0, 0, 0.92) !important;
}

.home-progressive-jackpot .jackpot-border-container {
  border: 2px solid #ffd700 !important;
  box-shadow:
    inset 0 0 16px rgba(255, 215, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.30) !important;
}

.home-progressive-jackpot .jackpot-currency {
  color: #ffd700 !important;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.7), 0 2px 4px #000000 !important;
}

.home-progressive-jackpot #progressive_jackpot {
  color: #fffbe6 !important;
  text-shadow:
    0 0 12px rgba(255, 215, 0, 0.8),
    0 2px 4px #000000 !important;
}

.home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
  color: var(--ch-platinum-index) !important;
}

.home-progressive-jackpot .jackpot-play-section .jackpot-play-text label {
  color: #ffd700 !important;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.48);
}

/* ==========================================================================
   6. GUILLOCHE SUB-DIAL GAME PANELS, GOLD PLAQUES & SAPPHIRE GAME CARDS
   ========================================================================== */
.popular-games,
.popular-game-title-container .container-content,
.home-game-list-container .container-content {
  background:
    radial-gradient(ellipse 80% 42% at 50% 0%, rgba(255, 255, 255, 0.10) 0%, transparent 58%),
    repeating-radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.022) 0 1px, transparent 1px 22px),
    linear-gradient(170deg, rgba(28, 46, 117, 0.95) 0%, rgba(14, 24, 66, 0.98) 55%, rgba(6, 11, 32, 0.99) 100%) !important;
  border: 1.5px solid rgba(255, 215, 0, 0.68) !important;
  border-radius: 16px !important;
  box-shadow: var(--ch-sapphire-case-shadow) !important;
}

.popular-games .section-title,
.jackpot-winner-title {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #2943a6 0%, #172769 55%, #0a1338 100%) !important;
  color: var(--ch-gold-lume) !important;
  border-bottom: 2px solid #ffd700 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85) !important;
}

.popular-games [data-section="left"] {
  background: linear-gradient(180deg, rgba(26, 42, 108, 0.72) 0%, rgba(7, 13, 38, 0.95) 100%) !important;
  border-right: 1px solid rgba(255, 215, 0, 0.40) !important;
}

.jackpot-winners .winners-ticker-container,
.jackpot-winners .winner-item,
.jackpot-winners .winner-info {
  color: var(--ch-platinum-index) !important;
}

.jackpot-winners .winner-amount,
.jackpot-winners strong {
  color: #ffd700 !important;
  font-weight: 800;
}

/* Engraved Chronometer Gold Title Plaque */
.home-game-list-container .container-title span,
.popular-game-title-container .container-title span {
  color: #07102e !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #fff3a8 24%, #ffd700 56%, #b88406 100%) !important;
  border: 1px solid #ffffff !important;
  box-shadow: var(--ch-fluted-bezel-shadow) !important;
  font-weight: 900 !important;
  letter-spacing: 0.45px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}

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

/* Horology Sub-Dial Provider Tabs */
.popular-games .nav-tabs > li > a {
  background:
    radial-gradient(circle at 50% 20%, rgba(76, 112, 235, 0.38), transparent 68%),
    linear-gradient(180deg, #21368a 0%, #101c4d 64%, #070e29 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.46) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 3px 0 #04081a,
    0 6px 12px rgba(0, 0, 0, 0.48) !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:
    radial-gradient(ellipse 85% 45% at 50% 0%, rgba(255, 255, 255, 0.28) 0%, transparent 62%),
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.22) 0%, transparent 75%),
    linear-gradient(180deg, #2d4ab8 0%, #1a2a6c 55%, #0a143d 100%) !important;
  color: #ffffff !important;
  border: 2px solid #ffd700 !important;
  box-shadow:
    inset 0 1px 1px #ffffff,
    inset 0 -2px 6px rgba(255, 215, 0, 0.35),
    0 3px 0 #694803,
    0 0 18px rgba(255, 215, 0, 0.72) !important;
  transform: translateY(-2px);
}

.popular-games .nav-tabs > li.active > a img,
.popular-games .nav-tabs > li > a:hover img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 8px rgba(255, 215, 0, 0.45)) brightness(1.06);
}

.scrtabs-tab-scroll-arrow {
  background: linear-gradient(180deg, #fff9db 0%, #ffd700 54%, #a87605 100%) !important;
  color: #07102e !important;
  border: 1px solid #ffffff !important;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 #ffffff, 0 3px 8px rgba(0, 0, 0, 0.55) !important;
}

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

/* Domed Sapphire Crystal & Gold Bezel Game Cards */
.game-item .wrapper-container,
.game-item .game-wrapper {
  background:
    radial-gradient(ellipse 90% 45% at 50% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, #1f3382 0%, #0e1947 62%, #060b21 100%) !important;
  border: 1.5px solid rgba(255, 215, 0, 0.52) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 0 #4d3502,
    0 9px 20px rgba(0, 0, 0, 0.6) !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;
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px #fff8d6,
    0 0 20px rgba(255, 215, 0, 0.72),
    0 12px 26px rgba(0, 0, 0, 0.76) !important;
}

.game-item .game-name {
  color: var(--ch-platinum-index) !important;
  font-weight: 700;
}

.game-item:hover .game-name {
  color: var(--ch-gold-lume) !important;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Chronometer Pusher Game Action Buttons ("MAIN" / "COBA") */
.game-item .play-now,
.play-now {
  color: #07102e !important;
  background: linear-gradient(180deg, #fffbe0 0%, #ffd700 54%, #b58005 100%) !important;
  border: 1px solid #ffffff !important;
  border-radius: 18px !important;
  font-weight: 900 !important;
  box-shadow: inset 0 1px 1px #ffffff, 0 3px 8px rgba(0, 0, 0, 0.65) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}

.game-item .play-now:hover,
.play-now:hover {
  color: #04081c !important;
  background: linear-gradient(180deg, #ffffff 0%, #ffe866 55%, #d49a0a 100%) !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.9) !important;
}

.game-item .free-play,
.free-play {
  color: var(--ch-gold-lume) !important;
  background: linear-gradient(180deg, #2943a6 0%, #132159 100%) !important;
  border: 1px solid #ffd700 !important;
  border-radius: 18px !important;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 8px rgba(0, 0, 0, 0.6) !important;
}

.game-item .free-play:hover,
.free-play:hover {
  color: #07102e !important;
  background: linear-gradient(180deg, #fff8d6 0%, #ffd700 62%, #ba8608 100%) !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.78) !important;
}

/* ==========================================================================
   7. HOROLOGY EXHIBITION APK SHOWCASE
   ========================================================================== */
.download-apk-container {
  background-color: #081130 !important;
  background-image:
    repeating-radial-gradient(circle at 24% 50%, rgba(255, 215, 0, 0.035) 0 1px, transparent 1px 20px),
    radial-gradient(ellipse 62% 85% at 78% 35%, rgba(56, 90, 214, 0.48) 0%, transparent 72%),
    linear-gradient(115deg, #060d26 0%, #1a2a6c 50%, #070f2b 100%) !important;
  border-top: 3px solid #ffd700 !important;
  border-bottom: 3px solid #ffd700 !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 12px 32px rgba(0, 0, 0, 0.65) !important;
}

#download_apk > div:first-child > picture > img {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.72));
  object-fit: contain;
}

.download-apk .h2,
.download-apk .h3,
.download-apk p,
.download-apk span {
  color: var(--ch-platinum-index) !important;
}

.download-apk .h2 > strong,
.download-apk-section i {
  color: #ffd700 !important;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
}

#download_apk .download-apk-qr-code img {
  padding: 4px;
  background: #ffffff;
  border: none !important;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.48);
  object-fit: contain;
}

.download-apk .btn {
  color: #07102e !important;
  background: linear-gradient(180deg, #fffbe0 0%, #ffd700 55%, #b58005 100%) !important;
  border: 1px solid #ffffff !important;
  font-weight: 900 !important;
  border-radius: 22px !important;
  box-shadow: var(--ch-fluted-bezel-shadow) !important;
}

.download-apk .btn:hover,
.download-apk .btn:focus {
  color: #04081c !important;
  background: linear-gradient(180deg, #ffffff 0%, #ffe866 55%, #d49a0a 100%) !important;
  box-shadow: inset 0 2px 2px #ffffff, 0 3px 0 #6e4c04, 0 0 20px rgba(255, 215, 0, 0.85) !important;
}

/* ==========================================================================
   8. CASEBACK FOOTER, SUNRAY SEO DIAL (.site-description) & PROVIDER CALIBERS
   ========================================================================== */
.site-footer {
  background-color: #040819 !important;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 215, 0, 0.30) 0px,
      rgba(255, 215, 0, 0.30) 1px,
      transparent 1px,
      transparent 14px
    ) 0 0 / 100% 4px no-repeat,
    radial-gradient(ellipse 75% 42% at 50% 0%, rgba(44, 71, 171, 0.52) 0%, transparent 72%),
    linear-gradient(180deg, #132159 0%, #08102e 52%, #030614 100%) !important;
  border-top: 3px solid #ffd700 !important;
  box-shadow: inset 0 1px 0 #ffffff !important;
  color: var(--ch-platinum-index) !important;
}

.footer-links > li > a {
  color: var(--ch-rhodium-silver) !important;
  font-weight: 700;
}

.footer-links > li > a:hover {
  color: #ffd700 !important;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.65);
}

.copyright {
  color: var(--ch-steel-brushed) !important;
}

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

/* Grand Complication Guilloche Plaque for SEO Article (.site-description) */
.site-description {
  background:
    radial-gradient(ellipse 85% 50% at 50% 0%, rgba(255, 255, 255, 0.10) 0%, transparent 56%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.022) 0 1px, transparent 1px 24px),
    linear-gradient(160deg, #1c2f7a 0%, #101c4d 56%, #060c24 100%) !important;
  border: 2px solid #ffd700 !important;
  border-radius: 18px !important;
  padding: 26px 30px !important;
  margin: 18px 0 24px !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    inset 0 0 24px rgba(26, 42, 108, 0.55),
    0 5px 0 #573c03,
    0 18px 38px rgba(0, 0, 0, 0.72) !important;
}

.site-description h1 {
  color: #ffd700 !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  text-align: left !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32),
    0 2px 12px rgba(255, 215, 0, 0.34),
    0 3px 6px rgba(0, 0, 0, 0.9) !important;
}

.site-description p {
  color: var(--ch-platinum-index) !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(--ch-gold-lume) !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #ffd700;
  text-underline-offset: 3px;
}

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

/* Site Info Chronograph Reserve Gauges (Pelayanan, Produk, Bantuan) */
.site-info-title h3,
.site-info-description h4,
.footer-section-title {
  color: #ffd700 !important;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

.site-info-title p,
.site-info-description p {
  color: var(--ch-platinum-index) !important;
}

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

/* Power-Reserve Indicator Bar Styling */
#deposit_progress > div,
#withdrawal_progress > div {
  background: linear-gradient(90deg, #1a2a6c 0%, #ffd700 65%, #fff8d6 100%) !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.contact-list li a {
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #27409e 0%, #101c4d 100%) !important;
  color: var(--ch-platinum-index) !important;
  border: 1px solid #ffd700 !important;
  border-radius: 22px;
  padding: 6px 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 10px rgba(0, 0, 0, 0.5);
}

.contact-list li a:hover {
  background: linear-gradient(180deg, #ffffff 0%, #ffe875 42%, #ffd700 100%) !important;
  color: #07102e !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.82);
}

/* Provider Caliber Showcase Grid */
.provider-container {
  background:
    repeating-radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.02) 0 1px, transparent 1px 22px),
    linear-gradient(165deg, #18296e 0%, #0b1438 64%, #050a20 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.55) !important;
  border-radius: 14px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 4px 0 #4d3502,
    0 10px 24px rgba(0, 0, 0, 0.6) !important;
}

.provider-container h5 {
  background: linear-gradient(90deg, #27409e 0%, #1a2a6c 52%, #0e1947 100%) !important;
  color: #ffd700 !important;
  border: 1px solid #ffd700 !important;
  border-radius: 18px !important;
  padding: 5px 16px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

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

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

/* ==========================================================================
   9. HOROLOGY CASE MODALS & DIALOGS
   ========================================================================== */
.modal-content {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(56, 90, 214, 0.48) 0%, transparent 62%),
    linear-gradient(160deg, #1a2a6c 0%, #0d1742 58%, #050a20 100%) !important;
  border: 2px solid #ffd700 !important;
  border-radius: 18px !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    0 24px 60px rgba(0, 0, 0, 0.88),
    0 0 28px rgba(255, 215, 0, 0.24) !important;
  color: var(--ch-platinum-index) !important;
}

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

.modal-title {
  color: #ffd700 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.modal .close {
  color: var(--ch-gold-lume) !important;
  opacity: 0.95;
}

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

.modal label {
  color: var(--ch-platinum-index) !important;
}

.modal .form-control,
.modal input[type="text"],
.modal input[type="password"],
.modal input[type="email"] {
  background-color: #060c24 !important;
  border: 1px solid rgba(255, 215, 0, 0.48) !important;
  color: #ffffff !important;
  border-radius: 10px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

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

.btn-primary,
.standard-secondary-button.btn-primary,
.modal-footer .btn-primary {
  color: #07102e !important;
  background: linear-gradient(180deg, #fffbe0 0%, #ffd700 58%, #b58005 100%) !important;
  border: 1px solid #ffffff !important;
  border-radius: 20px !important;
  font-weight: 900 !important;
  box-shadow: var(--ch-fluted-bezel-shadow) !important;
}

.btn-primary:hover,
.standard-secondary-button.btn-primary:hover,
.modal-footer .btn-primary:hover {
  color: #04081c !important;
  background: linear-gradient(180deg, #ffffff 0%, #ffe866 55%, #d49a0a 100%) !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.88) !important;
}

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

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