/* ============================================================
   Sarang188 — situs informasi game online (Bahasa Indonesia)
   Tema: gelap dengan aksen emas / merah / hijau
   ============================================================ */

:root {
  --bg: #0b101c;
  --bg-2: #0e1524;
  --surface: #131c30;
  --surface-2: #182238;
  --border: #263350;
  --border-2: #32436b;
  --gold: #f2b90d;
  --gold-2: #ffd65c;
  --gold-dark: #b98a04;
  --red: #e23b4e;
  --red-2: #ff5a6c;
  --green: #2fbf71;
  --blue: #4c8dff;
  --text: #eef2fa;
  --muted: #a7b2c8;
  --muted-2: #7e8aa3;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #ffe698; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }

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

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

/* ---------- tombol ---------- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background 0.15s ease, color 0.15s ease;
  text-align: center;
}
.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241a02;
  box-shadow: 0 4px 14px rgba(242, 185, 13, 0.35);
}
.btn-gold:hover {
  color: #241a02;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(242, 185, 13, 0.45);
}
.btn-outline {
  border-color: var(--border-2);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--gold-2); }
.btn-white {
  background: #f4f6fb;
  color: #171e2e;
}
.btn-white:hover { background: #ffffff; color: #171e2e; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-block { display: block; width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(11, 16, 28, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.4px;
}
.brand-accent { color: var(--gold); }
.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--gold-2); background: var(--surface); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- pencarian ---------- */
.search-box { position: relative; }
.search-form {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.search-form:focus-within { border-color: var(--gold); }
.search-input {
  width: 172px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.search-input::placeholder { color: var(--muted-2); }
.search-btn {
  display: flex;
  align-items: center;
  padding: 8px 11px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.search-btn:hover { color: var(--gold-2); }
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 40px);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 150;
  max-height: 380px;
  overflow-y: auto;
}
.sr-item {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text);
}
.sr-item:hover { background: var(--surface-2); color: var(--text); }
.sr-title { font-weight: 700; font-size: 14px; color: var(--gold-2); }
.sr-desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.sr-empty { padding: 12px; color: var(--muted); font-size: 14px; }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding-top: 14px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  color: var(--muted-2);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--muted-2);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-2); }

/* ---------- hero beranda ---------- */
.hero {
  position: relative;
  padding: 72px 0 84px;
  background:
    linear-gradient(180deg, rgba(11, 16, 28, 0.82), rgba(11, 16, 28, 0.94)),
    url("/assets/img/hero.jpg") center 38% / cover no-repeat,
    var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 780px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(242, 185, 13, 0.12);
  border: 1px solid rgba(242, 185, 13, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.hero-title {
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 800;
  margin: 0 0 18px;
}
.hero-title .gold { color: var(--gold-2); }
.hero-lead {
  font-size: clamp(15.5px, 1.8vw, 18px);
  color: var(--muted);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 24px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 13px;
  border-radius: 999px;
}
.chip-age {
  color: #ffd9de;
  background: rgba(226, 59, 78, 0.16);
  border-color: rgba(226, 59, 78, 0.5);
}

/* ---------- bagian umum ---------- */
.section { padding: 58px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0 0 14px;
}
.section-lead { color: var(--muted); max-width: 720px; }
.section-note { color: var(--muted-2); font-size: 13.5px; margin: 14px 0 0; }

/* ---------- kartu kategori ---------- */
.cat-grid,
.feature-grid,
.pay-grid,
.testi-grid,
.rel-grid,
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--text);
}
.cat-media { aspect-ratio: 16 / 10; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card h3 { margin: 16px 16px 8px; font-size: 18.5px; }
.cat-card p { margin: 0 16px 12px; color: var(--muted); font-size: 14.5px; flex: 1; }
.cat-link {
  display: inline-block;
  margin: 0 16px 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-2);
}
.cat-card:hover .cat-link { text-decoration: underline; }

/* ---------- promo ringkas ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.promo-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 46px 20px 20px;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.promo-card:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--text); }
.promo-badge {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #241a02;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-radius: 999px;
  padding: 4px 12px;
}
.promo-card h3 { margin: 0 0 8px; font-size: 18px; }
.promo-card p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }

/* ---------- keunggulan ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(242, 185, 13, 0.13);
  color: var(--gold-2);
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 16.5px; margin: 0 0 6px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- metode bayar ---------- */
.pay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.pay-card h3 { font-size: 16px; margin: 0 0 6px; color: var(--text); }
.pay-card p { margin: 0; color: var(--muted); font-size: 14px; }
.note-box {
  margin-top: 22px;
  padding: 14px 18px;
  background: rgba(76, 141, 255, 0.08);
  border: 1px solid rgba(76, 141, 255, 0.3);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
}

/* ---------- testi ---------- */
.testi-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.testi-card blockquote {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--text);
  flex: 1;
}
.testi-card blockquote::before {
  content: "“";
  display: block;
  font-size: 40px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 6px;
}
.testi-card figcaption { color: var(--muted-2); font-size: 13.5px; font-weight: 600; }

/* ---------- kamus istilah ---------- */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.glossary-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.glossary-item h3 {
  font-size: 15.5px;
  color: var(--gold-2);
  margin: 0 0 6px;
}
.glossary-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- keamanan ---------- */
.secure-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232fbf71'%3E%3Cpath d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 19.9 8.1l-1.4-1.4z'/%3E%3C/svg%3E")
    center / contain no-repeat, rgba(47, 191, 113, 0.14);
}
.secure-media img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.media-caption {
  font-size: 13px;
  color: var(--muted-2);
  margin: 10px 4px 0;
}

/* ---------- artikel ---------- */
.listing-hero {
  padding: 52px 0 8px;
  background:
    radial-gradient(900px 300px at 85% -40%, rgba(242, 185, 13, 0.12), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.listing-hero h1 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 12px; }
.article-page .article-head { padding-top: 40px; }
.article-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  margin-bottom: 10px;
}
.article-feature .article-title { font-size: clamp(22px, 3vw, 30px); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted-2);
  font-size: 13.5px;
  margin: 0;
}
.article-hero {
  margin: 22px 0 0;
}
.article-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.article-hero figcaption {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 10px;
}
.article-narrow { max-width: 840px; }
.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: #dbe2f0;
  padding-bottom: 8px;
}
.article-body p { margin: 0 0 1.1em; }
.article-body h2 {
  font-size: 23px;
  margin: 1.6em 0 0.6em;
  color: var(--text);
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}
.article-body h3 {
  font-size: 18.5px;
  margin: 1.3em 0 0.5em;
  color: var(--gold-2);
}
.article-body ul li, .article-body ol li { margin-bottom: 0.4em; }
.article-body strong { color: var(--text); }
.article-inline {
  margin: 26px 0;
}
.article-inline img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.article-inline figcaption {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 8px;
}
.article-body .data-table { width: 100%; }

/* ---------- tabel data ---------- */
.data-table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0 24px;
  font-size: 14.5px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.data-table caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--muted-2);
  padding: 0 0 8px;
}
.data-table th, .data-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table thead th {
  background: var(--surface-2);
  color: var(--gold-2);
  font-size: 13.5px;
}
.data-table tbody th { color: var(--gold-2); font-weight: 700; width: 32%; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- artikel terkait / daftar artikel ---------- */
.rel-card, .art-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.rel-card:hover, .art-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--text);
}
.rel-media, .art-media { aspect-ratio: 16 / 10; overflow: hidden; }
.rel-media img, .art-media img { width: 100%; height: 100%; object-fit: cover; }
.rel-card h3 { margin: 14px 16px 6px; font-size: 16px; }
.rel-card p { margin: 0 16px 16px; font-size: 13.5px; color: var(--muted); }
.art-eyebrow {
  margin: 14px 16px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
}
.art-title { margin: 6px 16px 8px; font-size: 18px; }
.art-desc { margin: 0 16px 12px; font-size: 14px; color: var(--muted); flex: 1; }
.art-card .cat-link { margin: 0 16px 16px; }

/* ---------- daftar promo ---------- */
.promo-list { display: grid; gap: 22px; }
.promo-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.pd-head {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}
.pd-head img {
  width: 168px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.pd-head h2 { font-size: 20px; margin: 8px 0 6px; }
.pd-head p { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.promo-static {
  display: inline-block;
  font-size: 12.5px;
  color: var(--muted-2);
  border: 1px dashed var(--border-2);
  border-radius: 8px;
  padding: 6px 10px;
}
.terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}
.terms-list li {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13.8px;
  color: var(--muted);
}
.terms-list strong { color: var(--gold-2); display: block; margin-bottom: 2px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.6px; }

/* ---------- FAQ ---------- */
.faq-narrow { max-width: 820px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(242, 185, 13, 0.14);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold-2);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after { width: 2px; height: 10px; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { padding: 0 18px 16px; color: var(--muted); font-size: 15px; }
.faq-a p { margin: 0; }

/* ---------- tag cloud ---------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.tag {
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.tag:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- halaman auth ---------- */
.auth-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 26px;
  align-items: start;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.auth-card h2 { font-size: 21px; }
.auth-note {
  font-size: 14px;
  color: var(--muted);
  background: rgba(76, 141, 255, 0.08);
  border: 1px solid rgba(76, 141, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  margin-bottom: 20px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.form-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 185, 13, 0.18);
}
.field-hint { font-size: 13px; color: var(--muted-2); margin: 7px 0 0; }
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.8px;
  color: var(--muted);
  margin: 14px 0;
  cursor: pointer;
}
.check-row input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; }
.auth-card .btn-block { margin-top: 18px; }
.auth-side { display: grid; gap: 16px; }
.side-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.side-box h3 { font-size: 16px; margin-bottom: 10px; color: var(--gold-2); }
.side-box p { font-size: 14px; color: var(--muted); margin: 0; }
.side-box .check-list li { font-size: 14px; }

/* ---------- footer ---------- */
.site-footer {
  background: #080c15;
  border-top: 1px solid var(--border);
  padding-top: 48px;
  /* ruang untuk float bar tanpa membuat celah ekstra di bawah footer */
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
}
.footer-col h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-2); }
.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 16px;
  max-width: 320px;
}
.footer-badges { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red-2);
  color: #ffd9de;
  font-weight: 800;
  font-size: 15px;
  background: rgba(226, 59, 78, 0.14);
}
.foot-chip {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
}
.footer-legal { border-top: 1px solid var(--border); padding: 22px 20px 0; }
.disclaimer {
  font-size: 13px;
  color: var(--muted-2);
  max-width: 980px;
}
.copy {
  font-size: 13px;
  color: var(--muted-2);
  margin: 12px 0 0;
}

/* ---------- float bar ---------- */
.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px max(14px, env(safe-area-inset-left, 0px)) 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(90deg, #131c30 0%, #1b2440 55%, #2a1d33 100%);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
}
.float-visual {
  position: relative;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}
.reel {
  width: 24px;
  height: 36px;
  overflow: hidden;
  border-radius: 6px;
  background: #0d1322;
  border: 1px solid var(--border-2);
}
.reel i {
  display: block;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-style: normal;
  font-weight: 800;
  font-size: 17px;
}
.reel i:nth-child(3n+1) { color: var(--gold-2); }
.reel i:nth-child(3n+2) { color: var(--red-2); }
.reel i:nth-child(3n+3) { color: var(--green); }
@keyframes reelspin {
  from { transform: translateY(0); }
  to { transform: translateY(-216px); }
}
.reel.r1 { animation: reelspin 2.4s linear infinite; }
.reel.r2 { animation: reelspin 3.1s linear infinite; }
.reel.r3 { animation: reelspin 2.8s linear infinite; }
.coin {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, #a97f03);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.coin.c1 { width: 14px; height: 14px; top: -8px; left: -6px; animation: coinbob 1.9s ease-in-out infinite; }
.coin.c2 { width: 10px; height: 10px; top: -12px; left: 40px; animation: coinbob 2.3s ease-in-out infinite 0.4s; }
.coin.c3 { width: 8px; height: 8px; top: -6px; right: -8px; animation: coinbob 2.1s ease-in-out infinite 0.8s; }
@keyframes coinbob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-cta { display: flex; align-items: center; gap: 16px; justify-content: flex-end; flex-wrap: wrap; }
.float-label {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 220px;
  line-height: 1.35;
}
.float-buttons { display: flex; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  .reel.r1, .reel.r2, .reel.r3, .coin { animation: none; }
  * { transition: none !important; }
}

/* ============================================================
   Responsif
   ============================================================ */
@media (max-width: 1024px) {
  .search-input { width: 130px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .secure-wrap { grid-template-columns: 1fr; gap: 24px; }
  .secure-media img { max-height: 320px; object-fit: cover; }
}

@media (max-width: 900px) {
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 16px;
  }
  body.nav-open .main-nav { display: block; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-link { padding: 12px 14px; font-size: 15.5px; }
  .header-actions .search-box { display: none; }
  body.nav-open .header-actions .search-box {
    display: block;
    position: absolute;
    top: calc(100% + 206px);
    left: 20px;
    right: 20px;
  }
  body.nav-open .search-form { width: 100%; }
  body.nav-open .search-input { width: 100%; flex: 1; }
  .auth-wrap { grid-template-columns: 1fr; }
  .pd-head { flex-direction: column; align-items: flex-start; }
  .pd-head img { width: 100%; max-width: 320px; }
}

@media (min-width: 901px) {
  .search-results { left: auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .hero { padding: 54px 0 62px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cat-grid, .feature-grid, .pay-grid, .testi-grid, .promo-grid,
  .rel-grid, .art-grid { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .terms-list { grid-template-columns: 1fr; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 20px; }
  .data-table { font-size: 13.5px; }
  .data-table th, .data-table td { padding: 8px 10px; }
  .float-label { display: none; }
  .float-buttons { flex: 1; justify-content: flex-end; }
  .float-buttons .btn { flex: 1; max-width: 160px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-legal { padding: 22px 16px 0; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 18px; }
  .float-bar { gap: 8px; }
  .reel { width: 20px; height: 30px; }
  .reel i { height: 30px; line-height: 30px; font-size: 14px; }
  @keyframes reelspin {
    from { transform: translateY(0); }
    to { transform: translateY(-180px); }
  }
}
