/* ==========================================================================
   Batik77 — Tema Statis (struktur mengikuti konvensi theme WordPress)
   Palet: merah · putih · hijau · kuning emas · biru · hitam (tema kasino)
   ========================================================================== */

:root {
  --red: #d62839;
  --red-deep: #a31226;
  --red-soft: #ff5b6e;
  --gold: #f5b301;
  --gold-soft: #ffd166;
  --gold-deep: #c98d00;
  --green: #0e9f5b;
  --green-deep: #0a7a45;
  --blue: #2563eb;
  --blue-soft: #4f83f7;
  --ink: #101018;
  --ink-2: #14141d;
  --panel: #1b1b26;
  --panel-2: #22222f;
  --line: #2d2d3d;
  --paper: #ffffff;
  --paper-2: #f6f6fb;
  --paper-line: #e7e7f0;
  --txt: #efedf7;
  --txt-dim: #a7a5bd;
  --txt-dark: #23232e;
  --txt-dark-dim: #5d5d70;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 6px 20px rgba(20, 20, 32, 0.08);
  --wrap: 1180px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--txt);
  background: var(--ink);
  padding-bottom: 78px; /* ruang untuk bilah CTA mengambang, tanpa celah ekstra */
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3em; }
p, li, h1, h2, h3, h4 { overflow-wrap: break-word; }
.grid > *, .steps-grid > *, .promo-grid > *, .hl-grid > *, .mini-grid > * { min-width: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

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

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

/* ---------- pola batik dekoratif ---------- */
.batik-bg {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(245, 179, 1, 0.13) 2.5px, transparent 3.5px),
    radial-gradient(circle at 75% 75%, rgba(214, 40, 57, 0.15) 2.5px, transparent 3.5px),
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.06) 1.5px, transparent 2.5px),
    radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.06) 1.5px, transparent 2.5px);
  background-size: 58px 58px;
}

/* ==========================================================================
   HEADER + NAVIGASI
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 880;
  background: rgba(14, 14, 20, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: #fff; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: radial-gradient(circle at 30% 25%, #ff8091, var(--red) 55%, var(--red-deep));
  border: 2px solid var(--gold);
  color: #fff; font-size: 15px; font-weight: 900; letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(214, 40, 57, 0.45);
}
.brand-text b { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.main-nav a {
  color: var(--txt); font-weight: 600; font-size: 14.5px;
  padding: 8px 12px; border-radius: 8px; text-decoration: none;
}
.main-nav a:hover { color: var(--gold-soft); background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.main-nav a.active { color: var(--gold); background: rgba(245, 179, 1, 0.1); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line); color: var(--txt);
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }

.nav-toggle {
  display: none; width: 42px; height: 40px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line); color: #fff;
  font-size: 20px; cursor: pointer; line-height: 1;
}

/* tombol umum */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-weight: 800; font-size: 15px;
  border: 0; cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-cta {
  background: linear-gradient(180deg, #ffe08a, var(--gold) 45%, var(--gold-deep));
  color: #33230a00; color: #33230a; box-shadow: 0 6px 18px rgba(245, 179, 1, 0.35);
}
.btn-cta:hover { box-shadow: 0 10px 26px rgba(245, 179, 1, 0.45); }
.btn-red {
  background: linear-gradient(180deg, var(--red-soft), var(--red) 55%, var(--red-deep));
  color: #fff; box-shadow: 0 6px 18px rgba(214, 40, 57, 0.4);
}
.btn-ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--panel-2); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }

/* ==========================================================================
   HERO BERANDA
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(214, 40, 57, 0.35), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(245, 179, 1, 0.18), transparent 60%),
    linear-gradient(160deg, #171722, #101018 60%);
  padding: 58px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 179, 1, 0.12); border: 1px solid rgba(245, 179, 1, 0.4);
  color: var(--gold-soft); font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.16; font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.hero h1 .hl { color: var(--gold); }
.hero h1 .hl-red { color: var(--red-soft); }
.hero-lead { margin: 18px 0 10px; color: var(--txt-dim); font-size: 17px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  color: var(--txt-dim); font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.badge-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.badge-18 { border-color: rgba(214, 40, 57, 0.55); color: #ff98a4; font-weight: 800; }

.hero-media { position: relative; }
.hero-media img {
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%;
}
.chip-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16, 16, 24, 0.88); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--txt);
  box-shadow: var(--shadow);
}
.chip-tag .ico { font-size: 16px; }
.chip-1 { top: 14px; left: -18px; border-color: rgba(245, 179, 1, 0.5); }
.chip-2 { bottom: 46px; right: -14px; border-color: rgba(14, 159, 91, 0.55); }
.chip-3 { bottom: -16px; left: 26px; border-color: rgba(37, 99, 235, 0.55); }

/* ==========================================================================
   SEKSI UMUM
   ========================================================================== */
.sec { padding: 62px 0; position: relative; }
.sec-dark { background: var(--ink-2); }
.sec-ink { background: var(--ink); }
.sec-light { background: var(--paper-2); color: var(--txt-dark); }
.sec-light a { color: var(--red-deep); }
.sec-red { background: linear-gradient(150deg, #2a1016, #1a1420 70%); }
.sec-green { background: linear-gradient(150deg, #0e1f18, #12141d 75%); }
.sec-blue { background: linear-gradient(150deg, #101a33, #12141d 75%); }

.section-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-head .kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.sec-light .section-head .kicker { color: var(--red-deep); }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; line-height: 1.22; color: #fff; }
.sec-light .section-head h2 { color: var(--txt-dark); }
.section-head .lead { margin-top: 12px; color: var(--txt-dim); font-size: 16px; }
.sec-light .section-head .lead { color: var(--txt-dark-dim); }

/* --- kartu panduan 4 langkah --- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
}
.step-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(var(--gold), var(--red)); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; font-weight: 900; font-size: 18px;
  background: linear-gradient(160deg, var(--ink), var(--panel-2)); color: var(--gold);
  margin-bottom: 14px; border: 1px solid var(--line);
}
.step-card h3 { font-size: 17px; font-weight: 800; color: var(--txt-dark); margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--txt-dark-dim); line-height: 1.7; }
.step-card a { font-size: 13.5px; font-weight: 700; display: inline-block; margin-top: 10px; }

/* --- kartu promosi --- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.promo-card:hover { transform: translateY(-4px); border-color: rgba(245, 179, 1, 0.55); }
.promo-media { position: relative; }
.promo-media img { aspect-ratio: 16 / 9.5; width: 100%; object-fit: cover; }
.promo-tag {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(180deg, var(--red-soft), var(--red-deep));
  color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 0.6px;
  padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25);
}
.promo-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-body h3 { font-size: 17px; font-weight: 800; color: #fff; }
.promo-body p { font-size: 14px; color: var(--txt-dim); flex: 1; }
.promo-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.promo-meta span {
  font-size: 11.5px; font-weight: 700; color: var(--txt-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.promo-body .btn { align-self: flex-start; margin-top: 10px; }

/* --- keunggulan --- */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hl-card {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-soft);
}
.hl-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 13px; font-size: 22px; margin-bottom: 14px;
}
.i-gold { background: rgba(245, 179, 1, 0.16); }
.i-red { background: rgba(214, 40, 57, 0.12); }
.i-green { background: rgba(14, 159, 91, 0.14); }
.i-blue { background: rgba(37, 99, 235, 0.12); }
.hl-card h3 { font-size: 16.5px; font-weight: 800; color: var(--txt-dark); margin-bottom: 8px; }
.hl-card p { font-size: 14.5px; color: var(--txt-dark-dim); }

/* --- seksi split (gambar + teks) --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.split-copy h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: #fff; margin-bottom: 14px; }
.split-copy > .kicker { color: var(--gold); font-weight: 800; letter-spacing: 1.6px; font-size: 12.5px; text-transform: uppercase; }
.split-copy p { color: var(--txt-dim); margin-bottom: 12px; }
.check-list { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--txt); font-size: 15px; }
.check-list .tick {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(14, 159, 91, 0.18); color: #3fd695; font-size: 12px; font-weight: 900;
}

/* --- testimoni --- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 12px;
}
.testi-card .stars { color: var(--gold-deep); letter-spacing: 2px; font-size: 15px; }
.testi-card blockquote { font-size: 14.5px; color: var(--txt-dark); line-height: 1.75; font-style: italic; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 900; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
}
.t-red { background: linear-gradient(150deg, var(--red-soft), var(--red-deep)); }
.t-gold { background: linear-gradient(150deg, #ffd76a, var(--gold-deep)); color: #3a2a00; }
.t-green { background: linear-gradient(150deg, #34d693, var(--green-deep)); }
.t-blue { background: linear-gradient(150deg, var(--blue-soft), #1c3fa8); }
.testi-who b { display: block; font-size: 14.5px; color: var(--txt-dark); }
.testi-who span { font-size: 12.5px; color: var(--txt-dark-dim); }
.testi-note { text-align: center; font-size: 12.5px; color: var(--txt-dark-dim); margin-top: 22px; }

/* --- kalkulator --- */
.calc-box {
  max-width: 880px; margin: 0 auto; background: var(--panel);
  border: 1px solid var(--line); border-radius: 18px; padding: 28px;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.calc-box label { display: block; font-size: 13.5px; font-weight: 700; color: var(--txt); margin-bottom: 7px; }
.calc-box input[type="number"] {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-family: var(--font); font-size: 15px;
  background: var(--ink); border: 1px solid var(--line); color: #fff;
}
.calc-box input[type="number"]:focus { border-color: var(--gold); outline: none; }
.calc-field { margin-bottom: 16px; }
.calc-out { display: grid; gap: 12px; }
.calc-result {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px;
}
.calc-result b { color: var(--gold-soft); font-size: 15.5px; text-align: right; }
.calc-result span { font-size: 13.5px; color: var(--txt-dim); }
.calc-note { font-size: 12.5px; color: var(--txt-dim); margin-top: 16px; line-height: 1.6; }

/* --- kartu mini (keamanan / RG) --- */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
}
.mini-card h3 { font-size: 16px; font-weight: 800; color: #fff; margin: 10px 0 8px; }
.mini-card p { font-size: 14px; color: var(--txt-dim); }
.mini-card .hl-ico { width: 42px; height: 42px; font-size: 19px; margin-bottom: 4px; }

/* --- awan tag pencarian populer --- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto; }
.tag-cloud a {
  display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: #fff; color: var(--txt-dark); border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-soft); transition: transform 0.15s, border-color 0.15s;
}
.tag-cloud a:hover { transform: translateY(-2px); border-color: var(--gold); text-decoration: none; }
.tag-cloud a.tag-hot { border-color: rgba(214, 40, 57, 0.5); color: var(--red-deep); }

/* --- FAQ --- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative;
  font-weight: 700; font-size: 15.5px; color: #fff;
}
.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; display: flex; align-items: center; justify-content: center;
  background: rgba(245, 179, 1, 0.14); color: var(--gold); font-weight: 900; font-size: 17px;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-item .faq-a { padding: 0 18px 18px; color: var(--txt-dim); font-size: 14.5px; }
.faq-item .faq-a a { font-weight: 700; }

/* ==========================================================================
   HALAMAN DALAM (page hero, breadcrumb, artikel)
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; padding: 44px 0 40px;
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(214, 40, 57, 0.3), transparent 60%),
    linear-gradient(160deg, #181824, #101018 65%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(25px, 3.6vw, 36px); font-weight: 900; color: #fff; line-height: 1.22; max-width: 860px; }
.page-hero .page-lead { margin-top: 12px; color: var(--txt-dim); max-width: 780px; font-size: 15.5px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.article-meta span {
  font-size: 12px; font-weight: 700; color: var(--txt-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
}
.article-meta span.m-red { color: #ff98a4; border-color: rgba(214, 40, 57, 0.5); }

.breadcrumb { font-size: 13px; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li { color: var(--txt-dim); display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--gold); font-weight: 900; }
.breadcrumb a { color: var(--txt-dim); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb [aria-current] { color: var(--gold-soft); font-weight: 700; }

.page-body { background: var(--paper-2); padding: 46px 0 60px; }
.article {
  background: #fff; color: var(--txt-dark); border-radius: 16px;
  padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-soft);
  max-width: 880px; margin: 0 auto;
}
.article p { margin-bottom: 16px; color: #33333f; }
.article h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; color: var(--txt-dark); margin: 34px 0 14px; padding-top: 10px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 18px; font-weight: 800; color: var(--txt-dark); margin: 24px 0 10px; }
.article ul, .article ol { margin: 0 0 16px; color: #33333f; }
.article li { margin-bottom: 8px; }
.article a { color: var(--red-deep); font-weight: 600; }
.article figure { margin: 22px 0; }
.article figure img { border-radius: 12px; width: 100%; aspect-ratio: 16/8.5; object-fit: cover; }
.article figcaption { font-size: 12.5px; color: var(--txt-dark-dim); margin-top: 8px; text-align: center; }
.article strong { color: var(--txt-dark); }

.info-box, .tip-box, .warn-box {
  border-radius: 12px; padding: 16px 18px; margin: 20px 0; font-size: 14.5px; line-height: 1.7;
}
.info-box { background: #eef4ff; border: 1px solid #c9dbff; color: #1d3a77; }
.info-box a { color: #1c48c4; }
.tip-box { background: #eafaf2; border: 1px solid #bfe9d4; color: #14532d; }
.tip-box a { color: #0a7a45; }
.warn-box { background: #fdeeee; border: 1px solid #f6c9cd; color: #7a1c25; }
.warn-box a { color: #a31226; }
.box-title { display: block; font-weight: 900; margin-bottom: 6px; font-size: 14.5px; }

.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 12px; border: 1px solid var(--paper-line); }
.article table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; background: #fff; }
.article th, .article td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.article th { background: var(--paper-2); font-weight: 800; color: var(--txt-dark); white-space: nowrap; }
.article td { color: #33333f; }

.cta-band {
  margin-top: 34px; border-radius: 16px; padding: 26px; text-align: center;
  background: linear-gradient(150deg, #26151c, #171722 70%);
  border: 1px solid rgba(245, 179, 1, 0.35);
}
.cta-band h3 { color: #fff; font-size: 19px; font-weight: 900; margin-bottom: 8px; }
.cta-band p { color: var(--txt-dim); font-size: 14px; margin-bottom: 16px; }
.cta-band .btn { margin: 0 6px 8px; }

.related { max-width: 880px; margin: 34px auto 0; }
.related h2 { font-size: 19px; font-weight: 900; color: var(--txt-dark); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
}
.related-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.related-card div { padding: 14px 16px 16px; }
.related-card b { font-size: 14.5px; color: var(--txt-dark); display: block; line-height: 1.45; }
.related-card span { font-size: 12.5px; color: var(--txt-dark-dim); }

/* --- halaman kategori: intro grid --- */
.cat-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: center; }

/* --- landing promosi --- */
.lp-hero {
  position: relative; overflow: hidden; text-align: center; padding: 62px 0 56px;
  background:
    radial-gradient(700px 320px at 50% -10%, rgba(245, 179, 1, 0.22), transparent 65%),
    radial-gradient(600px 300px at 90% 110%, rgba(214, 40, 57, 0.32), transparent 60%),
    linear-gradient(165deg, #1d1420, #101018 70%);
}
.lp-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; color: #fff; }
.lp-hero .lp-sub { color: var(--txt-dim); max-width: 660px; margin: 14px auto 0; }
.lp-period {
  display: inline-flex; align-items: center; gap: 10px; margin: 22px auto 0;
  border: 1px solid rgba(245, 179, 1, 0.5); background: rgba(245, 179, 1, 0.1);
  color: var(--gold-soft); font-weight: 800; font-size: 14px; padding: 9px 18px; border-radius: 999px;
}

/* ==========================================================================
   HALAMAN DAFTAR / MASUK
   ========================================================================== */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; max-width: 1020px; margin: 0 auto; }
.auth-card {
  background: #fff; border-radius: 16px; padding: clamp(22px, 3.5vw, 36px);
  box-shadow: var(--shadow-soft); color: var(--txt-dark);
}
.auth-card h2 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.auth-card .sub { font-size: 14px; color: var(--txt-dark-dim); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 800; margin-bottom: 6px; color: var(--txt-dark); }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-family: var(--font); font-size: 15px;
  border: 1.5px solid var(--paper-line); background: var(--paper-2); color: var(--txt-dark);
}
.field input:focus { border-color: var(--gold-deep); outline: none; background: #fff; }
.field .hint { font-size: 12px; color: var(--txt-dark-dim); margin-top: 5px; }
.field-error { font-size: 12.5px; color: var(--red-deep); font-weight: 700; margin-top: 5px; display: none; }
.field.invalid input { border-color: var(--red); }
.field.invalid .field-error { display: block; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 13px; color: var(--txt-dark-dim); line-height: 1.6; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red-deep); flex: 0 0 auto; }
.form-note { font-size: 12px; color: var(--txt-dark-dim); margin-top: 14px; line-height: 1.6; }
.auth-side { display: grid; gap: 16px; }
.auth-side .side-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
}
.auth-side .side-card h3 { font-size: 15.5px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.auth-side .side-card p, .auth-side .side-card li { font-size: 13.5px; color: var(--txt-dim); }
.auth-side .side-card ul { margin-top: 6px; }
.auth-side .side-card li { margin-bottom: 6px; }
.auth-hero-img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* ==========================================================================
   PENCARIAN (overlay)
   ========================================================================== */
.search-overlay {
  position: fixed; inset: 0; z-index: 1200; display: none;
  background: rgba(9, 9, 14, 0.92); backdrop-filter: blur(6px);
  padding: 8vh 18px 30px; overflow-y: auto;
}
.search-overlay.open { display: block; }
.search-panel { max-width: 720px; margin: 0 auto; }
.search-bar { display: flex; gap: 10px; }
.search-bar input {
  flex: 1; padding: 14px 18px; border-radius: 12px; font-family: var(--font); font-size: 16px;
  background: var(--panel); border: 1px solid var(--line); color: #fff;
}
.search-bar input:focus { border-color: var(--gold); outline: none; }
.search-bar button {
  padding: 0 22px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, #ffd76a, var(--gold-deep)); color: #33230a; font-weight: 900; font-family: var(--font); font-size: 15px;
}
.search-close {
  float: right; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line); color: #fff; font-size: 16px; cursor: pointer;
}
.search-close:hover { border-color: var(--red); color: var(--red-soft); }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.search-tags a, .search-tags button {
  font-size: 12.5px; font-weight: 700; color: var(--txt-dim); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; font-family: var(--font);
}
.search-tags a:hover, .search-tags button:hover { color: var(--gold-soft); border-color: var(--gold); text-decoration: none; }
#search-results { display: grid; gap: 10px; margin-top: 8px; }
.sr-item {
  display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--txt); text-decoration: none;
}
.sr-item:hover { border-color: rgba(245, 179, 1, 0.5); text-decoration: none; }
.sr-item b { color: #fff; font-size: 15px; display: block; }
.sr-item b em { font-style: normal; color: var(--gold); background: rgba(245, 179, 1, 0.16); border-radius: 4px; padding: 0 3px; }
.sr-item p { font-size: 13px; color: var(--txt-dim); margin-top: 4px; }
.sr-cat { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--red-soft); }
.sr-empty { color: var(--txt-dim); text-align: center; padding: 30px 0; font-size: 14.5px; }

/* ==========================================================================
   BILAH CTA MENGMAMBANG (gaya mesin slot + koin)
   ========================================================================== */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 8px 14px;
  background: linear-gradient(90deg, #150d10 0%, #241016 45%, #0f0f16 100%);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.55);
}
.reels { display: flex; gap: 6px; flex: 0 0 auto; }
.reel {
  width: 36px; height: 36px; border-radius: 9px; overflow: hidden;
  background: #0a0a10; border: 1.5px solid #3a3a4a; box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.7);
}
.reel-strip { display: block; line-height: 36px; font-size: 19px; text-align: center; animation: reelspin 1.35s linear infinite; }
@keyframes reelspin { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.float-btns { display: flex; gap: 10px; flex: 1; justify-content: flex-end; }
.fbtn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 26px; border-radius: 999px;
  font-weight: 900; font-size: 15.5px; letter-spacing: 0.8px; text-decoration: none;
}
.fbtn:hover { text-decoration: none; transform: translateY(-1px); }
.fbtn-reg {
  background: linear-gradient(180deg, #ffd76a, var(--gold) 45%, var(--gold-deep));
  color: #33230a; animation: glowpulse 2s ease-in-out infinite;
}
@keyframes glowpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 179, 1, 0.6), 0 4px 14px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 0 0 9px rgba(245, 179, 1, 0), 0 4px 14px rgba(0, 0, 0, 0.4); }
}
.fbtn-login { background: linear-gradient(180deg, var(--red-soft), var(--red) 55%, var(--red-deep)); color: #fff; }

.coin {
  position: absolute; bottom: 6px; width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe9a8, #ecb422 55%, #a97a00);
  box-shadow: 0 0 7px rgba(255, 209, 102, 0.85);
  animation: coinup 2.3s ease-in infinite; pointer-events: none;
}
.c1 { left: 16%; animation-delay: 0s; }
.c2 { left: 27%; animation-delay: 0.45s; }
.c3 { left: 48%; animation-delay: 0.9s; }
.c4 { left: 60%; animation-delay: 0.25s; }
.c5 { left: 72%; animation-delay: 1.35s; }
@keyframes coinup {
  0% { transform: translateY(0) scale(0.55); opacity: 0; }
  18% { opacity: 0.95; }
  100% { transform: translateY(-88px) scale(1); opacity: 0; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #0b0b11; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 48px 0 34px;
}
.f-brand p { color: var(--txt-dim); font-size: 13.5px; margin-top: 14px; max-width: 300px; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--red-soft); color: #ff98a4; font-weight: 900; font-size: 13px;
  border-radius: 10px; padding: 4px 10px; margin-top: 14px; letter-spacing: 1px;
}
.f-title { font-size: 13px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.f-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.f-col a { color: var(--txt-dim); font-size: 14px; }
.f-col a:hover { color: var(--gold-soft); }
.footer-legal { border-top: 1px solid var(--line); padding: 20px 0 26px; }
.footer-legal p { color: #6f6d85; font-size: 12px; line-height: 1.7; margin-top: 6px; }
.footer-legal .copy { color: var(--txt-dim); font-size: 13px; }

/* ==========================================================================
   RESPONSIF
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-media { max-width: 640px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid, .hl-grid, .testi-grid, .mini-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .cat-head { grid-template-columns: 1fr; gap: 26px; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .chip-1 { left: 8px; }
  .chip-2 { right: 8px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed; top: 66px; left: 0; right: 0; z-index: 870;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #12121b; border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; display: none; max-height: calc(100vh - 66px); overflow-y: auto;
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 12px; font-size: 15.5px; border-radius: 10px; }
  .header-actions .btn-ghost { display: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .sec { padding: 48px 0; }
}

@media (max-width: 640px) {
  .promo-grid { grid-template-columns: 1fr; }
  .hl-grid, .testi-grid, .mini-grid, .related-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 38px 0 26px; }
  .hero { padding: 42px 0 48px; }
  .chip-3 { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .reels .reel:nth-child(3) { display: none; }
  .fbtn { padding: 0 18px; font-size: 14.5px; }
  .float-btns { gap: 8px; }
  .float-cta { gap: 10px; padding: 8px 10px; }
  body { padding-bottom: 74px; }
}

@media (max-width: 380px) {
  .reels { display: none; }
  .fbtn-reg, .fbtn-login { flex: 1; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
