/* ==========================================================================
   SUNGAITOTO — Luxury Layer (navy #1a2a6c + gold #ffd700)
   --------------------------------------------------------------------------
   This file only paints. No selector here changes the size, position or flow
   of any element of the original layout: colours, gradients, shadows, borders
   and object-fit only.
   ========================================================================== */

:root {
   /* brand */
   --st-gold: #ffd700;
   --st-gold-2: #ffe873;
   --st-gold-3: #fff6c2;
   --st-gold-deep: #b8860b;
   --st-gold-dark: #8a6a00;
   --st-navy: #1a2a6c;
   --st-navy-2: #24397f;
   --st-navy-deep: #101c4b;
   --st-ink: #0a1130;
   --st-ink-2: #0d1638;
   --st-silver: #e9edf7;

   /* reusable finishes */
   --st-gold-grad: linear-gradient(180deg, #fff3b0 0%, #ffd700 42%, #e0a800 62%, #a87a00 100%);
   --st-gold-grad-soft: linear-gradient(180deg, rgba(255, 215, 0, .22) 0%, rgba(255, 215, 0, 0) 70%);
   --st-navy-grad: linear-gradient(180deg, #23357a 0%, #16245c 45%, #0c1436 100%);
   --st-navy-grad-soft: linear-gradient(180deg, rgba(35, 53, 122, .55) 0%, rgba(10, 17, 48, .92) 100%);
   --st-gold-hair: 1px solid rgba(255, 215, 0, .38);
   --st-gold-hair-strong: 1px solid rgba(255, 215, 0, .72);
   --st-bevel: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(0, 0, 0, .35);
   --st-glow-gold: 0 0 18px rgba(255, 215, 0, .30);
   --st-glow-navy: 0 10px 30px rgba(0, 0, 0, .45);
   --st-text-gold: linear-gradient(180deg, #fff8d2 0%, #ffd700 45%, #e8ae00 70%, #b8860b 100%);
   --st-panel: linear-gradient(180deg, rgba(36, 57, 127, .55) 0%, rgba(13, 22, 56, .92) 100%);
}

/* ---------------------------------------------------------------- canvas */
body {
   background-color: #070b1d !important;
   background-image:
      radial-gradient(1200px 620px at 50% -140px, rgba(255, 215, 0, .16) 0%, rgba(255, 215, 0, 0) 62%),
      radial-gradient(900px 520px at 12% 34%, rgba(52, 79, 170, .30) 0%, rgba(52, 79, 170, 0) 65%),
      radial-gradient(900px 520px at 88% 62%, rgba(255, 215, 0, .09) 0%, rgba(255, 215, 0, 0) 66%),
      linear-gradient(180deg, #0b1330 0%, #070b1d 46%, #05081a 100%) !important;
   background-attachment: fixed, fixed, fixed, fixed;
   background-repeat: no-repeat !important;
}

::selection {
   background: rgba(255, 215, 0, .85);
   color: #14183a;
}

/* thin gold scrollbar (visual only) */
::-webkit-scrollbar {
   width: 10px;
   height: 10px;
}

::-webkit-scrollbar-track {
   background: #0a1130;
}

::-webkit-scrollbar-thumb {
   background: linear-gradient(180deg, #ffe873, #d4a800 60%, #8a6a00);
   border-radius: 10px;
   border: 1px solid rgba(0, 0, 0, .35);
}

/* ------------------------------------------------------------- top strip */
.topbar-container {
   background: linear-gradient(180deg, #111c49 0%, #0a1130 100%) !important;
   border-bottom: 1px solid rgba(255, 215, 0, .28) !important;
   box-shadow: inset 0 -1px 0 rgba(255, 215, 0, .10), 0 4px 14px rgba(0, 0, 0, .35);
}

.topbar-container .topbar-item,
.topbar-container .topbar-item a,
.topbar-container .language-selector-trigger {
   color: #d9e2ff !important;
}

.topbar-container .topbar-item a:hover,
.topbar-container .language-selector-trigger:hover {
   color: var(--st-gold) !important;
}

.topbar-container .dropdown-menu {
   background: linear-gradient(180deg, #16245c, #0a1130) !important;
   border: var(--st-gold-hair) !important;
   box-shadow: var(--st-glow-navy), var(--st-glow-gold) !important;
}

.topbar-container .dropdown-menu li:hover {
   background: rgba(255, 215, 0, .12) !important;
}

/* ----------------------------------------------------------- brand header */
.site-header {
   background:
      radial-gradient(760px 200px at 50% 0%, rgba(255, 215, 0, .16) 0%, rgba(255, 215, 0, 0) 70%),
      linear-gradient(180deg, #1d2f74 0%, #16245c 55%, #101a45 100%) !important;
   border-bottom: 1px solid rgba(255, 215, 0, .45) !important;
   box-shadow: 0 1px 0 rgba(255, 215, 0, .18), 0 12px 26px rgba(0, 0, 0, .42);
}

/* new logo gif is much wider than the old one: keep it fully visible inside
   the existing logo plate (no cropping, no overflow) */
.site-header .logo>img,
.logo>img {
   height: auto !important;
   width: auto !important;
   max-width: 100%;
   max-height: calc(100% - 30px);
   object-fit: contain;
   filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 12px rgba(255, 215, 0, .28));
}

/* the source markup shipped a broken "url(...)" for this plate — repaired */
.logo {
   background-size: 100% auto !important;
}

/* ------------------------------------------------------------- navigation */
.top-menu>li>a {
   color: #e7ecff !important;
   transition: color .18s ease, text-shadow .18s ease;
}

.top-menu>li>a:hover,
.top-menu>li[data-active="true"]>a {
   color: var(--st-gold) !important;
   text-shadow: 0 0 10px rgba(255, 215, 0, .55);
}

.top-menu>li:hover,
.top-menu>li[data-active="true"] {
   background: linear-gradient(180deg, rgba(255, 215, 0, .16) 0%, rgba(255, 215, 0, 0) 88%) !important;
}

.top-menu>li:hover>a:after,
.top-menu>li[data-active="true"]>a:after {
   background: var(--st-gold-grad) !important;
}

/* drop-down game panels keep their artwork, only the frame turns gold */
.menu-slide,
.game-list {
   border-radius: 10px;
}

.menu-slide .dropdown-menu,
.menu-slide ul.game-list {
   background: linear-gradient(180deg, rgba(22, 36, 92, .98), rgba(8, 13, 34, .99)) !important;
   border: var(--st-gold-hair) !important;
   box-shadow: var(--st-glow-navy), inset 0 1px 0 rgba(255, 215, 0, .18) !important;
}

.menu-slide .game-list li a:hover {
   box-shadow: 0 0 0 1px rgba(255, 215, 0, .8), 0 6px 16px rgba(255, 215, 0, .25) !important;
   border-radius: 8px;
}

/* ------------------------------------------------------- login / register */
.login-button,
.register-button {
   position: relative;
   font-weight: 700;
   letter-spacing: .3px;
   border-radius: 8px !important;
   transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.login-button {
   color: #221a00 !important;
   background: var(--st-gold-grad) !important;
   border: 1px solid #8a6a00 !important;
   box-shadow: var(--st-bevel), 0 4px 12px rgba(0, 0, 0, .40) !important;
   text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
}

.register-button {
   color: var(--st-gold) !important;
   background: linear-gradient(180deg, rgba(255, 215, 0, .18) 0%, rgba(255, 215, 0, .04) 100%) !important;
   border: 1px solid rgba(255, 215, 0, .75) !important;
   box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 4px 12px rgba(0, 0, 0, .40) !important;
   text-shadow: 0 0 10px rgba(255, 215, 0, .45);
}

.login-button:hover,
.register-button:hover {
   transform: translateY(-1px);
   filter: brightness(1.06);
   box-shadow: var(--st-bevel), 0 8px 20px rgba(255, 215, 0, .32) !important;
}

/* ------------------------------------------------------------------ banner */
/* the promo artwork is 3:1 — show it complete, never cropped */
.banner,
.banner .slick-slide img.banner-img,
.banner-carousel>div:first-child img.banner-img {
   aspect-ratio: 3 / 1 !important;
}

.banner img.banner-img,
.banner-carousel img.banner-img {
   width: 100% !important;
   height: 100% !important;
   object-fit: contain !important;
   object-position: center center !important;
   background: radial-gradient(120% 120% at 50% 0%, #16245c 0%, #0a1130 70%, #070b1d 100%);
   display: block;
}

.banner {
   background: #0a1130 !important;
   box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .28), inset 0 -30px 60px rgba(0, 0, 0, .55), 0 14px 30px rgba(0, 0, 0, .45);
}

.banner .nav-btn img {
   filter: drop-shadow(0 0 6px rgba(255, 215, 0, .6));
}

/* ------------------------------------------------------------ notice bar */
.announcement-container {
   background: linear-gradient(180deg, rgba(28, 45, 110, .85) 0%, rgba(9, 14, 39, .95) 100%) !important;
   border: var(--st-gold-hair) !important;
   border-left: 3px solid var(--st-gold) !important;
   border-radius: 8px;
   box-shadow: var(--st-bevel), 0 8px 20px rgba(0, 0, 0, .38);
}

.announcement-container [data-section="title"] {
   color: var(--st-gold) !important;
   text-shadow: 0 0 12px rgba(255, 215, 0, .40);
}

.announcement-container [data-section="announcements"],
.announcement-container .announcement-list li,
.announcement-container [data-section="date"] {
   color: #dfe6ff !important;
}

/* --------------------------------------------------------------- jackpot */
.home-progressive-jackpot {
   background:
      radial-gradient(120% 160% at 50% -30%, rgba(255, 215, 0, .30) 0%, rgba(255, 215, 0, 0) 60%),
      linear-gradient(180deg, #1b2b6b 0%, #101c4b 55%, #080e28 100%) !important;
   box-shadow: 0 10px 26px rgba(0, 0, 0, .45), 0 0 24px rgba(255, 215, 0, .12) inset;
}

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

.home-progressive-jackpot .jackpot-play-text,
.home-progressive-jackpot .jackpot-play-text label {
   background-image: var(--st-text-gold);
   -webkit-background-clip: text;
   background-clip: text;
   -webkit-text-fill-color: transparent;
   color: var(--st-gold) !important;
   filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .55));
   text-shadow: none !important;
}

#progressive_jackpot {
   color: #fff8d2 !important;
   text-shadow: 0 0 12px rgba(255, 215, 0, .75), 0 2px 0 #7a5c00, 0 4px 10px rgba(0, 0, 0, .65);
   letter-spacing: 1px;
}

.jackpot-currency {
   color: var(--st-gold) !important;
   text-shadow: 0 0 10px rgba(255, 215, 0, .5);
}

.jackpot-winners,
.winners-ticker-container,
.lottery-result-container {
   background: linear-gradient(180deg, rgba(30, 47, 116, .78) 0%, rgba(8, 13, 34, .96) 100%) !important;
   border: var(--st-gold-hair) !important;
   border-radius: 8px;
   box-shadow: var(--st-bevel), 0 8px 18px rgba(0, 0, 0, .35);
}

.winner-info,
.winner-amount,
.lottery-result-title,
.lottery-date {
   color: #e6ecff !important;
}

.lottery-result-container .lottery-result-title {
   color: var(--st-gold) !important;
   text-shadow: 0 0 10px rgba(255, 215, 0, .35);
}

/* --------------------------------------------------------- section titles */
.container-title,
.section-title,
.footer-section-title {
   background:
      linear-gradient(180deg, rgba(255, 215, 0, .20) 0%, rgba(255, 215, 0, 0) 78%),
      var(--st-navy-grad) !important;
   border: var(--st-gold-hair) !important;
   border-radius: 8px;
   box-shadow: var(--st-bevel), 0 6px 16px rgba(0, 0, 0, .40);
}

/* .footer-section-title is itself a <p>, so the gradient belongs on the text */
.footer-section-title {
   color: var(--st-gold-2) !important;
   letter-spacing: .4px;
   text-shadow: 0 0 10px rgba(255, 215, 0, .30), 0 1px 2px rgba(0, 0, 0, .65);
   border-left: 3px solid var(--st-gold) !important;
}

.footer-section-title span,
.container-title span,
.section-title span,
.footer-section-title span {
   background-image: var(--st-text-gold);
   -webkit-background-clip: text;
   background-clip: text;
   -webkit-text-fill-color: transparent;
   color: var(--st-gold) !important;
   filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6));
}

/* -------------------------------------------------------------- game cards */
.game-item,
.games-group .game-item {
   border-radius: 10px;
   transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.game-item:hover {
   transform: translateY(-2px);
   box-shadow: 0 0 0 1px rgba(255, 215, 0, .75), 0 12px 22px rgba(0, 0, 0, .5), 0 0 18px rgba(255, 215, 0, .28);
   filter: brightness(1.05);
}

.game-item .game-name {
   color: var(--st-gold-2) !important;
   text-shadow: 0 1px 2px rgba(0, 0, 0, .75);
}

.game-item .provider-name {
   color: #cfd8f5 !important;
}

.play-now,
.game-item .link-container a,
.game-item .play-now {
   color: #241a00 !important;
   background: var(--st-gold-grad) !important;
   border: 1px solid #8a6a00 !important;
   border-radius: 6px;
   box-shadow: var(--st-bevel), 0 3px 10px rgba(0, 0, 0, .45) !important;
   font-weight: 700;
   text-shadow: 0 1px 0 rgba(255, 255, 255, .40);
}

/* ------------------------------------------------------------------- tabs */
.nav-tabs>li>a {
   color: #d7def7 !important;
   border: 1px solid transparent !important;
}

.nav-tabs>li>a:hover {
   color: var(--st-gold) !important;
   border-color: rgba(255, 215, 0, .35) !important;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
   color: #221a00 !important;
   background: var(--st-gold-grad) !important;
   border: 1px solid #8a6a00 !important;
   box-shadow: var(--st-bevel) !important;
}

.tab-content,
.tab-pane {
   border-color: rgba(255, 215, 0, .22) !important;
}

/* --------------------------------------------------------------- provider */
.provider-container,
.provider-section {
   border-radius: 8px;
}

/* provider cards: the stock theme painted their labels in a muted grey that
   disappears on a navy panel — give them the gold treatment instead */
.provider-container {
   border-color: rgba(255, 215, 0, .26) !important;
   color: #b9c4e4 !important;
   background: linear-gradient(180deg, rgba(30, 47, 116, .35) 0%, rgba(8, 13, 34, .30) 100%);
}

.provider-container>h5 {
   color: var(--st-gold-2) !important;
   background: linear-gradient(180deg, #24397f 0%, #0f1938 100%) !important;
   border: 1px solid rgba(255, 215, 0, .45) !important;
   border-radius: 6px;
   box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 8px rgba(0, 0, 0, .45);
   text-shadow: 0 0 8px rgba(255, 215, 0, .35);
}

.provider-container:hover {
   box-shadow: 0 0 0 1px rgba(255, 215, 0, .6), 0 8px 18px rgba(0, 0, 0, .45);
}

/* ------------------------------------------------------------------- apk  */
/* the old version printed body copy straight on top of a photo — the block
   now sits on its own navy glass panel so the text is always readable */
.download-apk-container {
   background:
      radial-gradient(900px 260px at 50% 0%, rgba(255, 215, 0, .16) 0%, rgba(255, 215, 0, 0) 70%),
      linear-gradient(180deg, #14205a 0%, #0a1130 100%) !important;
   border-top: 1px solid rgba(255, 215, 0, .28) !important;
   border-bottom: 1px solid rgba(255, 215, 0, .28) !important;
}

.download-apk {
   background: linear-gradient(180deg, rgba(35, 53, 122, .55) 0%, rgba(8, 13, 34, .85) 100%) !important;
   border: var(--st-gold-hair) !important;
   border-radius: 12px;
   box-shadow: var(--st-bevel), 0 14px 30px rgba(0, 0, 0, .42);
}

.download-apk .h2,
.download-apk .h3 {
   color: #f2f5ff !important;
   text-shadow: 0 2px 6px rgba(0, 0, 0, .65);
}

.download-apk .h2 strong {
   background-image: var(--st-text-gold);
   -webkit-background-clip: text;
   background-clip: text;
   -webkit-text-fill-color: transparent;
   color: var(--st-gold) !important;
}

.download-apk-btn,
.download-apk-detail .btn,
.standard-button-group .btn-primary,
.btn-primary {
   color: #241a00 !important;
   background: var(--st-gold-grad) !important;
   border: 1px solid #8a6a00 !important;
   box-shadow: var(--st-bevel), 0 6px 16px rgba(0, 0, 0, .45) !important;
   font-weight: 700;
   text-shadow: 0 1px 0 rgba(255, 255, 255, .40);
}

.download-apk-btn:hover,
.download-apk-detail .btn:hover,
.btn-primary:hover,
.btn-primary:focus {
   filter: brightness(1.07);
   box-shadow: var(--st-bevel), 0 8px 22px rgba(255, 215, 0, .35) !important;
   color: #1c1400 !important;
}

.btn-secondary {
   color: var(--st-gold) !important;
   background: linear-gradient(180deg, rgba(255, 215, 0, .16), rgba(255, 215, 0, .03)) !important;
   border: 1px solid rgba(255, 215, 0, .6) !important;
}

/* ------------------------------------------------------------------ modal */
.modal-content {
   background: linear-gradient(180deg, #1a2a6c 0%, #0c1436 100%) !important;
   border: var(--st-gold-hair-strong) !important;
   border-radius: 12px;
   box-shadow: 0 24px 60px rgba(0, 0, 0, .70), 0 0 0 1px rgba(255, 215, 0, .16) inset !important;
}

.modal-header {
   border-bottom: 1px solid rgba(255, 215, 0, .35) !important;
}

.modal-title,
.modal-header .modal-title {
   color: var(--st-gold) !important;
   text-shadow: 0 0 12px rgba(255, 215, 0, .40);
}

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

.modal-content .form-control {
   background: rgba(6, 10, 26, .85) !important;
   border: 1px solid rgba(255, 215, 0, .30) !important;
   color: #f1f4ff !important;
   box-shadow: inset 0 2px 6px rgba(0, 0, 0, .60);
}

.modal-content .form-control:focus {
   border-color: rgba(255, 215, 0, .85) !important;
   box-shadow: 0 0 0 2px rgba(255, 215, 0, .18), inset 0 2px 6px rgba(0, 0, 0, .55);
}

.modal-content label,
.modal-body,
.modal-body p,
.modal-body span {
   color: #dbe3ff;
}

/* ---------------------------------------------------------------- footer  */
.site-footer {
   --site-footer-bi: radial-gradient(900px 240px at 50% 0%, rgba(255, 215, 0, .14) 0%, rgba(255, 215, 0, 0) 66%),
      linear-gradient(180deg, #101c4b 0%, #070b1d 100%) !important;
   background-image: var(--site-footer-bi) !important;
   background-color: #070b1d !important;
   border-top: 1px solid rgba(255, 215, 0, .40) !important;
   box-shadow: inset 0 1px 0 rgba(255, 215, 0, .18);
}

.footer-description-section h4,
.footer-sitemap-section h4,
.site-info-img-header h4,
.copyright,
.footer-copyright-section {
   color: var(--st-gold-2) !important;
   text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}

.footer-description-section h4 {
   background-image: var(--st-text-gold);
   -webkit-background-clip: text;
   background-clip: text;
   -webkit-text-fill-color: transparent;
   filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .65));
}

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

/* article / description block: readable panel, never lost on top of artwork */
.site-description {
   color: #dfe6ff !important;
   background: linear-gradient(180deg, rgba(26, 42, 108, .55) 0%, rgba(8, 13, 34, .80) 100%);
   border: 1px solid rgba(255, 215, 0, .22);
   border-left: 3px solid rgba(255, 215, 0, .75);
   border-radius: 8px;
   padding: 14px 16px;
   box-shadow: var(--st-bevel), 0 10px 22px rgba(0, 0, 0, .32);
   text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
}

.site-description p {
   color: #dfe6ff !important;
   margin-bottom: 10px;
}

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

.site-description a,
.footer-links a,
.contact-list a,
.social-media-list a,
.bank-list-container a,
.powered-by-link {
   color: var(--st-gold-2) !important;
   font-weight: 600;
   text-decoration: none;
   transition: color .16s ease, text-shadow .16s ease;
}

.site-description a {
   text-decoration: underline;
   text-decoration-color: rgba(255, 215, 0, .55);
   text-underline-offset: 2px;
}

.site-description a:hover,
.footer-links a:hover,
.contact-list a:hover,
.social-media-list a:hover,
.bank-list-container a:hover,
.powered-by-link:hover {
   color: #fff6c2 !important;
   text-shadow: 0 0 10px rgba(255, 215, 0, .70);
}

.site-description a:hover {
   text-decoration-color: #fff6c2;
}

.footer-links li,
.site-info-description p,
.bank-list-container,
.footer-banking-section,
.banking-footer-section {
   color: #cbd4f0 !important;
}

.site-info-description {
   background: linear-gradient(180deg, rgba(36, 57, 127, .45) 0%, rgba(9, 15, 40, .80) 100%);
   border: 1px solid rgba(255, 215, 0, .16);
   border-radius: 8px;
   padding: 10px 12px;
}

.bank-list li>div,
.bank-list-container li>div {
   background: rgba(8, 13, 34, .55) !important;
   border: 1px solid rgba(255, 215, 0, .20) !important;
   border-radius: 6px;
}

.bank-list li>div[data-online="true"]:hover {
   border-color: rgba(255, 215, 0, .70) !important;
   box-shadow: 0 0 12px rgba(255, 215, 0, .25);
}

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

/* --------------------------------------------------------------- search   */
.search-popup-container,
.popup-loader-container {
   background: linear-gradient(180deg, #1a2a6c 0%, #0c1436 100%) !important;
   border: var(--st-gold-hair) !important;
   box-shadow: 0 20px 50px rgba(0, 0, 0, .65) !important;
}

.search-popup-container input,
.search-popup-container .form-control {
   background: rgba(6, 10, 26, .85) !important;
   border: 1px solid rgba(255, 215, 0, .30) !important;
   color: #f1f4ff !important;
}

.loader-spinner {
   border-top-color: var(--st-gold) !important;
   filter: drop-shadow(0 0 8px rgba(255, 215, 0, .55));
}

/* ------------------------------------------------------------ misc polish */
hr {
   border-top-color: rgba(255, 215, 0, .22);
}

a {
   transition: color .16s ease;
}

/* keep long article headings from colliding with the footer artwork */
.footer-description-section h4 {
   line-height: 1.45;
   text-shadow: 0 2px 6px rgba(0, 0, 0, .70);
}

@media (max-width: 991px) {
   .banner,
   .banner .slick-slide img.banner-img,
   .banner-carousel>div:first-child img.banner-img {
      aspect-ratio: 3 / 1 !important;
   }
}

@media (prefers-reduced-motion: reduce) {
   * {
      transition: none !important;
      animation: none !important;
   }
}
