/* ==========================================================================
   Togel389 — assets/css/style.css
   Tema: hitam · putih · merah · hijau · kuning emas · biru (kasino)
   Responsif penuh, tanpa dependensi eksternal.
   ========================================================================== */

:root {
  --bg: #0b0e0c;
  --bg-2: #10140f;
  --surface: #151b15;
  --surface-2: #1b231b;
  --line: #2a342b;
  --line-soft: #222b23;
  --ink: #f4f7f2;
  --ink-dim: #cdd6cd;
  --muted: #9fae9f;
  --red: #e0203a;
  --red-deep: #a51029;
  --red-soft: rgba(224, 32, 58, 0.14);
  --green: #1cab62;
  --green-deep: #0e7a44;
  --green-soft: rgba(28, 171, 98, 0.13);
  --gold: #f6c445;
  --gold-deep: #d9a416;
  --gold-soft: rgba(246, 196, 69, 0.12);
  --blue: #3d9be9;
  --blue-soft: rgba(61, 155, 233, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --header-h: 66px;
  --float-h: 66px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 85% -140px, rgba(224, 32, 58, 0.16), transparent 62%),
    radial-gradient(900px 480px at -10% 6%, rgba(28, 171, 98, 0.10), transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  /* ruang untuk floating bar — pas, tanpa blanko ekstra */
  padding-bottom: var(--float-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--white); }
ul, ol { padding-left: 1.25rem; }
p { overflow-wrap: break-word; }

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

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

/* ============ Tombol ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #171204; box-shadow: 0 8px 22px rgba(246, 196, 69, 0.28); }
.btn--gold:hover { color: #000; box-shadow: 0 12px 26px rgba(246, 196, 69, 0.42); }
.btn--red { background: linear-gradient(180deg, #ef3b53, var(--red-deep)); color: #fff; box-shadow: 0 8px 22px rgba(224, 32, 58, 0.32); }
.btn--red:hover { color: #fff; }
.btn--green { background: linear-gradient(180deg, #23c974, var(--green-deep)); color: #04170d; box-shadow: 0 8px 22px rgba(28, 171, 98, 0.3); }
.btn--green:hover { color: #04170d; }
.btn--ghost { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.28); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--lg { padding: 15px 34px; font-size: 16.5px; }
.btn--block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(11, 14, 12, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: 4px; }
.brand__text { font-size: 21px; font-weight: 800; letter-spacing: 0.4px; color: var(--white); font-style: italic; }
.brand__text b { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink-dim);
  font-weight: 600; font-size: 14.5px; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.nav-links a.is-active { color: var(--gold); }
.nav-cta { display: flex; gap: 10px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--ink-dim);
  transition: color 0.15s, border-color 0.15s;
}
.icon-btn:hover { color: var(--gold); border-color: var(--gold); }
.icon-btn--burger { display: none; flex-direction: column; gap: 4.5px; }
.icon-btn--burger span { width: 17px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.icon-btn--burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.icon-btn--burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.icon-btn--burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.header-cta { display: inline-flex; }

@media (max-width: 1080px) {
  .icon-btn--burger { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 110;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: #0d110e; border-bottom: 1px solid var(--line);
    padding: 14px 20px 20px; box-shadow: var(--shadow);
    display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 12px 14px; font-size: 15.5px; }
  .nav-cta { margin-top: 10px; }
  .nav-cta .btn { flex: 1; }
}

/* ============ Breadcrumb ============ */
.breadcrumb { padding: 13px 0 2px; font-size: 13px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--line); font-size: 15px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); font-weight: 600; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 12, 0.55) 0%, rgba(11, 14, 12, 0.82) 55%, var(--bg) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 74px 0 66px; max-width: 720px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-soft); border: 1px solid rgba(224, 32, 58, 0.5);
  color: #ff92a1; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.16; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { margin-top: 16px; font-size: clamp(15px, 1.7vw, 17.5px); color: var(--ink-dim); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; color: var(--ink-dim); font-weight: 600;
}
.chip--green { border-color: rgba(28, 171, 98, 0.45); color: #7ce0ac; }
.chip--gold { border-color: rgba(246, 196, 69, 0.4); color: var(--gold); }
.chip--blue { border-color: rgba(61, 155, 233, 0.4); color: #8ec9f5; }
.chip--red { border-color: rgba(224, 32, 58, 0.45); color: #ff92a1; }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* hero halaman dalam */
.hero--page { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero--page .hero__inner { padding: 46px 0 40px; }
.hero--page h1 { font-size: clamp(26px, 3.6vw, 38px); }
.hero--page__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.hero--page__meta span { display: inline-flex; gap: 6px; align-items: center; }

/* ============ Section umum ============ */
.section { padding: 62px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--dark { background: #0d110e; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section__head { max-width: 720px; margin-bottom: 34px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.section__title { font-size: clamp(23px, 3vw, 31px); font-weight: 800; color: var(--white); line-height: 1.25; letter-spacing: -0.3px; }
.section__title em { font-style: normal; color: var(--gold); }
.section__desc { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

/* ============ Kartu kategori ============ */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(246, 196, 69, 0.5); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 16 / 9.4; object-fit: cover; width: 100%; }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__tag {
  align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.card__tag--red { background: var(--red-soft); color: #ff92a1; }
.card__tag--green { background: var(--green-soft); color: #7ce0ac; }
.card__tag--gold { background: var(--gold-soft); color: var(--gold); }
.card__tag--blue { background: var(--blue-soft); color: #8ec9f5; }
.card__title { font-size: 18.5px; font-weight: 800; color: var(--white); line-height: 1.35; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--gold); }
.card__text { color: var(--muted); font-size: 14.5px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.card__link { font-weight: 700; font-size: 14px; }

/* ============ Keunggulan (fitur) ============ */
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start; transition: border-color 0.18s, transform 0.18s; }
.feature:hover { border-color: rgba(28, 171, 98, 0.55); transform: translateY(-3px); }
.feature__icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-soft); color: var(--green); border: 1px solid rgba(28, 171, 98, 0.35);
}
.feature__icon--gold { background: var(--gold-soft); color: var(--gold); border-color: rgba(246, 196, 69, 0.35); }
.feature__icon--red { background: var(--red-soft); color: #ff92a1; border-color: rgba(224, 32, 58, 0.4); }
.feature__icon--blue { background: var(--blue-soft); color: var(--blue); border-color: rgba(61, 155, 233, 0.4); }
.feature__title { font-size: 16.5px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.feature__text { font-size: 14px; color: var(--muted); }

/* ============ Checklist / why-us ============ */
.check-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list__mark {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--green-soft); border: 1.5px solid var(--green); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.check-list b { color: var(--white); }
.check-list p { color: var(--muted); font-size: 14.5px; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 26px; } }
.split__img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Tag cloud ============ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink-dim);
  font-size: 13px; font-weight: 600; transition: all 0.15s ease;
}
.tag:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.tag--hot { border-color: rgba(224, 32, 58, 0.5); color: #ff92a1; }
.tag--hot::before { content: "🔥"; font-size: 12px; }

/* ============ Artikel / konten tulisan ============ */
.prose { color: var(--ink-dim); font-size: 16px; }
.prose h2 { color: var(--white); font-size: 24px; margin: 34px 0 12px; letter-spacing: -0.3px; line-height: 1.3; }
.prose h3 { color: var(--white); font-size: 19px; margin: 26px 0 10px; }
.prose p { margin: 0 0 15px; }
.prose ul, .prose ol { margin: 0 0 16px; color: var(--ink-dim); }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--gold); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--white); }
.prose figure { margin: 22px 0; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 9px; text-align: center; }
.prose blockquote {
  border-left: 3px solid var(--gold); background: rgba(246, 196, 69, 0.06);
  padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 20px 0; color: var(--ink);
}
.article-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ============ Testimoni ============ */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.quote__stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.quote__text { color: var(--ink-dim); font-size: 14.5px; font-style: italic; flex: 1; }
.quote__user { display: flex; align-items: center; gap: 12px; }
.quote__ava {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #10130f;
}
.quote__name { font-weight: 700; font-size: 14.5px; color: var(--white); }
.quote__role { font-size: 12.5px; color: var(--muted); }

/* ============ Langkah / steps ============ */
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
  background: linear-gradient(160deg, var(--gold), var(--gold-deep)); color: #171204;
}
.step__title { font-weight: 800; color: var(--white); font-size: 16px; margin-bottom: 6px; }
.step__text { font-size: 14px; color: var(--muted); }

/* ============ Tabel syarat ============ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.terms { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
table.terms th, table.terms td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.terms th { background: var(--surface-2); color: var(--white); font-size: 13.5px; letter-spacing: 0.3px; white-space: nowrap; }
table.terms td { color: var(--ink-dim); }
table.terms tr:last-child td { border-bottom: none; }
table.terms td:first-child { color: var(--white); font-weight: 600; white-space: nowrap; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item.is-open { border-color: rgba(246, 196, 69, 0.45); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 15.5px; font-weight: 700; color: var(--white); line-height: 1.45;
}
.faq__q:hover { color: var(--gold); }
.faq__q-icon {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 17px; font-weight: 700;
  background: var(--gold-soft); color: var(--gold); transition: transform 0.2s;
}
.faq__item.is-open .faq__q-icon { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }
.faq__item.is-open .faq__a { display: block; }
.faq__a a { text-decoration: underline; text-underline-offset: 3px; }

/* ============ Kalkulator anggaran ============ */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 880px) { .calc { grid-template-columns: 1fr; } }
.calc__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-dim); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink);
  font-family: inherit; font-size: 15px;
}
.field input:focus, .field select:focus { outline: 2px solid var(--green); border-color: var(--green); }
.calc__out { display: grid; gap: 12px; }
.calc__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg-2); border: 1px solid var(--line); padding: 14px 16px; border-radius: var(--radius-sm); }
.calc__row b { color: var(--white); font-size: 15px; }
.calc__row--alert { border-color: rgba(224, 32, 58, 0.55); background: rgba(224, 32, 58, 0.08); }
.calc__row--ok { border-color: rgba(28, 171, 98, 0.5); background: rgba(28, 171, 98, 0.08); }
.calc__note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ============ Form auth ============ */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: stretch; }
@media (max-width: 880px) { .auth { grid-template-columns: 1fr; } }
.auth__aside { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.auth__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.auth__aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(11,14,12,0.15), rgba(11,14,12,0.9)); }
.auth__aside-inner { position: relative; z-index: 2; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.auth__aside-inner h2 { color: var(--white); font-size: 24px; margin-bottom: 8px; }
.auth__aside-inner p { color: var(--ink-dim); font-size: 14.5px; }
.auth__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-note a { text-decoration: underline; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-dim); margin: 4px 0 16px; }
.checkbox-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green); }

/* ============ CTA band ============ */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(600px 260px at 50% -60px, rgba(246, 196, 69, 0.16), transparent 70%),
    linear-gradient(180deg, #131a13, #0d110e);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 58px 0;
}
.cta-band h2 { font-size: clamp(23px, 3vw, 30px); color: var(--white); font-weight: 800; }
.cta-band p { color: var(--muted); margin: 12px auto 26px; max-width: 560px; font-size: 15px; }
.cta-band__actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ============ Notices ============ */
.notice { border-radius: var(--radius-sm); padding: 15px 18px; font-size: 13.5px; display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; line-height: 1.6; }
.notice b { display: block; margin-bottom: 3px; }
.notice--info { background: var(--blue-soft); border: 1px solid rgba(61, 155, 233, 0.4); color: #b9dcf8; }
.notice--warn { background: rgba(246, 196, 69, 0.08); border: 1px solid rgba(246, 196, 69, 0.4); color: #f4dfa0; }
.notice--danger { background: var(--red-soft); border: 1px solid rgba(224, 32, 58, 0.45); color: #ffb3bf; }
.notice--ok { background: var(--green-soft); border: 1px solid rgba(28, 171, 98, 0.4); color: #a9ecc7; }
.notice__icon { font-size: 17px; line-height: 1.4; }

/* ============ Pillar/akordeon lima dasar ============ */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1020px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; text-align: center; }
.pillar__ico { font-size: 24px; margin-bottom: 8px; }
.pillar__t { font-weight: 800; color: var(--white); font-size: 14px; margin-bottom: 5px; }
.pillar__d { font-size: 12.5px; color: var(--muted); }

/* ============ Footer ============ */
.site-footer { background: #0d110e; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 30px; padding: 48px 0 36px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 430px) { .footer-top { grid-template-columns: 1fr; } }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo__text { font-size: 19px; font-weight: 800; font-style: italic; color: var(--white); }
.footer-logo__text b { color: var(--gold); }
.footer-brand > p { color: var(--muted); font-size: 13.5px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.3px; }
.badge--18 { background: var(--red-soft); color: #ff92a1; border: 1px solid rgba(224, 32, 58, 0.5); }
.badge--rg { background: var(--green-soft); color: #7ce0ac; border: 1px solid rgba(28, 171, 98, 0.45); }
.badge--id { background: var(--blue-soft); color: #8ec9f5; border: 1px solid rgba(61, 155, 233, 0.45); }
.footer-col h3 { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--muted); font-size: 13.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay-pill { font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-dim); letter-spacing: 0.4px; }
.footer-legal { border-top: 1px solid var(--line-soft); padding: 22px 0 18px; }
.footer-legal p { font-size: 12.3px; color: var(--muted); margin-bottom: 8px; line-height: 1.7; }
.footer-copy { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* ============ Search overlay ============ */
.search-overlay { position: fixed; inset: 0; z-index: 200; }
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop { position: absolute; inset: 0; background: rgba(5, 7, 6, 0.78); backdrop-filter: blur(4px); }
.search-overlay__panel {
  position: relative; max-width: 680px; margin: 90px auto 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  max-height: calc(100vh - 130px); overflow-y: auto; padding: 22px;
}
.search-form { display: flex; align-items: center; gap: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 18px; }
.search-form input { flex: 1; background: none; border: none; color: var(--ink); font-family: inherit; font-size: 15.5px; min-width: 0; }
.search-form input:focus { outline: none; }
.search-form svg { color: var(--muted); flex: 0 0 auto; }
.search-results { margin-top: 16px; display: grid; gap: 9px; }
.search-result { display: block; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line-soft); }
.search-result:hover { border-color: var(--gold); }
.search-result__t { font-weight: 700; color: var(--white); font-size: 14.5px; }
.search-result__t mark { background: rgba(246, 196, 69, 0.28); color: var(--gold); border-radius: 3px; padding: 0 2px; }
.search-result__d { font-size: 12.8px; color: var(--muted); margin-top: 3px; }
.search-empty { color: var(--muted); font-size: 14px; padding: 10px 4px; }
.search-hots { margin-top: 20px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.search-hots__title { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; font-weight: 700; }

/* ============ FLOATING CTA (gaya slot + koin) ============ */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  height: var(--float-h);
  background: linear-gradient(180deg, rgba(13, 17, 14, 0.97), rgba(7, 9, 8, 0.99));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.55);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.float-cta__reels { display: none; gap: 5px; margin-right: 14px; align-items: center; }
@media (min-width: 560px) { .float-cta__reels { display: flex; } }
.reel {
  width: 30px; height: 30px; border-radius: 8px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #1d261e, #10150f); border: 1.5px solid var(--gold); flex: 0 0 auto;
}
.reel__strip { position: absolute; left: 0; top: 0; width: 100%; animation: reelspin 1.15s steps(4) infinite; }
.reel span { display: flex; align-items: center; justify-content: center; height: 30px; font-size: 16px; }
.reel--2 .reel__strip { animation-delay: 0.3s; }
.reel--3 .reel__strip { animation-delay: 0.6s; }
@keyframes reelspin { 0% { transform: translateY(0); } 100% { transform: translateY(-120px); } }

.float-cta__btns { display: flex; gap: 11px; align-items: center; position: relative; z-index: 3; }
.float-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 138px; padding: 11px 24px; border-radius: 999px;
  font-weight: 900; font-size: 15.5px; letter-spacing: 1.2px; text-transform: uppercase;
  border: 1.5px solid rgba(0, 0, 0, 0.35); position: relative;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}
.float-cta__btn:active { transform: translateY(1px) scale(0.98); }
.float-cta__btn--daftar {
  color: #171204;
  background: linear-gradient(180deg, #ffe08a, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 0 0 3px rgba(246, 196, 69, 0.22), 0 6px 20px rgba(246, 196, 69, 0.4);
  animation: pulseGold 2.2s ease-in-out infinite;
}
.float-cta__btn--daftar::before { content: "🎰"; font-size: 16px; }
.float-cta__btn--masuk {
  color: #fff;
  background: linear-gradient(180deg, #ef3b53, var(--red-deep));
  box-shadow: 0 0 0 3px rgba(224, 32, 58, 0.2), 0 6px 20px rgba(224, 32, 58, 0.42);
  animation: pulseRed 2.2s ease-in-out infinite 0.4s;
}
.float-cta__btn--masuk::before { content: "🪙"; font-size: 15px; }
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 3px rgba(246, 196, 69, 0.22), 0 6px 20px rgba(246, 196, 69, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(246, 196, 69, 0.14), 0 8px 26px rgba(246, 196, 69, 0.58); }
}
@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 3px rgba(224, 32, 58, 0.2), 0 6px 20px rgba(224, 32, 58, 0.42); }
  50% { box-shadow: 0 0 0 6px rgba(224, 32, 58, 0.12), 0 8px 26px rgba(224, 32, 58, 0.6); }
}
.float-cta__coins { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.coin {
  position: absolute; top: -22px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 58%, #a97e0e);
  border: 1px solid #8a6605; opacity: 0;
  animation: coinfall 2.6s linear infinite;
}
.coin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px dashed rgba(84, 62, 4, 0.55); }
.coin--1 { left: 12%; animation-delay: 0s; }
.coin--2 { left: 26%; animation-delay: 0.9s; width: 12px; height: 12px; }
.coin--3 { left: 44%; animation-delay: 1.6s; }
.coin--4 { left: 63%; animation-delay: 0.5s; width: 13px; height: 13px; }
.coin--5 { left: 78%; animation-delay: 2s; }
.coin--6 { left: 90%; animation-delay: 1.2s; width: 11px; height: 11px; }
@keyframes coinfall {
  0% { transform: translateY(0) rotate(0deg) scale(0.7); opacity: 0; }
  12% { opacity: 0.95; }
  85% { opacity: 0.85; }
  100% { transform: translateY(84px) rotate(340deg) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .coin, .reel__strip, .float-cta__btn--daftar, .float-cta__btn--masuk { animation: none; }
}

/* ============ Utilitas ============ */
.text-center { text-align: center; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.badge-count { font-size: 12px; color: var(--muted); font-weight: 600; }
.divider { border: none; border-top: 1px solid var(--line); margin: 34px 0; }

/* artikel terkait mini-list */
.mini-list { display: grid; gap: 10px; }
.mini-list a {
  display: flex; gap: 14px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.mini-list a:hover { border-color: var(--gold); }
.mini-list img { width: 86px; height: 60px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.mini-list__t { font-weight: 700; font-size: 14px; color: var(--white); line-height: 1.4; }
.mini-list__d { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* scrollbar halus */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #2c372d; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #3a473b; }
