/* ==========================================================================
   Sultanbet77 — Casino Info Theme
   Palet: hitam #0d1117 · merah #c8102e · emas #f5b301 · hijau #12945c
          biru #1a6ff0 · putih #ffffff
   ========================================================================== */

:root {
  --black: #0d1117;
  --black-2: #161c26;
  --red: #c8102e;
  --red-2: #e4173a;
  --gold: #f5b301;
  --gold-2: #ffd54a;
  --green: #12945c;
  --green-2: #17b26a;
  --blue: #1a6ff0;
  --blue-2: #4d8dff;
  --ink: #1c2430;
  --muted: #5b6575;
  --line: #e4e8ef;
  --bg: #f6f7fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(13, 17, 23, .08);
  --shadow-lg: 0 16px 40px rgba(13, 17, 23, .16);
  --header-h: 68px;
  --float-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: calc(var(--float-h) + 10px);
}

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

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

h1, h2, h3, h4 { line-height: 1.3; color: var(--ink); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .45em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--gold); color: #000; padding: 10px 18px; border-radius: 0 0 8px 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: 0; cursor: pointer;
  font-weight: 800; font-size: .95rem; letter-spacing: .4px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.05); }
.btn--red { background: linear-gradient(180deg, var(--red-2), var(--red)); color: #fff; box-shadow: 0 8px 20px rgba(200, 16, 46, .35); }
.btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #241a00; box-shadow: 0 8px 20px rgba(245, 179, 1, .4); }
.btn--green { background: linear-gradient(180deg, var(--green-2), var(--green)); color: #fff; box-shadow: 0 8px 20px rgba(18, 148, 92, .35); }
.btn--dark { background: var(--black-2); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .5); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 8px 18px; font-size: .85rem; }
.btn--lg { padding: 15px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13, 17, 23, .96);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--gold), var(--green), var(--blue)) 1;
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand img { width: 218px; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: #cfd6e4; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { color: var(--gold-2); background: rgba(255, 255, 255, .06); text-decoration: none; }
.nav-links a.is-active { color: var(--gold-2); background: rgba(245, 179, 1, .12); }
.nav-extra { display: flex; gap: 10px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: #fff;
}
.icon-btn:hover { background: rgba(255, 255, 255, .16); }
.icon-btn--burger { display: none; flex-direction: column; gap: 4px; }
.icon-btn--burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.icon-btn--burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) 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(-6px) rotate(-45deg); }

/* ---------- overlay pencarian ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 1500; }
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop { position: absolute; inset: 0; background: rgba(13, 17, 23, .72); backdrop-filter: blur(4px); }
.search-overlay__panel {
  position: relative; max-width: 720px; margin: 10vh auto 0; width: calc(100% - 32px);
  background: #fff; border-radius: 16px; padding: 22px; box-shadow: var(--shadow-lg);
  max-height: 78vh; overflow: auto;
}
.search-form { display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 14px; }
.search-form:focus-within { border-color: var(--gold); }
.search-form svg { color: var(--muted); flex: none; }
.search-form input { flex: 1; border: 0; outline: none; font-size: 1rem; padding: 8px 0; font-family: inherit; min-width: 0; background: transparent; color: var(--ink); }
.search-results { margin-top: 14px; }
.search-result {
  display: block; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  margin-bottom: 8px; color: var(--ink);
}
.search-result:hover { border-color: var(--gold); text-decoration: none; background: #fffdf4; }
.search-result strong { color: var(--red); }
.search-result p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.search-empty { color: var(--muted); text-align: center; padding: 18px 0; }
.search-hots__title { font-weight: 700; margin: 16px 0 8px; font-size: .9rem; color: var(--muted); }

/* ---------- awan tag ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink); white-space: nowrap;
}
.tag:hover { text-decoration: none; border-color: var(--gold); background: #fff8e3; }
.tag--hot { border-color: rgba(200, 16, 46, .35); color: var(--red); }
.tag--hot::before { content: "🔥 "; }

/* ---------- breadcrumb ---------- */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 10px 0; font-size: .84rem; }
.breadcrumb li { margin: 0; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--muted); font-weight: 700; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ---------- seksi umum ---------- */
.section { padding: clamp(44px, 7vw, 76px) 0; }
.section--white { background: #fff; }
.section--tint { background: var(--bg); }
.section--dark { background: radial-gradient(1200px 500px at 20% -10%, rgba(245, 179, 1, .08), transparent 60%), var(--black); color: #dbe2ee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(28px, 5vw, 46px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.section--dark .eyebrow { color: var(--gold); }
.section-head p { color: var(--muted); margin: 0; }
.section--dark .section-head p { color: #a9b4c6; }
.section-cta { text-align: center; margin-top: clamp(24px, 4vw, 40px); }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; border: 1px solid var(--line); position: relative; overflow: hidden;
}
.section--dark .card { background: var(--black-2); border-color: #232b39; }
.card h3 { margin-top: 0; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 14px; flex: none;
}
.icon-badge--red { background: rgba(200, 16, 46, .1); }
.icon-badge--gold { background: rgba(245, 179, 1, .14); }
.icon-badge--green { background: rgba(18, 148, 92, .12); }
.icon-badge--blue { background: rgba(26, 111, 240, .1); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(rgba(10, 12, 18, .82), rgba(10, 12, 18, .92)), url("/assets/img/hero-casino.jpg") center/cover no-repeat;
}
.hero__inner { padding: clamp(56px, 9vw, 110px) 0; max-width: 720px; position: relative; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(245, 179, 1, .14);
  border: 1px solid rgba(245, 179, 1, .5); color: var(--gold-2); font-weight: 700; font-size: .82rem;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero p.lead { font-size: clamp(1rem, 2vw, 1.15rem); color: #ccd4e0; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  padding: 6px 14px; border-radius: 999px; color: #dbe2ee;
}
.trust-chip b { color: var(--gold-2); }

/* hero halaman dalam */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--black); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero__inner { position: relative; padding: clamp(40px, 7vw, 78px) 0; max-width: 820px; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #c8d1de; font-size: 1.05rem; margin: 0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: .82rem; color: #9aa3b2; }
.page-hero__meta span { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- kartu promo ---------- */
.promo-card { display: flex; flex-direction: column; padding: 0; }
.promo-card__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.promo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.promo-card:hover .promo-card__img img { transform: scale(1.05); }
.promo-card__tag {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: .72rem;
  font-weight: 800; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.promo-card__tag--green { background: var(--green); }
.promo-card__tag--gold { background: var(--gold); color: #241a00; }
.promo-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.promo-card__body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.promo-card__body p { font-size: .9rem; color: var(--muted); flex: 1; }
.promo-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.chip {
  font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); color: var(--muted);
}
.chip--green { background: rgba(18, 148, 92, .1); border-color: rgba(18, 148, 92, .3); color: var(--green); }
.chip--gold { background: rgba(245, 179, 1, .12); border-color: rgba(245, 179, 1, .4); color: #9c6d00; }

/* ---------- keunggulan ---------- */
.adv-card { display: flex; gap: 16px; align-items: flex-start; }
.adv-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.adv-card p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- metode pembayaran ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pay-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pay-group h3 { font-size: .98rem; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.pay-group h3 .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.pay-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pay-list li {
  margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  font-size: .78rem; font-weight: 700; color: var(--ink); padding: 5px 12px;
}
.pay-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- testimoni ---------- */
.testi-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 82vw); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 22px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.testi { scroll-snap-align: start; }
.testi__stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.testi__quote { font-size: .95rem; color: var(--ink); margin: 10px 0 16px; }
.testi__who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .95rem; flex: none;
}
.testi__who b { display: block; font-size: .92rem; }
.testi__who span { font-size: .78rem; color: var(--muted); }
.testi-note { font-size: .78rem; color: var(--muted); text-align: center; margin: 4px 0 0; }

/* ---------- kalkulator anggaran (seksi inovatif) ---------- */
.planner { max-width: 860px; margin: 0 auto; }
.planner__form {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end;
  background: var(--black-2); border: 1px solid #2a3345; border-radius: var(--radius); padding: 22px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .8rem; font-weight: 700; color: #aeb8ca; letter-spacing: .3px; }
.field input, .field select {
  border: 1.5px solid #2e3849; background: #10151f; color: #fff; border-radius: 10px;
  padding: 11px 14px; font-size: .95rem; font-family: inherit; outline: none; width: 100%; min-width: 0;
}
.field input:focus, .field select:focus { border-color: var(--gold); }
.planner__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.plan-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.plan-box b { display: block; font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--red); }
.plan-box--green b { color: var(--green); }
.plan-box--blue b { color: var(--blue); }
.plan-box span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.planner__note { font-size: .8rem; color: #93a0b4; background: rgba(255, 255, 255, .05); border: 1px dashed #2e3849; border-radius: 10px; padding: 10px 14px; margin-top: 14px; }

/* ---------- keamanan ---------- */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.security-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.security-item h3 { font-size: 1rem; margin-bottom: 6px; }
.security-item p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- artikel ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); min-width: 0; }
.article > img { border-radius: 10px; margin-bottom: 22px; }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; font-size: 1.15rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article .lead-para { font-size: 1.05rem; color: #39424f; }

.callout {
  border-left: 4px solid var(--gold); background: #fffaf0; border-radius: 0 10px 10px 0;
  padding: 16px 20px; margin: 18px 0; font-size: .95rem;
}
.callout--red { border-color: var(--red); background: #fff3f4; }
.callout--green { border-color: var(--green); background: #effaf4; }
.callout--blue { border-color: var(--blue); background: #eff5ff; }
.callout b { display: block; margin-bottom: 4px; }

/* sidebar */
.sidebar { min-width: 0; }
.sidebar .card { padding: 22px; margin-bottom: 20px; }
.sidebar h3 { font-size: 1rem; margin-bottom: 12px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { margin-bottom: 10px; }
.sidebar li a { font-weight: 600; font-size: .92rem; display: inline-flex; gap: 8px; align-items: baseline; }
.sidebar li a::before { content: "▸"; color: var(--gold); font-weight: 800; }

/* tabel syarat promo */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; margin: 18px 0; }
table.spec { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; }
table.spec th, table.spec td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { background: var(--bg); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); width: 34%; }
table.spec tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
details.faq[open] { border-color: rgba(245, 179, 1, .55); box-shadow: var(--shadow); }
details.faq summary {
  cursor: pointer; list-style: none; padding: 17px 52px 17px 20px; font-weight: 700; font-size: .98rem;
  position: relative; user-select: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--bg); color: var(--red);
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
details.faq[open] summary::after { content: "−"; background: var(--gold); color: #241a00; }
details.faq .faq-a { padding: 0 20px 18px; color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- form auth ---------- */
.auth-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: start; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); }
.auth-card h2 { margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.auth-field input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-size: .95rem; font-family: inherit; outline: none; transition: border-color .15s;
}
.auth-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 179, 1, .18); }
.auth-check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 18px 0; }
.auth-check input { margin-top: 3px; flex: none; }
.auth-note { font-size: .78rem; color: var(--muted); margin-top: 14px; text-align: center; }
.auth-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.auth-steps li { counter-increment: step; position: relative; padding: 0 0 18px 46px; }
.auth-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #241a00; font-weight: 800;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.auth-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 15.5px; top: 34px; bottom: 2px; width: 1.5px; background: var(--line);
}
.auth-steps b { display: block; }
.auth-steps p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: #aab4c4; border-top: 3px solid var(--gold); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 30px; padding: clamp(36px, 6vw, 60px) 0 30px; }
.footer-brand img { width: 200px; margin-bottom: 14px; }
.footer-brand p { font-size: .86rem; color: #8d97a9; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge {
  font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 6px; letter-spacing: .5px;
}
.badge--18 { background: var(--red); color: #fff; }
.badge--rg { background: rgba(18, 148, 92, .18); color: #5ad598; border: 1px solid rgba(18, 148, 92, .4); }
.badge--id { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #dbe2ee; }
.footer-col h3 { color: #fff; font-size: .9rem; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #97a2b4; font-size: .88rem; }
.footer-col a:hover { color: var(--gold-2); }
.footer-legal { border-top: 1px solid #232b39; padding: 20px 0 26px; }
.footer-legal p { font-size: .76rem; color: #6f7a8d; margin: 0 0 8px; }

/* ---------- tombol melayang gaya slot ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  height: var(--float-h);
  background: linear-gradient(180deg, #1a1002, #0d0a04);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .55);
  display: flex; align-items: center; gap: 14px;
  padding: 0 max(12px, env(safe-area-inset-left));
}
.float-cta__reels { display: flex; gap: 5px; margin-left: 4px; }
.reel {
  width: 30px; height: 40px; border-radius: 7px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #2b1e05, #191104);
  border: 1.5px solid rgba(245, 179, 1, .65);
  box-shadow: inset 0 6px 8px rgba(0, 0, 0, .6), inset 0 -6px 8px rgba(0, 0, 0, .6);
}
.reel__strip {
  position: absolute; left: 0; right: 0; top: 0; line-height: 40px; font-size: 19px; text-align: center;
  animation: reelspin 2.4s linear infinite;
}
.reel--slow .reel__strip { animation-duration: 3.4s; animation-direction: reverse; }
.reel--fast .reel__strip { animation-duration: 1.7s; }
@keyframes reelspin {
  from { transform: translateY(0); }
  to { transform: translateY(-240px); }
}
.float-cta__coins { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.float-cta__coins i {
  position: absolute; bottom: -18px; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, #f5b301 55%, #b07800);
  box-shadow: 0 0 6px rgba(245, 179, 1, .9);
  opacity: 0; animation: coinrise 2.8s ease-in infinite;
}
.float-cta__coins i:nth-child(1) { left: 12%; animation-delay: 0s; }
.float-cta__coins i:nth-child(2) { left: 26%; animation-delay: .7s; }
.float-cta__coins i:nth-child(3) { left: 44%; animation-delay: 1.4s; }
.float-cta__coins i:nth-child(4) { left: 62%; animation-delay: .35s; }
.float-cta__coins i:nth-child(5) { left: 78%; animation-delay: 1.9s; }
@keyframes coinrise {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  15% { opacity: 1; }
  70% { opacity: .9; }
  100% { transform: translateY(-86px) scale(1.15); opacity: 0; }
}
.float-cta__btn {
  flex: 1; max-width: 220px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 900; font-size: 1rem; letter-spacing: 1.5px; position: relative; overflow: hidden;
  transition: transform .15s ease;
}
.float-cta__btn:hover { text-decoration: none; transform: translateY(-2px) scale(1.02); }
.float-cta__btn--daftar {
  background: linear-gradient(180deg, #ffd54a, #f5a300 60%, #d98e00);
  color: #241a00; border: 1.5px solid #ffe9a8;
  box-shadow: 0 4px 18px rgba(245, 179, 1, .55), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.float-cta__btn--login {
  background: linear-gradient(180deg, #17b26a, #0f8f57 60%, #0b7345);
  color: #fff; border: 1.5px solid #35d98c;
  box-shadow: 0 4px 18px rgba(18, 148, 92, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.float-cta__btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 46px; left: -70px; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
  animation: shine 2.6s ease-in-out infinite;
}
.float-cta__btn--login::after { animation-delay: 1.3s; }
@keyframes shine {
  0%, 55% { left: -70px; }
  85%, 100% { left: calc(100% + 40px); }
}
@media (prefers-reduced-motion: reduce) {
  .reel__strip, .float-cta__coins i, .float-cta__btn::after { animation: none; }
}

/* ---------- list board / hub promosi ---------- */
.promo-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; }
.promo-row__img { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.promo-row__img img { width: 100%; height: 100%; object-fit: cover; }
.promo-row h3 { margin-bottom: 6px; }
.promo-row p { font-size: .92rem; color: var(--muted); }

/* ---------- langkah ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; counter-increment: st; }
.step::before {
  content: "0" counter(st); font-size: 2rem; font-weight: 900; line-height: 1;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1rem; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- util ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.note { font-size: .8rem; color: var(--muted); }
.divider-gold { height: 4px; width: 74px; border-radius: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); border: 0; margin: 0 0 18px; }

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (max-width: 1024px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 999;
    background: var(--black); flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 18px 20px; border-bottom: 2px solid var(--gold);
    transform: translateY(-130%); transition: transform .25s ease; visibility: hidden;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .main-nav.is-open { transform: translateY(0); visibility: visible; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .nav-extra { margin-top: 14px; }
  .nav-extra .btn { flex: 1; }
  .icon-btn--burger { display: inline-flex; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .promo-row { grid-template-columns: 1fr; }
  .promo-row__img { aspect-ratio: 16 / 8; }
  .planner__form { grid-template-columns: 1fr; }
  .planner__out { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  :root { --float-h: 58px; }
  body { padding-bottom: calc(var(--float-h) + 8px); }
  .btn { white-space: normal; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .planner__out { grid-template-columns: 1fr; }
  .brand img { width: 172px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .float-cta { gap: 10px; }
  .float-cta__reels { display: none; }
  .float-cta__btn { font-size: .95rem; letter-spacing: 1px; max-width: none; }
  .search-overlay__panel { margin-top: 6vh; padding: 16px; }
}
