/*
Theme Name: Idn89
Theme URI: https://idn89.games/
Description: Tema statis bergaya WordPress untuk portal informasi permainan online Idn89 (18+). Prarender HTML murni — tanpa dependensi framework.
Author: Idn89 Editorial
Version: 1.0.0
Text Domain: idn89
*/

/* ============ Dasar & variabel ============ */
:root {
  --red: #c8102e;
  --red-deep: #9d0b22;
  --red-soft: #fdecee;
  --gold: #f5b301;
  --gold-deep: #b57e00;
  --gold-soft: #fff7e0;
  --green: #0e9f4f;
  --green-deep: #0a7a3c;
  --green-soft: #e8f7ef;
  --blue: #1d5dc2;
  --blue-deep: #14448f;
  --blue-soft: #eaf1fc;
  --ink: #1a1420;
  --body: #3d3646;
  --muted: #6d6578;
  --line: #e9e2ee;
  --bg: #ffffff;
  --bg-soft: #f8f5fa;
  --dark: #17121e;
  --dark-2: #221a2c;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(26, 20, 32, 0.1);
  --shadow-sm: 0 6px 18px rgba(26, 20, 32, 0.08);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1200;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
.muted-note { color: var(--muted); }

/* ============ Tombol ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.2px; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none; line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-red { background: linear-gradient(180deg, #e01536, var(--red) 55%, var(--red-deep)); color: #fff; box-shadow: 0 10px 24px rgba(200, 16, 46, 0.35); }
.btn-red:hover { color: #fff; box-shadow: 0 14px 30px rgba(200, 16, 46, 0.45); }
.btn-gold { background: linear-gradient(180deg, #ffd75e, var(--gold) 60%, #d99e00); color: #3d2b00; box-shadow: 0 10px 24px rgba(245, 179, 1, 0.4); }
.btn-gold:hover { color: #2c1f00; }
.btn-dark { background: linear-gradient(180deg, #2c2438, var(--dark)); color: #fff; box-shadow: 0 10px 24px rgba(23, 18, 30, 0.3); }
.btn-dark:hover { color: #ffd75e; }
.btn-green { background: linear-gradient(180deg, #17b862, var(--green) 60%, var(--green-deep)); color: #fff; box-shadow: 0 10px 24px rgba(14, 159, 79, 0.32); }
.btn-green:hover { color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.btn-outline { background: transparent; border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red-soft); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ============ Badge & chip ============ */
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 26px; padding: 0 9px; border-radius: 8px;
  background: var(--red); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.6px;
  border: 1.5px solid #ffd75e;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 0.82rem; font-weight: 700; color: var(--body);
  box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-red { background: var(--red); }
.dot-gold { background: var(--gold); }
.dot-green { background: var(--green); }
.dot-blue { background: var(--blue); }

/* ============ Kicker & seksi ============ */
.kicker {
  display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.kicker.on-dark { color: var(--gold); }
.section { padding: clamp(52px, 7vw, 84px) 0; }
.section.alt { background: var(--bg-soft); }
.section.dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(245, 179, 1, 0.1), transparent 60%), linear-gradient(180deg, var(--dark), var(--dark-2)); color: #d8d2e2; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; }
.section.dark .section-head p { color: #b9b1c6; }
.accent { color: var(--red); }
.accent-gold { color: var(--gold-deep); }
.section.dark .accent { color: var(--gold); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: linear-gradient(180deg, var(--dark), #1e1728);
  border-bottom: 3px solid var(--gold);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35); }
.header-top { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #e01536, var(--red-deep));
  color: #ffd75e; font-weight: 800; font-size: 1.05rem;
  border: 2px solid var(--gold); box-shadow: 0 6px 16px rgba(200, 16, 46, 0.45);
}
.brand-name { color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: 0.3px; }
.brand-name b { color: var(--gold); }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 10px;
  color: #e8e2f0; font-weight: 700; font-size: 0.92rem; text-decoration: none;
}
.nav a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.nav a.active { color: var(--gold); background: rgba(245, 179, 1, 0.12); }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 10px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); cursor: pointer;
}
.menu-toggle span { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform 0.2s, opacity 0.2s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav { display: none; padding: 8px 0 18px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mobile-nav ul a {
  display: block; padding: 12px 14px; border-radius: 12px;
  color: #e8e2f0; font-weight: 700; text-decoration: none; background: rgba(255, 255, 255, 0.05);
  margin-bottom: 4px;
}
.mobile-nav ul a:hover, .mobile-nav ul a.active { color: var(--gold); }
.m-cta { display: flex; gap: 10px; }
.m-cta .btn { flex: 1; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 110% -10%, rgba(245, 179, 1, 0.18), transparent 55%),
    radial-gradient(700px 400px at -15% 110%, rgba(200, 16, 46, 0.09), transparent 55%),
    linear-gradient(180deg, #fffdf6, #fff);
  padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 54px); align-items: center; }
.hero h1 { margin-bottom: 0.5em; }
.hero .lead { font-size: 1.05rem; color: var(--body); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-media { position: relative; }
.hero-media > img {
  border-radius: 20px; border: 3px solid #fff;
  box-shadow: 0 24px 60px rgba(26, 20, 32, 0.22);
  aspect-ratio: 3 / 2; object-fit: cover; width: 100%;
}
.float-tag {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(23, 18, 30, 0.88); color: #f0ebf5;
  border: 1px solid rgba(245, 179, 1, 0.4); border-radius: 14px;
  padding: 12px 16px; font-size: 0.84rem; line-height: 1.5;
  backdrop-filter: blur(6px);
}
.float-tag b { display: block; color: var(--gold); font-size: 0.9rem; margin-bottom: 2px; }

/* ============ Kotak pencarian & tag populer ============ */
.search-wrap { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 22px 0; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--line); border-radius: 999px;
  padding: 6px 6px 6px 20px; box-shadow: var(--shadow-sm);
}
.search-box:focus-within { border-color: var(--gold); }
.search-box input {
  flex: 1; min-width: 0; border: 0; outline: none; font: inherit; color: var(--ink);
  background: transparent; padding: 8px 0;
}
.search-box input::placeholder { color: var(--muted); }
.search-box .btn { flex: none; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.tag-cloud .tc-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 1.4px; color: var(--muted); text-transform: uppercase; margin-right: 2px; }
.tag {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--body);
  font-size: 0.8rem; font-weight: 700; text-decoration: none;
}
.tag:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); text-decoration: none; }
.tag.hot { border-color: rgba(245, 179, 1, 0.7); background: var(--gold-soft); color: var(--gold-deep); }

/* ============ Kartu & grid ============ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(245, 179, 1, 0.55); }
.card h3 { margin-bottom: 0.45em; }
.card p { margin-bottom: 0; color: var(--body); font-size: 0.93rem; }
.card .icon-orb {
  width: 52px; height: 52px; border-radius: 14px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 14px;
  font-size: 1.4rem; flex: none;
}
.icon-orb.red { background: var(--red-soft); color: var(--red); }
.icon-orb.gold { background: var(--gold-soft); color: var(--gold-deep); }
.icon-orb.green { background: var(--green-soft); color: var(--green-deep); }
.icon-orb.blue { background: var(--blue-soft); color: var(--blue-deep); }

/* ============ Langkah pemula ============ */
.step-card { position: relative; padding-top: 30px; overflow: hidden; }
.step-num {
  position: absolute; top: -14px; left: 18px;
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #ffd75e, var(--gold) 60%, #d99e00);
  color: #3d2b00; font-weight: 800; font-size: 1.25rem;
  border: 2px solid #fff; box-shadow: 0 8px 18px rgba(245, 179, 1, 0.4);
}
.step-card .tag-line { font-size: 0.72rem; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--red); }
.step-card h3 a { color: inherit; }
.step-card h3 a:hover { color: var(--red); text-decoration: none; }
.steps-link { text-align: center; margin-top: 26px; }

/* ============ Split dua kolom (mengapa / mobile) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 50px); align-items: center; }
.split .split-img { position: relative; }
.split .split-img img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 18px; border: 3px solid #fff; box-shadow: 0 20px 50px rgba(26, 20, 32, 0.18);
}
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; }
.check-list .cl-ic {
  width: 26px; height: 26px; border-radius: 50%; flex: none; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-soft); color: var(--green-deep); font-size: 0.8rem; font-weight: 800;
}
.check-list b { color: var(--ink); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.mini-stat {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 16px; font-size: 0.85rem; font-weight: 700; color: var(--body);
  box-shadow: var(--shadow-sm);
}
.mini-stat b { display: block; font-size: 1.05rem; color: var(--red); }

/* ============ Strip bonus / VIP ============ */
.bonus-strip { padding: 0 0 clamp(52px, 7vw, 84px); }
.bonus-strip-inner {
  background: linear-gradient(120deg, var(--dark), #2c1320 55%, #4a1520);
  border-radius: 22px; border: 1px solid rgba(245, 179, 1, 0.45);
  padding: clamp(26px, 4vw, 44px); color: #e9e3f0;
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 26px; align-items: center;
  position: relative; overflow: hidden;
}
.bonus-strip-inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 90% 20%, rgba(245, 179, 1, 0.16), transparent 60%);
  pointer-events: none;
}
.bonus-strip h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.bonus-strip p { color: #cfc7da; margin: 0; font-size: 0.95rem; }
.bonus-strip .bs-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.bonus-strip .bs-list li { display: flex; gap: 10px; align-items: baseline; margin: 0; font-size: 0.9rem; }
.bonus-strip .bs-list li::before { content: "★"; color: var(--gold); flex: none; }
.bonus-strip .bs-actions { display: flex; flex-direction: column; gap: 12px; position: relative; }

/* ============ 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: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.testi:hover { border-color: rgba(200, 16, 46, 0.35); }
.testi .stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; }
.testi p { margin: 0; font-size: 0.93rem; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 11px; }
.testi .ava {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 0.9rem;
}
.testi .who b { display: block; color: var(--ink); font-size: 0.9rem; line-height: 1.3; }
.testi .who span { font-size: 0.76rem; color: var(--muted); }
.testi-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 18px; }

/* ============ Alat anggaran & kamus ============ */
.tool-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tool-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.tool-box h3 { display: flex; align-items: center; gap: 10px; }
.tool-box h3 .icon-orb { margin: 0; width: 42px; height: 42px; font-size: 1.1rem; }
.tool-form { display: grid; gap: 12px; margin: 16px 0 4px; }
.tool-form label { font-size: 0.84rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: 5px; }
.tool-form input, .auth-form input, .tool-form select, .auth-form select {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  border: 1.6px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; outline: none;
}
.tool-form input:focus, .auth-form input:focus, .tool-form select:focus, .auth-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.18); }
.tool-out {
  margin-top: 14px; border-radius: 12px; padding: 15px 17px;
  background: var(--green-soft); border: 1px solid rgba(14, 159, 79, 0.35);
  font-size: 0.92rem; color: #114d2c;
}
.tool-out.warn { background: var(--red-soft); border-color: rgba(200, 16, 46, 0.35); color: #7c0d1e; }
.kamus-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.kamus-tabs button {
  border: 1.5px solid var(--line); background: #fff; color: var(--body);
  border-radius: 999px; padding: 7px 15px; font: inherit; font-weight: 700; font-size: 0.82rem; cursor: pointer;
}
.kamus-tabs button.sel { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.kamus-list { display: grid; gap: 9px; max-height: 330px; overflow: auto; padding-right: 4px; }
.kamu-item { border: 1px solid var(--line); border-radius: 11px; padding: 11px 14px; background: var(--bg-soft); }
.kamu-item b { color: var(--red); font-size: 0.9rem; }
.kamu-item span { display: block; font-size: 0.84rem; color: var(--body); }
.tool-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

/* ============ Keamanan (biru) ============ */
.sec-section { background: linear-gradient(180deg, var(--blue-soft), #fff); }
.sec-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(26px, 4vw, 50px); align-items: center; }
.sec-grid .split-img img { box-shadow: 0 20px 50px rgba(29, 93, 194, 0.18); }
.point-list { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 12px; }
.point-list li {
  display: flex; gap: 13px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; box-shadow: var(--shadow-sm);
}
.point-list .pl-ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue-deep); font-size: 1rem;
}
.point-list b { color: var(--ink); display: block; }
.point-list span { font-size: 0.87rem; }

/* ============ Perjudian bertanggung jawab (gelap) ============ */
.rg-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 4vw, 50px); align-items: start; }
.rg-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 22px; }
.rg-card h3 { color: var(--gold); font-size: 1.05rem; }
.rg-card ul { margin-bottom: 0; }
.rg-list li { color: #d8d2e2; font-size: 0.92rem; }
.rg-list li b { color: #fff; }
.rg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.age-note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  border: 1.5px dashed rgba(245, 179, 1, 0.55); border-radius: 12px; padding: 10px 16px;
  color: #f3eddb; font-size: 0.86rem; font-weight: 700;
}

/* ============ FAQ ============ */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  margin-bottom: 11px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 17px 20px; font-weight: 800; color: var(--ink); font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red-soft); color: var(--red); font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease; font-size: 1.05rem;
}
.faq-item[open] summary::after { content: "−"; background: var(--red); color: #fff; }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--body); font-size: 0.93rem; }
.faq-item .faq-a p { margin: 0; }

/* ============ Pita CTA ============ */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  background: linear-gradient(120deg, var(--red-deep), var(--red) 55%, #e01536);
  border-radius: 20px; padding: clamp(24px, 4vw, 40px); color: #fff;
  box-shadow: 0 22px 50px rgba(200, 16, 46, 0.35);
}
.cta-band h2 { color: #fff; margin-bottom: 0.25em; font-size: clamp(1.3rem, 2.8vw, 1.9rem); }
.cta-band p { color: #ffe3e8; margin: 0; font-size: 0.95rem; }
.cta-band .btn { flex: none; }
.cta-band .btn + .btn { margin-left: 10px; }

/* ============ Footer ============ */
.site-footer { background: linear-gradient(180deg, var(--dark), #120d18); color: #cfc7da; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px;
  padding: clamp(40px, 6vw, 64px) 0 34px;
}
.footer-brand p { font-size: 0.88rem; color: #b9b1c6; }
.footer-col h3 { color: #fff; font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul a {
  display: inline-block; padding: 4px 0; color: #cfc7da; font-size: 0.89rem; text-decoration: none;
}
.footer-col ul a:hover { color: var(--gold); }
.pay-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}
.pay-strip .ps-label { text-align: center; font-size: 0.75rem; letter-spacing: 1.6px; text-transform: uppercase; color: #9c93aa; margin-bottom: 10px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.pay-badge {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e8e2f0; border-radius: 9px; padding: 6px 13px; font-size: 0.78rem; font-weight: 800;
}
.footer-legal { padding: 26px 0 6px; font-size: 0.8rem; color: #9c93aa; }
.footer-legal p { margin-bottom: 10px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0 96px; font-size: 0.8rem; color: #9c93aa;
}
.footer-bottom .fb-badges { display: flex; align-items: center; gap: 10px; }

/* ============ Breadcrumb & hero halaman dalam ============ */
.breadcrumb { font-size: 0.8rem; padding: 14px 0; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumb li + li::before { content: "›"; color: var(--muted); }
.breadcrumb a { color: var(--muted); font-weight: 700; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current="page"] { color: var(--red); font-weight: 800; }
.page-hero {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(245, 179, 1, 0.16), transparent 60%),
    linear-gradient(180deg, var(--dark), #241b30);
  color: #e9e3f0; padding: clamp(40px, 6vw, 64px) 0;
}
.page-hero h1 { color: #fff; }
.page-hero .ph-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.8rem; color: #b9b1c6; margin-top: 14px; }
.page-hero .ph-meta .badge-18 { flex: none; }
.page-hero .lead { color: #cfc7da; max-width: 46em; font-size: 1rem; margin: 0; }

/* ============ Layout artikel ============ */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(26px, 4vw, 46px); align-items: start; padding-bottom: clamp(40px, 6vw, 70px); }
.article-layout > * { min-width: 0; }
.entry-content { font-size: 1rem; }
.entry-content > img:first-of-type, .entry-cover { border-radius: 16px; margin-bottom: 24px; border: 3px solid #fff; box-shadow: var(--shadow); }
.entry-content h2 { font-size: 1.5rem; margin-top: 1.6em; padding-left: 14px; border-left: 5px solid var(--gold); }
.entry-content h3 { font-size: 1.15rem; margin-top: 1.4em; }
.entry-content ul li, .entry-content ol li { margin-bottom: 0.55em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1.2em 0; }
.entry-content th { background: var(--ink); color: #ffd75e; text-align: left; padding: 11px 14px; }
.entry-content td { border: 1px solid var(--line); padding: 10px 14px; background: #fff; vertical-align: top; }
.entry-content tr:nth-child(even) td { background: var(--bg-soft); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2em 0; border-radius: 12px; }
.table-wrap table { margin: 0; min-width: 560px; }
.entry-content blockquote {
  margin: 1.4em 0; padding: 16px 20px; border-radius: 12px;
  background: var(--gold-soft); border-left: 5px solid var(--gold); color: #5c4400; font-size: 0.95rem;
}
.entry-content blockquote p { margin: 0; }
.notice {
  border-radius: 12px; padding: 15px 18px; font-size: 0.88rem; margin: 1.3em 0;
  background: var(--blue-soft); border: 1px solid rgba(29, 93, 194, 0.3); color: #1c3f78;
}
.notice.warn { background: var(--red-soft); border-color: rgba(200, 16, 46, 0.3); color: #7c0d1e; }
.notice.green { background: var(--green-soft); border-color: rgba(14, 159, 79, 0.3); color: #114d2c; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.8rem; color: var(--muted); margin-bottom: 22px; }
.aside-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.aside-box h3 { font-size: 0.95rem; letter-spacing: 0.6px; text-transform: uppercase; color: var(--ink); }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box ul a { display: block; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--body); font-size: 0.89rem; font-weight: 700; }
.aside-box ul a:hover { color: var(--red); }
.aside-box ul li:last-child a { border-bottom: 0; }
.aside-cta { background: linear-gradient(150deg, var(--dark), #341322); border: 1px solid rgba(245, 179, 1, 0.5); }
.aside-cta h3 { color: var(--gold); }
.aside-cta p { color: #cfc7da; font-size: 0.85rem; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 15px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 14px; }
.post-list li:last-child { border-bottom: 0; }
.post-list img { width: 104px; height: 72px; object-fit: cover; border-radius: 9px; flex-shrink: 0; border: 1px solid var(--line); }
.post-list b a { color: var(--ink); font-size: 0.94rem; }
.post-list b a:hover { color: var(--red); text-decoration: none; }
.post-list .pl-meta { color: var(--muted); font-size: 0.75rem; margin-top: 3px; }

/* ============ Kartu promo ============ */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.promo-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo-card img { width: 100%; height: 190px; object-fit: cover; }
.promo-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-body h3 a { color: var(--ink); }
.promo-body h3 a:hover { color: var(--red); text-decoration: none; }
.promo-body p { color: var(--muted); font-size: 0.88rem; margin: 0; flex: 1; }
.promo-tag { display: inline-flex; align-self: flex-start; background: var(--gold-soft); border: 1px solid rgba(245, 179, 1, 0.5); color: var(--gold-deep); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; }
.promo-body .go { font-weight: 800; font-size: 0.85rem; color: var(--red); }

/* ============ Halaman daftar/masuk ============ */
.auth-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 4vw, 50px); align-items: start; padding-bottom: clamp(40px, 6vw, 70px); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow); }
.auth-form { display: grid; gap: 15px; }
.auth-form label { font-size: 0.85rem; font-weight: 800; color: var(--ink); display: block; margin-bottom: 6px; }
.auth-form .hint { font-size: 0.76rem; color: var(--muted); font-weight: 600; }
.auth-check { display: flex; gap: 11px; align-items: flex-start; font-size: 0.84rem; color: var(--body); }
.auth-check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--red); flex: none; }
.auth-side .aside-box { background: #fff; }
.auth-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-error { display: none; background: var(--red-soft); border: 1px solid rgba(200, 16, 46, 0.4); color: #7c0d1e; border-radius: 10px; padding: 10px 14px; font-size: 0.83rem; font-weight: 700; }
.form-error.show { display: block; }

/* ============ Halaman pencarian ============ */
.result-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.result-item .ri-num { color: var(--gold-deep); font-weight: 800; font-size: 0.85rem; padding-top: 3px; }
.result-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.result-item h3 a { color: var(--ink); }
.result-item h3 a:hover { color: var(--red); text-decoration: none; }
.result-item p { color: var(--muted); font-size: 0.87rem; margin: 0; }
.result-item .ri-cat { display: inline-block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--red); background: var(--red-soft); border-radius: 999px; padding: 2px 10px; margin-bottom: 7px; }

/* ============ 404 ============ */
.err-hero { text-align: center; padding: clamp(60px, 10vw, 110px) 0; }
.err-hero .code {
  font-size: clamp(4.4rem, 14vw, 7.5rem); font-weight: 800; line-height: 1;
  background: linear-gradient(180deg, #e01536, var(--red-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ Animasi reveal ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Floating CTA (mesin slot) ============ */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: flex; align-items: center; justify-content: center;
  padding: 10px calc(12px + env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(26, 20, 32, 0.55), rgba(26, 20, 32, 0.92));
  border-top: 1px solid rgba(245, 179, 1, 0.35);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.float-cta > * { pointer-events: auto; }
.slot-btn {
  position: relative; display: inline-flex; align-items: center; gap: 13px;
  background: linear-gradient(180deg, #3d1020, #200a13);
  border: 2px solid var(--gold);
  border-radius: 16px; padding: 9px 22px 9px 12px;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(245, 179, 1, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: slotGlow 2.8s ease-in-out infinite;
  overflow: hidden; text-decoration: none;
  max-width: calc(100vw - 24px);
}
@keyframes slotGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(245, 179, 1, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
  50% { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.5), 0 10px 44px rgba(245, 179, 1, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
}
.slot-btn:hover { text-decoration: none; }
.slot-reels { display: flex; gap: 5px; }
.reel {
  width: 30px; height: 38px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #fdf8ea, #ded4b8);
  border: 2px solid #8a6d1f; position: relative; flex-shrink: 0;
}
.reel .syms {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  animation: reelSpin 2.2s linear infinite;
  font-size: 17px; line-height: 38px; height: 38px;
}
@keyframes reelSpin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-228px); }
}
.slot-label { display: flex; flex-direction: column; line-height: 1.15; }
.slot-label b {
  font-size: 1.02rem; font-weight: 800; letter-spacing: 0.6px;
  background: linear-gradient(180deg, #ffe89a, #f5b301);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.slot-label span { font-size: 0.62rem; font-weight: 800; color: #ff92a1; letter-spacing: 2.2px; }
.coin {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff3c2, #f5b301 48%, #a8780e);
  border: 1px solid #8a6d1f; opacity: 0; pointer-events: none;
  animation: coinUp 2.8s ease-in infinite;
}
@keyframes coinUp {
  0% { opacity: 0; transform: translateY(6px) scale(0.6); }
  18% { opacity: 1; }
  70% { opacity: 1; transform: translateY(-64px) scale(1); }
  100% { opacity: 0; transform: translateY(-96px) scale(0.75); }
}
.coin.c1 { left: 8%; bottom: 4px; animation-delay: 0s; }
.coin.c2 { left: 24%; bottom: 2px; animation-delay: 0.7s; width: 12px; height: 12px; }
.coin.c3 { right: 22%; bottom: 3px; animation-delay: 1.3s; }
.coin.c4 { right: 7%; bottom: 6px; animation-delay: 1.9s; width: 13px; height: 13px; }
.coin.c5 { left: 46%; bottom: 1px; animation-delay: 2.4s; width: 11px; height: 11px; }

/* ============ Responsif ============ */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-cta .btn-ghost { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .aside-box.aside-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .hero-grid, .split, .sec-grid, .rg-grid, .tool-wrap, .auth-wrap { grid-template-columns: 1fr; }
  .hero-media { max-width: 580px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .bonus-strip-inner { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .auth-side { order: 2; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; border-radius: 18px; padding: 12px; gap: 10px; }
  .search-box input { width: 100%; padding: 8px 4px; }
  .search-box .btn { width: 100%; }
  .slot-btn { padding: 8px 16px 8px 10px; gap: 9px; }
  .slot-label b { font-size: 0.92rem; }
  .reel { width: 26px; height: 34px; }
  .reel .syms { font-size: 15px; line-height: 34px; height: 34px; }
  .post-list li { flex-direction: column; gap: 10px; }
  .post-list img { width: 100%; height: 150px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .cta-band .btn + .btn { margin-left: 0; }
  .footer-bottom { padding-bottom: 108px; }
  .kamus-list { max-height: 280px; }
}
@media (max-width: 420px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
}

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

@media print {
  .site-header, .float-cta, .site-footer { display: none; }
  body { background: #fff; color: #111; }
}
