/* ============================================================
   Mpo808 — style.css
   Tema: merah / putih / hijau / kuning / biru / hitam
   Rancangan responsif asli untuk mpo808.games (tanpa framework)
   ============================================================ */

:root {
  --red: #d1122f;
  --red-dark: #9d0c22;
  --red-deep: #7a0a1b;
  --ink: #14161d;
  --ink-soft: #23263a;
  --gold: #ffc832;
  --gold-deep: #e0a800;
  --green: #0f9d58;
  --green-soft: #e7f6ee;
  --blue: #1f6feb;
  --blue-soft: #e9f1fd;
  --paper: #ffffff;
  --paper-soft: #f6f7fa;
  --line: #e5e7ee;
  --text: #262a35;
  --muted: #5d6472;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 22, 29, 0.10);
  --shadow-lg: 0 18px 44px rgba(20, 22, 29, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3rem; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--ink); overflow-wrap: break-word; }
p { overflow-wrap: break-word; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- pita pengumungan berjalan ---------- */
.topbar {
  background: linear-gradient(90deg, var(--ink) 0%, var(--red-deep) 55%, var(--ink) 100%);
  color: #fff;
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid var(--gold);
}
.topbar-track {
  display: inline-flex;
  gap: 48px;
  padding: 7px 0;
  animation: topbar-run 38s linear infinite;
}
.topbar-track span { display: inline-flex; align-items: center; gap: 6px; }
.topbar b { color: var(--gold); font-weight: 700; }
@keyframes topbar-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- kepala & navigasi ---------- */
.site-head {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand .dot { color: var(--gold); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; padding: 0; flex-wrap: wrap; }
.main-nav a {
  color: #e8eaf1;
  font-weight: 600;
  font-size: 14.5px;
  padding: 9px 12px;
  border-radius: 9px;
  display: block;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255, 200, 50, 0.14);
  color: var(--gold);
  text-decoration: none;
}
.head-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  border-radius: 11px;
  padding: 10px 22px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-red { background: linear-gradient(180deg, #e72744 0%, var(--red) 55%, var(--red-dark) 100%); color: #fff; box-shadow: 0 6px 16px rgba(209, 18, 47, 0.35); }
.btn-gold { background: linear-gradient(180deg, #ffd45e 0%, var(--gold) 55%, var(--gold-deep) 100%); color: #4a3400; box-shadow: 0 6px 16px rgba(224, 168, 0, 0.35); }
.btn-green { background: linear-gradient(180deg, #17b468 0%, var(--green) 100%); color: #fff; box-shadow: 0 6px 16px rgba(15, 157, 88, 0.3); }
.btn-blue { background: linear-gradient(180deg, #3b86f5 0%, var(--blue) 100%); color: #fff; box-shadow: 0 6px 16px rgba(31, 111, 235, 0.3); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 14px 30px; font-size: 17px; }
.nav-toggle, .search-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 9px;
  color: #fff;
  font-size: 19px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------- panel pencarian di kepala ---------- */
.search-panel {
  display: none;
  background: #1b1e29;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 14px 0 18px;
}
.search-panel.open { display: block; }
.search-box { display: flex; gap: 10px; }
.search-box input {
  flex: 1;
  min-width: 0;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: #101219;
  color: #fff;
  border-radius: 11px;
  padding: 11px 16px;
  font-size: 15px;
  font-family: var(--font);
}
.search-box input:focus { outline: none; border-color: var(--gold); }
.search-live { margin-top: 10px; display: grid; gap: 8px; }
.search-live a {
  background: #101219;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 10px 14px;
  color: #e8eaf1;
}
.search-live a b { display: block; color: var(--gold); font-size: 14.5px; }
.search-live a span { font-size: 13px; color: #9aa1b2; }
.search-live a:hover { border-color: var(--gold); text-decoration: none; }
.search-empty { color: #9aa1b2; font-size: 14px; }

/* ---------- remah roti (breadcrumb) ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 16px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(31, 111, 235, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(15, 157, 88, 0.13), transparent 55%),
    linear-gradient(158deg, var(--ink) 0%, var(--red-deep) 62%, var(--ink) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
  padding: 54px 0 60px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 200, 50, 0.16);
  border: 1px solid rgba(255, 200, 50, 0.5);
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -0.4px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { margin: 16px 0 10px; color: #d9dce7; font-size: clamp(15px, 1.8vw, 17.5px); max-width: 56ch; }
.hero-note { color: #aab1c2; font-size: 13.5px; margin-bottom: 24px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: #e6e8f0;
  font-weight: 600;
}
.chip i { font-style: normal; }
.chip.ok { border-color: rgba(15, 157, 88, 0.65); color: #8fe0b4; }
.chip.blue { border-color: rgba(31, 111, 235, 0.65); color: #9dc3ff; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: 18px;
  border: 3px solid rgba(255, 200, 50, 0.55);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
}
.hero-badge {
  position: absolute;
  left: -14px;
  bottom: 22px;
  background: linear-gradient(180deg, #17b468, var(--green));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.age-flag {
  position: absolute;
  top: -16px;
  right: -8px;
  background: var(--gold);
  color: #4a3400;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}

/* ---------- seksi umum ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--red);
  background: #fdeef1;
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 12px;
}
.section-head .eyebrow.green { color: var(--green); background: var(--green-soft); }
.section-head .eyebrow.blue { color: var(--blue); background: var(--blue-soft); }
.section-head .eyebrow.gold { color: #8a6400; background: #fff6dc; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 10px; }
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- langkah 4 panduan pemula ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  box-shadow: var(--shadow);
}
.step:nth-child(2) { border-top-color: var(--gold-deep); }
.step:nth-child(3) { border-top-color: var(--green); }
.step:nth-child(4) { border-top-color: var(--blue); }
.step-no {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 19px;
  color: #fff;
  background: linear-gradient(160deg, var(--red), var(--red-dark));
  margin-bottom: 14px;
}
.step:nth-child(2) .step-no { background: linear-gradient(160deg, #ffd45e, var(--gold-deep)); color: #4a3400; }
.step:nth-child(3) .step-no { background: linear-gradient(160deg, #17b468, #0b7a44); }
.step:nth-child(4) .step-no { background: linear-gradient(160deg, #3b86f5, #1a54b4); }
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }
.steps-cta { text-align: center; margin-top: 30px; }

/* ---------- kartu kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; }
.cat-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(20, 22, 29, 0.85);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.6px;
}
.cat-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-body h3 { font-size: 18px; }
.cat-body p { font-size: 14px; color: var(--muted); flex: 1; }
.cat-link { font-weight: 700; font-size: 14.5px; }
.cat-link::after { content: " →"; }

/* ---------- kartu keunggulan ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.feat:nth-child(3n + 2) { border-left-color: var(--green); }
.feat:nth-child(3n + 3) { border-left-color: var(--blue); }
.feat .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: #fdeef1;
  margin-bottom: 12px;
}
.feat:nth-child(3n + 2) .ico { background: var(--green-soft); }
.feat:nth-child(3n + 3) .ico { background: var(--blue-soft); }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { font-size: 14.5px; color: var(--muted); }

/* ---------- mengapa memilih (dua kolom) ---------- */
.why-wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 36px; align-items: center; }
.why-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 3px solid #fff; }
.why-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.why-list li {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.why-list .tick {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900;
  background: linear-gradient(160deg, #17b468, #0b7a44);
  font-size: 15px;
}
.why-list b { display: block; font-size: 15.5px; color: var(--ink); }
.why-list span { font-size: 14px; color: var(--muted); }

/* ---------- mobile & pembayaran ---------- */
.pay-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.pay-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 16px; }
.pay-list li {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 11px; padding: 12px 16px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.pay-list .pm-ico {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.pm-bank { background: var(--blue-soft); }
.pm-ewallet { background: var(--green-soft); }
.pm-pulsa { background: #fff6dc; }
.pm-qris { background: #fdeef1; }
.pay-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- kalkulator anggaran (seksi inovatif) ---------- */
.calc-card {
  background: linear-gradient(150deg, #101219 0%, #1d2742 100%);
  border: 1px solid rgba(255, 200, 50, 0.35);
  border-radius: 18px;
  padding: 30px 26px;
  color: #e8eaf1;
  box-shadow: var(--shadow-lg);
  max-width: 880px;
  margin: 0 auto;
}
.calc-card h3 { color: var(--gold); font-size: 21px; margin-bottom: 6px; }
.calc-card .calc-sub { font-size: 14px; color: #a7aec0; margin-bottom: 20px; }
.calc-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 18px; }
.calc-field label { display: block; font-size: 13px; font-weight: 700; color: #c7ccd9; margin-bottom: 6px; }
.calc-field input, .calc-field select {
  width: 170px;
  max-width: 100%;
  background: #0c0e14;
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: var(--font);
}
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--gold); }
.calc-out {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0 16px;
}
.calc-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.calc-box .lab { font-size: 12.5px; color: #a7aec0; font-weight: 700; letter-spacing: 0.4px; }
.calc-box .val { font-size: clamp(17px, 2.6vw, 23px); font-weight: 900; color: var(--gold); margin-top: 4px; overflow-wrap: anywhere; }
.calc-box.ok .val { color: #58d89b; }
.calc-note { font-size: 12.5px; color: #8d94a8; border-top: 1px dashed rgba(255, 255, 255, 0.18); padding-top: 12px; }

/* ---------- testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.testi::before {
  content: "“";
  position: absolute;
  top: 6px; right: 16px;
  font-size: 52px;
  font-weight: 900;
  color: #f1d24b;
  line-height: 1;
  font-family: Georgia, serif;
}
.testi p { font-size: 14.5px; color: var(--text); margin-bottom: 14px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 16px;
  flex-shrink: 0;
}
.av-red { background: linear-gradient(160deg, #e72744, var(--red-dark)); }
.av-green { background: linear-gradient(160deg, #17b468, #0b7a44); }
.av-blue { background: linear-gradient(160deg, #3b86f5, #1a54b4); }
.av-gold { background: linear-gradient(160deg, #ffd45e, var(--gold-deep)); color: #4a3400; }
.testi .who b { display: block; font-size: 14.5px; color: var(--ink); }
.testi .who span { font-size: 12.5px; color: var(--muted); }
.stars { color: var(--gold-deep); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.testi-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }

/* ---------- keamanan & tanggung jawab ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card {
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-card.sec { background: linear-gradient(160deg, #f2f7ff, #e9f1fd); border-top: 4px solid var(--blue); }
.info-card.resp { background: linear-gradient(160deg, #f0faf5, var(--green-soft)); border-top: 4px solid var(--green); }
.info-card h3 { font-size: 19px; }
.info-card p { font-size: 14.5px; color: var(--text); }
.info-card ul { font-size: 14.5px; color: var(--text); display: grid; gap: 6px; margin: 4px 0; }
.info-card .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 18px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 8px;
  background: #fdeef1;
  color: var(--red);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px dashed var(--line); }
.faq-item .faq-a { padding: 14px 18px 18px; font-size: 14.5px; color: var(--text); }

/* ---------- awan tag pencarian populer ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(20, 22, 29, 0.06);
}
.tag-cloud a:hover {
  border-color: var(--red);
  color: var(--red);
  text-decoration: none;
  transform: translateY(-2px);
}
.tag-cloud a.hot { border-color: var(--gold-deep); background: #fff6dc; }
.tag-cloud a:hover { transition: transform 0.15s ease; }

/* ---------- tata letak artikel ---------- */
.page-hero {
  background: linear-gradient(158deg, var(--ink) 0%, var(--red-deep) 58%, var(--ink) 100%);
  color: #fff;
  padding: 40px 0 44px;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.page-hero .lead { color: #d9dce7; margin-top: 12px; max-width: 70ch; font-size: clamp(14.5px, 1.8vw, 16.5px); }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  border-radius: 999px; padding: 5px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e6e8f0;
}
.pill.gold { background: rgba(255, 200, 50, 0.16); border-color: rgba(255, 200, 50, 0.5); color: var(--gold); }
.pill.green { background: rgba(15, 157, 88, 0.18); border-color: rgba(15, 157, 88, 0.55); color: #8fe0b4; }
.article { padding: 40px 0 56px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.prose { font-size: 16px; }
.prose h2 { font-size: clamp(21px, 3vw, 26px); margin: 34px 0 12px; padding-left: 14px; border-left: 5px solid var(--red); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18.5px; margin: 26px 0 10px; color: var(--red-dark); }
.prose p { margin-bottom: 14px; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 16px; display: grid; gap: 7px; }
.prose li { color: var(--text); }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 22px 0; }
.prose figure { margin: 22px 0; }
.prose figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.article-cta {
  margin-top: 34px;
  background: linear-gradient(150deg, var(--ink), #2a1f33);
  border: 1px solid rgba(255, 200, 50, 0.4);
  border-radius: var(--radius);
  padding: 26px;
  color: #e8eaf1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.article-cta b { color: var(--gold); font-size: 18px; }
.article-cta p { font-size: 14px; color: #c3c8d6; margin: 4px 0 0; }
.notice {
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14.5px;
  margin: 18px 0;
  border: 1px solid;
}
.notice b { display: block; margin-bottom: 4px; }
.notice.warn { background: #fff8e6; border-color: #e8c96a; color: #5c4a10; }
.notice.info { background: var(--blue-soft); border-color: #b7d0f5; color: #1c3d68; }
.notice.safe { background: var(--green-soft); border-color: #9bd8bb; color: #0d4d2e; }

/* ---------- batang samping ---------- */
.side { display: grid; gap: 20px; position: sticky; top: 86px; }
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.side-card h3 { font-size: 16.5px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.side-card ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.side-card li a { font-size: 14.5px; font-weight: 600; color: var(--text); display: flex; gap: 8px; }
.side-card li a::before { content: "›"; color: var(--red); font-weight: 900; }
.side-card li a:hover { color: var(--red); }
.side-promos { display: grid; gap: 12px; }
.side-promo {
  display: flex; gap: 12px; align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px;
  background: var(--paper-soft);
}
.side-promo img { width: 74px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.side-promo b { font-size: 14px; color: var(--ink); display: block; }
.side-promo span { font-size: 12.5px; color: var(--muted); }

/* ---------- daftar promosi ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.promo-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.promo-card img { width: 100%; height: 100%; object-fit: cover; }
.promo-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-body h3 { font-size: 17.5px; }
.promo-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 12px;
  background: #fdeef1;
  color: var(--red);
}
.promo-badge.green { background: var(--green-soft); color: var(--green); }
.promo-badge.blue { background: var(--blue-soft); color: var(--blue); }
.promo-badge.gold { background: #fff6dc; color: #8a6400; }
.promo-body p { font-size: 14px; color: var(--muted); flex: 1; }
.promo-mini { font-size: 12.5px; color: var(--muted); background: var(--paper-soft); border-radius: 8px; padding: 8px 10px; }

/* ---------- tabel syarat promo ---------- */
.terms { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 14px 0 20px; }
.terms th, .terms td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.terms th { background: var(--ink); color: var(--gold); font-size: 13.5px; letter-spacing: 0.3px; }
.terms tr:nth-child(even) td { background: var(--paper-soft); }
.terms-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- halaman daftar & masuk ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px 0 60px; }
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 16px;
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: clamp(23px, 3vw, 29px); margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--red); flex-shrink: 0; }
.form-msg { display: none; border-radius: 10px; padding: 11px 14px; font-size: 14px; margin-bottom: 14px; }
.form-msg.err { display: block; background: #fdeef1; color: var(--red-dark); border: 1px solid #f3c2cc; }
.form-msg.ok { display: block; background: var(--green-soft); color: #0d4d2e; border: 1px solid #9bd8bb; }
.auth-alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 16px; }
.auth-side h1 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.auth-side p { color: #d9dce7; margin: 12px 0 18px; font-size: 15px; }
.auth-side ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 24px; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; color: #e6e8f0; font-size: 14.5px; }
.auth-side li::before { content: "✓"; color: var(--gold); font-weight: 900; }
.auth-hero { background: linear-gradient(158deg, var(--ink) 0%, var(--red-deep) 58%, var(--ink) 100%); }

/* ---------- halaman pencarian ---------- */
.search-page-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.search-page-box .search-box input { background: var(--paper-soft); color: var(--text); border-color: var(--line); }
.search-page-box .search-box input:focus { border-color: var(--red); background: #fff; }
.result-grid { display: grid; gap: 12px; }
.result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.result b a { font-size: 16.5px; color: var(--red-dark); }
.result p { font-size: 14px; color: var(--muted); margin: 4px 0 8px; }
.result .url { font-size: 13px; color: var(--green); font-weight: 700; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #b9bfcd; margin-top: auto; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 48px 0 34px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 8px; }
.foot-top p { font-size: 13.5px; color: #9aa1b2; }
.foot-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0.4px; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: #b9bfcd; font-size: 14px; }
.foot-col a:hover { color: var(--gold); }
.foot-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.f-badge {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: #e6e8f0;
  letter-spacing: 0.5px;
}
.f-badge.age { border-color: var(--gold); color: var(--gold); }
.f-badge.resp { border-color: #58d89b; color: #58d89b; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 0 26px;
  font-size: 13px;
  color: #8d94a8;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
}
.foot-bottom .legal { max-width: 72ch; line-height: 1.6; }

/* ---------- tombol melayang gaya mesin slot ---------- */
.float-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #ff3355 0%, var(--red) 45%, var(--red-dark) 100%);
  border: 3px solid var(--gold);
  border-radius: 16px;
  padding: 10px 18px 10px 12px;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.6px;
  box-shadow: 0 10px 28px rgba(209, 18, 47, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-decoration: none;
  overflow: visible;
}
.float-btn:hover { text-decoration: none; transform: translateY(-3px); }
.float-reels {
  display: inline-flex;
  gap: 3px;
  background: #101219;
  border-radius: 9px;
  padding: 5px 7px;
  border: 1.5px solid var(--gold);
}
.float-reels i {
  font-style: normal;
  font-size: 13px;
  line-height: 1;
  color: var(--gold);
  animation: reel-spin 2.4s steps(3) infinite;
}
.float-reels i:nth-child(2) { animation-delay: 0.3s; color: #58d89b; }
.float-reels i:nth-child(3) { animation-delay: 0.6s; color: #ffd45e; }
@keyframes reel-spin {
  0%   { transform: translateY(0); }
  33%  { transform: translateY(-3px); }
  66%  { transform: translateY(3px); }
  100% { transform: translateY(0); }
}
.coin {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, #b98600);
  border: 2px solid #fff3c4;
  pointer-events: none;
  opacity: 0;
  z-index: 95;
}
.coin.pop { animation: coin-fly 1.9s ease-out forwards; }
@keyframes coin-fly {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.4) rotate(0deg); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, 0px), -120px) scale(1.15) rotate(540deg); }
}

/* ---------- animasi muncul ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .topbar-track { animation: none; }
  .float-reels i { animation: none; }
  .coin.pop { animation: none; opacity: 0; }
}

/* ---------- responsif ---------- */
@media (max-width: 1020px) {
  .article-grid { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle, .search-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ink);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
    margin: 0;
    max-height: 70vh;
    overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; padding: 10px 14px 16px; }
  .main-nav a { padding: 11px 14px; font-size: 15.5px; }
  .head-actions .btn-ghost { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding: 38px 0 46px; }
  .hero-media { max-width: 560px; }
  .why-wrap, .pay-wrap, .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { order: 2; }
  .duo-grid { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 22px; padding: 36px 0 26px; }
  .section { padding: 42px 0; }
  .calc-out { grid-template-columns: 1fr; }
  .calc-field input, .calc-field select { width: 100%; }
  .calc-row { gap: 12px; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .auth-card { padding: 26px 20px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .float-btn { right: 12px; bottom: 12px; padding: 9px 14px 9px 10px; font-size: 15px; border-radius: 14px; }
  .crumbs { font-size: 12.5px; }
}

@media (max-width: 380px) {
  body { font-size: 15px; }
  .wrap { padding: 0 14px; }
  .brand { font-size: 19px; }
  .brand img { width: 32px; height: 32px; }
  .btn { padding: 9px 16px; font-size: 14px; }
  .hero h1 { font-size: 27px; }
  .page-hero h1 { font-size: 24px; }
  .age-flag { width: 50px; height: 50px; font-size: 15px; top: -12px; right: -4px; }
  .float-btn { right: 8px; bottom: 8px; }
  .topbar { font-size: 12px; }
}
