/* ============================================================
   SUNGAITOTO — luxury gold / navy skin layer
   #ffd700 family + #1a2a6c family, gradient + radial + neutral
   shading.  Colours, glows and lighting only: no box is moved,
   resized or restructured.
   ============================================================ */
:root {
  --g-50:  #fffdf2;
  --g-100: #fff9d9;
  --g-200: #ffef9f;
  --g-300: #ffe470;
  --g-400: #ffd700;
  --g-500: #e8bf16;
  --g-600: #c9a012;
  --g-700: #a37c0b;
  --n-900: #050a1c;
  --n-800: #0b1233;
  --n-700: #101a44;
  --n-600: #1a2a6c;
  --n-500: #24377f;
  --n-400: #34499a;
  --gold-line: linear-gradient(90deg, rgba(255,215,0,0), #ffd700 18%, #fff3b0 50%, #ffd700 82%, rgba(255,215,0,0));
  --gold-face: linear-gradient(180deg, #fff8d6 0%, #ffe680 18%, #ffd700 44%, #dcae12 68%, #f6d55c 88%, #fff3b0 100%);
  --navy-glass: radial-gradient(120% 140% at 50% -20%, rgba(52,73,154,.55), rgba(11,18,51,.92) 60%, #050a1c 100%);
  --lift: 0 10px 26px rgba(0,0,0,.55), 0 0 0 1px rgba(255,215,0,.14);
}

/* ---------- page shell ---------- */
html, body {
  background-color: var(--n-900) !important;
  background-image:
    radial-gradient(1100px 620px at 50% -8%, rgba(26,42,108,.78), rgba(5,10,28,0) 70%),
    radial-gradient(760px 520px at 106% 10%, rgba(255,215,0,.10), rgba(5,10,28,0) 68%),
    radial-gradient(700px 480px at -6% 40%, rgba(26,42,108,.55), rgba(5,10,28,0) 72%),
    radial-gradient(900px 600px at 50% 108%, rgba(36,55,127,.42), rgba(5,10,28,0) 70%) !important;
  background-attachment: fixed, fixed, fixed, fixed;
  color: #e7edff;
}

#goldCoins {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 3; opacity: .9;
}

.topbar, .navbar, .header, .site-header {
  background-image: linear-gradient(180deg, rgba(11,18,51,.96), rgba(16,26,68,.92)) !important;
  box-shadow: 0 1px 0 rgba(255,215,0,.35), 0 12px 30px rgba(0,0,0,.55) !important;
}

/* ---------- top bar ---------- */
.topbar-item, .language_selector, .topbar-item a { color: #cbd6f5 !important; }
.topbar-item:hover, .topbar-item a:hover { color: var(--g-400) !important; }
.topbar .icon, .topbar-item i { filter: drop-shadow(0 0 6px rgba(255,215,0,.35)); }

/* ---------- logo / brand ---------- */
a.logo { background-image: none !important; }
a.logo img, .logo img {
  /* the replacement wordmark is wider than the old one — fit it inside the
     box it already had instead of letting it spill over the menu */
  max-width: 100% !important; max-height: 100% !important;
  width: auto !important; height: auto !important;
  object-fit: contain; display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.65)) drop-shadow(0 0 12px rgba(255,215,0,.30));
}
a.logo { display: block; }

/* ---------- main navigation ---------- */
.menu-list .menu-item, .navbar-nav > li > a, .main-menu a, .menu-item a {
  color: #dfe7fb !important;
  transition: color .25s ease, text-shadow .25s ease;
}
.menu-list .menu-item:hover, .navbar-nav > li > a:hover, .main-menu a:hover,
.menu-item:hover a, .menu-item.active a, .navbar-nav > .active > a {
  color: var(--g-400) !important;
  text-shadow: 0 0 12px rgba(255,215,0,.55);
}
.menu-item.active, .navbar-nav > .active > a {
  background-image: linear-gradient(180deg, rgba(255,215,0,.16), rgba(255,215,0,.02)) !important;
  box-shadow: inset 0 -2px 0 var(--g-400), 0 0 18px rgba(255,215,0,.18) !important;
}
.menu-item.active .menu-icon, .menu-item:hover .menu-icon {
  filter: drop-shadow(0 0 7px rgba(255,215,0,.75)) saturate(1.05);
}

/* ---------- hero / banner slider ---------- */
.banner, .banner-carousel, #banner_carousel, .carousel, .slider {
  box-shadow: inset 0 0 90px rgba(5,10,28,.85), var(--lift);
}
.carousel .slick-dots li button, .slick-dots li button {
  background: rgba(255,215,0,.35) !important;
  box-shadow: 0 0 8px rgba(255,215,0,.35);
}
.slick-dots li.slick-active button {
  background: var(--gold-face) !important;
  box-shadow: 0 0 14px rgba(255,215,0,.85);
}
.slick-prev, .slick-next, .carousel-control, .nav-btn, .banner-nav {
  background-image: var(--gold-face) !important;
  border: 1px solid var(--g-700) !important;
  color: var(--n-700) !important;
  box-shadow: 0 4px 14px rgba(255,215,0,.35), inset 0 1px 0 rgba(255,255,255,.7) !important;
}

/* ---------- announcement ticker ---------- */
.pemberitahuan, .announcement, .announcement-list, .info-ticker, [data-section="announcements"] { color: #d8e2fb; }
.announcement-list li { color: #cfdaf6 !important; }
.notice-title, .pemberitahuan strong { color: var(--g-400) !important; }
.announcement-container, .notification-bar, .home-info-container .announcement-container {
  background-image: linear-gradient(180deg, rgba(26,42,108,.55), rgba(11,18,51,.78)) !important;
  border: 1px solid rgba(255,215,0,.22) !important;
  box-shadow: inset 0 1px 0 rgba(255,215,0,.10), 0 8px 22px rgba(0,0,0,.45) !important;
}

/* ---------- jackpot panel ---------- */
.jackpot-container, .progressive-jackpot, #progressive_jackpot {
  background-image:
    radial-gradient(120% 160% at 50% -30%, rgba(255,215,0,.20), rgba(11,18,51,0) 60%),
    linear-gradient(180deg, rgba(16,26,68,.95), rgba(5,10,28,.98)) !important;
  border: 1px solid rgba(255,215,0,.38) !important;
  box-shadow: 0 0 0 1px rgba(255,215,0,.10), 0 0 30px rgba(255,215,0,.12),
              inset 0 0 40px rgba(255,215,0,.06), 0 14px 34px rgba(0,0,0,.6) !important;
}
.jackpot-amount, .jackpot-value, .jackpot-container .amount, #progressive_jackpot .value {
  background-image: var(--gold-face);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent !important;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)) drop-shadow(0 0 14px rgba(255,215,0,.45));
}
.jackpot-container .track, .jackpot-ring {
  border-color: rgba(255,215,0,.35) !important;
  box-shadow: inset 0 0 24px rgba(255,215,0,.20), 0 0 18px rgba(255,215,0,.18);
}

/* ---------- tabs ---------- */
.tab-pane, .popular-game-list { background: transparent; }
.nav-tabs, .provider-tabs, .game-tabs { border-bottom: 1px solid rgba(255,215,0,.22) !important; }
.nav-tabs > li > a, .game-tabs a, .provider-tab {
  color: #cdd8f4 !important;
  border: 1px solid transparent !important;
  transition: color .2s ease, box-shadow .2s ease;
}
.nav-tabs > li > a:hover, .provider-tab:hover { color: var(--g-300) !important; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus,
.game-tabs a.active, .provider-tab.active {
  color: var(--g-200) !important;
  background-image: linear-gradient(180deg, rgba(255,215,0,.18), rgba(255,215,0,.03) 70%, rgba(26,42,108,.35)) !important;
  border: 1px solid rgba(255,215,0,.42) !important;
  box-shadow: 0 0 18px rgba(255,215,0,.22), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

/* ---------- game cards ---------- */
.game-item .game-wrapper, .game-item .link-container {
  box-shadow: 0 6px 16px rgba(0,0,0,.55);
  transition: box-shadow .25s ease;
}
.game-item:hover .game-wrapper, .game-item:hover .link-container {
  box-shadow: 0 0 0 1px rgba(255,215,0,.55), 0 10px 26px rgba(0,0,0,.6), 0 0 24px rgba(255,215,0,.28) !important;
}
.game-name { color: var(--g-100) !important; }
.game-item .play-now, .play-now {
  color: var(--n-700) !important;
  background-image: var(--gold-face) !important;
  border: 1px solid var(--g-700) !important;
  box-shadow: 0 3px 10px rgba(255,215,0,.35), inset 0 1px 0 rgba(255,255,255,.7) !important;
}

/* ---------- section titles ---------- */
.section-title, .title-bar, h3.title, .footer-section-title, .site-info-title {
  color: var(--g-300) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.6), 0 0 14px rgba(255,215,0,.28);
}

/* ---------- footer cards / info blocks ---------- */
.site-info-container, .site-info, .footer-section, .footer-container {
  background-image: var(--navy-glass) !important;
  border: 1px solid rgba(255,215,0,.16) !important;
  box-shadow: var(--lift) !important;
}
.site-info h4, .site-info-description, .site-info p { color: #cfd9f4 !important; }
.site-info-container a, .footer a, .site-description a { color: var(--g-400) !important; }
.site-description h1, .site-description h2, .site-description h2 strong,
.site-description h2 span { color: var(--g-200) !important; text-shadow: 0 0 16px rgba(255,215,0,.22); }
.site-description p, .site-description p span { color: #ccd7f4 !important; line-height: 1.75; }
.site-description p strong, .site-description p strong span { color: var(--g-300) !important; }
.footer-separator { border-top-color: rgba(255,215,0,.45) !important; background: none !important; }
hr { border-color: rgba(255,215,0,.20) !important; background: none !important; }
.copyright { color: #b9c6ea !important; }

/* ---------- provider strip ---------- */
.provider-container, .provider-logos, .popular-providers, .games-group {
  background-image: linear-gradient(180deg, rgba(26,42,108,.35), rgba(5,10,28,.55)) !important;
  border: 1px solid rgba(255,215,0,.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 20px rgba(0,0,0,.45) !important;
}
.provider-container img, .provider-logos img { filter: grayscale(.08) brightness(1.03) contrast(1.03); }

/* ---------- winner / live info ---------- */
.winner-info { color: #e9efff !important; }
.winner-amount { color: var(--g-300) !important; text-shadow: 0 0 10px rgba(255,215,0,.35); }

/* ---------- buttons ---------- */
.btn-primary, .standard-button-group .btn-primary {
  color: var(--n-700) !important;
  background-image: var(--gold-face) !important;
  border: 1px solid var(--g-700) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 5px 16px rgba(255,215,0,.30) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-image: linear-gradient(180deg, #fffdf2, #ffeaa0 24%, #ffe066 55%, #e0b312 80%, #fff3b0) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 22px rgba(255,215,0,.55) !important;
}
.standard-secondary-button, .btn-default, .btn-secondary {
  color: var(--g-300) !important;
  background-color: #0b1233 !important;
  background-image: linear-gradient(180deg, rgba(255,215,0,.14), rgba(255,215,0,.03)) !important;
  border: 1px solid rgba(255,215,0,.45) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12) !important;
}
.standard-secondary-button:hover, .btn-default:hover {
  color: var(--g-100) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 16px rgba(255,215,0,.35) !important;
}

/* ---------- topbar CTAs ---------- */
.login-button, .register-button {
  position: relative; z-index: 4;   /* the topbar's icon row must not paint over them */
  border: 1px solid var(--g-700) !important;
  font-weight: 700;
  letter-spacing: .3px;
  transition: box-shadow .2s ease;
}
.login-button {
  color: var(--g-200) !important;
  background-color: #0b1233 !important;   /* opaque: nothing may bleed through */
  background-image: linear-gradient(180deg, rgba(255,215,0,.20), rgba(26,42,108,.35)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 12px rgba(0,0,0,.45) !important;
}
.login-button:hover, .login-button:focus {
  color: var(--g-50) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 18px rgba(255,215,0,.45) !important;
}
.register-button {
  color: #101a44 !important;
  background-image: var(--gold-face) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 4px 14px rgba(255,215,0,.35) !important;
}
.register-button:hover, .register-button:focus {
  background-image: linear-gradient(180deg, #fffdf2, #ffeaa0 24%, #ffe066 55%, #e0b312 80%, #fff3b0) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 22px rgba(255,215,0,.6) !important;
}

/* ---------- forms ---------- */
.form-control, .standard-inline-form-group [data-section="input"] {
  background-color: rgba(5,10,28,.72) !important;
  border: 1px solid rgba(255,215,0,.28) !important;
  color: #eef2ff !important;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.55) !important;
}
.form-control:focus {
  border-color: var(--g-400) !important;
  box-shadow: 0 0 0 1px rgba(255,215,0,.35), 0 0 18px rgba(255,215,0,.25) !important;
}
::placeholder { color: rgba(214,224,250,.55) !important; }

/* ---------- modals: themed, centred, always closable ---------- */
.modal-backdrop.in { opacity: .78; background: #03040d; }
.modal-content {
  background-image:
    radial-gradient(140% 120% at 50% -20%, rgba(52,73,154,.55), rgba(11,18,51,.98) 62%, #050a1c 100%) !important;
  border: 1px solid rgba(255,215,0,.45) !important;
  box-shadow: 0 0 0 1px rgba(255,215,0,.14), 0 0 46px rgba(255,215,0,.18), 0 24px 60px rgba(0,0,0,.75) !important;
  color: #e7edff;
}
.modal-header { border-bottom: 1px solid rgba(255,215,0,.25) !important; padding-right: 46px; }
.modal-title, .modal h4, .modal h3 { color: var(--g-300) !important; letter-spacing: .5px; }
.modal-footer { border-top: 1px solid rgba(255,215,0,.2) !important; }
.modal .close, .popup-close, .modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 34px; height: 34px; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #2a1c00 !important; opacity: 1 !important;
  background-image: radial-gradient(circle at 34% 28%, #fffbe6, #ffd700 46%, #d3a613 78%, #a37c0b);
  border: 1px solid #fff0a8;
  box-shadow: 0 2px 10px rgba(0,0,0,.55), 0 0 16px rgba(255,215,0,.55);
  z-index: 6;
}
.modal .close:hover, .modal .close:focus,
.popup-close:hover, .modal-close:hover {
  background-image: radial-gradient(circle at 34% 28%, #ffffff, #ffe680 46%, #e8bf16 78%, #b8860b);
  box-shadow: 0 0 22px rgba(255,215,0,.85);
}
.modal .close span { font-size: 20px; font-weight: 700; }
.modal-dialog { position: relative; }
/* the template pins .modal-dialog with left:50% but its own .modal.in rule
   drops the matching translate — every dialog ended up half a screen right. */
.modal.fade .modal-dialog { transform: translate(-50%, -25%) !important; }
.modal.in .modal-dialog, .modal.show .modal-dialog { transform: translate(-50%, 0) !important; }
.modal .modal-dialog { margin-left: 0 !important; margin-right: 0 !important; max-width: calc(100vw - 24px); }

/* ---------- apk section ---------- */
.download-apk-container {
  background-image:
    radial-gradient(120% 130% at 15% 0%, rgba(255,215,0,.18), rgba(11,18,51,0) 58%),
    radial-gradient(90% 120% at 100% 100%, rgba(52,73,154,.55), rgba(5,10,28,0) 62%),
    linear-gradient(160deg, #101a44 0%, #0b1233 45%, #050a1c 100%) !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: inset 0 0 80px rgba(5,10,28,.85), inset 0 1px 0 rgba(255,215,0,.18) !important;
}
.download-apk .h2, .download-apk .h3, .download-apk strong { color: var(--g-200) !important; }
.download-apk-detail { color: #cfd9f4 !important; }
.download-apk-info a, .download-apk a { color: var(--g-400) !important; }

/* ---------- telegram banner: colours only, artwork untouched ---------- */
a[href*="t.me"], .telegram-banner, .telegram, .telegram-promo {
  filter: drop-shadow(0 6px 16px rgba(255,215,0,.20));
}

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #060a1c; }
::-webkit-scrollbar-thumb {
  background-image: linear-gradient(180deg, #ffe680, #d9a900 60%, #a37c0b);
  border-radius: 8px; border: 1px solid #050a1c;
}

/* keep the coin canvas under the modal layer */
.modal { z-index: 1050; }
.modal-backdrop { z-index: 1040; }
