/* ==========================================================================
   Sinar777 — Portal Informasi Permainan Daring (Indonesia)
   Tema: kasino merah · emas · hijau · biru di atas hitam-putih
   ========================================================================== */
:root {
  --bg: #0a0d14;
  --bg-2: #0e1220;
  --panel: #121722;
  --panel-2: #171d2b;
  --line: rgba(245, 197, 66, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #f5c542;
  --gold-2: #ffd873;
  --gold-deep: #b8860b;
  --red: #e02543;
  --red-deep: #a5122b;
  --green: #1fbf6b;
  --blue: #3b82f6;
  --text: #e9ecf3;
  --muted: #a3acc0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background:
    radial-gradient(1100px 500px at 85% -100px, rgba(224, 37, 67, 0.14), transparent 60%),
    radial-gradient(900px 420px at -10% 240px, rgba(59, 130, 246, 0.10), transparent 55%),
    radial-gradient(700px 380px at 50% 110%, rgba(245, 197, 66, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  padding-bottom: 76px; /* ruang untuk floatbar agar konten tidak tertutup */
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only, .skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 300; background: var(--gold); color: #241a02; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.main { min-height: 40vh; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; letter-spacing: 0.2px; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; border-radius: 12px; border: 2px solid transparent;
  padding: 12px 22px; font-size: 0.95rem; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #d9a51f);
  color: #241a02; box-shadow: 0 6px 20px rgba(245, 197, 66, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { box-shadow: 0 10px 26px rgba(245, 197, 66, 0.5); }
.btn-red {
  background: linear-gradient(180deg, #f0435f, var(--red) 55%, var(--red-deep));
  color: #fff; box-shadow: 0 6px 20px rgba(224, 37, 67, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-s { padding: 9px 16px; font-size: 0.85rem; }

/* ---------- topbar & header ---------- */
.topbar { background: linear-gradient(90deg, var(--red-deep), var(--red) 50%, var(--red-deep)); font-size: 0.78rem; color: #ffe9ed; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; padding-bottom: 6px; }
.tb-note { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.badge18 {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--red-deep); font-weight: 900; border-radius: 6px;
  padding: 1px 6px; font-size: 0.72rem; border: 1.5px solid var(--red-deep); flex: none;
}
.tb-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.site-head { position: sticky; top: 0; z-index: 120; }
.head-main {
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-coin { width: 40px; height: 40px; filter: drop-shadow(0 3px 6px rgba(245, 197, 66, 0.4)); }
.brand-word { font-size: 1.3rem; font-weight: 900; color: #fff; letter-spacing: 0.5px; }
.brand-word b { color: var(--gold); }
.nav-list { display: flex; list-style: none; gap: 4px; padding: 0; flex-wrap: wrap; }
.nav-list a {
  display: block; color: var(--muted); font-weight: 700; font-size: 0.92rem;
  padding: 8px 12px; border-radius: 10px;
}
.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.nav-list a.active { color: var(--gold-2); background: rgba(245, 197, 66, 0.12); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, 0.07); color: var(--text); border: 1px solid var(--line-soft);
}
.search-btn:hover { color: var(--gold-2); border-color: var(--gold); }
.nav-toggle {
  display: none; flex-direction: column; gap: 4px; width: 40px; height: 38px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-soft); border-radius: 10px;
  cursor: pointer; padding: 8px 9px;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--text); border-radius: 2px; }

/* ---------- pencarian ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(6, 8, 14, 0.82);
  backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center;
  padding: 90px 18px 30px;
}
.search-overlay[hidden] { display: none; }
.search-panel { width: 640px; max-width: 100%; }
.search-bar {
  display: flex; align-items: center; gap: 10px; background: var(--panel);
  border: 2px solid var(--gold); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow);
}
.search-bar svg { color: var(--gold); flex: none; }
.search-bar input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: var(--text); font-size: 1.05rem;
}
.search-close { background: none; border: none; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.search-close:hover { color: #fff; }
.search-results { margin-top: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-height: 55vh; overflow-y: auto; }
.sr-item { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.sr-item:last-child { border-bottom: none; }
.sr-item:hover { background: rgba(245, 197, 66, 0.07); text-decoration: none; }
.sr-item b { color: var(--gold-2); display: block; font-size: 0.95rem; }
.sr-item span { color: var(--muted); font-size: 0.85rem; }
.sr-empty { padding: 16px; color: var(--muted); font-size: 0.92rem; }

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

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 20, 0.55) 0%, rgba(10, 13, 20, 0.82) 55%, var(--bg) 100%),
              radial-gradient(600px 300px at 18% 30%, rgba(224, 37, 67, 0.25), transparent 65%);
}
.hero-in { position: relative; z-index: 1; padding: 66px 20px 58px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-2);
  border: 1px solid var(--line); background: rgba(245, 197, 66, 0.08);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { max-width: 21ch; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { max-width: 62ch; color: #d6dbe8; margin: 16px 0 24px; font-size: 1.02rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-meta .chip-badge { font-size: 0.78rem; }

.chip-badge {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  padding: 5px 12px; font-size: 0.82rem; font-weight: 800;
}
.chip-badge.red { background: rgba(224, 37, 67, 0.15); color: #ff9fb1; border: 1px solid rgba(224, 37, 67, 0.45); }
.chip-badge.green { background: rgba(31, 191, 107, 0.13); color: #7fe0ae; border: 1px solid rgba(31, 191, 107, 0.4); }
.chip-badge.blue { background: rgba(59, 130, 246, 0.14); color: #9cc3ff; border: 1px solid rgba(59, 130, 246, 0.42); }
.chip-badge.gold { background: rgba(245, 197, 66, 0.13); color: var(--gold-2); border: 1px solid rgba(245, 197, 66, 0.42); }

/* ---------- seksi umum ---------- */
.sec { padding: 52px 0; }
.sec.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec-head { max-width: 760px; margin-bottom: 28px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-kicker {
  font-size: 0.75rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.sec-head h2 { color: #fff; }
.sec-head p { color: var(--muted); margin-top: 10px; }

/* ---------- kartu promosi ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; }
.promo-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.promo-card:hover { transform: translateY(-4px); border-color: rgba(245, 197, 66, 0.5); }
.promo-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.promo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo-tag {
  position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff;
  font-size: 0.72rem; font-weight: 900; letter-spacing: 0.6px; padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.promo-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-body h3 { color: #fff; font-size: 1.05rem; }
.promo-body p { color: var(--muted); font-size: 0.88rem; flex: 1; }
.promo-more { font-weight: 800; font-size: 0.85rem; }

/* ---------- keunggulan ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.adv-card {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 22px 20px; transition: border-color 0.18s ease, transform 0.18s ease;
}
.adv-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.adv-ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 12px; background: rgba(245, 197, 66, 0.12);
  border: 1px solid rgba(245, 197, 66, 0.35);
}
.adv-card h3 { font-size: 1rem; color: #fff; margin-bottom: 6px; }
.adv-card p { font-size: 0.87rem; color: var(--muted); }

/* ---------- split fitur (gambar + daftar) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.split-img img { width: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 18px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(31, 191, 107, 0.16); border: 1.5px solid var(--green); color: var(--green);
  font-weight: 900; font-size: 0.8rem;
}
.check-list b { color: #fff; display: block; }
.check-list span { color: var(--muted); font-size: 0.9rem; }

/* ---------- mobile & pembayaran ---------- */
.pay-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pay-pill {
  display: inline-flex; align-items: center; gap: 7px; background: var(--panel-2);
  border: 1px solid var(--line-soft); color: var(--text); font-weight: 800; font-size: 0.82rem;
  border-radius: 10px; padding: 9px 13px;
}
.pay-pill i { font-style: normal; }
.phone-mock {
  width: min(300px, 78vw); margin: 0 auto; border: 10px solid #1d2433; border-radius: 34px;
  background: #0c101a; box-shadow: var(--shadow), 0 0 0 2px var(--gold-deep); overflow: hidden;
}
.phone-screen { aspect-ratio: 9 / 17.5; display: flex; flex-direction: column; }
.phone-notch { height: 26px; display: flex; justify-content: center; align-items: center; }
.phone-notch::after { content: ""; width: 90px; height: 10px; border-radius: 999px; background: #1d2433; }
.phone-ui { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.pu-hero { border-radius: 12px; height: 84px; background: linear-gradient(135deg, var(--red-deep), var(--red)); position: relative; overflow: hidden; }
.pu-hero::after { content: "Sinar777"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #ffe9a8; font-size: 1.05rem; letter-spacing: 1px; }
.pu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pu-tile { aspect-ratio: 1; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 0.62rem; font-weight: 800; color: var(--muted); background: var(--panel-2); border: 1px solid var(--line-soft); }
.pu-tile i { font-style: normal; font-size: 1.15rem; }
.pu-bar { height: 38px; border-radius: 10px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); display: flex; align-items: center; justify-content: center; color: #241a02; font-weight: 900; font-size: 0.8rem; letter-spacing: 1px; }
.pu-rows { display: grid; gap: 7px; }
.pu-row { height: 30px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line-soft); }

/* ---------- testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.testi-card {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 12px; position: relative;
}
.testi-card::before {
  content: "\201C"; position: absolute; top: 2px; right: 16px; font-size: 3.4rem;
  color: rgba(245, 197, 66, 0.25); font-family: Georgia, serif; line-height: 1;
}
.testi-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }
.testi-card p { color: #d3d9e6; font-size: 0.9rem; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 10px; }
.testi-ava {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.85rem; color: #10131a;
}
.testi-who b { display: block; color: #fff; font-size: 0.88rem; }
.testi-who span { color: var(--muted); font-size: 0.76rem; }
.testi-note { text-align: center; color: var(--muted); font-size: 0.76rem; margin-top: 14px; }

/* ---------- kalkulator anggaran ---------- */
.calc {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.1fr 0.9fr; overflow: hidden;
}
.calc-form { padding: 26px; display: grid; gap: 18px; align-content: start; }
.calc-form label { font-weight: 800; font-size: 0.88rem; color: #fff; display: grid; gap: 8px; }
.calc-form input[type="number"], .calc-form select, .auth-form input, .auth-form select {
  width: 100%; background: var(--bg-2); color: var(--text); border: 1.5px solid var(--line-soft);
  border-radius: 10px; padding: 11px 13px; font-size: 0.95rem; outline: none;
}
.calc-form input:focus, .calc-form select:focus, .auth-form input:focus, .auth-form select:focus { border-color: var(--gold); }
.calc-range { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.calc-range output { font-weight: 900; color: var(--gold-2); font-size: 1rem; white-space: nowrap; }
input[type="range"] { width: 100%; accent-color: var(--gold); }
.calc-out {
  background: rgba(10, 13, 20, 0.55); border-left: 1px solid var(--line); padding: 26px;
  display: grid; gap: 14px; align-content: center; text-align: center;
}
.calc-big { font-size: 2rem; font-weight: 900; color: var(--gold); }
.calc-big small { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.calc-sub { color: #d3d9e6; font-size: 0.9rem; }
.calc-warn { font-size: 0.78rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }

/* ---------- keamanan ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.sec-mini { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; }
.sec-mini h3 { font-size: 0.98rem; color: #fff; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.sec-mini h3 .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sec-mini p { font-size: 0.86rem; color: var(--muted); }
.dot.g { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot.r { background: var(--red); box-shadow: 0 0 10px var(--red); }
.dot.b { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.dot.y { background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* ---------- artikel / prose ---------- */
.prose { max-width: 800px; }
.prose p { margin: 14px 0; color: #d3d9e6; }
.prose h2 { color: #fff; margin: 30px 0 10px; }
.prose h3 { color: var(--gold-2); margin: 22px 0 8px; }
.prose ul, .prose ol { color: #d3d9e6; margin: 12px 0; }
.prose li { margin: 6px 0; }
.prose figure { margin: 22px 0; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; }
.prose figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 8px; text-align: center; }
.prose blockquote {
  border-left: 4px solid var(--gold); background: rgba(245, 197, 66, 0.06);
  padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; color: #e6dcae;
}
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.88rem; display: block; overflow-x: auto; }
.prose th { background: rgba(245, 197, 66, 0.12); color: var(--gold-2); text-align: left; }
.prose th, .prose td { border: 1px solid var(--line-soft); padding: 10px 12px; vertical-align: top; }
.prose tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.03); }
.article-head { max-width: 800px; margin-bottom: 8px; }
.article-head .meta { color: var(--muted); font-size: 0.82rem; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.meta b { color: var(--gold-2); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px;
  align-items: center; padding: 15px 18px; font-weight: 800; color: #fff; font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; font-weight: 900; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px dashed var(--line-soft); }
.faq-item .faq-a { padding: 14px 18px; color: var(--muted); font-size: 0.9rem; }
.faq-item .faq-a p { margin: 0 0 8px; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- tag cloud ---------- */
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tagcloud a {
  background: var(--panel-2); border: 1px solid var(--line-soft); color: var(--text);
  border-radius: 999px; padding: 8px 16px; font-size: 0.84rem; font-weight: 700;
  transition: all 0.15s ease;
}
.tagcloud a:hover { border-color: var(--gold); color: var(--gold-2); text-decoration: none; transform: translateY(-2px); }
.tagcloud a b { color: var(--red); font-weight: 900; margin-right: 4px; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--red-deep), var(--red) 55%, #7c0d20);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between;
  box-shadow: var(--shadow);
}
.cta-strip h2 { color: #fff; font-size: 1.25rem; }
.cta-strip p { color: #ffd6de; font-size: 0.9rem; margin-top: 4px; }

/* ---------- kategori grid (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 210px; display: flex; align-items: flex-end; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(8, 10, 16, 0.92) 100%); }
.cat-body { position: relative; z-index: 1; padding: 18px; }
.cat-body h3 { color: #fff; }
.cat-body p { color: #c7cedd; font-size: 0.85rem; margin: 6px 0 10px; }
.cat-body a { font-weight: 800; font-size: 0.85rem; }

/* ---------- header halaman dalam ---------- */
.page-hero { padding: 34px 0 10px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--muted); max-width: 70ch; margin-top: 12px; }

/* ---------- form auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.auth-form { display: grid; gap: 16px; margin-top: 14px; }
.auth-form label { font-weight: 800; font-size: 0.86rem; color: #fff; display: grid; gap: 7px; }
.auth-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; border-top: 1px dashed var(--line-soft); padding-top: 12px; }
.auth-side { display: grid; gap: 16px; }
.auth-side .split-img img { aspect-ratio: 4 / 3; object-fit: cover; }
.form-msg { font-size: 0.85rem; color: #ffb3c0; min-height: 1.2em; }

/* ---------- footer ---------- */
.site-foot { background: #070a10; border-top: 1px solid var(--line); margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 40px 20px 26px; }
.foot-brand p { color: var(--muted); font-size: 0.85rem; margin: 12px 0 14px; max-width: 40ch; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-col h3 { color: var(--gold-2); font-size: 0.92rem; letter-spacing: 0.5px; margin-bottom: 12px; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: var(--muted); font-size: 0.86rem; }
.foot-col a:hover { color: var(--gold-2); }
.foot-legal { border-top: 1px solid var(--line-soft); padding: 18px 20px 26px; }
.foot-legal p { color: #77809a; font-size: 0.76rem; max-width: 100ch; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; color: #77809a; font-size: 0.8rem; }
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--gold-2); }
.foot-sep { color: #3a4358; }

/* ---------- floatbar (CTA bawah) ---------- */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: linear-gradient(180deg, rgba(20, 10, 14, 0.97), rgba(8, 5, 9, 0.99));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.55);
}
.floatbar-in { max-width: var(--wrap); margin: 0 auto; padding: 8px 16px; position: relative; display: flex; align-items: center; gap: 14px; }
.fb-reels { display: flex; gap: 6px; flex: none; }
.fb-reel {
  width: 34px; height: 40px; border-radius: 8px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #fff8e1, #ffe9a8 30%, #f5c542);
  border: 2px solid #8a5c06; box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.7), inset 0 -2px 4px rgba(120, 70, 0, 0.4);
  display: grid; place-items: center;
}
.fb-sym { position: absolute; width: 100%; text-align: center; font-weight: 900; font-size: 0.95rem; color: #8a1d06; line-height: 40px; }
.fb-reel.spin .fb-sym { animation: reelspin 1.6s linear infinite; }
@keyframes reelspin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-40px); }
}
.fb-btns { display: flex; gap: 10px; flex: 1; justify-content: center; }
.fb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 128px; padding: 11px 20px; border-radius: 999px;
  font-weight: 900; letter-spacing: 1.5px; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fb-btn:hover { text-decoration: none; transform: translateY(-2px) scale(1.03); }
.fb-daftar {
  background: linear-gradient(180deg, #ffe28a, var(--gold) 60%, #d9a51f); color: #241a02;
  box-shadow: 0 5px 18px rgba(245, 197, 66, 0.45), inset 0 1px 0 #fff;
  animation: pulseGold 2.2s ease-in-out infinite;
}
.fb-masuk {
  background: linear-gradient(180deg, #ff5c77, var(--red) 60%, var(--red-deep)); color: #fff;
  box-shadow: 0 5px 18px rgba(224, 37, 67, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 5px 18px rgba(245, 197, 66, 0.45), inset 0 1px 0 #fff; }
  50% { box-shadow: 0 8px 26px rgba(245, 197, 66, 0.75), inset 0 1px 0 #fff; }
}
.fb-coins { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.coin {
  position: absolute; bottom: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff3c4, var(--gold) 55%, #a97a08);
  border: 1.5px solid #8a5c06; opacity: 0;
  animation: coinrise var(--dur, 2.4s) ease-in forwards;
}
.coin::after { content: "$"; display: block; text-align: center; line-height: 13px; font-size: 9px; font-weight: 900; color: #7a5204; }
@keyframes coinrise {
  0% { transform: translateY(0) rotate(0deg) scale(0.6); opacity: 0; }
  12% { opacity: 0.95; }
  100% { transform: translateY(-86px) rotate(340deg) scale(1); opacity: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .calc { grid-template-columns: 1fr; }
  .calc-out { border-left: none; border-top: 1px solid var(--line); }
  .auth-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav { margin-left: auto; }
  .nav-list {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #0d1119; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 16px 16px; gap: 2px;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 11px 12px; }
  .head-actions .btn-ghost { display: none; }
  .tb-link { display: none; }
  .topbar-in { justify-content: center; }
  .hero-in { padding: 44px 20px 40px; }
  .fb-reels { display: none; }
  .sec { padding: 40px 0; }
}
@media (max-width: 600px) {
  body { padding-bottom: 70px; }
  .wrap { padding: 0 14px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .fb-btn { min-width: 0; flex: 1; padding: 10px 12px; letter-spacing: 1px; }
  .floatbar-in { padding: 8px 10px; gap: 8px; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .promo-grid, .cat-grid { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .tb-note { font-size: 0.7rem; }
}
@media (max-width: 380px) {
  .brand-word { font-size: 1.1rem; }
  .head-actions .btn-s { padding: 8px 10px; font-size: 0.78rem; }
  .fb-btn { font-size: 0.85rem; }
}

/* ---------- preferensi aksesibilitas ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
