/* ========================================================================
   ORBIT4D · RTP LIVE — dark navy/blue theme  (distinct from PUSATGAME gold)
   ======================================================================== */
:root {
    --bg:        #080808;
    --bg-2:      #0f0f0d;
    --surface:   #16150f;
    --surface-2: #1f1d12;
    --border:    #38321a;
    --text:      #f6f3e6;
    --muted:     #b4ac85;

    /* Primary accent is YELLOW on BLACK (var names kept so the sheet is untouched) */
    --gold:      #FFD700;
    --gold-2:    #FFEA70;
    --purple:    #B8860B;
    --purple-2:  #FFC400;

    /* RTP heat */
    --hot:   #22e07a;   /* gacor  ≥ 80 */
    --warm:  #f7b731;   /* hangat 65–79 */
    --cold:  #ef5777;   /* dingin < 65 */

    --radius: 14px;
    --shadow: 0 10px 30px rgba(0,0,0,.45);
    --font-head: 'Rajdhani', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 50% -10%, #231a00 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-2), var(--bg));
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 18px; border-radius: 10px; font-weight: 700;
    font-family: var(--font-head); letter-spacing: .04em; font-size: .95rem;
    cursor: pointer; border: 1px solid transparent; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold   { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff; box-shadow: 0 6px 18px rgba(255,215,0,.32); }
.btn-gold:hover { box-shadow: 0 8px 24px rgba(255,215,0,.5); }
.btn-ghost  { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--purple-2); color: #fff; }
.btn-outline{ background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--purple-2); }

/* ---------------- Top bar ---------------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,7,19,.85); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo {
    font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em;
    color: #fff; white-space: nowrap;
}
.logo span { color: var(--gold); text-shadow: 0 0 18px rgba(255,215,0,.5); }
.logo img { height: 85px; width: auto; display: block; }
.nav { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.nav a {
    font-family: var(--font-head); font-weight: 600; letter-spacing: .05em; font-size: .92rem;
    color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav a:hover { color: #fff; background: var(--surface); }
.nav a.active { color: var(--gold); }
.topbar-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hamburger { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 48px 0 0; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(400px 200px at 15% 30%, rgba(184,134,11,.35), transparent 70%),
        radial-gradient(400px 200px at 85% 20%, rgba(255,215,0,.18), transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-badge {
    display: inline-block; font-family: var(--font-head); font-weight: 600; letter-spacing: .1em;
    font-size: .8rem; color: var(--hot); background: rgba(34,224,122,.1);
    border: 1px solid rgba(34,224,122,.3); padding: 5px 14px; border-radius: 999px;
}
.hero h1 {
    font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 6vw, 4rem);
    margin: 16px 0 6px; letter-spacing: .01em; text-wrap: balance; line-height: 1.05;
}
.hero h1 span { color: var(--gold); text-shadow: 0 0 30px rgba(255,215,0,.45); }
.hero-sub { color: var(--muted); font-size: 1.02rem; margin: 0; }
.hero-sub b { color: var(--text); }
.marquee {
    margin-top: 34px; background: #000; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    overflow: hidden; white-space: nowrap; padding: 10px 0; font-family: var(--font-head); font-weight: 600; letter-spacing: .05em;
}
.marquee span { display: inline-block; padding-left: 100%; animation: scroll 26s linear infinite; color: var(--gold-2); }
@keyframes scroll { to { transform: translateX(-100%); } }

/* ---------------- Stats ---------------- */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    margin: 22px auto 8px; position: relative; z-index: 2;
}
.stat {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px; text-align: center; box-shadow: var(--shadow);
}
.stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--gold); line-height: 1; }
.stat-lbl { display: block; margin-top: 6px; color: var(--muted); font-size: .82rem; }

/* ---------------- Controls ---------------- */
.controls {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    margin: 28px 0 18px; flex-wrap: wrap;
}
.providers { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    font-family: var(--font-head); font-weight: 600; letter-spacing: .03em; font-size: .86rem;
    padding: 7px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap;
    background: var(--surface); border: 1px solid var(--border); color: var(--muted);
    text-transform: capitalize; transition: all .15s;
}
.chip:hover { color: #fff; border-color: var(--purple-2); }
.chip.active { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(184,134,11,.4); }
.controls-right { display: flex; gap: 10px; }
.search {
    display: flex; align-items: center; gap: 8px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 10px; padding: 0 12px;
}
.search span { color: var(--muted); }
.search input { background: none; border: 0; outline: none; color: var(--text); padding: 10px 0; width: 180px; font-family: var(--font-body); }
.sort {
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
    border-radius: 10px; padding: 10px 12px; font-family: var(--font-body); cursor: pointer; outline: none;
}

/* ---------------- Grid & cards ---------------- */
.grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.card {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .15s ease, border-color .15s ease, box-shadow .2s ease;
    position: relative;
}
.card:hover { transform: translateY(-4px); border-color: var(--purple-2); box-shadow: 0 14px 34px rgba(184,134,11,.28); }
.card.gacor { border-color: rgba(34,224,122,.4); }
.card.gacor:hover { box-shadow: 0 14px 34px rgba(34,224,122,.3); }

.thumb { position: relative; aspect-ratio: 1 / 1; background: #0d0a17; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gacor-badge {
    position: absolute; top: 8px; left: 8px; font-family: var(--font-head); font-weight: 700;
    font-size: .72rem; letter-spacing: .05em; color: #05230f; background: var(--hot);
    padding: 3px 9px; border-radius: 999px; box-shadow: 0 0 14px rgba(34,224,122,.6);
}
.prov-badge {
    position: absolute; bottom: 8px; right: 8px; font-size: .68rem; letter-spacing: .03em;
    color: var(--text); background: rgba(0,0,0,.65); border: 1px solid var(--border);
    padding: 3px 8px; border-radius: 6px; text-transform: capitalize; backdrop-filter: blur(4px);
}

.card-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.game-name {
    font-weight: 600; font-size: .92rem; line-height: 1.25; margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rtp-row { display: flex; align-items: baseline; justify-content: space-between; }
.rtp-label { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.rtp-val { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.rtp-val small { font-size: .8rem; opacity: .7; }
.bar { height: 7px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; transition: width .4s ease; }

.heat-hot  { color: var(--hot);  }
.heat-warm { color: var(--warm); }
.heat-cold { color: var(--cold); }
.fill-hot  { background: linear-gradient(90deg, #0f7a3e, var(--hot)); }
.fill-warm { background: linear-gradient(90deg, #a6741a, var(--warm)); }
.fill-cold { background: linear-gradient(90deg, #8a2540, var(--cold)); }

.pola-toggle {
    font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; font-size: .78rem;
    background: var(--bg); border: 1px solid var(--border); color: var(--muted);
    border-radius: 8px; padding: 7px; cursor: pointer; text-align: center; transition: all .15s;
}
.pola-toggle:hover { color: #fff; border-color: var(--purple-2); }
.pola { display: none; flex-direction: column; gap: 4px; padding-top: 2px; }
.pola.open { display: flex; }
.pola-type { font-size: .72rem; color: var(--gold-2); letter-spacing: .03em; }
.pola-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.pola-cell { background: var(--bg); border: 1px solid var(--border); border-radius: 7px; padding: 6px 8px; }
.pola-cell b { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--text); }
.pola-cell span { font-size: .64rem; color: var(--muted); }

/* ---------------- misc ---------------- */
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.loadmore-wrap { text-align: center; margin: 26px 0; }
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%); background-size: 400% 100%; animation: shine 1.4s infinite; }
@keyframes shine { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-card { height: 300px; border-radius: var(--radius); border: 1px solid var(--border); }

.footer { margin-top: 50px; border-top: 1px solid var(--border); background: var(--bg-2); padding: 32px 0; text-align: center; }
.foot-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: #fff; }
.foot-logo span { color: var(--gold); }
.footer p { color: var(--muted); font-size: .86rem; max-width: 640px; margin: 12px auto 0; }
.footer .muted { opacity: .7; font-size: .78rem; }

/* Agency credit — deliberately quiet: separated by a hairline, smaller and
   dimmer than the disclaimer above it, so it reads as a signature on the
   client's site rather than an ad placed on it. */
.foot-credit {
    margin-top: 18px !important; padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: .72rem !important; opacity: .55; letter-spacing: .02em;
}
.foot-credit a { color: var(--gold); text-decoration: none; font-weight: 600; }
.foot-credit a:hover { text-decoration: underline; opacity: 1; }
.foot-credit:hover { opacity: .9; }

/* ---------------- responsive ---------------- */
@media (max-width: 760px) {
    .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 8px 16px; }
    .nav.open { display: flex; }
    .hamburger { display: block; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .controls { flex-direction: column; align-items: stretch; }
    .controls-right { }
    .search { flex: 1; } .search input { width: 100%; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .topbar-cta .btn-ghost { display: none; }
}

/* ============================================================
   Reference-style cards (RTP bar overlay + ribbon + buttons)
   ============================================================ */
.thumb { aspect-ratio: 1 / 1; }
.ribbon {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .06em;
    padding: 3px 10px; border-radius: 6px; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.4);
}
.r-TOP     { background: linear-gradient(135deg,#f5c518,#B8860B); color:#221a00; }
.r-NEW     { background: linear-gradient(135deg,#22c55e,#0ea968); }
.r-VIRAL   { background: linear-gradient(135deg,#FFD700,#B8860B); }
.r-HOT     { background: linear-gradient(135deg,#f97316,#c2410c); }
.r-EKSKLUSIF { background: linear-gradient(135deg,#7c3aed,#a855f7); }

/* RTP progress bar overlaid on the bottom of the image */
.rtp-bar {
    position: relative; width: 100%;
    height: 22px; border-radius: 999px; background: rgba(0,0,0,.4);
    border: 1px solid var(--border); overflow: hidden;
    display: flex; align-items: center;
}
.rtp-bar > i {
    position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.28) 0 7px, transparent 7px 14px);
    background-size: 20px 20px; transition: width .4s ease;
}
.rtp-bar > span {
    position: relative; z-index: 2; margin: 0 11px 0 auto;
    font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.95);
}
.fill-hot  { background-color: #22c55e; }
.fill-warm { background-color: #FFC400; }
.fill-cold { background-color: #FFD700; }

.card-body { gap: 7px; padding: 10px; }
.btn-pola {
    width: 100%; font-family: var(--font-head); font-weight: 600; letter-spacing:.03em; font-size: .8rem;
    padding: 8px; border-radius: 8px; cursor: pointer; text-align:center; transition: all .15s;
    background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.btn-pola:hover { color:#fff; border-color: var(--purple-2); background: var(--surface-2); }
.btn-pola.primary { background: linear-gradient(135deg,var(--purple),var(--purple-2)); color:#fff; border-color:transparent; }
.btn-pola.primary:hover { box-shadow: 0 4px 14px rgba(184,134,11,.45); }

/* ============================================================
   Modal: TIPS POLA GACOR
   ============================================================ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 100; background: rgba(4,3,10,.8); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay[hidden] { display: none; }
.modal {
    width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto;
    background: linear-gradient(180deg,var(--surface-2),var(--surface));
    border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
    position: relative; animation: pop .18s ease;
}
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
    position: absolute; top: 12px; right: 14px; z-index: 3; background: none; border: 0;
    color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.modal-close:hover { color: #fff; }
.modal-head { text-align: center; padding: 20px 16px 8px; }
.modal-head h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; margin: 0; color: var(--gold); font-size: 1.35rem; }
.modal-head span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing:.05em; }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 12px 18px 22px; }

.steps { display: flex; flex-direction: column; gap: 10px; }
.step { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.step-h { text-align: center; border-bottom: 1px dashed var(--border); padding-bottom: 8px; margin-bottom: 8px; }
.step-h b { display:block; font-family: var(--font-head); font-weight: 700; letter-spacing:.05em; color: var(--gold-2); font-size: .82rem; }
.step-h span { color: var(--text); font-size: .9rem; }
.step-b b { font-family: var(--font-head); color: var(--hot); font-size: 1.05rem; margin-right: 4px; }
.step-b span { color: var(--muted); font-size: .82rem; }
.step-b em { display:block; color: var(--muted); font-size: .78rem; font-style: normal; margin-top: 3px; }

.ginfo { display: flex; flex-direction: column; gap: 12px; }
.ginfo-top { display:flex; flex-direction: column; align-items:center; gap: 8px; }
.ginfo-top img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }
.gname { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-align:center; }
.ginfo-list { margin: 0; display: flex; flex-direction: column; gap: 0; }
.ginfo-list > div { display: flex; justify-content: space-between; align-items:center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ginfo-list dt { color: var(--muted); font-size: .78rem; letter-spacing: .04em; margin:0; }
.ginfo-list dd { margin: 0; font-weight: 600; font-size: .9rem; }
.ginfo-list dd.rtp { color: var(--hot); font-family: var(--font-head); font-size: 1.05rem; }
.ginfo-note { color: var(--muted); font-size: .74rem; line-height: 1.4; margin: 0; }
.w-100 { width: 100%; }

@media (max-width: 620px) {
    .modal-body { grid-template-columns: 1fr; }
    .ginfo { order: -1; }
}

/* ============================================================
   Provider carousel (circular logos + arrows)
   ============================================================ */
.controls-end { justify-content: flex-end; }
.provider-carousel { position: relative; margin: 26px 0 16px; }
.provider-carousel::before, .provider-carousel::after {
    content: ""; position: absolute; top: 0; bottom: 22px; width: 52px; z-index: 3; pointer-events: none;
}
.provider-carousel::before { left: 0; background: linear-gradient(90deg, var(--bg) 15%, transparent); }
.provider-carousel::after  { right: 0; background: linear-gradient(270deg, var(--bg) 15%, transparent); }
.pc-arrow {
    position: absolute; top: 47px; transform: translateY(-50%); z-index: 5;
    width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
    background: rgba(20,14,34,.7); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 1.2rem; line-height: 1;
    display: flex; align-items: center; justify-content: center; transition: all .16s;
    box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.pc-arrow:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-50%) scale(1.1); }
.pc-prev { left: -2px; } .pc-next { right: -2px; }
.pc-track {
    display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth;
    padding: 6px 46px; scrollbar-width: none; -ms-overflow-style: none;
}
.pc-track::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 auto; width: 84px; text-align: center; cursor: pointer; }
.pcard .circle {
    width: 70px; height: 70px; margin: 0 auto; border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, #223038, #0c1418);
    border: 2px solid rgba(255,255,255,.55); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.pcard .circle img { width: 80%; height: 80%; object-fit: contain; }
.pcard .circle .txt {
    width: 100%; height: 100%; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: #dfe6ea; letter-spacing: .03em;
}
.pcard .name {
    display: block; margin-top: 13px; font-size: .72rem; color: var(--muted);
    text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard:hover .circle { border-color: var(--purple-2); transform: translateY(-2px); }
.pcard.active .circle { border-color: var(--gold); box-shadow: 0 0 18px rgba(255,215,0,.5); }
.pcard.active .name { color: var(--gold); font-weight: 600; }

/* ============================================================
   Mobile polish
   ============================================================ */
@media (max-width: 760px) {
    .hero { padding: 30px 0 0; }
    .hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
    .hero-sub { font-size: .9rem; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
    .stat { padding: 13px; }
    .stat-num { font-size: 1.5rem; }
    .provider-carousel { gap: 4px; margin: 18px 0 12px; }
    .pc-arrow { display: none; }            /* touch-scroll on mobile */
    .pc-track { gap: 10px; padding: 4px 0; }
    .pcard { width: 68px; }
    .pcard .circle { width: 58px; height: 58px; }
    .pcard .name { font-size: .66rem; }
    .controls-end { margin: 8px 0 16px; }
    .controls-right { width: 100%; }
    .search { flex: 1; } .search input { width: 100%; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .btn-pola { font-size: .74rem; padding: 7px; }
    .game-name { font-size: .84rem; }
    .rtp-bar { height: 18px; }
    .modal-head h3 { font-size: 1.15rem; }
    .modal-body { padding: 10px 14px 18px; gap: 12px; }
    .marquee { margin-top: 24px; font-size: .82rem; }
}
@media (max-width: 400px) {
    .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Extra polish: QR banner · section head · tier tabs · fabs
   ============================================================ */
/* QR "anti blokir" banner */
.qr-banner {
    display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
    margin: 26px auto 0; max-width: 720px; padding: 20px 24px;
    background: linear-gradient(135deg, rgba(184,134,11,.18), rgba(255,215,0,.08));
    border: 1px solid var(--border); border-radius: 16px; position: relative; z-index: 2;
}
.qr-text { text-align: left; }
.qr-title { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.05; color: #fff; letter-spacing: .02em; }
.qr-title span { color: var(--gold); text-shadow: 0 0 20px rgba(255,215,0,.5); }
.qr-text p { color: var(--muted); margin: 6px 0 12px; font-size: .9rem; }
.qr-text p b { color: var(--gold-2); }
.qr-box { text-align: center; background: #fff; padding: 8px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.qr-box img { width: 116px; height: 116px; display: block; object-fit: contain; }
.qr-box span { display: block; margin-top: 4px; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; color: #000; }

/* Section heading */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 4px; flex-wrap: wrap; }
.sec-title { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: .04em; color: #fff; margin: 0; }
.sec-meta { color: var(--muted); font-size: .8rem; letter-spacing: .03em; }
.sec-meta b { color: var(--gold-2); }

/* RTP tier quick-filter tabs */
.tier-tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px; }
.tier {
    font-family: var(--font-head); font-weight: 600; letter-spacing: .03em; font-size: .84rem;
    padding: 7px 14px; border-radius: 9px; cursor: pointer; border: 0; background: transparent; color: var(--muted); transition: all .15s;
}
.tier:hover { color: #fff; }
.tier.active { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; box-shadow: 0 3px 12px rgba(184,134,11,.4); }

/* Game-count badge on provider circle */
.pcard .circle { position: relative; overflow: visible; }
.pcount {
    position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); z-index: 3;
    font-family: var(--font-head); font-weight: 700; font-size: .62rem; line-height: 1; white-space: nowrap;
    background: var(--gold); color: #fff; padding: 3px 7px; border-radius: 999px;
    border: 2px solid var(--bg); box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

/* Floating Daftar (mobile) + back to top */
.fab-daftar {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 60; display: none;
    background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff;
    font-family: var(--font-head); font-weight: 700; letter-spacing: .05em; font-size: 1rem;
    padding: 12px 40px; border-radius: 999px; box-shadow: 0 10px 30px rgba(255,215,0,.45);
}
.back-top {
    position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(20,14,34,.85); backdrop-filter: blur(8px); border: 1px solid var(--border); color: #fff;
    font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s, transform .15s;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

@media (max-width: 760px) {
    .qr-banner { gap: 16px; padding: 16px; margin-top: 18px; }
    .qr-title { font-size: 1.2rem; }
    .qr-box img { width: 96px; height: 96px; }
    .sec-head { margin: 22px 0 2px; }
    .sec-title { font-size: 1.15rem; }
    .sec-meta { font-size: .72rem; width: 100%; }
    .controls { flex-direction: column; align-items: stretch; gap: 10px; }
    .tier-tabs { justify-content: space-between; }
    .tier { flex: 1; text-align: center; padding: 8px 6px; }
    .fab-daftar { display: block; }
    .back-top { bottom: 74px; }   /* clear the floating Daftar */
}

.booming-sec { margin-top: 26px; }
.booming-sec .sec-title { color: #fff; }

/* ============================================================
   Rating & trust
   ============================================================ */
.rating-sec { margin-top: 34px; }
.rating-box {
    display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px;
}
.rating-score { text-align: center; min-width: 130px; }
.rscore { font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1; color: #fff; }
.rstars { position: relative; display: inline-block; font-size: 1.15rem; letter-spacing: 3px; color: #3a3350; }
.rstars-fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--gold); width: 98%; }
.rcount { margin-top: 7px; color: var(--muted); font-size: .82rem; }
.rating-bars { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 6px; }
.rbar { display: flex; align-items: center; gap: 10px; }
.rbar-n { width: 10px; color: var(--muted); font-size: .8rem; text-align: right; }
.rbar-track { flex: 1; height: 9px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.rbar-track > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0f7a3e, var(--hot)); width: 0; transition: width .6s ease; }

.trust-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.trust {
    flex: 1; min-width: 150px; display: flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px;
}
.trust .ti { font-size: 1.35rem; }
.trust span:last-child { font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; font-size: .9rem; color: var(--text); }

@media (max-width: 620px) {
    .rating-box { gap: 18px; padding: 16px; }
    .rscore { font-size: 2.6rem; }
    .rating-score { min-width: 100px; }
    .trust { min-width: 45%; }
}

/* JACKPOT nav highlight */
.nav a.nav-jp { color: var(--gold); font-weight: 700; }
.nav a.nav-jp:hover { background: rgba(255,215,0,.12); color: var(--gold-2); }

/* ============================================================
   Extra "gacor" polish
   ============================================================ */
/* Promo banner (rotating text) */
.promo-banner { background: linear-gradient(90deg, #B8860B, #FFD700); text-align: center; }
.promo-banner .wrap { padding: 8px 16px; }
.promo-banner span { color: #fff; font-family: var(--font-head); font-weight: 600; letter-spacing: .03em; font-size: .86rem; transition: opacity .4s; }

/* Jam gacor widget */
.jamgacor {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    font-family: var(--font-head); font-weight: 600; letter-spacing: .03em; font-size: .9rem;
    color: var(--gold-2); background: rgba(255,215,0,.1); border: 1px solid rgba(255,215,0,.32);
    padding: 8px 16px; border-radius: 999px;
}
.jamgacor b { color: #fff; }

/* Hot toast (bottom-left rotating "game hot") */
.hot-toast {
    position: fixed; left: 16px; bottom: 16px; z-index: 55; max-width: 300px;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-left: 3px solid var(--hot); border-radius: 12px;
    padding: 10px 14px; box-shadow: 0 12px 34px rgba(0,0,0,.55);
    display: flex; align-items: center; gap: 10px; animation: toastIn .35s ease;
}
.hot-toast[hidden] { display: none; }
.hot-toast img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.hot-toast .ht-txt { font-size: .8rem; line-height: 1.3; color: var(--text); }
.hot-toast .ht-txt b { color: var(--hot); }
@keyframes toastIn { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Salin Pola row */
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }

/* Card polish: image zoom + shine sweep */
.thumb img { transition: transform .35s ease; }
.card:hover .thumb img { transform: scale(1.07); }
.thumb::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 58%);
    transform: translateX(-130%); transition: transform .65s ease;
}
.card:hover .thumb::after { transform: translateX(130%); }

/* Booming → horizontal auto-scroll strip */
.booming-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth;
    scrollbar-width: none; padding: 2px 2px 8px;
}
.booming-grid::-webkit-scrollbar { display: none; }
.booming-grid .card { flex: 0 0 180px; }

/* Sticky filter bar */
.controls {
    position: sticky; top: 64px; z-index: 40;
    background: var(--bg); border-bottom: 1px solid var(--border);
    margin: 20px 0 16px; padding: 10px 0;
}

@media (max-width: 620px) {
    .hot-toast { left: 10px; bottom: 78px; max-width: 230px; padding: 8px 12px; }
    .hot-toast img { width: 34px; height: 34px; }
    .booming-grid .card { flex: 0 0 150px; }
    .controls { top: 62px; }
}

/* ============================================================
   ORBIT4D · distinct UI — ring-gauge cards + provider pills
   (overrides the PUSATGAME card/provider look; same features)
   ============================================================ */

/* --- Cosmic hero flourish (orbital ring) --- */
.hero { padding: 56px 0 0; }
.hero::after {
    content: ""; position: absolute; left: 50%; top: 30px; width: 540px; height: 540px;
    transform: translateX(-50%); border-radius: 50%; pointer-events: none; z-index: 0;
    border: 1px solid rgba(56,189,248,.18);
    box-shadow: 0 0 0 46px rgba(56,189,248,.045), 0 0 0 128px rgba(56,189,248,.03);
}
.hero .wrap, .marquee { position: relative; z-index: 1; }

/* --- Promo banner + jackpot accent (ORBIT4D) --- */
.promo-banner { background: linear-gradient(90deg, #0b3a8f, #2563eb 55%, #38bdf8); }
.nav a.nav-jp { color: #ffcf3f; font-weight: 700; }
.nav a.nav-jp:hover { background: rgba(255,215,0,.12); color: #ffe082; }

/* --- Provider PILLS (replaces circular carousel) --- */
.pc-track { gap: 10px; padding: 6px 46px; align-items: stretch; }
.opill {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; font-size: .86rem;
    padding: 9px 14px; border-radius: 12px; white-space: nowrap;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); color: var(--muted); text-transform: capitalize;
    transition: border-color .15s, color .15s, box-shadow .15s, transform .12s;
}
.opill:hover { color: #fff; border-color: var(--purple-2); transform: translateY(-1px); }
.opill.active {
    color: #fff; border-color: transparent;
    background: linear-gradient(135deg, var(--purple), var(--purple-2));
    box-shadow: 0 6px 18px rgba(184,134,11,.4);
}
.opill-dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
/* Provider logo replaces the dot, but only after it loads — a missing file
   leaves the dot exactly as before. */
.oplogo { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; }
.opill.has-logo .opill-dot { display: none; }
.opill-c {
    font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 999px;
    background: rgba(255,255,255,.08); color: inherit;
}
.opill.active .opill-c { background: rgba(255,255,255,.22); }

/* --- ORBIT4D game card (RTP ring-gauge over the image) --- */
.grid { grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 16px; }
.ocard {
    position: relative; border-radius: 16px; overflow: hidden;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); display: flex; flex-direction: column;
    transition: transform .16s ease, border-color .16s ease, box-shadow .22s ease;
}
.ocard:hover { transform: translateY(-5px); border-color: var(--purple-2); box-shadow: 0 16px 40px rgba(184,134,11,.32); }
.ocard.heat-hot { border-color: rgba(34,224,122,.35); }
.ocard.heat-hot:hover { box-shadow: 0 16px 40px rgba(34,224,122,.3); }

.othumb { position: relative; aspect-ratio: 1 / 1; background: #0a1120; overflow: hidden; }
.othumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ocard:hover .othumb img { transform: scale(1.08); }
.othumb::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 45%, rgba(6,11,24,.82));
}
.oribbon {
    position: absolute; top: 9px; left: 9px; z-index: 3;
    font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .06em;
    padding: 3px 9px; border-radius: 6px; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.45);
}

/* the ring gauge */
.ogauge {
    --ring: #60a5fa;
    position: absolute; right: 9px; bottom: 9px; z-index: 3;
    width: 54px; height: 54px; border-radius: 50%;
    background: conic-gradient(var(--ring) calc(var(--v) * 1%), rgba(255,255,255,.12) 0);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
.ogauge::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #0b1428; }
.ogauge span {
    position: relative; z-index: 2; font-family: var(--font-head); font-weight: 700;
    font-size: .92rem; color: #fff; line-height: 1;
}
.ogauge span small { font-size: .58rem; opacity: .8; }
.ogauge.heat-hot  { --ring: #22e07a; }
.ogauge.heat-warm { --ring: #f7b731; }
.ogauge.heat-cold { --ring: #ef5777; }

.ocard-b { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 9px; }
.oname {
    margin: 0; font-family: var(--font-head); font-weight: 600; font-size: .96rem; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text);
}
.ometa { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.oprov {
    font-size: .7rem; letter-spacing: .03em; color: var(--muted); text-transform: capitalize;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.otier {
    font-family: var(--font-head); font-weight: 700; font-size: .62rem; letter-spacing: .06em;
    padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.otier.heat-hot  { color: #05230f; background: var(--hot); }
.otier.heat-warm { color: #2a1c00; background: var(--warm); }
.otier.heat-cold { color: #2a0912; background: var(--cold); }
.obtn {
    width: 100%; font-family: var(--font-head); font-weight: 700; letter-spacing: .03em; font-size: .82rem;
    padding: 9px; border-radius: 10px; cursor: pointer; border: 0; color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-2));
    box-shadow: 0 4px 14px rgba(184,134,11,.32); transition: box-shadow .15s, transform .12s;
}
.obtn:hover { box-shadow: 0 7px 20px rgba(56,189,248,.5); transform: translateY(-1px); }

/* Lihat Pola + Demo side by side; only games with a verified demo get the
   second button, so the single-button layout above still applies elsewhere.
   Flex, not grid: the label must be allowed to shrink instead of wrapping onto
   a second line, which is what made these cards look bloated. */
.ocard-actions { display: flex; gap: 6px; align-items: stretch; }
.ocard-actions .obtn {
    width: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-size: .76rem; padding: 8px 9px; line-height: 1.2;
}
.ocard-actions .obtn:not(.obtn-demo) { flex: 1 1 auto; min-width: 0; }
/* Two class levels on purpose: the theme block near the end of this sheet forces
   `color` on every .obtn with !important, and an equally specific rule declared
   earlier would lose to it. */
.ocard-actions .obtn-demo {
    display: flex; align-items: center; justify-content: center; text-decoration: none;
    white-space: nowrap; padding-inline: 12px;
    background: rgba(16,185,129,.14); border: 1px solid rgba(16,185,129,.5);
    color: #34d399 !important; box-shadow: none;
}
.ocard-actions .obtn-demo:hover { background: rgba(16,185,129,.24); border-color: #34d399; box-shadow: none; }
.ocard-actions .obtn-demo { flex: 0 0 auto; padding-inline: 11px; }

/* booming strip uses the same card */
.booming-grid .ocard { flex: 0 0 190px; }

@media (max-width: 760px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
    .ogauge { width: 46px; height: 46px; }
    .ogauge span { font-size: .8rem; }
    .oname { font-size: .86rem; }
    .booming-grid .ocard { flex: 0 0 158px; }
}

/* pill carousel: recenter arrows + fades (pills are shorter than PST circles) */
.provider-carousel .pc-arrow { top: 50%; }
.provider-carousel::before, .provider-carousel::after { bottom: 0; }
.provider-carousel .pc-arrow:hover { border-color: var(--purple-2); color: var(--purple-2); }
.pcard.active .name, .pcard.active .circle { /* legacy, unused in ORBIT4D */ }


/* ============================================================
   ORBIT4D · black + yellow overrides  (legible dark text on yellow)
   ============================================================ */
.hero::after { border-color: rgba(255,215,0,.16); box-shadow: 0 0 0 46px rgba(255,215,0,.05), 0 0 0 128px rgba(255,215,0,.03); }
.hero::before {
    background:
        radial-gradient(420px 210px at 15% 30%, rgba(255,215,0,.16), transparent 70%),
        radial-gradient(420px 210px at 85% 20%, rgba(184,134,11,.12), transparent 70%);
}

/* promo bar: black with yellow text (not white on yellow) */
.promo-banner { background: #0a0a0a; border-bottom: 1px solid var(--border); }
.promo-banner span { color: var(--gold); }

/* JACKPOT nav — keep a hot gold pop */
.nav a.nav-jp { color: #FFD700; }
.nav a.nav-jp:hover { background: rgba(255,215,0,.14); color: #FFEA70; }

/* dark, readable text on every yellow/amber accent surface */
.btn-gold, .fab-daftar, .obtn, .opill.active, .tier.active, .chip.active, .btn-pola.primary, .pcount { color: #1a1600 !important; }
.btn-gold:hover, .obtn:hover { box-shadow: 0 8px 22px rgba(255,215,0,.5); }

/* RTP ring: default track colour = yellow */
.ogauge { --ring: #FFD700; }
.ogauge::before { background: #0c0b06; }

/* marquee yellow on black */
.marquee span { color: var(--gold-2); }

/* seamless marquee — two copies scroll -50% so the strip is never blank
   (old padding-left:100% left a gap that read as "text vanished" on mobile) */
#marquee { display: inline-block; padding-left: 0; white-space: nowrap; animation: mqscroll 34s linear infinite; }
@keyframes mqscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Prediksi AI RTP — popup + console + results
   (variable-driven so it themes itself in BOTH templates)
   ============================================================ */
.ai-sec { margin-top: 30px; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.ai-intro, .ai-console {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px;
}
.ai-badge, .ai-eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 700; letter-spacing: .12em;
    font-size: .7rem; color: var(--gold-2); border: 1px solid var(--border);
    padding: 5px 12px; border-radius: 999px;
}
.ai-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin: 14px 0 8px; line-height: 1.02; color: var(--text); }
.ai-title span { background: linear-gradient(120deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-intro p { color: var(--muted); margin: 0 0 16px; font-size: .95rem; line-height: 1.5; }
.ai-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.ai-stat { flex: 1; min-width: 92px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; }
.ai-stat b { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--gold); }
.ai-stat b.ai-on { color: var(--hot); }
.ai-stat span { font-size: .72rem; color: var(--muted); }

.ai-console-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ai-ver { font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .08em; color: var(--gold-2); background: rgba(255,255,255,.06); border-radius: 999px; padding: 4px 10px; }
.ai-console h3 { font-family: var(--font-head); font-weight: 700; margin: 0 0 6px; color: var(--text); font-size: 1.15rem; }
.ai-desc { color: var(--muted); font-size: .84rem; margin: 0 0 14px; line-height: 1.45; }
.ai-console label { display: block; font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; font-size: .68rem; color: var(--muted); margin: 12px 0 5px; }
.ai-input {
    width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text); padding: 11px 13px; font-family: var(--font-body); font-size: .9rem; outline: none;
}
.ai-input:focus { border-color: var(--gold); }
.ai-select { cursor: pointer; text-transform: capitalize; }
.ai-btn {
    width: 100%; margin-top: 16px; border: 0; border-radius: 12px; cursor: pointer;
    padding: 13px; font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; font-size: .95rem;
    color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-2));
    box-shadow: 0 8px 22px rgba(0,0,0,.35); transition: transform .12s, box-shadow .2s;
}
.ai-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.ai-btn:disabled { cursor: default; opacity: .6; }
.ai-progress { margin-top: 14px; }
.ai-bar { height: 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; }
.ai-bar > i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .12s linear; }
#aiStatus { display: block; margin-top: 7px; font-size: .8rem; color: var(--gold-2); font-family: var(--font-head); letter-spacing: .03em; }
.ai-note { margin: 14px 0 0; font-size: .74rem; color: var(--muted); }

.ai-results { margin-top: 24px; }
.ai-results .grid { grid-template-columns: repeat(auto-fill, minmax(198px, 1fr)); }
.ai-card { display: block; color: inherit; text-decoration: none; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform .15s ease, border-color .15s ease, box-shadow .2s ease; }
.ai-card:hover { transform: translateY(-4px); border-color: var(--purple-2); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.ai-card-top { position: relative; aspect-ratio: 16 / 10; background: var(--bg); overflow: hidden; }
.ai-card-top img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-conf { position: absolute; top: 8px; right: 8px; font-family: var(--font-head); font-weight: 700; font-size: .72rem; color: #05230f; background: var(--hot); padding: 3px 9px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.45); }
.ai-play { position: absolute; bottom: 8px; left: 8px; font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .05em; color: #fff; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.2); padding: 3px 9px; border-radius: 6px; backdrop-filter: blur(4px); }
.ai-card-b { padding: 11px 12px; display: flex; flex-direction: column; gap: 6px; }
.ai-card-name { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.ai-card-meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.ai-card-meta b.heat-hot { color: var(--hot); }
.ai-card-meta b.heat-warm { color: var(--warm); }
.ai-card-meta b.heat-cold { color: var(--cold); }
.ai-card-row { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); }
.ai-card-row b { color: var(--text); }
.ai-card-pola { font-size: .72rem; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 6px; }
.ai-card-pola b { color: var(--gold-2); font-family: var(--font-head); }
.ai-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.ai-actions .btn { flex: 1; min-width: 160px; }

/* Popup */
.ai-pop { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ai-pop[hidden] { display: none; }
.ai-pop-card { position: relative; width: 100%; max-width: 400px; text-align: center; padding: 30px 26px 26px; border-radius: 18px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: pop .2s ease; }
.ai-pop-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.ai-pop-badge { display: inline-block; font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; font-size: .68rem; color: var(--gold-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
.ai-pop-emoji { font-size: 3rem; margin: 10px 0 4px; }
.ai-pop-card h3 { font-family: var(--font-head); font-weight: 700; margin: 4px 0 8px; color: var(--text); font-size: 1.4rem; }
.ai-pop-card p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0 0 18px; }
.ai-pop-act { display: flex; flex-direction: column; gap: 8px; }
.ai-pop-act .btn { width: 100%; }

@media (max-width: 720px) {
    .ai-grid { grid-template-columns: 1fr; }
    .ai-results .grid { grid-template-columns: repeat(2, 1fr); }
}


/* ==============================
   FINAL RED METALLIC THEME
   ============================== */

:root{
    --bg:#050505;
    --bg-2:#080808;
    --surface:#111111;
    --surface-2:#171717;
    --border:#3a1018;

    --text:#f5f5f5;
    --muted:#a8a8a8;

    --gold:#FFD700;
    --gold-2:#FFEA70;
    --purple:#B8860B;
    --purple-2:#FFC400;
}

/* Hilangkan sisa glow kuning */
.hero::before{
    background:
    radial-gradient(420px 210px at 15% 30%,rgba(255,215,0,.25),transparent 70%),
    radial-gradient(420px 210px at 85% 20%,rgba(255,0,51,.18),transparent 70%) !important;
}

.hero::after{
    border-color:rgba(255,215,0,.18) !important;
}

.card,
.stat-card,
.ai-card,
.provider-card,
.game-card{
    border-color:#3a1018 !important;
    background:#111 !important;
}

.btn-gold,
.btn-primary,
.active,
.nav a.active{
    background:linear-gradient(135deg,#FFD700,#FFEA70) !important;
    color:#fff !important;
    box-shadow:0 0 20px rgba(255,0,51,.35) !important;
}

h1 span,
.stat-number,
.gold,
.text-gold{
    color:#FFD700 !important;
}

.marquee{
    color:#FFEA70 !important;
}
/* ===== FORCE ASIANSLOT88 GOLD THEME ===== */
:root {
    --gold: #FFD700 !important;
    --gold-2: #FFEA00 !important;
    --purple: #FFC400 !important;
    --purple-2: #FFD700 !important;
}

/* Judul ASIANSLOT88 */
.hero h1 span {
    color: #FFD700 !important;
    text-shadow: 0 0 30px rgba(255,215,0,.55) !important;
}

/* Angka statistik */
.stat-num {
    color: #FFD700 !important;
}

/* Running text */
.marquee span,
#marquee {
    color: #FFD700 !important;
}

/* JAM GACOR */
.jamgacor {
    color: #FFD700 !important;
    background: rgba(255,215,0,.10) !important;
    border-color: rgba(255,215,0,.45) !important;
}

/* HOME / DAFTAR / tombol utama */
.btn-gold,
.obtn,
.ai-btn,
.fab-daftar,
.opill.active,
.tier.active,
.chip.active,
.btn-pola.primary {
    background: linear-gradient(135deg, #FFC400, #FFEA00) !important;
    color: #181300 !important;
    border-color: #FFD700 !important;
}

/* Menu aktif */
.nav a.active,
.nav a.nav-jp {
    color: #FFD700 !important;
}

/* AI */
.ai-title span,
.ai-badge,
.ai-eyebrow,
.ai-ver {
    color: #FFD700 !important;
}

.ai-title span {
    background: linear-gradient(120deg, #FFC400, #FFEA00) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

/* Border merah -> gold */
.stat,
.ai-intro,
.ai-console {
    border-color: rgba(255,215,0,.25) !important;
}

/* Hero glow merah -> gold */
.hero::before {
    background:
        radial-gradient(420px 210px at 15% 30%, rgba(255,215,0,.16), transparent 70%),
        radial-gradient(420px 210px at 85% 20%, rgba(255,196,0,.12), transparent 70%) !important;
}

.hero::after {
    border-color: rgba(255,215,0,.16) !important;
    box-shadow:
        0 0 0 46px rgba(255,215,0,.05),
        0 0 0 128px rgba(255,215,0,.03) !important;
}