/* ==========================================================================
   Dipo4d — Tema "Kartu" (dipo4d.games)
   Enam warna: merah bata, putih gading, hijau felt, kuning emas, biru royal, hitam tinta
   Kerangka kelas mengikuti konvensi WordPress (site-header, main-navigation,
   entry-content, site-footer, widget). Prarender statis — tanpa JS wajib.
   ========================================================================== */

:root {
  --ink: #17130e;
  --ink-2: #241e16;
  --paper: #ffffff;
  --paper-2: #f6f2e9;
  --red: #c8102e;
  --red-d: #a30d25;
  --gold: #e8a813;
  --gold-l: #f7c948;
  --green: #0e5c3f;
  --green-l: #e7f2ec;
  --blue: #1f4fa8;
  --blue-l: #e9eef8;
  --line: #e6dfd1;
  --txt: #29241c;
  --muted: #6f6858;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 26px rgba(23, 19, 14, .10);
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Segoe UI", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--txt);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.01em; }
ul, ol { padding-left: 1.3em; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(44px, 6vw, 72px) 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #f4efe4; }
.text-center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- tombol ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--sm { padding: 8px 14px; font-size: .74rem; }
.btn--block { display: block; text-align: center; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-l); color: var(--ink); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #0b4a32; color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,255,255,.06); }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: #c9c0ae; }
.btn--ghost-dark:hover { border-color: var(--red); color: var(--red); }

/* ---------- topbar ---------- */
.topbar { background: var(--ink); color: #cfc6b4; font-size: .78rem; }
.topbar-row { display: flex; align-items: center; gap: 14px; min-height: 34px; flex-wrap: wrap; padding: 4px 0; }
.topbar-age b { color: var(--gold-l); font-weight: 800; margin-right: 4px; }
.topbar-note { flex: 1 1 auto; }
.topbar-links a { color: #e8e0cf; }
.topbar-links a:hover { color: var(--gold-l); }
.topbar-sep { margin: 0 6px; color: #6b6353; }
@media (max-width: 720px) { .topbar-note { display: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.hdr-row { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: 0 0 auto; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--ink); border-radius: 10px; padding: 7px 8px; font-size: 1.05rem; line-height: 1;
}
.brand-suit--b { color: #f4efe4; }
.brand-suit--r { color: var(--red); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; }
.brand-text span { color: var(--red); }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.main-navigation { display: block; margin-left: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu-item a {
  display: block; padding: 9px 9px; border-radius: 8px;
  color: var(--txt); font-size: .85rem; font-weight: 600;
}
.menu-item a:hover { color: var(--red); background: var(--paper-2); }
.current-menu-item a { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); border-radius: 8px 8px 2px 2px; }
.hdr-actions { position: relative; z-index: 150; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.hdr-search {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; color: var(--ink);
  border: 1.5px solid #d8d0bf;
}
.hdr-search:hover { color: var(--red); border-color: var(--red); }
.hamburger {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1.5px solid #d8d0bf; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.hdr-drawer { display: none; border-top: 1px solid var(--line); background: #fff; }
.hdr-drawer.open { display: block; }
.drawer-menu { list-style: none; margin: 0; padding: 10px 0; }
.drawer-menu li + li { border-top: 1px solid #f0ebe0; }
.drawer-menu a { display: block; padding: 11px 4px; font-weight: 600; color: var(--txt); }
.drawer-menu a:hover { color: var(--red); }
.drawer-actions { padding: 6px 4px 14px; }
@media (max-width: 1080px) {
  .main-navigation { display: none; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 560px) {
  .hdr-row > .btn--sm { display: none; }
}

/* ---------- breadcrumb ---------- */
.breadcrumb { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 10px 0; font-size: .8rem; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #b3aa96; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #f4efe4; position: relative; overflow: clip; }
.hero::before {
  content: "♠ ♥ ♦ ♣ ♠ ♥ ♦ ♣";
  position: absolute; right: -20px; top: 30px;
  font-size: clamp(90px, 16vw, 220px); line-height: .9; font-family: var(--font-display);
  color: rgba(232,168,19,.06); pointer-events: none; white-space: pre-wrap;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 5px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--gold) 25% 50%, var(--green) 50% 75%, var(--blue) 75% 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(48px, 7vw, 84px) 0; position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,168,19,.14); border: 1px solid rgba(232,168,19,.45); color: var(--gold-l);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.15rem); color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--gold-l); }
.hero-lede { font-size: clamp(1rem, 1.6vw, 1.12rem); color: #ded5c2; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero-chips li {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  border: 1px solid rgba(244,239,228,.28); color: #cfc6b4; border-radius: 999px; padding: 5px 12px;
}
.hero-visual { position: relative; }
.hero-card {
  display: block; border-radius: 18px; border: 4px solid #f4efe4;
  box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: rotate(2.2deg);
  overflow: hidden; aspect-ratio: 3 / 4;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-tag {
  position: absolute; left: -12px; bottom: 26px; background: var(--red); color: #fff;
  font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 10px; transform: rotate(-2deg); box-shadow: 0 12px 26px rgba(0,0,0,.35);
}
.hero-mini {
  position: absolute; right: -10px; top: -14px; background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: .8rem; padding: 9px 15px; border-radius: 999px;
  transform: rotate(2deg); box-shadow: 0 12px 26px rgba(0,0,0,.35);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 380px; }
}

/* ---------- kepala seksi ---------- */
.sec-head { max-width: 720px; margin: 0 auto clamp(26px, 4vw, 44px); text-align: center; }
.sec-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.eyebrow--gold { color: var(--gold); }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.section--ink h2 { color: #fff; }
.sec-head p { color: var(--muted); margin: 0; }
.section--ink .sec-head p { color: #cfc6b4; }

/* ---------- grid aman ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid > * { min-width: 0; max-width: 100%; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- kartu umum ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px); box-shadow: 0 4px 14px rgba(23,19,14,.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.12rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; font-size: 1.3rem;
  background: var(--paper-2); margin-bottom: 12px;
}
.card-icon--red { background: #fbe7ea; }
.card-icon--green { background: var(--green-l); }
.card-icon--gold { background: #fdf3d8; }
.card-icon--blue { background: var(--blue-l); }
.card-link { font-weight: 700; font-size: .85rem; }

/* langkah 1-4 */
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--gold-l); font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700; margin-bottom: 12px;
}
.card--step { border-top: 4px solid var(--red); }
.card--step:nth-child(2) { border-top-color: var(--gold); }
.card--step:nth-child(3) { border-top-color: var(--green); }
.card--step:nth-child(4) { border-top-color: var(--blue); }

/* ---------- kartu promo ---------- */
.promo-card { display: flex; flex-direction: column; gap: 10px; }
.promo-badge {
  align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; background: var(--ink); color: var(--gold-l);
  padding: 4px 10px; border-radius: 999px;
}
.promo-val { font-family: var(--font-display); font-size: 2rem; color: var(--red); line-height: 1.1; }
.promo-val small { font-size: .95rem; color: var(--muted); font-family: var(--font-body); }
.promo-card ul { margin: 0; padding-left: 1.15em; color: var(--muted); font-size: .9rem; }
.promo-card .card-link { margin-top: auto; }

/* ---------- sorotan (split) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.split-img img { display: block; width: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.split-list { list-style: none; margin: 16px 0 0; padding: 0; }
.split-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.split-list li::before {
  content: "♠"; position: absolute; left: 2px; top: 0; color: var(--red); font-size: 1rem;
}
.split-list li:nth-child(even)::before { content: "♣"; color: var(--ink); }
.split-list b { display: block; }
.split-list span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split-img { max-width: 560px; } }

/* ---------- ponsel (mobile exp) ---------- */
.phone {
  width: min(250px, 78vw); border-radius: 30px; background: var(--ink); padding: 12px 10px;
  box-shadow: 0 24px 50px rgba(23,19,14,.28); margin-inline: auto;
}
.phone-notch { width: 84px; height: 6px; border-radius: 999px; background: #3a332a; margin: 2px auto 10px; }
.phone-screen { background: var(--paper-2); border-radius: 18px; overflow: hidden; }
.phone-bar { background: var(--red); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-align: center; padding: 9px 6px; }
.phone-body { padding: 12px 10px; }
.phone-row { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font-size: .74rem; font-weight: 700; color: var(--txt); margin-bottom: 7px; display: flex; gap: 7px; align-items: center; }
.phone-row:last-child { margin-bottom: 0; }
.phone-row i { font-style: normal; font-size: .9rem; }
.phone-nav { display: flex; gap: 6px; padding: 9px 6px; background: #fff; border-top: 1px solid var(--line); }
.phone-nav span { flex: 1; text-align: center; font-size: .68rem; font-weight: 800; color: var(--muted); }
.phone-nav span:first-child { color: var(--red); }

/* ---------- testimoni ---------- */
.quote-card { position: relative; font-size: .95rem; }
.quote-card::before {
  content: "“"; position: absolute; top: 6px; left: 14px; font-family: var(--font-display);
  font-size: 3rem; color: var(--gold); line-height: 1;
}
.quote-card p { margin: 30px 0 16px; font-style: italic; color: #4a4437; }
.quote-who { display: flex; align-items: center; gap: 10px; }
.quote-ava {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .85rem;
}
.quote-ava--r { background: var(--red); } .quote-ava--g { background: var(--green); }
.quote-ava--b { background: var(--blue); } .quote-ava--k { background: var(--ink); }
.quote-who b { display: block; font-size: .9rem; }
.quote-who span { font-size: .78rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .85rem; }

/* ---------- Alur Solusi (inovasi) ---------- */
.as-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.as-chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: #fff; border: 2px solid var(--line); color: var(--txt);
  font-family: var(--font-body); font-weight: 700; font-size: .85rem;
  padding: 10px 16px; border-radius: 999px; transition: all .15s ease;
}
.as-chip i { font-style: normal; font-size: 1rem; }
.as-chip:hover { border-color: var(--gold); }
.as-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--gold-l); }
.as-board {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(18px, 3vw, 30px); max-width: 860px; margin-inline: auto;
}
.as-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.as-dot { width: 10px; height: 10px; border-radius: 50%; background: #e6dfd1; transition: background .2s; }
.as-dot.is-on { background: var(--red); }
.as-dot.is-done { background: var(--green); }
.as-progress b { margin-left: 6px; font-size: .78rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.as-step h3, .as-end h3 { font-size: 1.15rem; }
.as-step > p, .as-end > p { color: #4a4437; }
.as-answers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.as-ans {
  cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: .84rem;
  background: var(--blue-l); color: var(--blue); border: 2px solid #c8d5ef;
  padding: 9px 15px; border-radius: 10px; transition: all .15s ease;
}
.as-ans:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.as-end { border-left: 4px solid var(--green); background: var(--green-l); border-radius: 10px; padding: 16px 18px; }
.as-end ul { margin: 0 0 10px; }
.as-end li { margin-bottom: 6px; }
.as-channel { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .78rem; font-weight: 700; color: var(--green); margin-top: 4px; }
.as-restart {
  margin-top: 14px; cursor: pointer; background: transparent; border: none; color: var(--muted);
  font-family: var(--font-body); font-weight: 700; font-size: .8rem; text-decoration: underline;
}
.as-restart:hover { color: var(--red); }
.as-hint { text-align: center; color: var(--muted); font-size: .84rem; margin-top: 16px; }
/* tanpa JS: semua langkah tampil berurutan */
html.no-js .as-chip { display: none; }
html.no-js .as-progress { display: none; }
html.no-js .as-step, html.no-js .as-end { display: block !important; margin-bottom: 18px; }
.js .as-step, .js .as-end { display: none; }
.js .as-step.is-active, .js .as-end.is-active { display: block; animation: asIn .25s ease; }
@keyframes asIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- keamanan & RG ---------- */
.rg-banner {
  background: var(--green); color: #eef6f1; border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px); display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  margin-top: clamp(20px, 3vw, 30px);
}
.rg-banner b { color: #fff; }
.rg-banner p { margin: 0; flex: 1 1 320px; font-size: .95rem; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--red);
  font-weight: 900; font-size: 1.25rem; border: 3px solid var(--gold); flex: 0 0 auto;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 10px; overflow: clip;
}
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: baseline;
  padding: 15px 18px; font-weight: 700; font-size: .98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--red); font-size: 1.3rem; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--red); }
.faq-body { padding: 0 18px 16px; color: #4a4437; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- tag cloud + pencarian ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin-inline: auto; }
.tag-cloud a {
  display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--txt);
  font-size: .82rem; font-weight: 700; padding: 7px 14px; border-radius: 999px;
}
.tag-cloud a:hover { border-color: var(--red); color: var(--red); }
.tag-cloud a:nth-child(3n) { border-color: #e9d9a8; }
.tag-cloud a:nth-child(3n):hover { border-color: var(--gold); }
.tag-cloud a:nth-child(4n) { border-color: #cfe0d6; }
.tag-cloud a:nth-child(4n):hover { border-color: var(--green); }

.search-box { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; }
.search-box input {
  flex: 1 1 auto; min-width: 0; font-family: var(--font-body); font-size: 1rem;
  padding: 13px 18px; border-radius: 999px; border: 2px solid var(--line); outline: none;
}
.search-box input:focus { border-color: var(--red); }
.search-result { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
.search-result b { display: block; margin-bottom: 4px; }
.search-result b a { font-family: var(--font-display); font-size: 1.05rem; }
.search-result p { margin: 0; color: var(--muted); font-size: .88rem; }
.search-cat { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }

/* ---------- artikel ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.4vw, 40px); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.entry-meta .cat-chip { background: var(--red); color: #fff; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; padding: 4px 11px; border-radius: 999px; }
.article h1.article-title { font-size: clamp(1.5rem, 3.2vw, 2.15rem); margin-bottom: .4em; }
.article-featured { border-radius: 12px; overflow: hidden; margin: 4px 0 20px; }
.article-featured img { display: block; width: 100%; }
.article-featured figcaption { font-size: .78rem; color: var(--muted); padding: 8px 2px 0; }
.entry-content h2 { font-size: 1.4rem; margin-top: 1.6em; padding-bottom: .25em; border-bottom: 2px solid var(--paper-2); }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 1.12rem; margin-top: 1.3em; }
.entry-content ul li, .entry-content ol li { margin-bottom: 6px; }
.lead { font-size: 1.06rem; color: #4a4437; }
.note {
  border-radius: 12px; padding: 14px 18px; font-size: .92rem; margin: 1.2em 0;
  border: 1px solid var(--line); background: var(--paper-2);
}
.note b { display: block; margin-bottom: 4px; }
.note--blue { background: var(--blue-l); border-color: #c8d5ef; }
.note--green { background: var(--green-l); border-color: #cfe0d6; }
.note--gold { background: #fdf3d8; border-color: #eedeb2; }
.note p:last-child { margin-bottom: 0; }
.core-tag { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-radius: 4px; padding: 2px 8px; margin-right: 8px; vertical-align: middle; }
.core-tag--what { background: var(--red); color: #fff; }
.core-tag--have { background: var(--gold); color: var(--ink); }
.core-tag--how { background: var(--green); color: #fff; }
.core-tag--trust { background: var(--blue); color: #fff; }
.core-tag--help { background: var(--ink); color: var(--gold-l); }

/* tabel */
.table-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 560px; }
thead th { background: var(--green); color: #fff; text-align: left; }
th, td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) { background: #faf7f0; }
tbody tr:last-child td { border-bottom: none; }
td b { color: var(--ink); }

/* sidebar */
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px; }
@media (max-width: 980px) { .sidebar { position: static; } }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.widget h3 { font-size: 1rem; letter-spacing: .02em; padding-bottom: 8px; border-bottom: 2px solid var(--paper-2); }
.widget ul { list-style: none; margin: 10px 0 0; padding: 0; }
.widget li + li { border-top: 1px solid #f0ebe0; }
.widget a { display: block; padding: 9px 2px; font-weight: 600; font-size: .92rem; color: var(--txt); }
.widget a:hover { color: var(--red); }
.widget--cta { background: var(--ink); border-color: var(--ink); }
.widget--cta h3 { color: var(--gold-l); border-color: #3a332a; }
.widget--cta p { color: #cfc6b4; font-size: .88rem; margin-bottom: 14px; }
.note18 { color: #8f8776; font-size: .74rem; margin: 10px 0 0; }

/* ---------- formulir ---------- */
.form-card { max-width: 560px; margin-inline: auto; }
.form-grid { display: grid; gap: 14px; }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.field input {
  width: 100%; font-family: var(--font-body); font-size: 1rem; padding: 12px 15px;
  border: 2px solid var(--line); border-radius: 11px; outline: none; background: #fff;
}
.field input:focus { border-color: var(--red); }
.field small { display: block; color: var(--muted); font-size: .76rem; margin-top: 5px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: #4a4437; }
.form-consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; }
.form-note { font-size: .8rem; color: var(--muted); }

/* ---------- floatbar (slot + koin) ---------- */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
  display: flex; justify-content: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.floatbar-link {
  pointer-events: auto; position: relative; display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, #2a2419 0%, var(--ink) 100%);
  border: 2px solid var(--gold); border-radius: 999px; padding: 8px 26px 8px 12px;
  text-decoration: none; box-shadow: 0 14px 34px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  animation: fbPulse 2.6s ease-in-out infinite;
}
@keyframes fbPulse {
  0%, 100% { box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 0 rgba(232,168,19,.5); }
  50% { box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 10px rgba(232,168,19,0); }
}
.floatbar-reels { display: inline-flex; gap: 4px; background: #0c0906; border-radius: 10px; padding: 6px 8px; border: 1px solid #453b28; }
.reel { width: 22px; height: 24px; overflow: hidden; border-radius: 4px; background: #fff; }
.reel .strip { display: block; animation: reelSpin 2.4s steps(4) infinite; }
.reel .strip b { display: block; height: 24px; line-height: 24px; text-align: center; font-size: 14px; }
.reel .strip b:nth-child(odd) { color: var(--ink); }
.reel .strip b:nth-child(even) { color: var(--red); }
.reel:nth-child(2) .strip { animation-duration: 3.1s; }
.reel:nth-child(3) .strip { animation-duration: 2.8s; animation-delay: .4s; }
@keyframes reelSpin { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.floatbar-cta strong { display: block; color: var(--gold-l); font-size: 1.02rem; letter-spacing: .06em; line-height: 1.1; }
.floatbar-cta em { display: block; color: #e8e0cf; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .22em; }
.coin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-l), var(--gold) 70%);
  box-shadow: 0 0 6px rgba(247,201,72,.8); opacity: 0; animation: coinUp 2.2s ease-in infinite;
}
.coin--1 { left: 12%; bottom: 8px; animation-delay: .2s; }
.coin--2 { left: 42%; bottom: 6px; width: 9px; height: 9px; animation-delay: 1.1s; }
.coin--3 { right: 14%; bottom: 10px; animation-delay: .7s; }
@keyframes coinUp {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-46px) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reel .strip, .coin, .floatbar-link { animation: none; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfc6b4; padding: clamp(40px, 6vw, 64px) 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 40px); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-col h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: #e8e0cf; font-size: .92rem; font-weight: 600; }
.footer-col a:hover { color: var(--gold-l); }
.footer-brand p { font-size: .9rem; color: #a89f8c; }
.footer-age b { color: var(--gold-l); }
.brand--footer { margin-bottom: 12px; }
.brand--footer .brand-text { color: #fff; }
.footer-note { border-top: 1px solid #3a332a; margin-top: clamp(26px, 4vw, 40px); padding-top: 22px; }
.footer-note p { font-size: .8rem; color: #8f8776; margin: 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  border-top: 1px solid #3a332a; margin-top: 18px; padding: 16px 0 26px;
  font-size: .78rem; color: #8f8776;
}

/* ---------- utilitas ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.suits-deco { color: var(--gold); letter-spacing: .3em; font-size: .9rem; }
