/* ============================================================
   Lentera4d — lembar gaya utama
   Tema: gelap + emas lentera, aksen hijau/merah, teks putih
   ============================================================ */

:root {
  --ink: #0b0e17;
  --ink-2: #10141f;
  --card: #151b2b;
  --card-2: #1a2135;
  --line: rgba(255, 255, 255, 0.09);
  --gold: #f6c453;
  --gold-2: #e8a93d;
  --gold-soft: rgba(246, 196, 83, 0.14);
  --green: #2fbf71;
  --green-soft: rgba(47, 191, 113, 0.14);
  --red: #e5484d;
  --red-soft: rgba(229, 72, 77, 0.14);
  --blue: #5b8def;
  --blue-soft: rgba(91, 141, 239, 0.14);
  --text: #e9edf6;
  --muted: #a4adc2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --maxw: 1180px;
  --header-h: 66px;
}

* { 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;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(246, 196, 83, 0.07), transparent 60%),
    radial-gradient(900px 480px at 10% 0%, rgba(91, 141, 239, 0.06), transparent 55%),
    var(--ink);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* ruang untuk bar mengambang di bawah */
body { padding-bottom: 96px; }
@media (min-width: 769px) { body { padding-bottom: 92px; } }

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

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

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(1.65rem, 4vw, 2.5rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin: 0 0 0.7em; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); margin: 1.4em 0 0.5em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

.section { padding: 46px 0; }
.section-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(246, 196, 83, 0.35);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

/* ---------- tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 11px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, #ffd86b, var(--gold-2));
  color: #241a05;
  box-shadow: 0 6px 18px rgba(246, 196, 83, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: rgba(246, 196, 83, 0.5); }
.btn-green {
  background: linear-gradient(180deg, #46d689, #1f9d5c);
  color: #06220f;
  box-shadow: 0 6px 18px rgba(47, 191, 113, 0.22);
}
.btn-sm { padding: 8px 16px; font-size: 0.86rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 14, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; color: var(--text); }
.brand img { width: 36px; height: 36px; }
.brand span b { color: var(--gold); }
.brand:hover { text-decoration: none; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 11px;
  border-radius: 8px;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.main-nav a.active { color: var(--gold); background: var(--gold-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* pencarian di header */
.search-wrap { position: relative; }
.search-box {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  gap: 8px;
}
.search-box input {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 0.88rem;
  width: 168px;
  font-family: inherit;
}
.search-box input::placeholder { color: var(--muted); }
.search-box button {
  background: linear-gradient(180deg, #ffd86b, var(--gold-2));
  border: 0;
  color: #241a05;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, 88vw);
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  z-index: 80;
  max-height: 60vh;
  overflow: auto;
}
.search-results.open { display: block; }
.search-results a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
}
.search-results a:hover { background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.search-results a small { display: block; color: var(--muted); font-size: 0.78rem; }
.search-results .sr-empty { padding: 10px 12px; color: var(--muted); font-size: 0.86rem; }
.search-results .sr-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px 2px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  width: 40px;
  height: 38px;
  font-size: 1.15rem;
  cursor: pointer;
}

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 16px 0 2px; font-size: 0.84rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--muted); opacity: 0.6; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); }

/* ---------- hero beranda ---------- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 23, 0.55) 0%, rgba(11, 14, 23, 0.82) 60%, var(--ink) 100%);
}
.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 66px 18px 54px;
}
.hero h1 { max-width: 720px; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { max-width: 640px; color: var(--muted); font-size: 1.05rem; margin: 0 0 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(21, 27, 43, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
}
.chip.gold { color: var(--gold); border-color: rgba(246, 196, 83, 0.4); }
.chip.green { color: var(--green); border-color: rgba(47, 191, 113, 0.4); }
.chip.red { color: #ff8589; border-color: rgba(229, 72, 77, 0.45); }

/* tag cloud pencarian populer */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.tag-cloud .tc-label { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.tag-cloud a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(21, 27, 43, 0.7);
  border-radius: 999px;
  padding: 5px 13px;
}
.tag-cloud a:hover { border-color: rgba(246, 196, 83, 0.5); color: var(--gold); text-decoration: none; }

/* ---------- hero halaman dalam ---------- */
.page-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.page-hero .ph-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 23, 0.6), rgba(11, 14, 23, 0.88) 65%, var(--ink));
}
.page-hero .ph-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 18px 40px;
}
.page-hero h1 { max-width: 780px; margin-bottom: 10px; }
.page-hero .lead { max-width: 680px; color: var(--muted); font-size: 1.02rem; margin: 0; }
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- kartu & grid ---------- */
.grid { display: grid; gap: 18px; }
.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: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin: 0 0 12px; }
.card .more { font-weight: 700; font-size: 0.9rem; }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.icon-badge.gold { background: var(--gold-soft); }
.icon-badge.green { background: var(--green-soft); }
.icon-badge.red { background: var(--red-soft); }
.icon-badge.blue { background: var(--blue-soft); }

/* kartu gambar (kategori, artikel, promosi) */
.img-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.img-card .thumb { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; }
.img-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-card .thumb .chip {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(11, 14, 23, 0.85);
}
.img-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.img-card .body h3 { margin: 0; font-size: 1.08rem; }
.img-card .body h3 a { color: var(--text); }
.img-card .body h3 a:hover { color: var(--gold); }
.img-card .body p { margin: 0; font-size: 0.92rem; }
.img-card .body .more { margin-top: auto; }

/* ---------- blok dua kolom (gambar + teks) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: center; }
.split .img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
}
.split .img-frame img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-top: 0; }
.split ul { margin: 0; padding-left: 0; list-style: none; }
.split ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--muted);
}
.split ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

/* ---------- ulasan ---------- */
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.review-card blockquote {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  border-left: 3px solid rgba(246, 196, 83, 0.5);
  padding-left: 14px;
}
.review-card .who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #241a05;
  background: linear-gradient(180deg, #ffd86b, var(--gold-2));
  flex: none;
}
.review-card .who b { font-size: 0.9rem; display: block; }
.review-card .who small { color: var(--muted); }
.note-disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 16px; text-align: center; }

/* ---------- glosarium ---------- */
.glossary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.term {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.term b { color: var(--gold); display: block; margin-bottom: 4px; font-size: 0.95rem; }
.term span { color: var(--muted); font-size: 0.85rem; }

/* ---------- artikel / konten ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.article-layout > * { min-width: 0; }
.grid > *, .split > *, .glossary-grid > *, .footer-grid > *, .auth-layout > * { min-width: 0; }
.prose { max-width: 760px; overflow-wrap: break-word; }
.prose img.hero-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 6px 0 8px;
}
.prose p { color: #cfd6e4; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { color: var(--gold); }
.prose ul, .prose ol { color: #cfd6e4; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 10px 10px 0;
  padding: 12px 18px;
  margin: 18px 0;
  color: var(--text);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 16px 0;
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
}
.prose th { background: var(--card-2); color: var(--gold); }
.prose td { color: #cfd6e4; }

/* info box syarat & ketentuan */
.tnc-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 18px 0;
}
.tnc-box h3 { margin-top: 0; }
.tnc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tnc-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.93rem; }
.tnc-list li b { color: var(--text); display: block; }
.tnc-list li .tk-ic { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 0.9rem; }

/* ---------- sidebar ---------- */
.sidebar { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 16px); }
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.side-card h3 { margin: 0 0 12px; font-size: 1.02rem; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-card li a { color: var(--text); font-size: 0.9rem; font-weight: 600; display: block; }
.side-card li a:hover { color: var(--gold); }
.side-card li small { color: var(--muted); display: block; font-weight: 400; }
.side-cta {
  background: linear-gradient(160deg, rgba(246, 196, 83, 0.16), rgba(232, 169, 61, 0.06));
  border: 1px solid rgba(246, 196, 83, 0.35);
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
details.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 18px;
  font-weight: 700;
  font-size: 0.98rem;
  position: relative;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 800;
}
details.faq-item[open] summary::after { content: "−"; }
details.faq-item .faq-a {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(246, 196, 83, 0.14), transparent 60%),
    linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid rgba(246, 196, 83, 0.28);
  border-radius: 18px;
  padding: 34px 28px;
  text-align: center;
}
.cta-band h2 { margin-top: 0; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 20px; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- formulir auth ---------- */
.auth-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: start; }
.auth-card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 0.92rem; margin: 0 0 20px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"] {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
}
.form-row input:focus { outline: 2px solid rgba(246, 196, 83, 0.5); border-color: transparent; }
.form-hint { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; font-size: 0.85rem; color: var(--muted); }
.check-row input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--blue-soft);
  border: 1px solid rgba(91, 141, 239, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 16px;
}
.auth-alt { text-align: center; font-size: 0.9rem; color: var(--muted); margin-top: 16px; }
.steps { counter-reset: step; display: grid; gap: 14px; }
.steps li {
  list-style: none;
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  color: var(--muted);
  font-size: 0.92rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1px solid rgba(246, 196, 83, 0.4);
  color: var(--gold);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.steps li b { color: var(--text); display: block; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding: 44px 0 26px;
  margin-top: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h3 { font-size: 0.95rem; margin: 0 0 14px; color: var(--gold); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid li a { color: var(--muted); font-size: 0.9rem; }
.footer-grid li a:hover { color: var(--gold); }
.footer-grid p { color: var(--muted); font-size: 0.88rem; }
.footer-legal {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}
.badge-18 {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: #ff8589;
  font-weight: 800;
  font-size: 0.78rem;
  flex: none;
}
.legal-note { max-width: 640px; }

/* ---------- bar mengambang bawah ---------- */
.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(13, 17, 28, 0.97), rgba(9, 12, 20, 0.99));
  border-top: 1px solid rgba(246, 196, 83, 0.35);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
}
.float-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.slot-visual { display: flex; align-items: center; gap: 5px; flex: none; }
.reel {
  width: 34px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(180deg, #232b41, #141a2b);
  border: 1px solid rgba(246, 196, 83, 0.45);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  animation: reel-bounce 2.6s ease-in-out infinite;
}
.reel:nth-child(2) { animation-delay: 0.35s; color: #ff8589; }
.reel:nth-child(3) { animation-delay: 0.7s; color: var(--green); }
@keyframes reel-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.coin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe49a, var(--gold-2));
  box-shadow: 0 0 8px rgba(246, 196, 83, 0.8);
  animation: coin-float 3.2s ease-in-out infinite;
}
@keyframes coin-float {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-7px); opacity: 0.6; }
}
.float-text { min-width: 0; }
.float-text b { display: block; font-size: 0.92rem; line-height: 1.3; }
.float-text small { color: var(--muted); font-size: 0.76rem; display: block; }
.float-actions { margin-left: auto; display: flex; gap: 9px; flex: none; }

/* ---------- util ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

.divider { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }

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

/* ============================================================
   Responsif
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .glossary-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .search-box input { width: 120px; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 22px; }
  .auth-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 14px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .header-actions { margin-left: 8px; }
  .search-box input { width: 92px; }

  .grid-3 { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .float-text small { display: none; }
  .float-inner { gap: 10px; }
  .slot-visual .reel { width: 28px; height: 34px; font-size: 0.85rem; }
  .float-text b { font-size: 0.84rem; }
}

@media (max-width: 560px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 46px 16px 40px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .search-wrap { display: none; }
  .float-text b { white-space: nowrap; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; }
  .float-actions { gap: 7px; }
  .float-actions .btn { padding: 9px 14px; font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .prose table { display: block; overflow-x: auto; }
}
