/* Nila88 — gaya situs (merah / hitam / emas / putih) */

:root {
  --red: #c8102e;
  --red-dark: #a00d24;
  --red-deep: #7c0a1c;
  --ink: #17181c;
  --ink-2: #23252b;
  --paper: #ffffff;
  --paper-soft: #f8f6f3;
  --line: #e8e3dc;
  --gold: #f2b705;
  --gold-dark: #d99e06;
  --gold-soft: #fdeeca;
  --green: #1e7a46;
  --text: #26282e;
  --muted: #6b6e76;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 24, 28, 0.08);
  --shadow-lg: 0 18px 44px rgba(23, 24, 28, 0.16);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: clip;
}

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

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 0.6em; font-weight: 800; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.3rem); }

p { margin: 0 0 1em; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; padding-bottom: 56px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 8px 16px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; text-decoration: none; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin: 0 0 10px;
}
.eyebrow.light { color: var(--gold); }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; 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(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; box-shadow: 0 8px 20px rgba(200, 16, 46, 0.35); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(200, 16, 46, 0.45); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--ink); box-shadow: 0 8px 20px rgba(242, 183, 5, 0.35); }
.btn-gold:hover { color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0; color: inherit; cursor: pointer;
  padding: 8px; border-radius: 8px; font: inherit;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(23, 24, 28, 0.97); backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--gold);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-name { font-size: 1.3rem; letter-spacing: 0.02em; }
.main-nav { display: flex; gap: 4px; margin-right: auto; flex-wrap: wrap; }
.main-nav a { color: #d9d4cd; font-weight: 600; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.main-nav a.active { color: var(--gold); background: rgba(242, 183, 5, 0.1); }
.header-actions { display: flex; align-items: center; gap: 8px; color: #fff; }
.header-actions .search-toggle { color: #d9d4cd; margin-right: 2px; font-size: 0.9rem; }
.header-actions .search-toggle:hover { color: #fff; }
.nav-toggle { display: none; }

/* ---------- hero beranda ---------- */
.hero { background: radial-gradient(1200px 600px at 85% -10%, #341016 0%, var(--ink) 55%); color: #f2efe9; padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero-lead { color: #cfc9c1; font-size: 1.06rem; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; color: #b7b1a9; font-size: 0.9rem; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: 0.8rem; margin-right: 6px; }
.chip-red { background: var(--red); color: #fff; }
.chip-gold { background: var(--gold); color: var(--ink); }
.hero-media { margin: 0; }
.hero-media img { border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.14); }

/* ---------- seksi umum ---------- */
.section { padding: 66px 0; }
.section-soft { background: var(--paper-soft); }
.section-dark { background: linear-gradient(160deg, #1d1e24 0%, #26141b 100%); }
.section-dark h2 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head.left { text-align: left; margin: 0 0 18px; }
.section-lead { color: var(--muted); font-size: 1.02rem; }
.section-dark .section-lead { color: #b7b1a9; }

.grid { display: grid; gap: 22px; }
.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);
}

.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: var(--gold);
  font-weight: 800; font-size: 1.05rem; margin-bottom: 14px;
}

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
.side-note { background: var(--gold-soft); border-color: #f0d9a4; }
.side-note .btn { margin-top: 6px; }
.side-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.check-list { list-style: none; margin: 18px 0; padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 2px;
  width: 21px; height: 21px; border-radius: 50%; background: var(--green); color: #fff;
  font-size: 0.8rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.small-note { color: var(--muted); font-size: 0.9rem; }

/* ---------- testimoni ---------- */
.testimonial { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.testimonial blockquote { margin: 0; font-size: 1rem; color: var(--ink-2); font-style: italic; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 36px;
  background: linear-gradient(135deg, var(--ink) 0%, #3a3d46 100%); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}

/* ---------- peta informasi (seksi gelap) ---------- */
.framework-list {
  list-style: none; counter-reset: langkah; margin: 0 0 34px; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; color: #d9d4cd; font-size: 0.88rem;
}
.framework-list li { counter-increment: langkah; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 10px; padding: 14px 12px; }
.framework-list li::before {
  content: counter(langkah); display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink);
  font-weight: 800; margin-bottom: 8px;
}
.framework-list strong { color: #fff; display: block; margin-bottom: 4px; font-size: 0.92rem; }
.map-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.map-link {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f2efe9; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 0.92rem;
}
.map-link:hover { background: rgba(242, 183, 5, 0.16); border-color: var(--gold); text-decoration: none; }
.map-ico { font-size: 1.3rem; }

.center-link { text-align: center; margin: 34px 0 0; }

/* ---------- keamanan ---------- */
.secure-card { border-top: 4px solid var(--green); }

/* ---------- artikel beranda ---------- */
.article-feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow);
}
.article-feature h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 6px; }
.meta-line { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }

.article-figure { margin: 0 0 24px; }
.article-figure img { width: 100%; border-radius: 12px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative;
  font-weight: 700; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--paper-soft);
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--red);
  border: 1px solid var(--line);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 20px 18px; color: var(--ink-2); }
.faq-answer p { margin: 0; }

/* ---------- breadcrumb & page hero ---------- */
.breadcrumb-bar { background: var(--paper-soft); border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); padding: 10px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.crumb-sep { color: #c4beb4; }

.page-hero {
  background:
    radial-gradient(900px 300px at 110% 0%, rgba(200, 16, 46, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--paper-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line); padding: 46px 0 38px;
}
.page-hero-inner { max-width: 800px; }
.page-hero-inner.center { text-align: center; margin: 0 auto; }
.page-lead { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }
.page-meta { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- prosa artikel ---------- */
.prose { font-size: 1.02rem; padding-top: 36px; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 10px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose-intro { padding-top: 40px; font-size: 1.03rem; }

.table-wrap {
  overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line);
  border-radius: 12px; background: #fff;
}
.terms-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
.terms-table caption {
  caption-side: top; text-align: left; padding: 14px 16px; font-weight: 800;
  color: var(--ink); background: var(--paper-soft); border-bottom: 1px solid var(--line);
}
.terms-table th, .terms-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.terms-table tr:last-child th, .terms-table tr:last-child td { border-bottom: 0; }
.terms-table th[scope="row"] { background: var(--paper-soft); white-space: nowrap; font-weight: 700; color: var(--ink); width: 34%; }

.alert-note {
  background: var(--gold-soft); border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0; padding: 16px 18px; margin: 0 0 1.4em;
}
.alert-note p:last-child { margin-bottom: 0; }

.related-block { margin-top: 2.4em; border-top: 3px solid var(--gold); padding-top: 1.2em; }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.related-list li:last-child { border-bottom: 0; }

/* ---------- kartu CTA ---------- */
.cta-card {
  background: linear-gradient(135deg, var(--ink) 0%, #2a1016 100%);
  color: #f2efe9; border-radius: var(--radius); padding: 30px 32px; margin: 46px 0 10px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.cta-card h2 { color: #fff; margin: 0 0 4px; font-size: 1.3rem; }
.cta-card p { margin: 0; color: #cfc9c1; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.cta-actions.center { justify-content: center; }

/* ---------- daftar promosi ---------- */
.promo-section-title { margin: 26px 0 20px; }
.promo-grid { padding-bottom: 20px; }
.promo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.promo-media { position: relative; display: block; }
.promo-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.promo-media .tag {
  position: absolute; left: 14px; top: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--ink);
  padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 800;
}
.promo-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.promo-body h3 { margin-bottom: 8px; }
.promo-body h3 a { color: var(--ink); }
.promo-body h3 a:hover { color: var(--red); }
.promo-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.text-link { font-weight: 700; }
.promo-note { text-align: center; color: var(--muted); font-size: 0.88rem; padding: 10px 0 56px; margin: 0; }

/* ---------- formulir ---------- */
.form-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; padding: 46px 0 60px; align-items: start; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 30px 28px; position: sticky; top: 92px;
}
.form-card h2 { margin-bottom: 4px; }
.form-hint { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--ink); }
.field input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); margin: 6px 0 20px; }
.check input { margin-top: 3px; accent-color: var(--red); }
.form-foot { text-align: center; font-size: 0.9rem; color: var(--muted); margin: 16px 0 0; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b7b1a9; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 56px; }
.footer-brand .brand-footer { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.footer-brand p { font-size: 0.92rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; }
.badge-18 { background: var(--red); color: #fff; }
.badge-info { background: rgba(242, 183, 5, 0.15); color: var(--gold); border: 1px solid rgba(242, 183, 5, 0.4); }
.badge-safe { background: rgba(30, 122, 70, 0.15); color: #6fc796; border: 1px solid rgba(30, 122, 70, 0.4); }
.footer-col h3 { color: #fff; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #b7b1a9; font-size: 0.93rem; }
.footer-col a:hover { color: var(--gold); }
.footer-contact { margin: 14px 0 0; font-size: 0.85rem; color: #8f8a82; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 34px; padding-top: 26px; }
.footer-legal p { font-size: 0.82rem; color: #8f8a82; }
.footer-legal strong { color: #cfc9c1; }
/* ruang untuk bilah melayang diisi latar footer (bukan kolom kosong di bawah footer) */
.site-footer .container { padding-bottom: calc(76px + 26px); }
@media (max-width: 740px) {
  .site-footer .container { padding-bottom: calc(64px + 22px); }
}

/* ---------- bilah melayang (slot + koin) ---------- */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: linear-gradient(90deg, #141519 0%, #241219 55%, #2a1016 100%);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.float-inner { position: relative; display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 10px 20px; }
.float-reels { display: flex; gap: 6px; }
.reel {
  width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #fff 0%, #fdeeca 100%); border: 2px solid var(--gold);
  font-size: 1.05rem; animation: reelPulse 2.4s ease-in-out infinite;
}
.reel.r2 { animation-delay: 0.4s; }
.reel.r3 { animation-delay: 0.8s; }
.float-copy { color: #fff; line-height: 1.3; margin-right: auto; }
.float-copy strong { display: block; font-size: 1.02rem; }
.float-copy small { color: #b7b1a9; font-size: 0.78rem; }
.float-actions { display: flex; gap: 10px; }
.float-coin {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe28a 0%, var(--gold) 55%, #b98400 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  animation: coinFloat 3.4s ease-in-out infinite;
}
.float-coin.c1 { width: 14px; height: 14px; right: 200px; top: 6px; }
.float-coin.c2 { width: 9px; height: 9px; right: 178px; bottom: 8px; animation-delay: 1.2s; }

@keyframes reelPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes coinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- pencarian ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 120; background: rgba(12, 12, 16, 0.82);
  display: flex; justify-content: center; align-items: flex-start; padding: 90px 16px 24px;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: 100%; max-width: 640px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: calc(100vh - 130px);
  display: flex; flex-direction: column;
}
.search-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-top input { flex: 1; border: 0; font: inherit; font-size: 1.05rem; color: var(--ink); padding: 6px 0; min-width: 0; }
.search-top input:focus { outline: none; }
.search-top .icon-btn { color: var(--muted); font-size: 1.4rem; }
.search-top .icon-btn:hover { background: var(--paper-soft); color: var(--ink); }
.search-results { overflow-y: auto; padding: 8px; flex: 1; }
.search-result { display: block; padding: 12px 14px; border-radius: 10px; }
.search-result:hover { background: var(--paper-soft); text-decoration: none; }
.search-result strong { display: block; color: var(--ink); font-size: 0.98rem; }
.search-result span { color: var(--muted); font-size: 0.85rem; display: block; margin-top: 2px; }
.search-empty { padding: 22px 16px; color: var(--muted); font-size: 0.95rem; margin: 0; }
.hot-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--paper-soft); }
.hot-label { font-size: 0.8rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.tag {
  display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.tag:hover { border-color: var(--gold); background: var(--gold-soft); text-decoration: none; }

/* ---------- responsif ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .framework-list, .map-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .form-layout { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 48px 0 54px; }

  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); border-bottom: 3px solid var(--gold);
    flex-direction: column; padding: 10px 20px 16px; gap: 2px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 1.02rem; }
}

@media (max-width: 740px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .header-actions .search-toggle span { display: none; }
  .float-inner { gap: 10px; min-height: 64px; }
  .float-copy small { display: none; }
  .float-reels .reel { width: 28px; height: 28px; font-size: 0.9rem; }
  .float-coin.c1 { right: 150px; }
  .float-coin.c2 { display: none; }
}

@media (max-width: 520px) {
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .framework-list, .map-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .float-copy { display: none; }
  .float-actions { margin-left: auto; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 24px 18px; }
  .header-inner { gap: 10px; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-gold { padding: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .reel, .float-coin, .btn { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .float-bar, .site-header, .search-overlay { display: none; }
}
