/* ============================================================
   Hoki88 — style.css (konvensi kelas ala tema WordPress)
   Palet: merah / emas / hitam tinta / hijau / biru / putih
   Font : Plus Jakarta Sans
   ============================================================ */

:root {
  --red: #d2122e;
  --red-2: #a50e23;
  --red-3: #7c0a1b;
  --gold: #ffc93c;
  --gold-2: #e8a200;
  --gold-3: #b57e00;
  --green: #0fa36b;
  --green-2: #0b7d52;
  --blue: #2563eb;
  --blue-2: #1d4fc0;
  --ink: #14101b;
  --ink-2: #1d1726;
  --ink-3: #2a2138;
  --paper: #ffffff;
  --paper-2: #f8f6f2;
  --paper-3: #f1ede5;
  --line: #e9e4dc;
  --text: #2b2433;
  --muted: #6d6478;
  --shadow: 0 10px 30px rgba(20, 16, 27, .10);
  --shadow-lg: 0 18px 44px rgba(20, 16, 27, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; min-width: 0; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; font-weight: 800; overflow-wrap: break-word; }
p { margin: 0 0 1em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--gold); color: var(--ink); padding: 10px 18px;
  font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font); font-weight: 800; font-size: .95rem;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--gold { background: linear-gradient(180deg, #ffd75e, var(--gold) 55%, var(--gold-2)); color: var(--ink); box-shadow: 0 6px 20px rgba(232, 162, 0, .35); }
.btn--gold:hover { box-shadow: 0 10px 26px rgba(232, 162, 0, .5); }
.btn--red { background: linear-gradient(180deg, #ec3a52, var(--red) 55%, var(--red-2)); color: #fff; box-shadow: 0 6px 20px rgba(210, 18, 46, .35); }
.btn--red:hover { box-shadow: 0 10px 26px rgba(210, 18, 46, .5); }
.btn--green { background: linear-gradient(180deg, #19c07d, var(--green) 60%, var(--green-2)); color: #fff; box-shadow: 0 6px 20px rgba(15, 163, 107, .35); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 9px 20px; font-size: .85rem; }

.link-arrow { font-weight: 700; color: var(--red); }
.link-arrow:hover { color: var(--red-2); text-decoration: none; }

/* ---------- Topbar + Header ---------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(20, 16, 27, .97); backdrop-filter: blur(8px); box-shadow: 0 2px 18px rgba(0, 0, 0, .35); }

.topbar { background: linear-gradient(90deg, var(--red-3), var(--red) 50%, var(--red-3)); font-size: .78rem; color: #ffe9c9; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar-note { display: inline-flex; align-items: center; gap: 8px; }
.topbar-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.topbar-link:hover { color: var(--gold); }

.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 24px; padding: 0 7px; border-radius: 6px;
  background: #fff; color: var(--red); font-weight: 800; font-size: .8rem;
  border: 2px solid var(--gold);
}

.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }

.site-branding { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-branding:hover { text-decoration: none; }
.logo-chip { display: grid; place-items: center; width: 42px; height: 42px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: .5px; }
.logo-text b { color: var(--gold); }
.logo-dot { font-size: .55rem; letter-spacing: 3px; color: #9b93a8; font-weight: 600; }

.main-navigation { margin-left: auto; }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 9px 14px; border-radius: 10px;
  color: #e8e2f0; font-weight: 700; font-size: .92rem; text-decoration: none;
}
.menu a:hover { color: var(--gold); background: rgba(255, 255, 255, .07); }
.menu .is-active a { color: var(--gold); background: rgba(255, 201, 60, .12); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  color: #fff; cursor: pointer;
}
.search-toggle:hover { border-color: var(--gold); color: var(--gold); }
.search-toggle svg { width: 20px; height: 20px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 42px; padding: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; cursor: pointer; }
.nt-bar { display: block; height: 2.5px; width: 100%; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nt-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nt-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nt-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid rgba(255,255,255,.1); padding: 14px 20px 18px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.mobile-nav ul a { display: block; padding: 11px 14px; border-radius: 10px; color: #e8e2f0; font-weight: 700; text-decoration: none; }
.mobile-nav ul a:hover, .mobile-nav ul .is-active a { background: rgba(255, 201, 60, .12); color: var(--gold); }
.mobile-nav-cta { display: flex; gap: 10px; }
.mobile-nav-cta .btn { flex: 1; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.breadcrumb-bar ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; list-style: none; margin: 0; padding: 10px 0; font-size: .82rem; color: var(--muted); }
.breadcrumb-bar li { display: flex; align-items: center; gap: 6px; }
.breadcrumb-bar li + li::before { content: "\203A"; color: var(--gold-2); font-weight: 800; }
.breadcrumb-bar a { color: var(--muted); font-weight: 600; }
.breadcrumb-bar a:hover { color: var(--red); }
.breadcrumb-bar [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ---------- Hero beranda ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(210, 18, 46, .55), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(37, 99, 235, .25), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--ink-2) 60%, #241b31);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/img/hero.jpg") center 30% / cover no-repeat;
  opacity: .18;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 84px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 201, 60, .14); border: 1px solid rgba(255, 201, 60, .45);
  color: var(--gold); font-weight: 700; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem); margin: 18px 0 14px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { color: #cfc8dc; font-size: 1.06rem; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  color: #e9e3f2; font-size: .8rem; font-weight: 600;
}
.chip .tick { color: var(--green); font-weight: 800; }

/* Mesin slot animasi di hero */
.slot-machine {
  position: relative; padding: 22px; border-radius: 22px;
  background: linear-gradient(180deg, #3b2b4e, #201829 70%);
  border: 2px solid rgba(255, 201, 60, .55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255,255,255,.12);
}
.slot-machine::before {
  content: "HOKI88"; position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  padding: 5px 22px; border-radius: 999px; background: linear-gradient(180deg, #ffd75e, var(--gold-2));
  color: var(--ink); font-weight: 800; letter-spacing: 3px; font-size: .8rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
}
.slot-window {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px;
  background: #120d18; border-radius: 14px; border: 2px solid #4a3a5e; overflow: hidden;
}
.slot-cell { height: 92px; overflow: hidden; border-radius: 10px; background: linear-gradient(180deg, #2b2138, #1a1424); border: 1px solid #4a3a5e; }
.slot-strip { display: flex; flex-direction: column; align-items: center; font-size: 2.4rem; line-height: 92px; animation: roll 2.6s linear infinite; }
.slot-strip span { height: 92px; }
.slot-machine.slow .slot-strip { animation-duration: 5.2s; }
.slot-machine.slower .slot-strip { animation-duration: 4s; }
@keyframes roll { 0% { transform: translateY(0); } 100% { transform: translateY(-368px); } }
.slot-payline { height: 3px; margin: 12px 6px 4px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 14px rgba(255, 201, 60, .8); }
.slot-label { text-align: center; color: #b7aec9; font-size: .78rem; font-weight: 600; letter-spacing: 1px; }

/* ---------- Bagian umum ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: #cfc8dc; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
  background: rgba(210, 18, 46, .08); border: 1px solid rgba(210, 18, 46, .25);
  color: var(--red); font-weight: 800; font-size: .74rem; letter-spacing: 2px; text-transform: uppercase;
}
.section--dark .kicker { background: rgba(255, 201, 60, .12); border-color: rgba(255, 201, 60, .4); color: var(--gold); }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 14px 0 10px; }
.section-head .sub { color: var(--muted); margin: 0; }
.section--dark .section-head .sub { color: #b3abc4; }

/* ---------- Langkah 1-2-3-4 ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  position: relative; padding: 26px 22px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  position: absolute; top: -16px; left: 20px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1.05rem;
  background: linear-gradient(180deg, #ec3a52, var(--red-2)); box-shadow: 0 8px 18px rgba(210, 18, 46, .35);
}
.step-card:nth-child(2) .step-num { background: linear-gradient(180deg, #ffd75e, var(--gold-2)); color: var(--ink); box-shadow: 0 8px 18px rgba(232, 162, 0, .35); }
.step-card:nth-child(3) .step-num { background: linear-gradient(180deg, #19c07d, var(--green-2)); box-shadow: 0 8px 18px rgba(15, 163, 107, .35); }
.step-card:nth-child(4) .step-num { background: linear-gradient(180deg, #5b8df5, var(--blue-2)); box-shadow: 0 8px 18px rgba(37, 99, 235, .35); }
.step-icon { font-size: 2rem; margin: 10px 0 8px; }
.step-card h3 { font-size: 1.05rem; }
.step-card p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }

/* ---------- Kartu promo ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promo-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-thumb { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.promo-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.promo-card:hover .promo-thumb img { transform: scale(1.05); }
.promo-tag {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 14px; border-radius: 999px;
  background: rgba(20, 16, 27, .85); color: var(--gold); font-weight: 800; font-size: .74rem;
  letter-spacing: 1px; text-transform: uppercase; border: 1px solid rgba(255, 201, 60, .5);
}
.promo-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.promo-body h3 { font-size: 1.08rem; margin: 0; }
.promo-body p { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; }

/* ---------- Keunggulan (chip strip) ---------- */
.adv-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.adv-chip {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px;
  border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line);
}
.adv-chip .ico { font-size: 1.4rem; line-height: 1.2; }
.adv-chip b { display: block; font-size: .9rem; color: var(--ink); }
.adv-chip span { font-size: .78rem; color: var(--muted); }

/* ---------- Split media (mengapa memilih kami) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.25); border-radius: inherit; pointer-events: none; }
.list-check { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; }
.list-check .tick {
  flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px;
  border-radius: 8px; background: rgba(15, 163, 107, .12); color: var(--green); font-weight: 800;
}
.fact-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.fact {
  padding: 10px 18px; border-radius: var(--radius-sm); background: var(--paper-2);
  border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--ink);
}
.fact b { color: var(--red); font-size: 1.05rem; }

/* ---------- Duo transparansi (baca promo / baca VIP) ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.guide-card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.guide-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.guide-card ol { margin: 12px 0 16px; padding-left: 20px; display: grid; gap: 8px; font-size: .92rem; color: var(--text); }
.guide-card ol li::marker { color: var(--gold-2); font-weight: 800; }

/* ---------- Seluler + pembayaran ---------- */
.pay-grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pay-card { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow); }
.pay-card .ico { font-size: 1.8rem; }
.pay-card h3 { font-size: .98rem; margin: 8px 0 6px; }
.pay-card p { font-size: .8rem; color: var(--muted); margin: 0; }
.pay-note-strip {
  margin-top: 22px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, .06); border: 1px solid rgba(37, 99, 235, .25);
  color: var(--blue-2); font-size: .86rem;
}

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.testi-card .stars { color: var(--gold-2); letter-spacing: 2px; font-size: .95rem; }
.testi-card blockquote { margin: 0; font-size: .93rem; color: var(--text); flex: 1; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-ava {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(180deg, #ec3a52, var(--red-2)); color: #fff; font-weight: 800;
}
.testi-user b { display: block; font-size: .9rem; color: var(--ink); }
.testi-user span { font-size: .76rem; color: var(--muted); }
.testi-note { margin-top: 18px; text-align: center; font-size: .78rem; color: var(--muted); }

/* ---------- Alat: kalkulator + kamus ---------- */
.tools-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
.tool-card { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); }
.tool-card h3 { color: #fff; }
.tool-card .sub { color: #b3abc4; font-size: .88rem; }
.calc-row { display: grid; gap: 14px; margin: 18px 0; }
.calc-field label { display: block; color: #d9d3e6; font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.calc-field input {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-family: var(--font); font-size: 1rem;
  background: #120d18; border: 1px solid #4a3a5e; color: #fff;
}
.calc-field input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.calc-out { display: grid; gap: 10px; }
.calc-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; background: #120d18; border: 1px solid #4a3a5e; font-size: .88rem; color: #cfc8dc; }
.calc-line b { color: var(--gold); font-size: 1rem; white-space: nowrap; }
.calc-warn { margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: rgba(210, 18, 46, .16); border: 1px solid rgba(210, 18, 46, .5); color: #ffd7dc; font-size: .84rem; }
.glossary { display: grid; gap: 10px; }
.glossary details { border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: rgba(255, 255, 255, .03); overflow: hidden; }
.glossary summary { cursor: pointer; padding: 13px 16px; color: #fff; font-weight: 700; font-size: .92rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.glossary summary::-webkit-details-marker { display: none; }
.glossary summary::after { content: "+"; color: var(--gold); font-weight: 800; font-size: 1.1rem; }
.glossary details[open] summary::after { content: "\2212"; }
.glossary details p { margin: 0; padding: 0 16px 14px; color: #b3abc4; font-size: .86rem; }

/* ---------- Awan tag pencarian populer ---------- */
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tagcloud a {
  padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--text); font-weight: 700; font-size: .85rem; text-decoration: none;
  transition: all .18s;
}
.tagcloud a:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); text-decoration: none; transform: translateY(-2px); }
.tagcloud .tag-lg { font-size: 1rem; background: rgba(210, 18, 46, .08); border-color: rgba(210, 18, 46, .3); color: var(--red); }
.tagcloud .tag-md { font-size: .92rem; background: rgba(255, 201, 60, .16); border-color: rgba(232, 162, 0, .45); color: var(--gold-3); }

/* ---------- Kartu keamanan ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sec-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sec-card .ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.4rem;
  background: rgba(37, 99, 235, .1); margin-bottom: 14px;
}
.sec-card:nth-child(2n) .ico { background: rgba(15, 163, 107, .12); }
.sec-card:nth-child(3n) .ico { background: rgba(210, 18, 46, .08); }
.sec-card h3 { font-size: 1rem; }
.sec-card p { font-size: .87rem; color: var(--muted); margin: 0; }

/* ---------- Perjudian bertanggung jawab ---------- */
.rg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.rg-card { padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); }
.rg-card .ico { font-size: 1.6rem; margin-bottom: 8px; }
.rg-card h3 { color: #fff; font-size: .98rem; }
.rg-card p { font-size: .84rem; color: #b3abc4; margin: 0; }
.rg-check { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.rg-check h3 { color: var(--gold); font-size: 1.02rem; }
.rg-check ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9rem; color: #d5cfe2; }
.rg-check ul li::before { content: "\2713\00a0"; color: var(--green); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 17px 20px; font-weight: 700; color: var(--ink); font-size: .96rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 8px; background: rgba(210, 18, 46, .1); color: var(--red); font-weight: 800;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-body { padding: 0 20px 18px; color: var(--muted); font-size: .92rem; }
.faq-body p { margin: 0; }

/* ---------- Pita CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 22px; padding: 46px 40px; text-align: center; color: #fff;
  background:
    radial-gradient(600px 300px at 15% -20%, rgba(255, 201, 60, .25), transparent 60%),
    linear-gradient(120deg, var(--red-3), var(--red) 55%, #8e1020);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { color: #ffe3c2; max-width: 46em; margin: 0 auto 22px; }
.cta-band .hero-cta { justify-content: center; margin: 0; }
.cta-note { margin-top: 16px; font-size: .78rem; color: #ffcdf1; opacity: .9; }

/* ---------- Halaman dalam: hero artikel ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/hero.jpg") center 30% / cover no-repeat; opacity: .16; }
.page-hero-inner { position: relative; padding-top: 46px; padding-bottom: 46px; max-width: 860px; }
.page-hero .kicker { background: rgba(255, 201, 60, .12); border-color: rgba(255, 201, 60, .4); color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 16px 0 12px; }
.page-hero .lede { color: #cfc8dc; font-size: 1.02rem; max-width: 46em; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: .8rem; color: #9d95b0; font-weight: 600; }

/* ---------- Artikel ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.entry-content { font-size: 1rem; }
.entry-content h2 { font-size: 1.45rem; margin: 1.6em 0 .6em; padding-left: 14px; border-left: 4px solid var(--gold); }
.entry-content h3 { font-size: 1.12rem; margin: 1.4em 0 .5em; color: var(--red-2); }
.entry-content ul, .entry-content ol { padding-left: 22px; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 6px; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.entry-content figcaption { font-size: .78rem; color: var(--muted); margin-top: 8px; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 0 0 1.4em; }
.entry-content th { background: var(--ink); color: var(--gold); text-align: left; padding: 11px 14px; font-size: .82rem; letter-spacing: .5px; }
.entry-content td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content tr:nth-child(even) td { background: var(--paper-2); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 0 0 1.4em; }
.table-scroll table { margin: 0; border: none; }

.info-box, .warn-box, .tip-box { padding: 18px 20px; border-radius: var(--radius-sm); margin: 0 0 1.4em; font-size: .93rem; }
.info-box { background: rgba(37, 99, 235, .07); border: 1px solid rgba(37, 99, 235, .3); color: #1c3d84; }
.tip-box { background: rgba(15, 163, 107, .08); border: 1px solid rgba(15, 163, 107, .32); color: #0b5c3c; }
.warn-box { background: rgba(210, 18, 46, .07); border: 1px solid rgba(210, 18, 46, .32); color: #7c0a1b; }
.info-box b, .tip-box b, .warn-box b { display: block; margin-bottom: 4px; }

.article-cta { margin: 2em 0 0; }

/* ---------- Sidebar artikel ---------- */
.entry-sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
.entry-side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.side-card { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.side-card h3 { font-size: 1rem; margin-bottom: 12px; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-card ul a { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .88rem; color: var(--text); text-decoration: none; }
.side-card ul a:hover { color: var(--red); }
.side-card ul .ico { font-size: 1.1rem; }
.side-note { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- Terkait ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.related-thumb { aspect-ratio: 3 / 2; overflow: hidden; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-body { padding: 16px 18px 18px; }
.related-body h3 { font-size: .96rem; margin: 0 0 6px; color: var(--ink); }
.related-body p { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- Kartu kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cat-card { display: flex; gap: 18px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); align-items: center; }
.cat-card .ico { flex: 0 0 auto; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; font-size: 1.7rem; background: linear-gradient(180deg, #3b2b4e, #201829); border: 1px solid rgba(255, 201, 60, .4); }
.cat-card h3 { margin: 0 0 4px; font-size: 1rem; }
.cat-card p { margin: 0; font-size: .83rem; color: var(--muted); }

/* ---------- Formulir ---------- */
.form-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: start; }
.form-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.3rem; }
.form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 13px 15px; border-radius: 10px; font-family: var(--font); font-size: .95rem;
  border: 1.5px solid var(--line); background: var(--paper-2); color: var(--text);
}
.field input:focus { outline: 2px solid var(--gold); border-color: transparent; background: #fff; }
.field .hint { font-size: .74rem; color: var(--muted); margin-top: 5px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: .84rem; color: var(--text); }
.check-row input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--red); }
.form-note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.form-error { display: none; padding: 12px 16px; border-radius: 10px; background: rgba(210, 18, 46, .08); border: 1px solid rgba(210, 18, 46, .35); color: var(--red-2); font-size: .85rem; font-weight: 600; margin-bottom: 14px; }
.form-error.show { display: block; }
.form-side { display: grid; gap: 18px; }
.form-side .side-card { box-shadow: var(--shadow); }
.steps-mini { list-style: none; margin: 0; padding: 0; counter-reset: mini; display: grid; gap: 12px; }
.steps-mini li { counter-increment: mini; display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--text); }
.steps-mini li::before {
  content: counter(mini); flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 8px; background: linear-gradient(180deg, #ffd75e, var(--gold-2)); color: var(--ink); font-weight: 800; font-size: .8rem;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 0; color: #b7aec9; background: linear-gradient(180deg, #1a1424, var(--ink));
  padding: 56px 0 110px; /* ruang bawah untuk bilah melayang tanpa menambah area kosong */
  border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand p { font-size: .88rem; color: #9d95b0; margin: 14px 0 16px; }
.footer-col h3 { color: #fff; font-size: .95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col ul a { color: #b7aec9; font-size: .9rem; text-decoration: none; }
.footer-col ul a:hover { color: var(--gold); }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-soft { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgba(15, 163, 107, .18); color: #7fe0bb; border: 1px solid rgba(15, 163, 107, .5); }
.pay-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chip { padding: 6px 12px; border-radius: 8px; font-size: .76rem; font-weight: 700; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #d9d3e6; }
.pay-note { font-size: .76rem; color: #8d85a0; margin-top: 12px; }
.footer-disclaimer {
  margin-top: 40px; padding: 18px 22px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem; line-height: 1.7; color: #9d95b0;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem; color: #8d85a0;
}
.footer-bottom a { color: var(--gold); }

/* ---------- Bilah melayang gaya mesin slot ---------- */
.floating-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(43, 20, 30, .97), rgba(20, 10, 14, .99));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, .55);
}
.reels { display: flex; gap: 6px; padding: 5px 8px; border-radius: 10px; background: #0d0810; border: 1.5px solid rgba(255, 201, 60, .55); }
.reel { width: 30px; height: 38px; overflow: hidden; border-radius: 6px; background: #1c1424; }
.reel-strip { display: block; text-align: center; font-size: 19px; line-height: 38px; animation: reelroll 1.15s steps(4) infinite; }
.reel:nth-child(2) .reel-strip { animation-duration: .95s; }
.reel:nth-child(3) .reel-strip { animation-duration: 1.3s; }
@keyframes reelroll { 0% { transform: translateY(0); } 100% { transform: translateY(-152px); } }
.fbtn {
  position: relative; overflow: hidden;
  min-width: 128px; padding: 12px 30px; border-radius: 999px;
  font-weight: 800; font-size: .95rem; letter-spacing: 1.5px; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.fbtn:hover { text-decoration: none; transform: translateY(-2px) scale(1.02); }
.fbtn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: shine 2.8s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -80%; } 100% { left: 140%; } }
.fbtn--gold { background: linear-gradient(180deg, #ffd75e, var(--gold) 55%, var(--gold-2)); color: var(--ink); box-shadow: 0 6px 22px rgba(255, 201, 60, .45), inset 0 1px 0 rgba(255,255,255,.6); }
.fbtn--red { background: linear-gradient(180deg, #ec3a52, var(--red) 55%, var(--red-2)); color: #fff; box-shadow: 0 6px 22px rgba(210, 18, 46, .5), inset 0 1px 0 rgba(255,255,255,.25); }
.coin {
  position: absolute; bottom: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, var(--gold-3));
  box-shadow: 0 0 10px rgba(255, 201, 60, .8);
  opacity: 0; animation: coinup 3.2s ease-in infinite; pointer-events: none;
}
.coin--1 { left: 12%; animation-delay: 0s; }
.coin--2 { left: 30%; animation-delay: 1.1s; }
.coin--3 { right: 30%; animation-delay: 2s; }
.coin--4 { right: 12%; animation-delay: .6s; }
@keyframes coinup {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  12% { opacity: .95; }
  60% { transform: translateY(-64px) scale(1); }
  100% { transform: translateY(-104px) scale(.5); opacity: 0; }
}

/* ---------- Pencarian ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: flex-start; justify-content: center; padding: 90px 18px 30px; background: rgba(15, 10, 20, .82); backdrop-filter: blur(6px); }
.search-overlay[hidden] { display: none; }
.search-panel {
  width: 100%; max-width: 640px; border-radius: 18px; overflow: hidden;
  background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.search-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-head svg { width: 22px; height: 22px; color: var(--red); flex: 0 0 auto; }
#search-input { flex: 1; border: none; outline: none; font-family: var(--font); font-size: 1.05rem; color: var(--text); background: transparent; }
.search-close { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: none; background: var(--paper-2); color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.search-close:hover { background: var(--red); color: #fff; }
#search-results { max-height: 46vh; overflow-y: auto; }
.sr-item { display: block; padding: 13px 20px; border-bottom: 1px solid var(--paper-3); text-decoration: none; }
.sr-item:hover { background: var(--paper-2); text-decoration: none; }
.sr-item b { display: block; font-size: .92rem; color: var(--ink); }
.sr-item span { font-size: .78rem; color: var(--muted); }
.sr-empty { padding: 18px 20px; font-size: .88rem; color: var(--muted); }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 18px; background: var(--paper-2); }
.search-tags-label { font-size: .74rem; font-weight: 800; color: var(--muted); }
.search-tags a { padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-size: .78rem; font-weight: 700; text-decoration: none; }
.search-tags a:hover { background: var(--ink); color: var(--gold); text-decoration: none; }

/* ---------- Animasi masuk ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slot-strip, .reel-strip, .coin, .fbtn::after { animation: none; }
}

/* ============================================================
   Responsif
   ============================================================ */
@media (max-width: 1080px) {
  .main-navigation { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn--sm { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-strip { grid-template-columns: repeat(2, 1fr); }
  .promo-grid, .testi-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .entry-sidebar { position: static; grid-template-columns: 1fr; }
  .entry-side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; padding-bottom: 60px; }
  .slot-machine { max-width: 380px; margin: 0 auto; }
  .split, .duo-grid, .tools-grid, .form-layout { grid-template-columns: 1fr; }
  .pay-grid-cards { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .rg-grid { grid-template-columns: repeat(2, 1fr); }
  .rg-check { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-link { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 46px 0; }
  .steps-grid, .promo-grid, .testi-grid, .related-grid, .adv-strip,
  .pay-grid-cards, .sec-grid, .entry-side-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .cta-band { padding: 34px 22px; }
  .cta-band .hero-cta { flex-direction: column; }
  .cta-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .floating-bar { gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .reels { display: none; }
  .fbtn { min-width: 0; flex: 1; padding: 12px 16px; letter-spacing: 1px; }
  .coin--2, .coin--3 { display: none; }
  .page-hero-inner { padding: 34px 0; }
  .form-card { padding: 22px; }
  .table-scroll { margin-inline: 0; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .logo-text { font-size: 1.15rem; }
  .fbtn { font-size: .88rem; }
  h1 { font-size: 1.6rem; }
}
