/* ==========================================================================
   Lembu4d — tema portal informasi (hitam · emas · hijau · merah · putih)
   ========================================================================== */
:root {
  --bg: #0a0f0c;
  --bg-2: #101712;
  --bg-3: #17211a;
  --line: #223027;
  --line-2: #2f4235;
  --green: #23b371;
  --green-2: #15854f;
  --gold: #f7c548;
  --gold-2: #d9a419;
  --red: #e0242e;
  --red-2: #b3161f;
  --text: #edf2ee;
  --muted: #a3b2a8;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  /* ruang untuk widget mengambang agar konten tidak tertutup */
  padding-bottom: 86px;
}
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; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.65rem, 4vw, 2.45rem); font-weight: 800; }
h1 em, h2 em { font-style: normal; color: var(--gold); }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.87rem; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 26px; }
.text-center { text-align: center; }
.ico { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- tombol ---------- */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 800; font-size: 0.95rem; cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #ffd977, var(--gold) 45%, var(--gold-2)); color: #241a02; box-shadow: 0 6px 18px rgba(247, 197, 72, 0.28); }
.btn-green { background: linear-gradient(180deg, #2ecb84, var(--green) 45%, var(--green-2)); color: #04170d; box-shadow: 0 6px 18px rgba(35, 179, 113, 0.25); }
.btn-red { background: linear-gradient(180deg, #f04750, var(--red) 45%, var(--red-2)); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(10, 15, 12, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.topbar {
  background: linear-gradient(90deg, var(--green-2), var(--green) 55%, var(--gold-2));
  color: #06130b; font-size: 0.8rem; font-weight: 700; text-align: center;
  padding: 5px 14px; letter-spacing: 0.02em;
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.22rem; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand .chip { width: 32px; height: 32px; flex: none; }
.brand em { font-style: normal; color: var(--gold); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a { display: block; padding: 9px 11px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 0.93rem; }
.main-nav a:hover { color: var(--text); background: var(--bg-3); text-decoration: none; }
.main-nav a.active { color: var(--gold); background: rgba(247, 197, 72, 0.09); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-search { display: flex; gap: 6px; }
.header-search input {
  width: 168px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font-size: 0.9rem;
}
.header-search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.header-search button {
  padding: 8px 13px; border-radius: 8px; border: 0; background: var(--bg-3); color: var(--gold);
  font-weight: 800; cursor: pointer; font-size: 0.9rem;
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px;
  cursor: pointer; padding: 8px 10px; color: var(--text); font-size: 1.1rem; line-height: 1;
}
.mobile-actions { display: none; gap: 8px; padding: 10px 0 12px; }

/* ---------- breadcrumb ---------- */
.breadcrumb { font-size: 0.86rem; color: var(--muted); padding-top: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- section ---------- */
.section { padding: 52px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin: 0 auto 32px; }
.section-head.center { text-align: center; }
.kicker {
  display: inline-block; font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--green); font-weight: 800; margin-bottom: 8px;
}
.section-head.center .kicker { color: var(--gold); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: 0.86rem; margin: 6px 0 0; }
.meta .dot::before { content: "·"; margin-right: 10px; color: var(--line-2); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1100px 500px at 85% -10%, rgba(35, 179, 113, 0.16), transparent 60%),
  radial-gradient(900px 420px at -10% 110%, rgba(247, 197, 72, 0.1), transparent 55%),
  var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 64px 0 60px; }
.hero .lead { font-size: clamp(1rem, 2.2vw, 1.13rem); color: #cfd9d2; max-width: 620px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(16, 23, 18, 0.8); font-size: 0.83rem; color: var(--muted);
}
.badge.b-red { border-color: rgba(224, 36, 46, 0.5); color: #f3aab0; }
.badge.b-green { border-color: rgba(35, 179, 113, 0.5); color: #9fe3c4; }
.badge.b-gold { border-color: rgba(247, 197, 72, 0.5); color: #ffe4a3; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media img { border-radius: var(--radius); border: 1px solid var(--line-2); box-shadow: var(--shadow); }

/* ---------- grid & kartu ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--gold); text-decoration: none; }
.card .icon {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; background: rgba(247, 197, 72, 0.1); color: var(--gold); margin-bottom: 12px;
}
.card .icon .ico { width: 24px; height: 24px; }
.card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0; }
.more { font-weight: 700; font-size: 0.92rem; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------- daftar centang ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; color: var(--muted); }
.check-list li strong { color: var(--text); }
.tick {
  position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(35, 179, 113, 0.14); color: var(--green); font-size: 0.8rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- kutipan pembaca ---------- */
.quote {
  position: relative; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.quote .tag {
  align-self: flex-start; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); border: 1px solid rgba(35, 179, 113, 0.45); padding: 3px 10px; border-radius: 999px;
}
.quote .mark { font-size: 2.6rem; line-height: 0.6; color: var(--gold); font-weight: 800; margin-top: 8px; }
.quote p { color: #d3dcd5; font-size: 0.95rem; flex: 1; margin: 0; }
.quote .who { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.85rem; }
.quote .av {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: #241a02;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}

/* ---------- kamus istilah ---------- */
.glossary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px 26px; }
.glossary .term { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.glossary .term h3 { color: var(--gold); font-size: 1rem; margin-bottom: 6px; }
.glossary .term p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 15px 44px 15px 20px; font-weight: 700; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.25rem; font-weight: 800;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 16px; color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- catatan ---------- */
.note {
  border: 1px solid var(--line-2); background: var(--bg-3); border-radius: 12px;
  padding: 14px 18px; margin: 20px 0; color: var(--muted); font-size: 0.92rem;
}
.note.warn { border-color: rgba(224, 36, 46, 0.45); background: rgba(224, 36, 46, 0.07); }
.note strong { color: var(--text); }

/* ---------- tag populer ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags a {
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--muted); font-size: 0.88rem; background: var(--bg-2);
}
.tags a:hover { color: var(--gold); border-color: var(--gold); text-decoration: none; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; border: 1px solid var(--line-2); border-radius: 18px; padding: 40px 26px;
  background:
    radial-gradient(600px 240px at 50% -30%, rgba(247, 197, 72, 0.14), transparent 65%),
    var(--bg-3);
}
.cta-band p { color: var(--muted); max-width: 640px; margin: 0 auto 20px; }

/* ---------- artikel / prose ---------- */
.prose { max-width: 800px; font-size: 1.01rem; color: #d6ded8; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.35em; color: var(--text); }
.prose p { margin-bottom: 1em; }
.prose ul li, .prose ol li { margin-bottom: 6px; }
.prose figure { margin: 26px 0; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose figcaption { font-size: 0.84rem; color: var(--muted); margin-top: 8px; text-align: center; }
.prose a { color: var(--gold); font-weight: 600; }
.prose .table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 540px; font-size: 0.93rem; }
.prose th, .prose td { text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-3); color: var(--gold); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- halaman kategori/artikel ---------- */
.page-head { padding: 18px 0 8px; }
.page-head h1 { margin-bottom: 10px; }
.article-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.article-card .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.article-card .thumb:hover img { transform: scale(1.04); }
.article-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card .cat { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.article-card p { color: var(--muted); font-size: 0.92rem; margin: 0; flex: 1; }

/* ---------- promosi ---------- */
.promo-card { display: flex; gap: 20px; align-items: flex-start; }
.badge-big {
  flex: none; width: 96px; height: 96px; border-radius: 16px; text-align: center;
  background: linear-gradient(180deg, #ffd977, var(--gold) 50%, var(--gold-2));
  color: #241a02; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(247, 197, 72, 0.25);
}
.badge-big b { font-size: 1.25rem; line-height: 1.1; }
.badge-big span { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; }
.ribbon {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); border: 1px solid rgba(35, 179, 113, 0.45); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px;
}
.promo-card h3 { font-size: 1.08rem; }
.promo-card > div { min-width: 0; }
.terms { list-style: none; padding: 0; margin: 10px 0 0; }
.terms li { position: relative; padding-left: 20px; color: var(--muted); font-size: 0.88rem; margin-bottom: 5px; }
.terms li::before { content: "›"; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.terms-def { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 20px 0; }
.terms-def div { display: grid; grid-template-columns: 230px 1fr; border-bottom: 1px solid var(--line); }
.terms-def div:last-child { border-bottom: 0; }
.terms-def dt { background: var(--bg-3); padding: 13px 16px; font-weight: 800; color: var(--gold); font-size: 0.88rem; }
.terms-def dd { margin: 0; padding: 13px 16px; color: #d6ded8; font-size: 0.95rem; }

/* ---------- auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.auth-side { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; min-height: 320px; box-shadow: var(--shadow); }
.auth-side img { width: 100%; height: 100%; object-fit: cover; }
.auth-side figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 42px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 12, 0.94));
  font-size: 0.88rem; color: #d6ded8; margin: 0;
}
.auth-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.auth-form h1 { font-size: 1.55rem; }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font-size: 1rem;
}
.field input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 4px; }
.auth-note { font-size: 0.84rem; color: var(--muted); }
.auth-alt { text-align: center; margin-top: 16px; font-size: 0.92rem; color: var(--muted); }

/* ---------- pencarian ---------- */
.search-hero { max-width: 780px; margin: 0 auto; padding: 26px 0 40px; }
.search-box { display: flex; gap: 8px; margin: 18px 0 10px; }
.search-box input {
  flex: 1; min-width: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font-size: 1rem;
}
.search-box input:focus { outline: 2px solid var(--gold); }
.search-box button {
  border: 0; border-radius: 12px; padding: 14px 26px; cursor: pointer; font-weight: 800;
  background: linear-gradient(180deg, #ffd977, var(--gold) 45%, var(--gold-2)); color: #241a02;
}
.result-list { display: grid; gap: 14px; margin-top: 18px; }
.result { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.result h3 { margin-bottom: 6px; }
.result h3 a { color: var(--text); }
.result h3 a:hover { color: var(--gold); text-decoration: none; }
.result p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.result .cat { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 4px; }

/* ---------- 404 ---------- */
.err-hero { text-align: center; padding: 70px 0 80px; }
.err-hero .code { font-size: 5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.err-hero p { color: var(--muted); max-width: 520px; margin: 10px auto 24px; }

/* ---------- footer ---------- */
.site-footer { background: #070b09; border-top: 1px solid var(--line); margin-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1fr; gap: 32px; padding: 46px 20px 30px; }
.footer-brand p { color: var(--muted); font-size: 0.89rem; }
.footer-grid h3 { font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul a { color: var(--muted); font-size: 0.92rem; }
.footer-grid ul a:hover { color: var(--gold); }
.legal-strip { border-top: 1px solid var(--line); padding: 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.pills span {
  padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 0.8rem; color: var(--muted); background: var(--bg-2);
}
.pills .p18 { border-color: var(--red); color: #ff9aa1; font-weight: 800; }
.pills .pgreen { border-color: rgba(35, 179, 113, 0.55); color: #9fe3c4; }
.pills .pgold { border-color: rgba(247, 197, 72, 0.55); color: #ffe4a3; }
.legal-strip p { color: #7d8b81; font-size: 0.8rem; margin: 6px 0; }
.footer-copy { color: #66756b; font-size: 0.8rem; padding: 14px 20px; border-top: 1px solid var(--line); }

/* ---------- widget mengambang (mesin slot + koin) ---------- */
.float-widget {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; pointer-events: none;
  padding: 0 14px calc(10px + env(safe-area-inset-bottom));
}
.float-inner {
  pointer-events: auto; max-width: 880px; margin: 0 auto; display: flex; align-items: center; gap: 14px;
  background: linear-gradient(180deg, #17211a, #0d130f);
  border: 1px solid var(--line-2); border-radius: 16px; padding: 9px 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}
.float-machine { position: relative; flex: none; display: flex; align-items: center; gap: 4px; }
.float-machine .reel {
  width: 17px; height: 24px; border-radius: 4px; background: #fdf6e3; color: var(--red);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800;
  border: 1px solid #d9c9a0; animation: reelBob 2.4s ease-in-out infinite;
}
.float-machine .reel.r2 { animation-delay: 0.35s; color: var(--green-2); }
.float-machine .reel.r3 { animation-delay: 0.7s; color: var(--gold-2); }
@keyframes reelBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.float-machine .coin {
  position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--gold) 60%, var(--gold-2));
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
.float-machine .coin.c1 { width: 13px; height: 13px; right: -7px; top: -7px; animation: coinPop 3s ease-in-out infinite; }
.float-machine .coin.c2 { width: 10px; height: 10px; right: -13px; bottom: -3px; animation: coinPop 3s ease-in-out 0.8s infinite; }
.float-machine .coin.c3 { width: 8px; height: 8px; left: -8px; top: -4px; animation: coinPop 3s ease-in-out 1.6s infinite; }
@keyframes coinPop { 0%, 100% { transform: translateY(0); opacity: 0.85; } 50% { transform: translateY(-6px); opacity: 1; } }
.float-copy { min-width: 0; margin-right: auto; }
.float-copy b { display: block; font-size: 0.9rem; line-height: 1.25; }
.float-copy span { display: block; font-size: 0.74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-cta { display: flex; gap: 8px; flex: none; }
.float-cta .btn { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- animasi hemat gerak ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-machine .reel, .float-machine .coin { animation: none; }
  .btn:hover { transform: none; }
}

/* ---------- responsif ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 50px; }
  .hero-media { order: -1; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: fixed; top: 86px; left: 0; right: 0; z-index: 119;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 10px 20px 16px; display: none; box-shadow: var(--shadow);
    max-height: calc(100vh - 86px); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 10px; font-size: 1rem; }
  .header-actions .header-search, .header-actions .btn { display: none; }
  .mobile-actions { display: flex; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { min-height: 190px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 78px; }
  .section { padding: 38px 0; }
  .hero-cta .btn { flex: 1 1 auto; }
  .header-inner { gap: 10px; min-height: 58px; }
  .brand { font-size: 1.05rem; }
  .brand .chip { width: 27px; height: 27px; }
  .main-nav { top: 84px; max-height: calc(100vh - 84px); }
  .promo-card { flex-direction: column; }
  .badge-big { width: 84px; height: 84px; }
  .float-widget { padding: 0 8px calc(8px + env(safe-area-inset-bottom)); }
  .float-inner { gap: 8px; padding: 8px 10px; border-radius: 14px; }
  .float-copy { display: none; }
  .float-cta { flex: 1; }
  .float-cta .btn { flex: 1; padding: 10px 10px; }
  .float-machine .reel { width: 14px; height: 20px; font-size: 0.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .terms-def div { grid-template-columns: 1fr; }
  .terms-def dt { border-bottom: 0; padding-bottom: 0; }
  .prose table { min-width: 460px; }
  .search-box { flex-direction: column; }
  .search-box button { width: 100%; }
}
