/* ============================================================
   Muara777 — Portal Informasi Gaming Indonesia
   Palet: hitam, putih, emas (brand), merah, hijau, biru
   ============================================================ */
:root {
  --bg: #0b101b;
  --bg-2: #0e1524;
  --bg-3: #111a2c;
  --card: #131d30;
  --card-2: #17223a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --muted: #a4b1c6;
  --gold: #f6c453;
  --gold-2: #e8a020;
  --gold-dark: #3a2b0d;
  --gold-soft: rgba(246, 196, 83, 0.12);
  --red: #e5484d;
  --red-soft: rgba(229, 72, 77, 0.14);
  --green: #2fbf71;
  --green-soft: rgba(47, 191, 113, 0.15);
  --blue: #4f8cff;
  --blue-soft: rgba(79, 140, 255, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(2, 6, 16, 0.45);
  --float-h: 78px;
  --header-h: 70px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--float-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(232, 160, 32, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(79, 140, 255, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
  /* ruang untuk widget melayang agar konten terakhir tidak tertutup */
  padding-bottom: var(--float-h);
}

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

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

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

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

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

/* ---------------- Tombol ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  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(135deg, #ffd76a, var(--gold-2));
  color: #241a04;
  box-shadow: 0 6px 22px rgba(232, 160, 32, 0.35);
}
.btn--green {
  background: linear-gradient(135deg, #43d98a, #1fa563);
  color: #06220f;
  box-shadow: 0 6px 22px rgba(47, 191, 113, 0.32);
}
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--ghost:hover { background: var(--gold-soft); }
.btn--dark {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 27, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}
.brand img { width: 168px; height: 31px; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  flex: none;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }

.nav { margin-right: auto; }
.nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav a {
  display: block;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.06); text-decoration: none; color: var(--gold); }
.nav a.active { background: var(--gold-soft); color: var(--gold); }

.nav-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  min-width: 210px;
}
.nav-search input {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 14px;
  width: 100%;
  min-width: 0;
  outline: none;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search button {
  background: linear-gradient(135deg, #ffd76a, var(--gold-2));
  border: 0;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: none;
  color: #241a04;
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.badge-18 {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 26px;
  padding: 0 7px;
  border-radius: 8px;
  border: 1.5px solid var(--red);
  color: #ff8d92;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.4px;
}

/* ---------------- Hero beranda ---------------- */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(700px 340px at 78% 18%, rgba(246, 196, 83, 0.16), transparent 62%),
    radial-gradient(560px 300px at 12% 88%, rgba(79, 140, 255, 0.10), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(246, 196, 83, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.16;
  margin: 20px 0 16px;
  letter-spacing: -0.4px;
}
.hero h1 .gold {
  background: linear-gradient(120deg, #ffe49a, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  color: var(--muted);
  font-size: clamp(15.5px, 2vw, 17.5px);
  max-width: 54ch;
  margin: 0 0 26px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-note .badge-18 { flex: none; }
.hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(11, 16, 27, 0) 45%, rgba(11, 16, 27, 0.55));
  pointer-events: none;
}
.hero-chips {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-chips span {
  background: rgba(11, 16, 27, 0.78);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---------------- Section umum ---------------- */
.section { padding: 60px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 0 34px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-size: clamp(23px, 3.2vw, 32px);
  line-height: 1.25;
  margin: 12px 0 10px;
  letter-spacing: -0.3px;
}
.section-lede { color: var(--muted); margin: 0; }

/* ---------------- Kartu fitur ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(246, 196, 83, 0.4); }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 14px;
  font-size: 21px;
}
.card-icon--green { background: var(--green-soft); color: var(--green); }
.card-icon--blue { background: var(--blue-soft); color: var(--blue); }
.card-icon--red { background: var(--red-soft); color: #ff8d92; }
.card h3 { margin: 0 0 8px; font-size: 17.5px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------------- Split media + teks ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list li strong { color: var(--text); display: block; margin-bottom: 2px; }
.check-list .dot {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

/* ---------------- Ulasan ---------------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #241a04;
  background: linear-gradient(135deg, #ffd76a, var(--gold-2));
  flex: none;
}
.review-name { font-weight: 700; font-size: 15px; }
.review-role { color: var(--muted); font-size: 12.5px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.review p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.illus-note {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-3);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 12px 16px;
}

/* ---------------- Kamus istilah (details) ---------------- */
.gloss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
details.gloss,
details.faq,
details.terms {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
details.gloss summary,
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 46px 16px 18px;
  font-weight: 700;
  font-size: 15.5px;
  position: relative;
}
details.gloss summary::-webkit-details-marker,
details.faq summary::-webkit-details-marker { display: none; }
details.gloss summary::after,
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 800;
  transition: transform 0.2s ease;
}
details[open].gloss summary::after,
details[open].faq summary::after { content: "−"; }
details.gloss .gloss-body,
details.faq .faq-body {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14.5px;
}
details.gloss .gloss-body p,
details.faq .faq-body p { margin: 0 0 8px; }
details.faq .faq-body a { font-weight: 600; }

/* ---------------- Artikel / prose ---------------- */
.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.prose { max-width: 760px; }
.prose h2 {
  font-size: clamp(21px, 2.8vw, 27px);
  line-height: 1.3;
  margin: 40px 0 14px;
  padding-top: 10px;
}
.prose h3 { font-size: 18.5px; margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; color: #cdd6e4; }
.prose ul,
.prose ol { margin: 0 0 16px; padding-left: 22px; color: #cdd6e4; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); }
.prose a { font-weight: 600; }
.lead-figure {
  margin: 0 0 26px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.lead-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lead-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-3);
}
.tip-box {
  background: var(--gold-soft);
  border: 1px solid rgba(246, 196, 83, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--text);
}
.tip-box--blue { background: var(--blue-soft); border-color: rgba(79, 140, 255, 0.35); border-left-color: var(--blue); }
.tip-box--green { background: var(--green-soft); border-color: rgba(47, 191, 113, 0.35); border-left-color: var(--green); }
.warn-box {
  background: var(--red-soft);
  border: 1px solid rgba(229, 72, 77, 0.35);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 18px;
  font-size: 14.5px;
}
.table-wrap { overflow-x: auto; margin: 0 0 18px; border-radius: 12px; border: 1px solid var(--line); }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14.5px; }
.prose th,
.prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-3); color: var(--gold); font-size: 13.5px; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 22px;
}
.meta-line time { color: var(--gold); font-weight: 600; }

/* ---------------- Kepala halaman anak ---------------- */
.page-head {
  padding: 44px 0 8px;
}
.crumbs {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs li { list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.crumbs ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.page-head h1 {
  font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1.2;
  margin: 10px 0 12px;
  letter-spacing: -0.4px;
  max-width: 21ch;
}
.page-lede { color: var(--muted); font-size: clamp(15px, 2vw, 17px); max-width: 68ch; margin: 0; }

/* ---------------- Sidebar ---------------- */
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
}
.side-card h2 {
  font-size: 15.5px;
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-list a {
  display: block;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.side-list a:hover { border-color: rgba(246, 196, 83, 0.45); text-decoration: none; color: var(--gold); }
.side-list small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
}
.tag-cloud a:hover { color: var(--gold); border-color: rgba(246, 196, 83, 0.5); text-decoration: none; }
.tag-cloud a--hot { color: var(--gold); }
.side-cta {
  background: linear-gradient(150deg, rgba(246, 196, 83, 0.14), rgba(79, 140, 255, 0.08));
  border: 1px solid rgba(246, 196, 83, 0.35);
  text-align: center;
}
.side-cta p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

/* ---------------- Promo ---------------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.promo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.promo-card .promo-media { position: relative; }
.promo-card .promo-media img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.promo-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ffd76a, var(--gold-2));
  color: #241a04;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.promo-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-body h2 { margin: 0; font-size: 19px; }
.promo-body > p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.promo-actions { display: flex; gap: 10px; flex-wrap: wrap; }
details.terms { margin: 0; }
details.terms summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  background: var(--bg-3);
}
details.terms summary::-webkit-details-marker { display: none; }
details.terms summary::before { content: "▸ "; }
details[open].terms summary::before { content: "▾ "; }
.terms-body { padding: 6px 18px 14px; }
.terms-body dl { margin: 0; display: grid; grid-template-columns: 132px 1fr; gap: 8px 14px; font-size: 13.5px; }
.terms-body dt { color: var(--gold); font-weight: 700; }
.terms-body dd { margin: 0; color: var(--muted); }

/* ---------------- Artikel terkait ---------------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.related-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease;
  display: flex;
  flex-direction: column;
}
.related-card:hover { transform: translateY(-3px); border-color: rgba(246, 196, 83, 0.4); text-decoration: none; }
.related-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.related-card .rc-body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.related-card h3 { margin: 0; font-size: 15.5px; color: var(--text); line-height: 1.4; }
.related-card:hover h3 { color: var(--gold); }
.related-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------------- Formulir auth ---------------- */
.auth-wrap {
  max-width: 480px;
  margin: 0 auto;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.auth-card h1 { margin: 0 0 6px; font-size: 27px; }
.auth-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text);
}
.field input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus { border-color: var(--gold); }
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
  margin: 4px 0 18px;
}
.check-row input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--gold-2); flex: none; }
.auth-alt {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 18px 0 0;
}
.privacy-strip {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--blue-soft);
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
}
.privacy-strip span { flex: none; color: var(--blue); font-weight: 800; }

/* ---------------- Pencarian ---------------- */
.search-hero { max-width: 640px; margin: 0 auto 30px; }
.search-big {
  display: flex;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  align-items: center;
}
.search-big input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 16px;
  outline: none;
  min-width: 0;
}
.search-big input::placeholder { color: var(--muted); }
.results { display: grid; gap: 14px; }
.result-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.result-item .rcat {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}
.result-item h2 { margin: 6px 0 6px; font-size: 18px; }
.result-item h2 a { color: var(--text); }
.result-item h2 a:hover { color: var(--gold); text-decoration: none; }
.result-item p { margin: 0; color: var(--muted); font-size: 14px; }
mark { background: rgba(246, 196, 83, 0.28); color: var(--gold); border-radius: 3px; padding: 0 3px; }

/* ---------------- FAQ beranda ---------------- */
.faq-wrap { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
details.faq { background: var(--card); }

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #080c14;
  padding: 52px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 34px;
}
.foot-brand img { width: 158px; height: 29px; margin-bottom: 14px; }
.foot-col p { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.foot-col h2 {
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin: 4px 0 14px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col ul a { color: var(--muted); font-size: 14px; }
.foot-col ul a:hover { color: var(--gold); }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-badges span {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.foot-badges .b-red { border-color: var(--red); color: #ff8d92; }
.foot-badges .b-green { border-color: var(--green); color: var(--green); }
.foot-legal {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.8;
}
.foot-legal strong { color: var(--text); }
.foot-bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12.8px;
}

/* ---------------- Widget melayang ---------------- */
.float-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(13, 19, 32, 0.97), rgba(9, 13, 22, 0.99));
  border-top: 1px solid rgba(246, 196, 83, 0.45);
  box-shadow: 0 -12px 34px rgba(2, 6, 16, 0.6);
  height: var(--float-h);
  display: flex;
  align-items: center;
}
.float-in {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.float-slot {
  display: flex;
  gap: 5px;
  padding: 7px;
  background: linear-gradient(160deg, #1b2740, #101828);
  border: 1.5px solid rgba(246, 196, 83, 0.65);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  flex: none;
}
.float-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 230, 160, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: slotShine 4.5s ease-in-out infinite;
}
@keyframes slotShine {
  0%, 55% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}
.reel {
  width: 26px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #0b101b;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 900;
  font-style: normal;
  color: var(--gold);
  font-family: Arial, sans-serif;
}
.reel--cherry { color: #ff8d92; font-size: 14px; }
.reel--star { color: var(--blue); }
.float-copy { line-height: 1.3; margin-right: auto; min-width: 0; }
.float-copy strong { display: block; font-size: 16.5px; letter-spacing: 0.3px; }
.float-copy span { font-size: 12px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-coins { display: flex; gap: 6px; flex: none; }
.float-coins i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9ad, #e8a020 68%, #9c6b12);
  box-shadow: 0 2px 6px rgba(232, 160, 32, 0.5);
}
.float-coins i:nth-child(2) { width: 14px; height: 14px; align-self: center; }
.float-coins i:nth-child(3) { width: 11px; height: 11px; align-self: flex-end; }
.float-actions { display: flex; gap: 10px; flex: none; }
.float-actions .btn { padding: 11px 26px; font-size: 14.5px; }

/* ---------------- Responsif ---------------- */
@media (max-width: 1024px) {
  .nav-search { display: none; }
  .layout-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split--rev .split-media { order: -1; }
}

@media (max-width: 920px) {
  .burger { display: block; order: 3; }
  .header-cta .btn--ghost { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0c1220;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    padding: 10px 20px 18px;
    display: none;
  }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 12px 10px; font-size: 15.5px; }
  .nav .nav-search { display: flex; margin-top: 10px; min-width: 0; }
}

@media (max-width: 640px) {
  :root { --float-h: 66px; --header-h: 62px; }
  .section { padding: 44px 0; }
  .hero { padding: 40px 0 52px; }
  .brand img { width: 142px; height: 26px; }
  .header-cta .badge-18 { display: none; }
  .float-copy span { display: none; }
  .float-copy strong { font-size: 14.5px; }
  .float-slot .reel { width: 21px; height: 28px; font-size: 12.5px; }
  .float-actions .btn { padding: 10px 18px; font-size: 13.5px; }
  .float-coins { display: none; }
  .auth-card { padding: 26px 20px; }
  .terms-body dl { grid-template-columns: 1fr; gap: 2px 0; }
  .terms-body dt { margin-top: 8px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (max-width: 480px) {
  .float-copy { display: none; }
  .float-in { justify-content: space-between; }
  .float-actions { display: flex; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}

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