/* ============================================================
   Area188 — assets/css/style.css
   Tema: casino elegan (hitam · emas · merah · hijau · biru)
   Struktur mengikuti konvensi tema WordPress (assets/css)
   ============================================================ */

/* ------------------------------------------------------------
   1. Design tokens & reset
   ------------------------------------------------------------ */
:root {
  --c-bg: #0b0e14;
  --c-bg-2: #0f131d;
  --c-surface: #141927;
  --c-card: #1a2133;
  --c-card-2: #1f2740;
  --c-line: #2a3450;
  --c-text: #e9edf5;
  --c-muted: #a3adc2;
  --c-gold: #ffc94d;
  --c-gold-2: #f0a90b;
  --c-gold-deep: #c98a00;
  --c-red: #ff4d5e;
  --c-red-deep: #d92537;
  --c-green: #35d98a;
  --c-green-deep: #1f9e60;
  --c-blue: #4da3ff;
  --c-blue-deep: #2f6fd6;
  --c-white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 34px rgba(0, 0, 0, .45);
  --shadow-gold: 0 10px 26px rgba(240, 169, 11, .35);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --bar-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background:
    radial-gradient(1100px 480px at 85% -140px, rgba(240, 169, 11, .10), transparent 60%),
    radial-gradient(900px 420px at -10% 6%, rgba(47, 111, 214, .12), transparent 60%),
    var(--c-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-gold); text-decoration: none; }
a:hover { color: var(--c-white); }
ul, ol { list-style-position: inside; }
button { font-family: inherit; }

::selection { background: var(--c-gold-2); color: #10131b; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 3000;
  background: var(--c-gold); color: #10131b; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------------------------------------
   2. Typography utilitas
   ------------------------------------------------------------ */
h1, h2, h3, h4 { line-height: 1.28; font-weight: 800; color: var(--c-white); }
h1 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { color: var(--c-muted); }
strong { color: var(--c-text); }

.text-gold { color: var(--c-gold); }
.text-green { color: var(--c-green); }
.text-red { color: var(--c-red); }
.text-blue { color: var(--c-blue); }

/* ------------------------------------------------------------
   3. Layout utilitas
   ------------------------------------------------------------ */
.container { width: min(1160px, 92%); margin-inline: auto; }

.sec { padding: clamp(2.4rem, 5vw, 4.2rem) 0; }
.sec-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .022), rgba(255, 255, 255, .045)); border-block: 1px solid var(--c-line); }
.sec-head { max-width: 760px; margin: 0 auto clamp(1.6rem, 3vw, 2.4rem); text-align: center; }
.sec-head p { margin-top: .6rem; }
.sec-head .kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-gold);
  background: rgba(240, 169, 11, .12); border: 1px solid rgba(240, 169, 11, .35);
  padding: .28rem .8rem; border-radius: 999px; margin-bottom: .8rem;
}

.grid { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Badge & chips */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .76rem; font-weight: 800; letter-spacing: .04em;
  padding: .22rem .62rem; border-radius: 999px; line-height: 1.5;
}
.badge-18 { background: rgba(255, 77, 94, .16); color: var(--c-red); border: 1px solid rgba(255, 77, 94, .5); }
.badge-gold { background: rgba(240, 169, 11, .14); color: var(--c-gold); border: 1px solid rgba(240, 169, 11, .45); }
.badge-green { background: rgba(53, 217, 138, .13); color: var(--c-green); border: 1px solid rgba(53, 217, 138, .42); }
.badge-blue { background: rgba(77, 163, 255, .13); color: var(--c-blue); border: 1px solid rgba(77, 163, 255, .42); }

/* Tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 800; letter-spacing: .02em; line-height: 1.2;
  padding: .78rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-gold { background: linear-gradient(135deg, #ffd76a, var(--c-gold-2)); color: #171207; box-shadow: var(--shadow-gold); }
.btn-green { background: linear-gradient(135deg, #46e69b, var(--c-green-deep)); color: #06180f; box-shadow: 0 10px 24px rgba(53, 217, 138, .28); }
.btn-red { background: linear-gradient(135deg, #ff5f6f, var(--c-red-deep)); color: #fff; }
.btn-outline { background: transparent; color: var(--c-gold); border: 1.6px solid rgba(240, 169, 11, .55); }
.btn-outline:hover { background: rgba(240, 169, 11, .1); }
.btn-blue { background: linear-gradient(135deg, #6cb4ff, var(--c-blue-deep)); color: #07131f; }
.btn-sm { padding: .5rem 1rem; font-size: .86rem; }
.btn-lg { padding: .95rem 2.2rem; font-size: 1.04rem; }

/* Kartu umum */
.card {
  background: linear-gradient(160deg, var(--c-card), var(--c-card-2));
  border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.35rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .93rem; }

.icon-bubble {
  width: 52px; height: 52px; border-radius: 14px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: .9rem;
  border: 1px solid var(--c-line);
}
.ib-gold { background: rgba(240, 169, 11, .14); }
.ib-red { background: rgba(255, 77, 94, .14); }
.ib-green { background: rgba(53, 217, 138, .14); }
.ib-blue { background: rgba(77, 163, 255, .14); }

/* ------------------------------------------------------------
   4. Topbar & header navigasi
   ------------------------------------------------------------ */
.topbar { background: #070a10; border-bottom: 1px solid var(--c-line); font-size: .8rem; color: var(--c-muted); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .42rem 0; }
.topbar-note { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.topbar-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); flex: 0 0 auto; animation: blink 2.2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.topbar-note span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-header {
  position: sticky; top: 0; z-index: 1200;
  background: rgba(11, 14, 20, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.nav { display: flex; align-items: center; gap: 1rem; padding: .65rem 0; }
.brand { display: flex; align-items: center; gap: .55rem; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 1.3rem; font-weight: 900; letter-spacing: .03em; color: var(--c-white); }
.brand-name b { color: var(--c-gold); }
.brand-tag { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); display: block; margin-top: -3px; }

.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-links a {
  display: block; padding: .5rem .72rem; border-radius: 8px;
  color: var(--c-muted); font-weight: 700; font-size: .92rem; white-space: nowrap;
}
.nav-links a:hover { color: var(--c-white); background: rgba(255, 255, 255, .06); }
.nav-links a.active { color: var(--c-gold); background: rgba(240, 169, 11, .1); }

.nav-cta { display: flex; align-items: center; gap: .55rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--c-line); border-radius: 8px;
  color: var(--c-gold); font-size: 1.25rem; line-height: 1; padding: .5rem .65rem; cursor: pointer;
}

/* Search di header */
.hd-search { position: relative; }
.hd-search input {
  width: 210px; padding: .52rem 2.2rem .52rem .95rem;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px;
  color: var(--c-text); font-family: inherit; font-size: .88rem;
}
.hd-search input::placeholder { color: #6b7690; }
.hd-search .s-ico { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); font-size: .9rem; pointer-events: none; }
.s-results {
  position: absolute; top: calc(100% + 8px); right: 0; width: 300px; max-height: 320px; overflow: auto;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: 12px;
  box-shadow: var(--shadow); padding: .45rem; display: none; z-index: 1300;
}
.s-results.open { display: block; }
.s-results a { display: block; padding: .5rem .6rem; border-radius: 8px; color: var(--c-text); font-size: .86rem; }
.s-results a:hover { background: rgba(240, 169, 11, .1); }
.s-results a small { display: block; color: var(--c-muted); font-size: .76rem; }
.s-results .s-empty { padding: .6rem; color: var(--c-muted); font-size: .84rem; }

/* Menu mobile */
.mobile-menu { display: none; border-top: 1px solid var(--c-line); background: var(--c-bg-2); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: .6rem 0; }
.mobile-menu a { display: block; padding: .6rem 1.2rem; color: var(--c-muted); font-weight: 700; }
.mobile-menu a.active { color: var(--c-gold); }
.mobile-menu .mm-search { padding: .5rem 1.2rem .9rem; }
.mobile-menu .mm-search input {
  width: 100%; padding: .6rem 1rem; background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-text); font-family: inherit;
}
.mobile-menu .mm-cta { display: flex; gap: .6rem; padding: 0 1.2rem 1rem; }
.mobile-menu .mm-cta .btn { flex: 1; }

/* ------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--c-line); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.4rem; align-items: center; padding: clamp(2.6rem, 5vw, 4.6rem) 0; }
.hero-copy .badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.hero-copy h1 span { color: var(--c-gold); }
.hero-copy .lead { font-size: 1.05rem; margin: 1rem 0 1.5rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .86rem; color: var(--c-muted); }
.hero-trust li { list-style: none; display: flex; align-items: center; gap: .4rem; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--c-line);
  box-shadow: var(--shadow); position: relative;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  background: linear-gradient(160deg, rgba(240, 169, 11, .18), transparent 45%);
}
.hero-chip {
  position: absolute; left: -14px; bottom: 22px; z-index: 2;
  background: linear-gradient(135deg, #1f2740, #141927);
  border: 1px solid rgba(240, 169, 11, .5); border-radius: 14px;
  padding: .65rem .9rem; display: flex; align-items: center; gap: .6rem; box-shadow: var(--shadow);
}
.hero-chip .em { font-size: 1.4rem; }
.hero-chip b { display: block; color: var(--c-white); font-size: .9rem; }
.hero-chip small { color: var(--c-muted); font-size: .74rem; }

/* ------------------------------------------------------------
   6. Langkah panduan (4 langkah)
   ------------------------------------------------------------ */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 1.1rem; }
.step .num {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 900; font-size: 1.15rem; color: #171207;
  background: linear-gradient(135deg, #ffd76a, var(--c-gold-2)); margin-bottom: .8rem;
  box-shadow: var(--shadow-gold);
}
.step h3 { font-size: 1.06rem; margin-bottom: .4rem; }
.step p { font-size: .92rem; }

/* ------------------------------------------------------------
   7. Kartu kategori game
   ------------------------------------------------------------ */
.game-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-card); box-shadow: var(--shadow); transition: transform .22s ease, border-color .22s ease; }
.game-card:hover { transform: translateY(-5px); border-color: rgba(240, 169, 11, .55); }
.game-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .thumb img { transform: scale(1.06); }
.game-card .thumb .tag { position: absolute; top: 10px; left: 10px; }
.game-card .body { padding: 1.05rem 1.1rem 1.25rem; }
.game-card h3 { font-size: 1.12rem; }
.game-card p { font-size: .88rem; margin: .35rem 0 .8rem; }

/* ------------------------------------------------------------
   8. Promo cards
   ------------------------------------------------------------ */
.promo-card { display: flex; flex-direction: column; }
.promo-card .flag { align-self: flex-start; margin-bottom: .7rem; }
.promo-card .amount { font-size: 1.5rem; font-weight: 900; color: var(--c-gold); margin-bottom: .25rem; }
.promo-card ul { list-style: none; margin: .7rem 0 1rem; display: grid; gap: .35rem; }
.promo-card ul li { font-size: .87rem; color: var(--c-muted); display: flex; gap: .45rem; align-items: baseline; }
.promo-card ul li::before { content: "✓"; color: var(--c-green); font-weight: 900; flex: 0 0 auto; }
.promo-card .btn { margin-top: auto; }

/* ------------------------------------------------------------
   9. Keunggulan / highlight
   ------------------------------------------------------------ */
.feat { display: flex; gap: 1rem; align-items: flex-start; }
.feat h3 { font-size: 1.02rem; }
.feat p { font-size: .9rem; }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.2rem .8rem; }
.stat .n { font-size: 1.6rem; font-weight: 900; color: var(--c-gold); }
.stat .l { font-size: .82rem; color: var(--c-muted); }
.stat-note { text-align: center; font-size: .74rem; color: #6b7690; margin-top: .8rem; }

/* ------------------------------------------------------------
   10. Mobile & pembayaran
   ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; }
.phone-mock {
  border-radius: 26px; border: 1px solid var(--c-line); overflow: hidden; box-shadow: var(--shadow);
  background: var(--c-surface); max-width: 340px; margin-inline: auto;
}
.phone-mock img { aspect-ratio: 3 / 4.1; object-fit: cover; }
.pay-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.pay-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px;
  padding: .42rem .9rem; font-size: .85rem; font-weight: 700; color: var(--c-text);
}

/* ------------------------------------------------------------
   11. Testimoni
   ------------------------------------------------------------ */
.testi { position: relative; }
.testi .stars { color: var(--c-gold); letter-spacing: .12em; font-size: .9rem; margin-bottom: .6rem; }
.testi blockquote { font-size: .93rem; color: var(--c-text); margin-bottom: 1rem; }
.testi .who { display: flex; align-items: center; gap: .7rem; }
.testi .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(240, 169, 11, .5); }
.testi .who b { display: block; font-size: .9rem; color: var(--c-white); }
.testi .who small { color: var(--c-muted); font-size: .76rem; }

/* ------------------------------------------------------------
   12. Tag cloud & hasil pencarian
   ------------------------------------------------------------ */
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.tag-cloud a {
  font-size: .84rem; font-weight: 700; color: var(--c-muted);
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: 999px; padding: .4rem .95rem;
  transition: all .18s ease;
}
.tag-cloud a:hover { color: #171207; background: var(--c-gold); border-color: var(--c-gold); transform: translateY(-2px); }
.tag-cloud a.hot { border-color: rgba(255, 77, 94, .55); color: var(--c-red); }
.tag-cloud a.hot:hover { background: var(--c-red); color: #fff; }

.big-search { display: flex; gap: .6rem; max-width: 620px; margin: 0 auto 1.4rem; }
.big-search input {
  flex: 1; min-width: 0; padding: .85rem 1.2rem; border-radius: 999px;
  background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-text); font-family: inherit; font-size: .95rem;
}
.big-search input::placeholder { color: #6b7690; }

#search-results { text-align: left; }
#search-results .sr-item {
  display: block; padding: .85rem 1rem; border: 1px solid var(--c-line);
  border-radius: 12px; background: var(--c-card); margin-bottom: .6rem;
}
#search-results .sr-item:hover { border-color: rgba(240, 169, 11, .5); }
#search-results .sr-item b { color: var(--c-gold); }
#search-results .sr-item p { font-size: .85rem; margin: .15rem 0 0; }
.sr-title { margin-bottom: 1rem; }

/* ------------------------------------------------------------
   13. Kalkulator anggaran (section inovatif)
   ------------------------------------------------------------ */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.calc-form { display: grid; gap: .9rem; align-content: start; }
.calc-field label { display: block; font-size: .86rem; font-weight: 700; color: var(--c-text); margin-bottom: .35rem; }
.calc-field input, .calc-field select {
  width: 100%; padding: .7rem .95rem; border-radius: 10px;
  background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-text); font-family: inherit; font-size: .95rem;
}
.calc-out { background: linear-gradient(160deg, rgba(240, 169, 11, .1), rgba(53, 217, 138, .07)); border: 1px solid rgba(240, 169, 11, .4); border-radius: var(--radius); padding: 1.4rem; }
.calc-out .big { font-size: 2rem; font-weight: 900; color: var(--c-gold); }
.calc-out .row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--c-line); font-size: .92rem; }
.calc-out .row:last-of-type { border-bottom: 0; }
.calc-out .row b { color: var(--c-white); }
.calc-note { font-size: .78rem; color: #6b7690; margin-top: .8rem; }

/* ------------------------------------------------------------
   14. Keamanan & RG banner
   ------------------------------------------------------------ */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.sec-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rg-banner {
  border-radius: var(--radius); border: 1px solid rgba(255, 77, 94, .4);
  background: linear-gradient(160deg, rgba(255, 77, 94, .1), rgba(255, 255, 255, .02));
  padding: 1.5rem; display: flex; gap: 1.1rem; align-items: flex-start;
}
.rg-banner .em { font-size: 1.8rem; }
.rg-banner ul { list-style: none; display: grid; gap: .3rem; margin-top: .4rem; }
.rg-banner ul li { font-size: .9rem; color: var(--c-muted); }

/* ------------------------------------------------------------
   15. FAQ (details/summary)
   ------------------------------------------------------------ */
.faq-list { display: grid; gap: .7rem; max-width: 860px; margin-inline: auto; }
.faq-list details {
  background: linear-gradient(160deg, var(--c-card), var(--c-card-2));
  border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden;
}
.faq-list details[open] { border-color: rgba(240, 169, 11, .5); }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  align-items: center; padding: 1rem 1.15rem; font-weight: 800; color: var(--c-white); font-size: .98rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.25rem; color: var(--c-gold); transition: transform .2s ease; flex: 0 0 auto; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-a { padding: 0 1.15rem 1.05rem; font-size: .93rem; color: var(--c-muted); }

/* ------------------------------------------------------------
   16. Halaman artikel / kategori
   ------------------------------------------------------------ */
.page-hero { border-bottom: 1px solid var(--c-line); background: linear-gradient(180deg, rgba(240, 169, 11, .07), transparent); }
.page-hero-in { padding: clamp(1.8rem, 4vw, 3rem) 0; }
.crumbs { font-size: .8rem; color: var(--c-muted); margin-bottom: .9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li { display: flex; align-items: center; gap: .35rem; }
.crumbs li + li::before { content: "›"; color: var(--c-gold); }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-gold); }
.crumbs [aria-current] { color: var(--c-gold); font-weight: 700; }
.page-hero .meta-row { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin-top: .9rem; font-size: .82rem; color: var(--c-muted); }
.page-hero .meta-row span { display: inline-flex; gap: .35rem; align-items: center; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.2rem; padding: clamp(1.8rem, 3.5vw, 3rem) 0; align-items: start; }
.article-body { min-width: 0; }
.article-body .featured { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); margin-bottom: 1.6rem; }
.article-body h2 { margin: 1.9rem 0 .8rem; }
.article-body h3 { margin: 1.3rem 0 .55rem; }
.article-body p { margin-bottom: 1rem; max-width: 72ch; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem; display: grid; gap: .4rem; color: var(--c-muted); max-width: 68ch; }
.article-body blockquote {
  border-left: 3px solid var(--c-gold); background: rgba(240, 169, 11, .07);
  padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; font-size: .95rem; color: var(--c-text);
}
.article-body .img-caption { font-size: .78rem; color: #6b7690; margin-top: -1.1rem; margin-bottom: 1.4rem; }

.toc { position: sticky; top: 84px; display: grid; gap: 1rem; }
.toc-card ul { list-style: none; display: grid; gap: .3rem; margin-top: .6rem; }
.toc-card ul a { display: block; font-size: .86rem; color: var(--c-muted); padding: .3rem .5rem; border-radius: 6px; }
.toc-card ul a:hover { color: var(--c-gold); background: rgba(240, 169, 11, .08); }
.toc .side-cta { text-align: center; }
.toc .side-cta p { font-size: .84rem; margin: .6rem 0 .9rem; }

/* Tabel syarat promo */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: 12px; margin: 1.2rem 0; }
table.terms { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; background: var(--c-card); }
table.terms th, table.terms td { padding: .75rem .95rem; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
table.terms th { background: rgba(240, 169, 11, .1); color: var(--c-gold); font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; }
table.terms td { color: var(--c-muted); }
table.terms td:first-child { color: var(--c-text); font-weight: 700; white-space: nowrap; }
table.terms tr:last-child td { border-bottom: 0; }

/* Tabel menjadi kartu bertumpuk di layar sempit agar tanpa geser horizontal */
@media (max-width: 640px) {
  .table-wrap { overflow-x: visible; }
  table.terms { min-width: 0; display: block; }
  table.terms thead { display: none; }
  table.terms tbody { display: block; }
  table.terms tr { display: block; border-bottom: 1px solid var(--c-line); padding: .35rem 0; }
  table.terms tr:last-child { border-bottom: 0; }
  table.terms td { display: block; border-bottom: 0; padding: .3rem .95rem; }
  table.terms td:first-child { white-space: normal; color: var(--c-gold); padding-top: .55rem; }
  table.terms tr:last-child td:last-child { padding-bottom: .55rem; }
}

.notice {
  border-radius: 12px; padding: 1rem 1.15rem; font-size: .88rem; margin: 1.2rem 0;
  border: 1px solid rgba(77, 163, 255, .4); background: rgba(77, 163, 255, .08); color: var(--c-muted);
}
.notice b { color: var(--c-blue); }
.notice-warn { border-color: rgba(255, 77, 94, .4); background: rgba(255, 77, 94, .08); }
.notice-warn b { color: var(--c-red); }

/* ------------------------------------------------------------
   17. Form auth (daftar/masuk)
   ------------------------------------------------------------ */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; padding: clamp(1.8rem, 4vw, 3.2rem) 0; }
.auth-card { padding: clamp(1.4rem, 3vw, 2.2rem); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: .3rem; }
.auth-card .sub { font-size: .9rem; margin-bottom: 1.4rem; }
.form-grid { display: grid; gap: .95rem; }
.f-field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; color: var(--c-text); }
.f-field label .req { color: var(--c-red); }
.f-field input, .f-field select {
  width: 100%; padding: .78rem 1rem; border-radius: 10px;
  background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-text); font-family: inherit; font-size: .95rem;
}
.f-field input:focus { border-color: var(--c-gold); outline: none; }
.f-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--c-muted); }
.f-check input { margin-top: .28rem; width: auto; accent-color: var(--c-gold-2); }
.f-msg { font-size: .84rem; color: var(--c-red); min-height: 1.1rem; margin-top: .4rem; }
.auth-alt { text-align: center; font-size: .88rem; margin-top: 1.2rem; color: var(--c-muted); }
.auth-side ul { list-style: none; display: grid; gap: .75rem; margin-top: 1.1rem; }
.auth-side li { display: flex; gap: .6rem; font-size: .9rem; color: var(--c-muted); }
.auth-side li .em { flex: 0 0 auto; }

/* ------------------------------------------------------------
   18. Footer
   ------------------------------------------------------------ */
.site-footer { background: #070a10; border-top: 1px solid var(--c-line); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding: 2.6rem 0 1.6rem; }
.site-footer h4 { font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-gold); margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer ul a { color: var(--c-muted); font-size: .9rem; }
.site-footer ul a:hover { color: var(--c-gold); }
.footer-brand p { font-size: .86rem; margin: .8rem 0 1rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-pay { border-top: 1px solid var(--c-line); padding: 1.1rem 0; }
.footer-pay .pay-label { font-size: .78rem; color: #6b7690; text-align: center; margin-bottom: .6rem; }
.footer-bottom { border-top: 1px solid var(--c-line); padding: 1.2rem 0 110px; text-align: center; }
.footer-bottom p { font-size: .8rem; color: #6b7690; max-width: 900px; margin: 0 auto .45rem; }
.footer-bottom .copy { color: var(--c-muted); }

/* ------------------------------------------------------------
   19. Floating bar (slot style + koin)
   ------------------------------------------------------------ */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000;
  height: var(--bar-h);
  background: linear-gradient(180deg, #1b2233, #0a0d14 70%);
  border-top: 2px solid var(--c-gold-2);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, .55);
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  padding: 0 .8rem;
}
.fb-slots { display: flex; gap: 4px; background: #05070b; border: 1px solid var(--c-line); border-radius: 10px; padding: 5px 7px; }
.fb-reel { width: 22px; height: 22px; overflow: hidden; border-radius: 5px; background: #10141d; }
.fb-reel > span { display: block; animation: reelSpin 2.8s linear infinite; }
.fb-reel > span > i { display: block; font-style: normal; line-height: 22px; font-size: 15px; text-align: center; }
.fb-reel:nth-child(2) > span { animation-duration: 3.4s; }
.fb-reel:nth-child(3) > span { animation-duration: 2.3s; }
@keyframes reelSpin { from { transform: translateY(0); } to { transform: translateY(-66px); } }

.fb-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 128px; height: 44px; padding: 0 1.3rem; border-radius: 999px;
  font-weight: 900; font-size: .98rem; letter-spacing: .05em; line-height: 1;
  overflow: hidden; transition: transform .18s ease, filter .18s ease;
}
.fb-btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.1); }
.fb-daftar { background: linear-gradient(135deg, #ffd76a, #f0a90b 55%, #c98a00); color: #171207; box-shadow: 0 0 0 2px rgba(255, 215, 106, .35), 0 8px 22px rgba(240, 169, 11, .5); animation: fbPulse 2.1s ease-in-out infinite; }
.fb-login { background: linear-gradient(135deg, #46e69b, #1f9e60); color: #06180f; box-shadow: 0 8px 22px rgba(53, 217, 138, .4); }
@keyframes fbPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 215, 106, .35), 0 8px 22px rgba(240, 169, 11, .5); }
  50% { box-shadow: 0 0 0 5px rgba(255, 215, 106, .18), 0 10px 30px rgba(240, 169, 11, .7); }
}

.fb-coin { position: absolute; bottom: 6px; font-size: 15px; opacity: 0; pointer-events: none; animation: coinUp 3.2s ease-in infinite; }
.fb-coin.p1 { left: 14%; animation-delay: 0s; }
.fb-coin.p2 { left: 32%; animation-delay: 1.1s; font-size: 12px; }
.fb-coin.p3 { right: 30%; animation-delay: .6s; font-size: 13px; }
.fb-coin.p4 { right: 12%; animation-delay: 1.9s; }
@keyframes coinUp {
  0% { transform: translateY(0) rotate(0deg) scale(.5); opacity: 0; }
  12% { opacity: .95; }
  100% { transform: translateY(-52px) rotate(25deg) scale(1.15); opacity: 0; }
}

/* ------------------------------------------------------------
   20. Responsive
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; order: 3; }
  .hd-search { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc-card { display: none; }
  .toc .side-cta { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .split, .calc, .split-cards, .auth-wrap { grid-template-columns: 1fr; }
  .nav-cta .btn { padding: .6rem 1.1rem; font-size: .85rem; }
}

@media (max-width: 640px) {
  :root { --bar-h: 60px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .topbar-note span { white-space: normal; }
  .big-search { flex-direction: column; }
  .big-search .btn { width: 100%; }
  .hero-chip { left: 8px; bottom: 8px; }
  .fb-slots { display: none; }
  .fb-btn { min-width: 0; flex: 1; max-width: 180px; }
  .float-bar { gap: .6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { padding-bottom: 96px; }
  .sec-cards { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .brand-tag { display: none; }
  .nav-cta .btn-outline { display: none; }
  .fb-btn { font-size: .9rem; padding: 0 .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
