/* ==========================================================================
   SUNGAITOTO — luxury navy & gold skin
   Palette: #ffd700 (gold) + #1a2a6c (navy) + derivatives only.
   This file only paints colours / gradients / shadows / coins.
   No layout, spacing or structural changes.
   ========================================================================== */

:root {
    --g1: #fff9d6;
    --g2: #ffe98a;
    --g3: #ffd700;
    --g4: #e0b400;
    --g5: #b8860b;
    --g6: #8a6608;
    --n1: #2b3f8f;
    --n2: #1a2a6c;
    --n3: #131f52;
    --n4: #0b1236;
    --n5: #060a20;
    --ink: #eef1fb;
    --ink-dim: #c3cbe6;
    --gold-line: rgba(255, 215, 0, .38);
}

/* ------------------------------------------------------------------ canvas */
html {
    background: var(--n5);
}

body {
    background:
        radial-gradient(1200px 620px at 50% -160px, rgba(43, 63, 143, .95) 0%, rgba(26, 42, 108, .9) 45%, rgba(11, 18, 54, 0) 72%),
        radial-gradient(900px 500px at 8% 12%, rgba(255, 215, 0, .07), transparent 60%),
        radial-gradient(900px 500px at 92% 8%, rgba(255, 215, 0, .06), transparent 60%),
        linear-gradient(180deg, #1a2a6c 0%, #101c4d 38%, #0b1236 72%, #060a20 100%) !important;
    background-attachment: scroll, scroll, scroll, fixed !important;
    color: var(--ink);
}

/* ------------------------------------------------------- coins (decor only) */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: .16;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Ccircle cx='85' cy='85' r='17' fill='%23ffd700'/%3E%3Ccircle cx='85' cy='85' r='17' fill='none' stroke='%23a87a09' stroke-width='2.5'/%3E%3Ccircle cx='85' cy='85' r='10.5' fill='none' stroke='%23fff9d6' stroke-width='2' opacity='.95'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cellipse cx='125' cy='125' rx='9' ry='13' fill='%23ffe98a'/%3E%3Cellipse cx='125' cy='125' rx='9' ry='13' fill='none' stroke='%23a87a09' stroke-width='1.6'/%3E%3C/svg%3E");
    background-size: 170px 170px, 250px 250px;
    background-repeat: repeat, repeat;
    animation: sg-coin-fall 34s linear infinite;
    will-change: background-position;
}

@keyframes sg-coin-fall {
    from {
        background-position: 0 0, 40px 0;
    }

    to {
        background-position: 0 510px, 40px 750px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::after {
        animation: none;
        opacity: .10;
    }
}

/* --------------------------------------------------------------- typography */
h1,
h2,
h3,
.site-info-title,
.footer-section-title,
.modal-title,
.jackpot-label {
    background: linear-gradient(180deg, var(--g1) 0%, var(--g3) 52%, var(--g5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--g3) !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    letter-spacing: .3px;
}

h1 {
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .55));
}

p,
li,
span,
label,
td,
th,
.small {
    color: var(--ink-dim);
}

a,
a:focus {
    color: var(--g2);
    text-decoration: none;
}

a:hover {
    color: var(--g1);
    text-shadow: 0 0 10px rgba(255, 215, 0, .45);
}

.site-description p {
    color: var(--ink) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

.site-description a {
    color: var(--g3) !important;
    font-weight: 700;
    border-bottom: 1px solid var(--gold-line);
}

/* ------------------------------------------------------------------ buttons */
.btn,
.btn-primary,
.btn-secondary,
.btn-default,
.login-button,
.register-button,
.daftar-button,
.standard-secondary-button,
.standard-button-group a,
.play-now,
.free-play,
.hover-list a,
.telegram-btn,
.modal .btn {
    background: linear-gradient(180deg, var(--g1) 0%, var(--g2) 22%, var(--g3) 55%, var(--g4) 82%, var(--g5) 100%) !important;
    border: 1px solid var(--g6) !important;
    color: #14204d !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .55) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .85),
        inset 0 -2px 0 rgba(122, 90, 8, .45),
        0 3px 0 #6d5207,
        0 7px 16px rgba(0, 0, 0, .5) !important;
    border-radius: 7px !important;
    font-weight: 700;
    transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn:hover,
.btn:focus,
.btn-primary:hover,
.login-button:hover,
.register-button:hover,
.standard-button-group a:hover,
.play-now:hover,
.free-play:hover,
.hover-list a:hover,
.telegram-btn:hover {
    filter: brightness(1.09) saturate(1.06);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -2px 0 rgba(122, 90, 8, .45),
        0 4px 0 #6d5207,
        0 10px 22px rgba(255, 215, 0, .3),
        0 8px 18px rgba(0, 0, 0, .55) !important;
}

.btn:active,
.login-button:active,
.register-button:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 6px rgba(80, 58, 0, .6), 0 1px 0 #6d5207 !important;
}

/* --------------------------------------------------------- cards / sections */
.game-item,
.review-item,
.faq-item,
.winner-info,
.site-info,
.provider-container,
.pagination,
.modal-content,
.game-list,
.winner-info-container,
.site-info-container {
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(255, 215, 0, .10) 0%, rgba(255, 215, 0, 0) 55%),
        linear-gradient(180deg, rgba(43, 63, 143, .55) 0%, rgba(19, 31, 82, .9) 100%) !important;
    border: 1px solid var(--gold-line) !important;
    border-radius: 10px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .10),
        inset 0 -18px 30px rgba(0, 0, 0, .35),
        0 8px 22px rgba(0, 0, 0, .45) !important;
}

.game-item:hover {
    border-color: rgba(255, 215, 0, .85) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 10px 26px rgba(255, 215, 0, .22),
        0 8px 22px rgba(0, 0, 0, .5) !important;
}

.game-name,
.game-item .link-container,
.winner-info *,
.review-author {
    color: var(--ink) !important;
}

/* provider strips / logos panels */
.provider-container {
    background:
        radial-gradient(140% 100% at 50% 0%, rgba(255, 215, 0, .08) 0%, transparent 58%),
        linear-gradient(180deg, rgba(26, 42, 108, .85) 0%, rgba(11, 18, 54, .95) 100%) !important;
}

.provider-container img {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .8));
    opacity: .92;
}

.provider-container img:hover {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, .45));
}

/* ------------------------------------------------------------------- jackpot */
.jackpot-container,
.jackpot {
    background:
        radial-gradient(70% 120% at 50% 50%, rgba(255, 215, 0, .14) 0%, transparent 65%),
        linear-gradient(180deg, #131f52 0%, #060a20 100%) !important;
    border: 1px solid var(--gold-line) !important;
    box-shadow: inset 0 0 26px rgba(255, 215, 0, .16), 0 0 22px rgba(255, 215, 0, .10) !important;
}

.jackpot-container *,
.jackpot-value,
.jackpot-amount,
[class*="jackpot"] .value {
    color: var(--g3) !important;
    text-shadow: 0 0 12px rgba(255, 215, 0, .55), 0 2px 0 rgba(0, 0, 0, .6) !important;
}

/* --------------------------------------------------------------------- tabs */
.scrtabs-tab-scroll-arrow,
.tab-pane,
[role="tablist"] {
    background-color: transparent !important;
}

.tab-pane.active,
.tab-pane {
    color: var(--ink);
}

.nav-tabs,
.tabs,
.tab-list {
    border-bottom: 1px solid var(--gold-line) !important;
    background: linear-gradient(180deg, rgba(43, 63, 143, .55), rgba(11, 18, 54, .55)) !important;
    border-radius: 8px 8px 0 0;
}

/* ------------------------------------------------------------------- inputs */
.form-control,
input,
select,
textarea,
.modal .form-control {
    background: linear-gradient(180deg, #0d1638 0%, #131f52 100%) !important;
    border: 1px solid var(--gold-line) !important;
    color: var(--ink) !important;
    border-radius: 6px !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55) !important;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--g3) !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55), 0 0 0 2px rgba(255, 215, 0, .22) !important;
    outline: none !important;
}

.form-control::placeholder,
input::placeholder {
    color: #8f9ac2 !important;
}

/* ------------------------------------------------------------------- modals */
.modal-content {
    box-shadow: 0 26px 70px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 215, 0, .25) !important;
}

.modal-header {
    background: linear-gradient(180deg, rgba(255, 215, 0, .16), rgba(255, 215, 0, 0)) !important;
    border-bottom: 1px solid var(--gold-line) !important;
}

.modal .close,
.close {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    color: #14204d !important;
    opacity: .95 !important;
    font-weight: 700;
    background: radial-gradient(circle at 32% 26%, #fff9d6 0%, #ffd700 52%, #b8860b 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 6px rgba(0, 0, 0, .5) !important;
}

.close:hover {
    filter: brightness(1.12);
}

.modal-backdrop.in {
    opacity: .72 !important;
    background: #060a20 !important;
}

/* --------------------------------------------------------------------- FAQ */
.faq-item {
    background: linear-gradient(180deg, rgba(26, 42, 108, .55) 0%, rgba(11, 18, 54, .82) 100%) !important;
}

.faq-question {
    color: var(--g2) !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}

.faq-answer,
.faq-answer p {
    color: var(--ink-dim) !important;
}

.faq-answer a {
    color: var(--g3) !important;
}

.with-seperator {
    border-color: var(--gold-line) !important;
}

/* --------------------------------------------------------------- reviews etc */
.review-rating,
.glyphicon-star,
.rating {
    color: var(--g3) !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, .5);
}

.winner-amount,
.winner-info .amount {
    color: var(--g3) !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, .45);
}

/* -------------------------------------------------------------------- footer */
footer,
.footer,
.site-footer {
    background:
        radial-gradient(120% 100% at 50% 0%, rgba(255, 215, 0, .08) 0%, transparent 60%),
        linear-gradient(180deg, #101c4d 0%, #060a20 100%) !important;
    border-top: 1px solid var(--gold-line) !important;
    color: var(--ink-dim);
}

hr,
.footer-separator,
hr.footer-separator {
    border: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, var(--g3) 22%, var(--g1) 50%, var(--g3) 78%, transparent) !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, .45) !important;
    opacity: .85;
}

.footer-section-title {
    letter-spacing: .6px;
}

/* ----------------------------------------------------------------- top bar */
.topbar,
.topbar-item,
header,
.language_selector,
.language-name,
.navbar,
.navigation {
    background: linear-gradient(180deg, rgba(26, 42, 108, .96) 0%, rgba(11, 18, 54, .98) 100%) !important;
    border-bottom: 1px solid var(--gold-line) !important;
    color: var(--ink) !important;
}

.logo img {
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, .35));
}

/* ----------------------------------------------------- scrollbars (desktop) */
::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: #060a20;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--g3), var(--g5));
    border-radius: 8px;
    border: 2px solid #060a20;
}

::selection {
    background: rgba(255, 215, 0, .32);
    color: #fff;
}

/* ------------------------------------------------------------ mobile polish */
@media (max-width: 767px) {
    body::after {
        opacity: .12;
        background-size: 140px 140px, 210px 210px;
    }
}

/* --------------------------------------------------- progress / stats bars */
.progress,
.progress-stats,
.minute-bar,
[class*="progress"] {
    background: rgba(6, 10, 32, .85) !important;
    border: 1px solid var(--gold-line) !important;
    border-radius: 999px !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, .65) !important;
    overflow: hidden;
}

.progress-bar,
.progress-bar-success,
.progress-bar-info,
.progress div,
.minute-bar span,
[class*="progress"] > div {
    background: linear-gradient(90deg, var(--g5) 0%, var(--g3) 45%, var(--g1) 100%) !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, .55) !important;
    border-radius: 999px !important;
}

.site-info-title + *,
.site-info b,
.site-info strong,
[class*="minute"] ,
.minutes {
    color: var(--g3) !important;
}

/* ------------------------------------------------------------- tab strips */
.scrtabs-tab-container,
.scrtabs-tabs,
.tab-strip,
.nav-tabs,
.pills {
    background: linear-gradient(180deg, rgba(43, 63, 143, .65) 0%, rgba(11, 18, 54, .75) 100%) !important;
    border: 1px solid var(--gold-line) !important;
    border-radius: 8px !important;
}

.scrtabs-tab-container a,
.scrtabs-tabs a,
.nav-tabs > li > a,
.pills > li > a {
    color: var(--g2) !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .45);
    border: 0 !important;
    background: transparent !important;
}

.nav-tabs > li.active > a,
.scrtabs-tab-container a.active,
.pills > li.active > a {
    background: linear-gradient(180deg, var(--g1), var(--g3) 60%, var(--g4)) !important;
    color: #14204d !important;
    text-shadow: none !important;
    border-radius: 6px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 3px 10px rgba(255, 215, 0, .3) !important;
}

/* --------------------------------------------------------- inline glyphs */
.faq-item .glyphicon,
.faq-question .glyphicon,
.glyphicon-chevron-left,
.glyphicon-chevron-right,
.glyphicon-plus,
.glyphicon-minus,
.scrtabs-tab-scroll-arrow .glyphicon {
    color: var(--g3) !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, .45);
}

/* -------------------------------------------------- small gold coin badges */
.site-info-title,
.footer-section-title {
    position: relative;
}

.site-info-title::before,
.footer-section-title::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 7px;
    border-radius: 50%;
    vertical-align: baseline;
    background: radial-gradient(circle at 32% 28%, var(--g1) 0%, var(--g3) 48%, var(--g5) 100%);
    box-shadow: inset 0 0 0 1.5px rgba(255, 249, 214, .55), 0 0 10px rgba(255, 215, 0, .55);
}

/* -------------------------------------------------- overflow safety guard */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* desktop navigation strip: deepen + gold hairline (paint only) */
.top-menu > li > a,
.menu-slide > .top-menu > li > a {
    color: #f4f7ff !important;
}

.top-menu > li > a:hover,
.menu-slide .top-menu > li > a:hover {
    color: var(--g3) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, .55) !important;
}
