/* ============================================================
   Mentari138 — Portal Informasi Permainan (Bahasa Indonesia)
   Tema: gelap elegan — hitam/navy, merah brand, aksen emas
   ============================================================ */

:root {
  --bg: #0a0e1c;
  --bg-2: #0f1528;
  --surface: #141c36;
  --surface-2: #1a2444;
  --line: #28345c;
  --red: #e0344b;
  --red-2: #b72240;
  --gold: #ffc75a;
  --gold-2: #eda12b;
  --gold-soft: rgba(255, 199, 90, 0.12);
  --green: #3ecf8e;
  --text: #f1f4fb;
  --muted: #a6b0cb;
  --muted-2: #7d87a8;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 14px 40px rgba(2, 6, 20, 0.55);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0 0 calc(76px + env(safe-area-inset-bottom, 0px)); /* ruang untuk float-bar */
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

p, li, h1, h2, h3, h4 { overflow-wrap: break-word; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

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

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--font);
  padding: 13px 24px; border-radius: var(--radius-s);
  border: 0; cursor: pointer; text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, #ffd27a, var(--gold-2));
  color: #241a05;
  box-shadow: 0 8px 22px rgba(237, 161, 43, 0.28);
}
.btn-gold:hover { box-shadow: 0 10px 26px rgba(237, 161, 43, 0.4); }
.btn-ghost {
  background: var(--gold-soft); color: #ffd88f;
  border: 1.5px solid rgba(255, 199, 90, 0.55);
}
.btn-ghost:hover { background: rgba(255, 199, 90, 0.2); }
.btn-red { background: linear-gradient(180deg, #e8425a, var(--red-2)); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.topbar {
  background: linear-gradient(90deg, var(--red-2), var(--red));
  font-size: 13px; color: #ffe9ec;
}
.topbar .container {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 34px; text-align: center;
}
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid #ffd7dc; font-weight: 800; font-size: 11.5px;
  color: #fff; flex: 0 0 auto;
}
.topbar span { opacity: 0.95; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(10, 14, 28, 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; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand-name {
  font-size: 21px; font-weight: 800; letter-spacing: 0.2px; line-height: 1.1;
}
.brand-name em { font-style: normal; color: var(--gold); }
.brand-sub {
  display: block; font-size: 10.5px; font-weight: 600; color: var(--muted-2);
  letter-spacing: 1.6px; text-transform: uppercase;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex; align-items: center; gap: 4px; list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--muted); font-weight: 600; font-size: 14.5px;
}
.main-nav a:hover { color: var(--text); background: var(--gold-soft); text-decoration: none; }
.main-nav a.active { color: var(--gold); background: var(--gold-soft); }

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

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); font-size: 20px; line-height: 1;
  padding: 8px 12px; cursor: pointer;
}

/* pencarian di header */
.header-search { display: flex; align-items: center; }
.header-search form { display: flex; }
.header-search input {
  width: 150px; padding: 9px 12px; border-radius: 8px 0 0 8px;
  border: 1px solid var(--line); border-right: 0;
  background: var(--surface); color: var(--text); font: 600 13.5px var(--font);
}
.header-search input:focus { outline: 2px solid var(--gold-2); }
.header-search button {
  border-radius: 0 8px 8px 0; border: 1px solid var(--gold-2);
  background: linear-gradient(180deg, #ffd27a, var(--gold-2));
  color: #241a05; font-weight: 800; font-size: 13.5px; padding: 0 13px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 72px 0 84px;
  background:
    linear-gradient(180deg, rgba(10, 14, 28, 0.78), rgba(10, 14, 28, 0.94)),
    url("../img/hero.jpg") center 38% / cover no-repeat;
}
.hero-inner { max-width: 820px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-soft); border: 1px solid rgba(255, 199, 90, 0.4);
  color: var(--gold); font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(28px, 5vw, 44px);
  line-height: 1.22; letter-spacing: -0.3px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: var(--muted); font-size: clamp(15.5px, 2.2vw, 18px); margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(20, 28, 54, 0.75); border: 1px solid var(--line);
  color: var(--muted); font-size: 13px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px;
}
.chip svg { color: var(--green); flex: 0 0 auto; }

/* ---------- Bagian umum ---------- */
.section { padding: 58px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-head h2 {
  margin: 0 0 10px; font-size: clamp(22px, 3.4vw, 30px); line-height: 1.3;
}
.section-head p { margin: 0; color: var(--muted); }
.eyebrow {
  display: inline-block; color: var(--gold); font-weight: 800; font-size: 12.5px;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 12px 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .icon-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); color: var(--gold);
  border: 1px solid rgba(255, 199, 90, 0.35);
}

/* split: teks + gambar */
.split { display: grid; gap: 34px; align-items: center; grid-template-columns: 1fr; }
.split .img-frame {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.split .img-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.split h2 { margin: 0 0 14px; font-size: clamp(21px, 3vw, 28px); }
.split p { color: var(--muted); }

.check-list { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); }
.check-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; margin-top: 2px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(62, 207, 142, 0.14); color: var(--green);
}

/* ---------- Ulasan ---------- */
.review { position: relative; }
.review .stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.review blockquote { margin: 12px 0 16px; color: var(--muted); font-size: 14.5px; }
.review .who { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-2), var(--red));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 14px;
}
.who strong { display: block; font-size: 14.5px; }
.who span { font-size: 12.5px; color: var(--muted-2); }
.note-illus {
  margin-top: 22px; text-align: center; font-size: 12.5px; color: var(--muted-2);
}

/* ---------- Langkah / langkah bernomor ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: 1fr; }
.step {
  counter-increment: step; display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.step::before {
  content: counter(step);
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); border: 1px solid rgba(255, 199, 90, 0.4);
  color: var(--gold); font-weight: 800; font-size: 15px;
}
.step h3 { margin: 2px 0 6px; font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Tabel ---------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface);
}
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
table.data th, table.data td {
  text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  background: var(--surface-2); color: var(--gold);
  font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase;
  white-space: nowrap;
}
table.data tr:last-child td { border-bottom: 0; }
table.data td { color: var(--muted); }
table.data td strong { color: var(--text); }

/* ---------- Artikel ---------- */
.article-layout { display: grid; gap: 34px; grid-template-columns: 1fr; }
.article-header { max-width: 800px; margin: 0 auto 26px; }
.article-header h1 {
  margin: 8px 0 12px; font-size: clamp(24px, 4vw, 34px); line-height: 1.28;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  color: var(--muted-2); font-size: 13.5px; margin-bottom: 10px;
}
.article-meta .dot { color: var(--line); }
.figure { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.figure figcaption {
  padding: 10px 16px; font-size: 12.5px; color: var(--muted-2);
  background: var(--surface); border-top: 1px solid var(--line);
}
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: clamp(20px, 3vw, 25px); margin: 34px 0 12px; line-height: 1.35; }
.prose h3 { font-size: 17.5px; margin: 24px 0 8px; }
.prose p { color: #c9d1e6; margin: 0 0 16px; }
.prose ul, .prose ol { color: #c9d1e6; margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .callout {
  border-left: 3px solid var(--gold); background: var(--gold-soft);
  border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 20px 0;
  color: var(--text); font-size: 14.5px;
}
.prose .callout.red { border-color: var(--red); background: rgba(224, 52, 75, 0.1); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 52px 17px 20px;
  font-weight: 700; font-size: 15.5px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); color: var(--gold);
  font-size: 21px; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); color: var(--gold); }
.faq .faq-body { padding: 15px 20px 18px; color: var(--muted); font-size: 14.5px; }
.faq .faq-body p { margin: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 16px 0 2px; font-size: 13px; color: var(--muted-2); }
.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-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); font-weight: 600; }

/* ---------- Kartu artikel terkait / tautan internal ---------- */
.link-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.link-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  color: var(--text); transition: border-color 0.15s ease;
}
.link-card:hover { border-color: rgba(255, 199, 90, 0.5); text-decoration: none; }
.link-card .lc-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px;
  background: var(--gold-soft); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.link-card strong { display: block; font-size: 15px; margin-bottom: 3px; }
.link-card span { font-size: 13.5px; color: var(--muted); }
.link-card .lc-go { color: var(--gold); font-weight: 800; font-size: 16px; margin-left: auto; align-self: center; }

/* ---------- Kartu promosi ---------- */
.promo-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.promo-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.promo-card .pc-media { position: relative; }
.promo-card .pc-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.promo-card .pc-media .pc-icon {
  height: 120px; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120px 70px at 50% 110%, rgba(255, 199, 90, 0.22), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--gold);
}
.promo-card .pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.promo-card h3 { margin: 0; font-size: 18px; }
.promo-card .pc-desc { margin: 0; color: var(--muted); font-size: 14px; }
.promo-card .pc-terms { margin: 0; }
.pc-terms { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pc-terms div {
  display: flex; gap: 10px; padding: 9px 13px; font-size: 13px;
  border-bottom: 1px solid var(--line); background: rgba(10, 14, 28, 0.35);
}
.pc-terms div:last-child { border-bottom: 0; }
.pc-terms dt { flex: 0 0 118px; color: var(--muted-2); font-weight: 700; }
.pc-terms dd { margin: 0; color: var(--muted); }
.promo-card .pc-cta { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Formulir ---------- */
.form-wrap { max-width: 470px; margin: 0 auto; }
.form-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.form-card h1 { margin: 0 0 6px; font-size: 25px; }
.form-card .form-sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  font: 600 14.5px var(--font);
}
.field input:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.field-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--gold-2); }
.form-note {
  margin-top: 18px; font-size: 12.5px; color: var(--muted-2); line-height: 1.65;
  border-top: 1px solid var(--line); padding-top: 14px;
}
.form-aside { max-width: 470px; margin: 26px auto 0; display: grid; gap: 12px; }
.info-box {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--line); border-left: 3px solid var(--green);
  background: var(--surface); border-radius: 10px; padding: 13px 16px;
  font-size: 13px; color: var(--muted);
}
.info-box.warn { border-left-color: var(--red); }
.info-box svg { flex: 0 0 auto; margin-top: 2px; }
.info-box strong { color: var(--text); }

/* ---------- Awan tag pencarian ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: 13.5px; font-weight: 600;
  padding: 8px 15px; border-radius: 999px;
}
.tag-cloud a:hover { border-color: rgba(255, 199, 90, 0.55); color: var(--gold); text-decoration: none; }

/* ---------- Pencarian ---------- */
.search-hero { text-align: center; padding: 46px 0 10px; }
.search-hero h1 { margin: 0 0 8px; font-size: clamp(23px, 3.6vw, 32px); }
.search-big { max-width: 640px; margin: 22px auto 30px; display: flex; }
.search-big input {
  flex: 1; padding: 14px 18px; border-radius: 12px 0 0 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: 600 15px var(--font);
}
.search-big input:focus { outline: 2px solid var(--gold-2); }
.search-big button {
  border-radius: 0 12px 12px 0; border: 1px solid var(--gold-2);
  background: linear-gradient(180deg, #ffd27a, var(--gold-2));
  color: #241a05; font-weight: 800; padding: 0 22px; cursor: pointer; font-size: 15px;
}
#search-results { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.search-empty { text-align: center; color: var(--muted); padding: 30px 0 10px; }
.search-result {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 18px 20px;
}
.search-result strong { font-size: 16px; display: block; margin-bottom: 4px; }
.search-result strong a { color: var(--text); }
.search-result strong a:hover { color: var(--gold); }
.search-result p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), #080b16);
}
.footer-grid {
  display: grid; gap: 30px; padding: 46px 0 34px; grid-template-columns: 1fr;
}
.footer-grid h4 {
  margin: 0 0 14px; font-size: 13px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--gold);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted); font-size: 14px; }
.footer-grid a:hover { color: var(--gold); }
.footer-about p { color: var(--muted); font-size: 13.5px; margin: 12px 0 0; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 22px 0 26px;
}
.footer-legal { display: grid; gap: 16px; }
.legal-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.legal-badges .badge-18 {
  border-color: var(--gold); color: var(--gold); background: var(--gold-soft);
}
.legal-badges .lb-text { font-size: 13px; color: var(--muted); font-weight: 600; }
.footer-legal p { margin: 0; font-size: 12.5px; color: var(--muted-2); line-height: 1.7; }
.footer-copy {
  margin-top: 16px; font-size: 12.5px; color: var(--muted-2);
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
}

/* ---------- Float bar (widget bawah) ---------- */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(10, 14, 28, 0.6), rgba(8, 11, 22, 0.96));
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 199, 90, 0.25);
}
.float-inner {
  max-width: 620px; margin: 0 auto; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(90deg, #1b1030, #241636 45%, #1b1030);
  border: 1px solid rgba(255, 199, 90, 0.45); border-radius: 999px;
  padding: 8px 10px 8px 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(224, 52, 75, 0.25);
}
.float-visual { position: relative; flex: 0 0 auto; width: 64px; height: 46px; }
.float-visual .shine {
  position: absolute; inset: 0; border-radius: 8px; overflow: hidden; pointer-events: none;
}
.float-visual .shine::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 26px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: reelsweep 3.2s linear infinite;
}
@keyframes reelsweep {
  0% { left: -30px; }
  55% { left: 70px; }
  100% { left: 70px; }
}
.float-text { min-width: 0; line-height: 1.3; }
.float-text strong {
  display: block; font-size: 14.5px; letter-spacing: 0.2px; white-space: nowrap;
}
.float-text span {
  display: block; font-size: 11px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.float-actions { margin-left: auto; display: flex; gap: 8px; flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .float-visual .shine::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Halaman 404 ---------- */
.error-hero { text-align: center; padding: 90px 20px 70px; }
.error-hero .code {
  font-size: 74px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 10px;
}
.error-hero h1 { font-size: 26px; margin: 0 0 10px; }
.error-hero p { color: var(--muted); margin: 0 0 24px; }

/* ============================================================
   Responsif
   ============================================================ */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .link-cards { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .article-layout .prose, .article-layout .article-header { max-width: none; }
  .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .link-cards { grid-template-columns: repeat(3, 1fr); }
  .promo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Menu seluler ---------- */
@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #0c1122; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); margin: 0; padding: 10px 16px 16px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: 15px; }
  .header-actions .header-search { display: none; }
  .header-actions .btn-ghost { display: none; }
  .mobile-search { display: block; margin-top: 10px; }
  .mobile-search form { display: flex; }
  .mobile-search input {
    flex: 1; padding: 11px 14px; border-radius: 10px 0 0 10px;
    border: 1px solid var(--line); border-right: 0;
    background: var(--surface); color: var(--text); font: 600 14px var(--font);
  }
  .mobile-search button {
    border-radius: 0 10px 10px 0; border: 1px solid var(--gold-2);
    background: linear-gradient(180deg, #ffd27a, var(--gold-2));
    color: #241a05; font-weight: 800; padding: 0 16px; cursor: pointer;
  }
}
@media (min-width: 1024px) {
  .mobile-search { display: none; }
}
@media (max-width: 480px) {
  .float-inner { gap: 8px; padding: 7px 8px 7px 10px; border-radius: 16px; }
  .float-text strong { font-size: 13px; }
  .float-text span { display: none; }
  .float-visual { width: 52px; height: 40px; }
  .btn { padding: 11px 16px; font-size: 14px; }
  .hero { padding: 54px 0 62px; }
}
