/* ============================================================
   Furla77 — Portal Informasi (Indonesia)
   Palet: hitam, putih, emas (brand), merah, hijau, biru malam
   ============================================================ */

:root {
  --ink: #0b0f14;
  --ink-2: #10151c;
  --ink-3: #151c25;
  --ink-4: #1a2330;
  --line: #26303e;
  --line-soft: #1d2633;
  --gold: #f2b632;
  --gold-2: #ffd166;
  --gold-dark: #c98f14;
  --red: #e5484d;
  --red-deep: #b33138;
  --green: #2fae74;
  --green-deep: #1d7a50;
  --blue: #3b82c4;
  --white: #f4f6f8;
  --muted: #9aa7b5;
  --muted-2: #7d8b9a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0 0 96px; /* ruang untuk widget mengambang bawah */
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--white);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(242, 182, 50, 0.07), transparent 60%),
    radial-gradient(900px 480px at -10% 12%, rgba(59, 130, 196, 0.06), transparent 55%),
    var(--ink);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

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

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

h1, h2, h3, h4 {
  line-height: 1.3;
  color: var(--white);
  font-weight: 800;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
h3 { font-size: clamp(1.08rem, 2vw, 1.3rem); }
p { margin: 0 0 1.1em; }

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

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 15, 20, 0.92);
  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;
  font-weight: 900;
  font-size: 1.28rem;
  letter-spacing: 0.4px;
  color: var(--white);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand .logo-chip { width: 34px; height: 34px; flex: 0 0 auto; }
.brand .b-gold { color: var(--gold); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 11px;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--white); background: var(--ink-3); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--gold); background: rgba(242, 182, 50, 0.1); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 10px;
  padding: 10px 20px;
  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(180deg, var(--gold-2), var(--gold) 55%, var(--gold-dark));
  color: #211500;
  box-shadow: 0 4px 16px rgba(242, 182, 50, 0.3);
}
.btn-gold:hover { box-shadow: 0 6px 22px rgba(242, 182, 50, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-green {
  background: linear-gradient(180deg, #3ec986, var(--green) 60%, var(--green-deep));
  color: #03130b;
  box-shadow: 0 4px 16px rgba(47, 174, 116, 0.28);
}
.btn-sm { padding: 8px 16px; font-size: 0.86rem; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--white);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--gold); }

.nav-toggle { display: none; }

/* ============ Breadcrumb ============ */
.breadcrumb {
  padding: 14px 0 4px;
  font-size: 0.85rem;
  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-2); }
.breadcrumb [aria-current="page"] { color: var(--gold); }

/* ============ Hero (beranda) ============ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(11, 15, 20, 0.55), rgba(11, 15, 20, 0.92) 70%),
    url("../img/hero-home.jpg") center 30% / cover no-repeat;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
  padding: 72px 0 64px;
}
.hero h1 { margin-bottom: 14px; }
.hero .lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #cfd8e0;
  max-width: 34em;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(16, 21, 28, 0.8);
  color: var(--muted);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.badge.badge-red { border-color: rgba(229, 72, 77, 0.5); color: #ff8f93; }
.badge.badge-gold { border-color: rgba(242, 182, 50, 0.5); color: var(--gold-2); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.05rem; color: var(--gold-2); }
.hero-card ul { margin: 0; padding-left: 18px; color: #cfd8e0; font-size: 0.92rem; }
.hero-card li { margin-bottom: 8px; }
.hero-card li::marker { color: var(--gold); }

/* ============ Section umum ============ */
.section { padding: 58px 0; border-bottom: 1px solid var(--line-soft); }
.section.alt { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head .kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); }

/* Grid kartu */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: rgba(242, 182, 50, 0.45); transform: translateY(-2px); }
.card .c-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(242, 182, 50, 0.12);
  border: 1px solid rgba(242, 182, 50, 0.35);
  margin-bottom: 14px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Kartu bergambar (kategori, artikel, promosi) */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 20px;
}
.media-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.media-card:hover { border-color: rgba(242, 182, 50, 0.45); transform: translateY(-2px); }
.media-card .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-card .thumb .tag {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.85);
  border: 1px solid rgba(242, 182, 50, 0.5);
  color: var(--gold-2);
}
.media-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.media-card h3 { font-size: 1.02rem; margin: 0; }
.media-card h3 a { color: var(--white); }
.media-card h3 a:hover { color: var(--gold-2); }
.media-card p { color: var(--muted); font-size: 0.9rem; margin: 0; flex: 1; }
.media-card .meta {
  font-size: 0.78rem;
  color: var(--muted-2);
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
  margin-top: 4px;
}

/* Layout dua kolom teks + gambar */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.split .img-frame { position: relative; }
.split .img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(242, 182, 50, 0.25);
  pointer-events: none;
}

.check-list { list-style: none; margin: 0 0 18px; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: #cfd8e0;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--green);
  background: rgba(47, 174, 116, 0.14);
  border: 1px solid rgba(47, 174, 116, 0.4);
}

.step-list { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 58px;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #211500;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
}
.step-list li::after {
  content: "";
  position: absolute;
  left: 19.5px;
  top: 44px;
  bottom: 2px;
  width: 1px;
  background: var(--line);
}
.step-list li:last-child::after { display: none; }
.step-list h3 { font-size: 1rem; margin-bottom: 4px; }
.step-list p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Testimoni / ilustrasi masukan pembaca */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.quote-card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.quote-card .q {
  font-size: 0.95rem;
  color: #d9e1e8;
  font-style: italic;
  margin-bottom: 14px;
}
.quote-card .who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted-2);
}
.quote-card .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  color: #211500;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
}
.note-mini {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 196, 0.08);
  border: 1px solid rgba(59, 130, 196, 0.35);
  color: #b9d2e8;
  font-size: 0.84rem;
}

/* Artikel / konten halaman */
.page-hero { padding: 42px 0 10px; }
.page-hero .kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.page-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.84rem;
  color: var(--muted-2);
  margin-top: 12px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  padding: 26px 0 64px;
  align-items: start;
}
.article-body { min-width: 0; }
.article-body > img.lead-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 6px 0 26px;
}
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.3em; }
.article-body p { color: #cfd8e0; }
.article-body ul, .article-body ol { color: #cfd8e0; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body li::marker { color: var(--gold); }
.article-body strong { color: var(--white); }

.info-box {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 22px 0;
  font-size: 0.93rem;
}
.info-box.warn {
  background: rgba(229, 72, 77, 0.08);
  border: 1px solid rgba(229, 72, 77, 0.35);
  color: #f3c2c4;
}
.info-box.tip {
  background: rgba(242, 182, 50, 0.07);
  border: 1px solid rgba(242, 182, 50, 0.35);
  color: #ecd9ac;
}
.info-box.safe {
  background: rgba(47, 174, 116, 0.08);
  border: 1px solid rgba(47, 174, 116, 0.35);
  color: #bfe6d3;
}

/* Sidebar */
.side-card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.side-card h2 { font-size: 1rem; color: var(--gold-2); margin-bottom: 12px; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { border-bottom: 1px solid var(--line-soft); }
.side-card li:last-child { border-bottom: 0; }
.side-card li a {
  display: block;
  padding: 10px 2px;
  color: #cfd8e0;
  font-size: 0.9rem;
}
.side-card li a:hover { color: var(--gold-2); }
.side-card .mini-note { font-size: 0.8rem; color: var(--muted-2); margin: 8px 0 0; }

/* Tabel syarat promo */
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table.terms { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
table.terms th, table.terms td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.terms th { background: var(--ink-4); color: var(--gold-2); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.6px; }
table.terms td { color: #cfd8e0; background: var(--ink-2); }
table.terms tr:last-child td { border-bottom: 0; }

/* Promo cards list */
.promo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.promo-item {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.promo-item .thumb { aspect-ratio: 16 / 8.5; overflow: hidden; position: relative; }
.promo-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo-item .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-item h2, .promo-item h3 { margin: 0; font-size: 1.05rem; }
.promo-item p { color: var(--muted); font-size: 0.9rem; margin: 0; flex: 1; }
.promo-item .terms-inline { font-size: 0.84rem; color: var(--muted); }
.promo-item .terms-inline summary {
  cursor: pointer;
  color: var(--gold-2);
  font-weight: 700;
  padding: 6px 0;
  list-style: none;
}
.promo-item .terms-inline summary::-webkit-details-marker { display: none; }
.promo-item .terms-inline summary::before { content: "▸ "; }
.promo-item .terms-inline[open] summary::before { content: "▾ "; }
.promo-item .terms-inline ul { margin: 6px 0 0; padding-left: 18px; }
.promo-item .terms-inline li { margin-bottom: 6px; }
.promo-item .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* FAQ */
.faq-list { max-width: 820px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-weight: 900; font-size: 1.1rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .a { padding: 0 18px 16px; color: var(--muted); font-size: 0.94rem; }
.faq-item .a p { margin: 0; }

/* Formulir auth */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: start;
  padding: 30px 0 70px;
}
.auth-card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.5rem; }
.auth-card .form-title { font-size: 1.32rem; margin-bottom: 0.4em; }
.auth-card .sub { color: var(--muted); font-size: 0.93rem; margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #cfd8e0;
  margin-bottom: 7px;
}
.form-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
}
.form-field input:focus {
  outline: 2px solid rgba(242, 182, 50, 0.55);
  border-color: var(--gold);
}
.form-field .hint { font-size: 0.78rem; color: var(--muted-2); margin-top: 5px; }
.form-note {
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.auth-side img { border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 18px; }
.auth-alt { text-align: center; margin-top: 14px; font-size: 0.9rem; color: var(--muted); }
.btn-block { width: 100%; padding: 13px 20px; font-size: 1rem; }

/* CTA band */
.cta-band {
  border-radius: var(--radius);
  border: 1px solid rgba(242, 182, 50, 0.4);
  background:
    radial-gradient(600px 200px at 90% 0%, rgba(242, 182, 50, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  padding: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-band h2 { margin: 0 0 6px; font-size: 1.25rem; }
.cta-band p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink), #080b0f);
  padding: 48px 0 26px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 30px;
}
.footer-grid h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--gold); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand p { color: var(--muted); }
.footer-legal {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  color: var(--muted-2);
  font-size: 0.8rem;
}
.footer-legal p { margin: 0 0 10px; }
.responsible {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 26px;
}
.responsible .badge { background: var(--ink-2); }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: #ff9a9d;
  font-weight: 900;
  font-size: 0.85rem;
  flex: 0 0 auto;
}

/* ============ Widget mengambang bawah ============ */
.float-widget {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.0), rgba(8, 11, 15, 0.88) 40%);
  pointer-events: none;
}
.float-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 860px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(242, 182, 50, 0.55);
  background:
    radial-gradient(340px 90px at 12% 120%, rgba(242, 182, 50, 0.22), transparent 65%),
    linear-gradient(180deg, #1a2330, #10151c);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}
.slot-visual { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.reel {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(242, 182, 50, 0.5);
  background: #0b0f14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  overflow: hidden;
  position: relative;
}
.reel .sym {
  animation: reelSpin 2.8s ease-in-out infinite;
}
.reel:nth-child(2) .sym { animation-delay: 0.35s; }
.reel:nth-child(3) .sym { animation-delay: 0.7s; }
@keyframes reelSpin {
  0%, 22% { transform: translateY(0); filter: none; }
  38% { transform: translateY(-6px) scale(0.82); filter: brightness(1.6); }
  54%, 100% { transform: translateY(0); filter: none; }
}
.coin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, #a97408);
  border: 1px solid #8a6206;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 900;
  color: #5c4302;
  flex: 0 0 auto;
  animation: coinPop 3s ease-in-out infinite;
}
@keyframes coinPop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.float-text { flex: 1; min-width: 0; }
.float-text .t1 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gold-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-text .t2 {
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.float-actions .btn { padding: 10px 18px; font-size: 0.86rem; }

/* ============ Search overlay ============ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 11, 15, 0.94);
  backdrop-filter: blur(6px);
  display: none;
  padding: 90px 20px 40px;
  overflow-y: auto;
}
.search-overlay.open { display: block; }
.search-box { max-width: 680px; margin: 0 auto; }
.search-input-wrap { position: relative; margin-bottom: 18px; }
.search-input-wrap .s-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
}
#searchInput {
  width: 100%;
  padding: 15px 120px 15px 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--white);
  font-family: var(--font);
  font-size: 1.05rem;
}
#searchInput:focus { outline: 2px solid rgba(242, 182, 50, 0.55); border-color: var(--gold); }
.search-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 8px;
}
.search-close:hover { color: var(--white); background: var(--ink-3); }
.hot-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hot-tags .ht-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cfd8e0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  cursor: pointer;
}
.hot-tags .ht-tag:hover { border-color: var(--gold); color: var(--gold-2); }
.search-results .sr-item {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 700;
}
.search-results .sr-item:hover { border-color: rgba(242, 182, 50, 0.45); text-decoration: none; }
.search-results .sr-item span { display: block; font-weight: 400; font-size: 0.84rem; color: var(--muted); margin-top: 3px; }
.search-empty { color: var(--muted); font-size: 0.92rem; }

/* Banner 18+ pada hero halaman konten */
.compliance-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 6px;
}

/* ============ Responsif ============ */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-layout .sidebar { max-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; padding: 52px 0 48px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .auth-layout { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    order: 3;
  }
  .header-actions .btn-ghost, .header-actions .btn-gold { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 1rem; }
  .brand { font-size: 1.1rem; }
  .header-actions { margin-left: auto; margin-right: 10px; }
  .float-inner { gap: 10px; padding: 8px 10px; }
  .slot-visual { display: none; }
  .float-text .t2 { display: none; }
  .float-actions { gap: 8px; margin-left: auto; }
  .float-actions .btn { padding: 9px 14px; font-size: 0.82rem; }
}

@media (max-width: 560px) {
  body { padding-bottom: 84px; }
  .container { padding: 0 14px; }
  .section { padding: 42px 0; }
  .hero-inner { padding: 40px 0 38px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .float-text { display: none; }
  .float-actions { width: 100%; }
  .float-actions .btn { flex: 1; }
  .cta-band { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .card-grid, .media-grid { grid-template-columns: 1fr; }
  .promo-strip { grid-template-columns: 1fr; }
  .auth-card { padding: 22px; }
}

/* Aksesibilitas dasar */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: #211500;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 800;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

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