/* ============================================================
   Borneo338 — borneo338.games
   Tema: Casino premium (merah · emas · hijau · biru · hitam)
   Responsif untuk semua perangkat
   ============================================================ */

:root {
  --red: #e0243f;
  --red-2: #a90f2e;
  --red-soft: rgba(224, 36, 63, 0.14);
  --gold: #ffc63e;
  --gold-2: #f5a300;
  --green: #2fce7e;
  --green-dark: #128a52;
  --blue: #4d8dff;
  --blue-dark: #2f6ae0;
  --ink: #160a17;
  --ink-2: #1e0f20;
  --ink-3: #271530;
  --panel: #221226;
  --panel-2: #2a1730;
  --line: rgba(255, 198, 62, 0.16);
  --line-2: rgba(255, 255, 255, 0.08);
  --text: #f7f1f8;
  --muted: #cbb8cc;
  --faint: #a08ea2;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --font: "Sora", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap-h: 88px;
}

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

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

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 85% -5%, rgba(224, 36, 63, 0.16), transparent 60%),
    radial-gradient(900px 480px at -10% 20%, rgba(77, 141, 255, 0.08), transparent 55%),
    var(--ink);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: break-word;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- Aksesibilitas ---------- */
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 300;
  background: var(--gold); color: #201005; padding: 10px 18px;
  border-radius: 10px; font-weight: 700;
}
.skip-link:focus { left: 12px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, #ffd97a, var(--gold) 45%, var(--gold-2));
  color: #2a1500;
  box-shadow: 0 10px 26px rgba(255, 176, 32, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold:hover { box-shadow: 0 14px 30px rgba(255, 176, 32, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn-red {
  background: linear-gradient(180deg, #f04b5f, var(--red) 45%, var(--red-2));
  color: var(--white);
  box-shadow: 0 10px 26px rgba(224, 36, 63, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-green {
  background: linear-gradient(180deg, #52e39a, var(--green) 45%, var(--green-dark));
  color: #04220f;
  box-shadow: 0 10px 26px rgba(47, 206, 126, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 9px 18px; font-size: 0.86rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(20, 9, 21, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; filter: drop-shadow(0 4px 10px rgba(255, 176, 32, 0.35)); }
.brand-name {
  font-size: 1.35rem; font-weight: 800; letter-spacing: 0.4px; color: var(--white); line-height: 1.1;
}
.brand-name span { color: var(--gold); }
.brand-tag { display: block; font-size: 0.6rem; font-weight: 600; color: var(--faint); letter-spacing: 2.6px; text-transform: uppercase; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--muted); font-weight: 600; font-size: 0.92rem;
  padding: 9px 13px; border-radius: 10px; transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); background: rgba(255, 198, 62, 0.08); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03); color: var(--gold); display: inline-flex;
  align-items: center; justify-content: center; transition: background 0.15s ease;
}
.search-toggle:hover { background: rgba(255, 198, 62, 0.12); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03); color: var(--text); position: relative;
}
.nav-toggle::before, .nav-toggle::after, .nav-toggle span {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle::before { top: 14px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 28px; }
.nav-toggle.open::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span { opacity: 0; }
.nav-toggle.open::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 84px);
  background:
    linear-gradient(180deg, rgba(22, 10, 23, 0.2), rgba(22, 10, 23, 0.88) 78%),
    linear-gradient(115deg, rgba(169, 15, 46, 0.55), rgba(22, 10, 23, 0.25) 45%, rgba(47, 106, 224, 0.25)),
    url("../img/hero.jpg") center 30% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 198, 62, 0.12); border: 1px solid rgba(255, 198, 62, 0.35);
  color: var(--gold); font-size: 0.74rem; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47, 206, 126, 0.2); }
.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem); line-height: 1.16; font-weight: 800;
  letter-spacing: -0.5px; color: var(--white);
}
.hero h1 .hl { color: var(--gold); }
.hero-lead { margin-top: 18px; color: #ecdef0; font-size: 1.03rem; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(12, 5, 13, 0.55); border: 1px solid var(--line-2);
  padding: 8px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  color: #ecdfef; backdrop-filter: blur(6px);
}
.trust-chip svg { flex: 0 0 auto; }

.hero-card {
  background: linear-gradient(160deg, var(--panel), #180c1c);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(255, 198, 62, 0.5), transparent 40%, rgba(224, 36, 63, 0.4));
  z-index: -1;
}
.hero-card h2 { font-size: 1.05rem; font-weight: 700; color: var(--gold); margin-bottom: 16px; letter-spacing: 0.3px; }
.hero-card ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.93rem; }
.hero-card li strong { color: var(--text); display: block; font-size: 0.98rem; }
.hero-card li .ico {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(47, 206, 126, 0.12); color: var(--green);
}
.hero-card li:nth-child(2) .ico { background: rgba(77, 141, 255, 0.12); color: var(--blue); }
.hero-card li:nth-child(3) .ico { background: rgba(255, 198, 62, 0.12); color: var(--gold); }
.hero-card li:nth-child(4) .ico { background: rgba(224, 36, 63, 0.14); color: #ff6b7d; }
.hero-card .btn { width: 100%; margin-top: 20px; }

/* ---------- Bagian umum ---------- */
.section { padding: clamp(52px, 7vw, 84px) 0; }
.section.tint { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-block: 1px solid var(--line-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-eyebrow {
  color: var(--red); font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase;
  font-size: 0.72rem; margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 800; line-height: 1.22; color: var(--white); letter-spacing: -0.3px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Kartu kategori ---------- */
.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); }

.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-2);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); text-decoration: none; }
.cat-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 8, 20, 0.92));
}
.cat-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(12, 5, 13, 0.72); border: 1px solid var(--line);
  color: var(--gold); font-size: 0.68rem; font-weight: 700; letter-spacing: 1.6px;
  padding: 6px 12px; border-radius: 999px; text-transform: uppercase; backdrop-filter: blur(6px);
}
.cat-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-body h3 { font-size: 1.18rem; font-weight: 700; color: var(--white); }
.cat-card:hover .cat-body h3 { text-decoration: none; }
.cat-body p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.cat-link { color: var(--gold); font-weight: 700; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.cat-card:hover .cat-link { text-decoration: underline; }

/* ---------- Tag populer ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--panel); border: 1px solid var(--line-2); color: var(--muted);
  padding: 9px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  transition: all 0.16s ease;
}
.tag:hover { color: var(--gold); border-color: rgba(255, 198, 62, 0.45); background: rgba(255, 198, 62, 0.07); text-decoration: none; transform: translateY(-2px); }
.tag .fire { color: var(--red); }
.tag.hot { border-color: rgba(224, 36, 63, 0.4); }

/* ---------- Keunggulan (fitur) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: linear-gradient(165deg, var(--panel), #1a0d1e);
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feat:hover { transform: translateY(-4px); border-color: var(--line); }
.feat .f-ico {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(255, 198, 62, 0.18), rgba(224, 36, 63, 0.12));
  border: 1px solid var(--line); margin-bottom: 18px;
}
.feat h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.feat p { color: var(--muted); font-size: 0.9rem; }
.feat .f-num {
  font-size: 1.6rem; font-weight: 800; color: var(--gold); letter-spacing: -0.5px;
  display: block; margin-bottom: 6px;
}

/* ---------- Split media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split .media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; display: grid; gap: 16px; margin-top: 22px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ck {
  flex: 0 0 26px; width: 26px; height: 26px; margin-top: 2px; border-radius: 8px;
  background: rgba(47, 206, 126, 0.14); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}
.check-list strong { display: block; color: var(--white); font-size: 0.99rem; margin-bottom: 2px; }
.check-list span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Pembayaran ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 26px; }
.pay-chip {
  background: var(--white); border-radius: 14px; padding: 14px 10px; text-align: center;
  font-weight: 800; color: #241021; font-size: 0.92rem; letter-spacing: 0.4px;
  border: 1px solid rgba(0, 0, 0, 0.06); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease;
}
.pay-chip:hover { transform: translateY(-3px); }
.pay-chip small { display: block; font-size: 0.62rem; font-weight: 600; color: #7a5f78; letter-spacing: 1.2px; text-transform: uppercase; }
.pay-note { margin-top: 18px; color: var(--faint); font-size: 0.82rem; text-align: center; }

/* ---------- Testimoni ---------- */
.review-card {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
}
.review-card .stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; }
.review-card blockquote { color: var(--muted); font-size: 0.93rem; font-style: italic; flex: 1; }
.review-who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; color: #fff;
}
.review-who strong { display: block; color: var(--white); font-size: 0.93rem; }
.review-who span { color: var(--faint); font-size: 0.78rem; }
.review-note { text-align: center; color: var(--faint); font-size: 0.8rem; margin-top: 22px; }

/* ---------- Kalkulator bonus (inovasi) ---------- */
.calc {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px;
  background: linear-gradient(160deg, var(--panel-2), #180c1c);
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 42px);
}
.calc-form label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--muted); margin: 0 0 8px; letter-spacing: 0.4px; }
.calc-form .field + .field { margin-top: 18px; }
.calc-form input[type="number"], .calc-form select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(10, 4, 11, 0.7); color: var(--text); font-family: inherit; font-size: 1rem;
}
.calc-form input:focus, .calc-form select:focus { outline: 2px solid rgba(255, 198, 62, 0.45); border-color: var(--gold); }
.calc-result { background: rgba(10, 4, 11, 0.55); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 24px; }
.calc-result h3 { color: var(--gold); font-size: 1rem; margin-bottom: 14px; letter-spacing: 0.4px; }
.calc-rows { display: grid; gap: 10px; }
.calc-row { display: flex; justify-content: space-between; gap: 14px; font-size: 0.92rem; color: var(--muted); }
.calc-row b { color: var(--white); }
.calc-row.total { border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 4px; font-size: 1rem; }
.calc-row.total b { color: var(--green); font-size: 1.15rem; }
.calc-disclaimer { margin-top: 16px; font-size: 0.76rem; color: var(--faint); }

/* ---------- Keamanan ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sec-card {
  display: flex; gap: 16px; background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); padding: 22px;
}
.sec-card .s-ico {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(77, 141, 255, 0.12); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.sec-card h3 { font-size: 0.99rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.sec-card p { color: var(--muted); font-size: 0.87rem; }

/* ---------- Artikel / prosa ---------- */
.article-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start;
}
.prose h2 { font-size: 1.45rem; font-weight: 800; color: var(--white); margin: 34px 0 12px; letter-spacing: -0.2px; }
.prose h3 { font-size: 1.12rem; font-weight: 700; color: var(--gold); margin: 26px 0 10px; }
.prose p { color: #d9cadb; margin-bottom: 16px; font-size: 0.98rem; }
.prose ul, .prose ol { color: #d9cadb; margin: 0 0 18px; display: grid; gap: 8px; }
.prose strong { color: var(--white); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.article-figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 22px 0; box-shadow: var(--shadow); }
.article-figure img { width: 100%; object-fit: cover; }
.article-figure figcaption { font-size: 0.8rem; color: var(--faint); padding: 12px 16px; background: rgba(10, 4, 11, 0.5); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 6px; }
.article-meta .chip {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 198, 62, 0.1); color: var(--gold); border: 1px solid rgba(255, 198, 62, 0.3);
}
.article-meta time { color: var(--faint); font-size: 0.8rem; }

.toc {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 22px; position: sticky; top: 96px;
}
.toc h2 { font-size: 0.82rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.toc ol { padding-left: 20px; display: grid; gap: 9px; color: var(--muted); font-size: 0.87rem; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 19px 22px; font-weight: 700; font-size: 0.98rem; color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 198, 62, 0.12); color: var(--gold); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Promo ---------- */
.promo-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel);
  border: 1px solid var(--line-2); display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.promo-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 5, 13, 0.05) 45%, rgba(12, 5, 13, 0.85)); }
.promo-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: linear-gradient(180deg, #f04b5f, var(--red-2)); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; padding: 6px 12px; border-radius: 999px;
  text-transform: uppercase; box-shadow: 0 6px 16px rgba(224, 36, 63, 0.4);
}
.promo-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.promo-body h3 { font-size: 1.1rem; color: var(--white); font-weight: 700; }
.promo-body p { color: var(--muted); font-size: 0.89rem; flex: 1; }
.promo-terms { display: flex; flex-wrap: wrap; gap: 7px; }
.promo-terms span {
  font-size: 0.72rem; font-weight: 700; color: #cfe0ff; background: rgba(77, 141, 255, 0.1);
  border: 1px solid rgba(77, 141, 255, 0.28); padding: 4px 11px; border-radius: 999px;
}
.promo-terms span.gold { color: #ffe4a5; background: rgba(255, 198, 62, 0.1); border-color: rgba(255, 198, 62, 0.32); }
.promo-terms span.green { color: #b7f4d6; background: rgba(47, 206, 126, 0.1); border-color: rgba(47, 206, 126, 0.3); }

/* Tabel syarat promo */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line-2); margin: 20px 0; }
table.terms { width: 100%; border-collapse: collapse; min-width: 560px; background: rgba(10, 4, 11, 0.35); }
table.terms th, table.terms td { padding: 13px 16px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.terms th { background: rgba(255, 198, 62, 0.08); color: var(--gold); font-weight: 700; white-space: nowrap; }
table.terms td { color: #d9cadb; }
table.terms tr:last-child td { border-bottom: 0; }

/* Langkah klaim */
.steps { counter-reset: langkah; display: grid; gap: 16px; margin: 22px 0; }
.steps li { list-style: none; counter-increment: langkah; display: flex; gap: 16px; align-items: flex-start; }
.steps li::before {
  content: counter(langkah); flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(160deg, #ffd97a, var(--gold-2)); color: #2a1500;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-top: 2px;
}
.steps li strong { display: block; color: var(--white); margin-bottom: 3px; }
.steps li span { color: var(--muted); font-size: 0.92rem; }
.steps { padding: 0; }

/* ---------- Banner CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(700px 300px at 50% -30%, rgba(255, 198, 62, 0.16), transparent 65%),
    linear-gradient(140deg, #57142c, #2b0d24 55%, #131a3f);
  border-block: 1px solid var(--line); padding: clamp(52px, 7vw, 80px) 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); }
.cta-band p { color: var(--muted); max-width: 60ch; margin: 14px auto 28px; }
.cta-band .hero-cta { justify-content: center; }
.cta-note { margin-top: 18px; font-size: 0.8rem; color: var(--faint); }

/* ---------- Breadcrumb ---------- */
.breadcrumbs { border-bottom: 1px solid var(--line-2); background: rgba(10, 4, 11, 0.5); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 13px 0; font-size: 0.83rem; color: var(--faint); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { color: var(--red); font-weight: 700; }
.crumbs [aria-current] { color: var(--gold); font-weight: 600; }

/* ---------- Header halaman ---------- */
.page-hero { padding: clamp(44px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); background: radial-gradient(800px 320px at 12% 0%, rgba(224, 36, 63, 0.14), transparent 60%); border-bottom: 1px solid var(--line-2); }
.page-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; color: var(--white); letter-spacing: -0.4px; line-height: 1.2; max-width: 22ch; }
.page-hero .lead { margin-top: 14px; color: var(--muted); max-width: 68ch; font-size: 1rem; }

/* ---------- Formulir ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.auth-card {
  background: linear-gradient(165deg, var(--panel), #1a0d1e); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow);
}
.auth-card h2 { font-size: 1.35rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.form-field input {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(10, 4, 11, 0.65); color: var(--text); font-family: inherit; font-size: 0.98rem;
}
.form-field input:focus { outline: 2px solid rgba(255, 198, 62, 0.45); border-color: var(--gold); }
.form-field .hint { font-size: 0.74rem; color: var(--faint); margin-top: 5px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); margin: 18px 0; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }
.form-note { margin-top: 16px; font-size: 0.78rem; color: var(--faint); text-align: center; }
.auth-side { display: grid; gap: 18px; }
.side-box { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 22px; }
.side-box h3 { color: var(--gold); font-size: 0.95rem; margin-bottom: 10px; }
.side-box p, .side-box li { color: var(--muted); font-size: 0.87rem; }
.side-box ul { margin-top: 8px; display: grid; gap: 7px; }

.age-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--red); color: #ff7d8d; font-weight: 800; border-radius: 12px;
  padding: 10px 16px; font-size: 0.9rem; letter-spacing: 1px;
}

/* ---------- Footer ---------- */
.site-footer { background: #0d050e; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding: clamp(44px, 6vw, 64px) 0 36px;
}
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin: 16px 0 18px; max-width: 34ch; }
.footer-h { color: var(--white); font-size: 0.92rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.3px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-pay span {
  background: #fff; color: #241021; font-size: 0.72rem; font-weight: 800;
  padding: 6px 12px; border-radius: 8px; letter-spacing: 0.5px;
}
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer-badges .bdg {
  border: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; letter-spacing: 0.6px;
}
.footer-legal {
  border-top: 1px solid var(--line-2); padding: 22px 0 26px;
  color: var(--faint); font-size: 0.78rem; display: grid; gap: 8px;
}
.footer-legal strong { color: var(--muted); }

/* ---------- Bilah melayang (slot) ---------- */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(13, 5, 14, 0.86), rgba(13, 5, 14, 0.98));
  border-top: 1px solid rgba(255, 198, 62, 0.3);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.float-inner { display: flex; align-items: center; justify-content: center; gap: 12px; width: min(680px, 100%); }
.slot-reels { display: none; align-items: center; gap: 5px; }
.reel {
  width: 34px; height: 34px; border-radius: 9px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #fff6df, #ffe2a0);
  border: 2px solid #b97b0e; box-shadow: inset 0 2px 6px rgba(120, 70, 0, 0.35);
}
.reel .strip {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; flex-direction: column; align-items: center;
  animation: reelspin 1.15s linear infinite;
}
.reel .strip i { font-style: normal; font-weight: 900; font-size: 0.78rem; line-height: 34px; height: 34px; }
.reel .strip i:nth-child(4n+1) { color: #c8102e; }
.reel .strip i:nth-child(4n+2) { color: #0d7a43; }
.reel .strip i:nth-child(4n+3) { color: #1f4fd8; }
.reel .strip i:nth-child(4n+4) { color: #7a3d00; }
.reel:nth-child(2) .strip { animation-duration: 0.85s; }
.reel:nth-child(3) .strip { animation-duration: 1.05s; }
@keyframes reelspin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-136px); }
}
.float-btn {
  position: relative; overflow: visible; flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 14px; font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.5px; text-decoration: none; border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.float-btn:hover { text-decoration: none; transform: translateY(-2px) scale(1.015); }
.float-btn.masuk {
  background: linear-gradient(180deg, #fff8e6, #ffd97a 30%, var(--gold-2));
  color: #2a1500; flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(255, 176, 32, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.float-btn.daftar {
  background: linear-gradient(180deg, #ff5d70, var(--red) 40%, #8d0c26);
  color: #fff; flex: 1.6;
  box-shadow: 0 8px 22px rgba(224, 36, 63, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: pulse-cta 1.8s ease-in-out infinite;
}
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 8px 22px rgba(224, 36, 63, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  50% { box-shadow: 0 8px 30px rgba(224, 36, 63, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}
/* koin emas melayang dari tombol daftar */
.coin {
  position: absolute; bottom: 60%; left: var(--cx, 50%); width: 14px; height: 14px; z-index: -1;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 30%, #fff3c4, var(--gold) 55%, #c47f00);
  box-shadow: 0 0 10px rgba(255, 198, 62, 0.75);
  animation: coinrise 2.6s linear infinite; animation-delay: var(--cd, 0s);
}
.coin::after {
  content: "Rp"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 6.5px; font-weight: 900; color: #7a4d00;
}
@keyframes coinrise {
  0% { transform: translate(0, 0) rotate(0deg) scale(0.6); opacity: 0; }
  12% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--dx, -8px), -86px) rotate(340deg) scale(1); opacity: 0; }
}

/* ---------- Pencarian ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 260; display: none;
  background: rgba(9, 3, 10, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 90px 20px 40px; overflow-y: auto;
}
.search-overlay.open { display: block; }
.search-box { width: min(760px, 100%); margin-inline: auto; }
.search-input-wrap { position: relative; }
.search-input-wrap svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--gold); }
#searchInput {
  width: 100%; padding: 18px 56px 18px 56px; border-radius: 16px; font-size: 1.05rem;
  border: 2px solid var(--line); background: rgba(20, 9, 21, 0.95); color: var(--text); font-family: inherit;
}
#searchInput:focus { outline: none; border-color: var(--gold); }
.search-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05); color: var(--muted); font-size: 1.05rem; font-weight: 700;
}
.search-close:hover { color: var(--gold); border-color: var(--gold); }
.search-hint { margin-top: 18px; color: var(--faint); font-size: 0.8rem; text-align: center; }
.search-hot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.search-results { margin-top: 26px; display: grid; gap: 12px; }
.sr-item {
  display: block; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 16px 20px; transition: border-color 0.15s ease, transform 0.15s ease;
}
.sr-item:hover { border-color: var(--line); transform: translateY(-2px); text-decoration: none; }
.sr-item strong { display: block; color: var(--white); font-size: 0.96rem; margin-bottom: 4px; }
.sr-item:hover strong { color: var(--gold); }
.sr-item span { color: var(--muted); font-size: 0.84rem; }
.sr-item em { color: var(--gold); font-style: normal; font-weight: 700; }

/* ---------- Ikon utilitas ---------- */
.ico-16 { width: 16px; height: 16px; }
.ico-20 { width: 20px; height: 20px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .slot-reels { display: flex; }
}
@media (max-width: 920px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: rgba(16, 7, 17, 0.98); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 18px 18px;
    display: none; backdrop-filter: blur(14px);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; order: 5; }
  .header-inner { flex-wrap: nowrap; }
  .brand { margin-right: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-card { order: -1; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .calc { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: min(1180px, 100% - 2rem); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .hero-cta .btn { width: 100%; }
  .header-actions .btn-outline { display: none; }
  .float-inner { gap: 9px; }
  .slot-reels { display: none; }
  .float-btn { padding: 12px 14px; font-size: 0.9rem; }
  .prose h2 { font-size: 1.28rem; }
  .page-hero h1 { font-size: 1.55rem; }
}
@media (max-width: 400px) {
  .float-btn.masuk { padding: 12px 12px; }
  .brand-name { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
