/* ==========================================================================
   Jagoan303 — jagoan303.games
   Tema: kasino (merah · putih · hijau · kuning · biru · hitam), bersih & responsif
   ========================================================================== */

:root {
  --red: #e0202f;
  --red-dark: #b01120;
  --red-soft: #fdeef0;
  --gold: #ffc53d;
  --gold-deep: #e8a200;
  --gold-soft: #fff7e3;
  --green: #17a558;
  --green-soft: #e9f8f0;
  --blue: #1f5fe0;
  --blue-deep: #1747b3;
  --blue-soft: #ecf2ff;
  --navy: #0d1220;
  --navy-2: #141b30;
  --ink: #131a2a;
  --mut: #5b6474;
  --line: #e6e9f0;
  --bg: #f7f8fb;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(13, 18, 32, 0.08);
  --shadow-lg: 0 18px 50px rgba(13, 18, 32, 0.16);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

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

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

ul, ol { padding-left: 1.25rem; }

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

/* ---------- Utilitas ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.section { padding: 58px 0; }
.section-tint { background: var(--bg); }
.section-dark { background: var(--navy); color: #e8ecf5; }
.section-dark .eyebrow { color: var(--gold); }

.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--ink);
}
.section-head p { margin: 0; color: var(--mut); }
.section-dark .section-head h2 { color: var(--white); }
.section-dark .section-head p { color: #aab4c8; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.badge-18 { background: var(--red); color: var(--white); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-blue { background: var(--blue-soft); color: var(--blue-deep); }
.badge-gold { background: var(--gold-soft); color: var(--gold-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-red {
  background: linear-gradient(180deg, #f0303f, var(--red) 55%, var(--red-dark));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(224, 32, 47, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-red:hover { box-shadow: 0 8px 24px rgba(224, 32, 47, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.btn-gold {
  background: linear-gradient(180deg, #ffd76e, var(--gold) 55%, var(--gold-deep));
  color: #3a2b00;
  box-shadow: 0 6px 18px rgba(232, 162, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { box-shadow: 0 8px 24px rgba(232, 162, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5); }

.btn-blue {
  background: linear-gradient(180deg, #3c74f0, var(--blue) 55%, var(--blue-deep));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(31, 96, 224, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-red { background: var(--white); border-color: var(--red); color: var(--red); }

.btn-sm { padding: 9px 18px; font-size: 0.88rem; border-radius: 10px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 900; background: var(--navy); }

.header-top {
  background: linear-gradient(90deg, var(--red-dark), var(--red) 45%, var(--gold-deep));
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 0;
}
.header-top .container { display: flex; justify-content: space-between; gap: 12px; }
.header-top .ht-right { display: flex; gap: 10px; align-items: center; }

.header-main { display: flex; align-items: center; gap: 18px; padding: 10px 20px; max-width: 1180px; margin: 0 auto; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; }
.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--white);
  line-height: 1;
}
.brand-name span { color: var(--gold); }
.brand-tag { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; color: #8f9ab3; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.main-nav a {
  color: #cdd5e4;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 12px;
  border-radius: 9px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.main-nav a.active { color: var(--gold); background: rgba(255, 197, 61, 0.1); }
.main-nav .nav-cta { display: none; }
.main-nav.open .nav-cta {
  display: block;
  background: linear-gradient(180deg, #f0303f, var(--red-dark));
  color: var(--white);
  text-align: center;
  margin-top: 8px;
}
.main-nav.open .nav-cta-login {
  background: transparent;
  border: 1px solid rgba(255, 197, 61, 0.55);
  color: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-search { position: relative; }
.header-search input {
  width: 190px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #2a3450;
  background: #171f38;
  color: var(--white);
  font-size: 0.86rem;
  outline: none;
}
.header-search input:focus { border-color: var(--gold); }
.header-search input::placeholder { color: #77839d; }

.search-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-width: 86vw;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 8px;
  display: none;
  z-index: 950;
}
.search-pop.open { display: block; }
.search-pop a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}
.search-pop a:hover { background: var(--bg); text-decoration: none; }
.search-pop a small { display: block; color: var(--mut); font-weight: 500; }
.search-pop .no-result { padding: 10px 12px; color: var(--mut); font-size: 0.86rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #2a3450;
  border-radius: 10px;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(255, 197, 61, 0.16), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(224, 32, 47, 0.28), transparent 55%),
    linear-gradient(180deg, #0d1220 0%, #131a30 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
  padding: 64px 0 70px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 197, 61, 0.4);
  background: rgba(255, 197, 61, 0.1);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 4vw, 2.75rem);
  line-height: 1.18;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: #b9c2d6; font-size: 1.02rem; max-width: 560px; margin: 0 0 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d7deec;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 197, 61, 0.55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.hero-float {
  position: absolute;
  left: -14px;
  bottom: -18px;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 250px;
}
.hero-float .ic { font-size: 1.5rem; }
.hero-float b { display: block; font-size: 0.9rem; }
.hero-float small { color: var(--mut); font-size: 0.76rem; display: block; }

/* ---------- Kartu kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.cat-card figure { margin: 0; position: relative; }
.cat-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(13, 18, 32, 0.72));
}
.cat-card figure span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  color: var(--white);
  font-weight: 800;
  font-size: 1.02rem;
}
.cat-body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cat-body p { margin: 0; color: var(--mut); font-size: 0.88rem; flex: 1; }
.cat-body .more { color: var(--red); font-weight: 800; font-size: 0.86rem; }

/* ---------- Kartu promosi ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-card figure { margin: 0; position: relative; }
.promo-card figure .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.promo-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.promo-body h3 { margin: 0; font-size: 1.06rem; }
.promo-terms { display: grid; gap: 6px; font-size: 0.83rem; color: var(--mut); }
.promo-terms div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.promo-terms b { color: var(--ink); text-align: right; }
.promo-body .more { margin-top: auto; color: var(--red); font-weight: 800; font-size: 0.88rem; }

/* ---------- Keunggulan (ikon grid) ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.adv-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.adv-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.adv-card p { margin: 0; color: var(--mut); font-size: 0.88rem; }
.ic-red { background: var(--red-soft); }
.ic-gold { background: var(--gold-soft); }
.ic-green { background: var(--green-soft); }
.ic-blue { background: var(--blue-soft); }

/* ---------- Split (gambar + daftar) ---------- */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items: center; }
.split figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid var(--white); }
.checklist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  margin-top: 2px;
}
.checklist b { display: block; }
.checklist p { margin: 2px 0 0; color: var(--mut); font-size: 0.88rem; }

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testi-stars { color: var(--gold-deep); letter-spacing: 2px; font-size: 0.9rem; }
.testi-card blockquote { margin: 0; font-size: 0.92rem; color: #3a4254; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 0.86rem;
  flex-shrink: 0;
}
.av-red { background: linear-gradient(135deg, #f0303f, var(--red-dark)); }
.av-blue { background: linear-gradient(135deg, #3c74f0, var(--blue-deep)); }
.av-green { background: linear-gradient(135deg, #23bd6a, #0d7a3f); }
.av-gold { background: linear-gradient(135deg, #ffd76e, var(--gold-deep)); }
.testi-who b { display: block; font-size: 0.9rem; }
.testi-who small { color: var(--mut); }

.disclaimer-note {
  margin-top: 22px;
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #2c3d5e;
}

/* ---------- Kalkulator turnover ---------- */
.calc-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  background: linear-gradient(160deg, #131a30, #0d1220 70%);
  border: 1px solid #232d4a;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.calc-form { display: grid; gap: 14px; align-content: start; }
.calc-form label { font-size: 0.85rem; font-weight: 700; color: #c7d0e2; display: grid; gap: 6px; }
.calc-form input, .calc-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid #2a3450;
  background: #171f38;
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
}
.calc-form input:focus, .calc-form select:focus { border-color: var(--gold); }
.calc-result {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 197, 61, 0.4);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.calc-result .row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.92rem; color: #c7d0e2; border-bottom: 1px dashed rgba(255,255,255,0.12); padding-bottom: 10px; }
.calc-result .row b { color: var(--white); }
.calc-result .total { font-size: 1.15rem; }
.calc-result .total b { color: var(--gold); font-size: 1.3rem; }
.calc-note { font-size: 0.78rem; color: #93a0ba; margin: 0; }

/* ---------- Keamanan grid ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.sec-card h3 { margin: 0 0 6px; font-size: 0.98rem; }
.sec-card p { margin: 0; font-size: 0.86rem; color: var(--mut); }

/* ---------- Artikel / prose ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 12px; line-height: 1.3; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p { margin: 0 0 16px; color: #2b3345; }
.prose ul li, .prose ol li { margin-bottom: 8px; color: #2b3345; }
.prose figure { margin: 22px 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.prose figcaption { font-size: 0.8rem; color: var(--mut); margin-top: 8px; text-align: center; }
.prose .lead-par { font-size: 1.05rem; color: var(--ink); font-weight: 500; }

.article-head { max-width: 820px; margin: 0 auto 8px; }
.article-head h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.25; margin: 8px 0 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--mut); font-size: 0.82rem; margin-bottom: 18px; }
.article-meta .sep { opacity: 0.5; }

.info-box {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold-deep);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.92rem;
}
.info-box.blue { background: var(--blue-soft); border-color: var(--blue); }
.info-box.green { background: var(--green-soft); border-color: var(--green); }
.info-box.red { background: var(--red-soft); border-color: var(--red); }

/* ---------- Tabel ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; border-radius: 12px; border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; background: var(--white); }
table.data th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 11px 14px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
table.data td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
table.data tr:nth-child(even) td { background: var(--bg); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 18px;
  font-weight: 800;
  font-size: 0.97rem;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
details.faq[open] summary::after { content: "−"; }
details.faq .faq-a { padding: 0 18px 16px; color: #2b3345; font-size: 0.92rem; }
details.faq .faq-a p { margin: 0 0 10px; }

/* ---------- Pencarian + tag cloud ---------- */
.search-box { max-width: 640px; margin: 0 auto; position: relative; }
.search-box input {
  width: 100%;
  padding: 16px 54px 16px 20px;
  border-radius: 999px;
  border: 2px solid var(--line);
  font-size: 1rem;
  outline: none;
  box-shadow: var(--shadow);
}
.search-box input:focus { border-color: var(--red); }
.search-box .go {
  position: absolute;
  right: 7px;
  top: 7px;
  bottom: 7px;
  width: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0303f, var(--red-dark));
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  font-weight: 900;
}
.search-pop.center-pop { left: 0; right: 0; width: auto; top: calc(100% + 10px); margin: 0 auto; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 20px; }
.tag-cloud button {
  border: 1px solid var(--line);
  background: var(--white);
  color: #3a4254;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(13, 18, 32, 0.05);
}
.tag-cloud button:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 14px 0 2px; font-size: 0.83rem; color: var(--mut); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: #9aa4b8; }
.breadcrumb a { color: var(--mut); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Halaman kategori ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(255, 197, 61, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy), #141b30);
  color: var(--white);
  padding: 40px 0 46px;
}
.page-hero h1 { margin: 6px 0 12px; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.25; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { color: #b9c2d6; max-width: 720px; margin: 0; }
.breadcrumb.on-dark a { color: #aab4c8; }
.breadcrumb.on-dark [aria-current] { color: var(--white); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.feature-card h3 { margin: 0 0 6px; font-size: 0.97rem; display: flex; gap: 8px; align-items: center; }
.feature-card p { margin: 0; font-size: 0.86rem; color: var(--mut); }

.mini-steps { counter-reset: step; display: grid; gap: 14px; margin: 24px 0; }
.mini-steps li {
  list-style: none;
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 16px;
  box-shadow: var(--shadow);
}
.mini-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd76e, var(--gold-deep));
  color: #3a2b00;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-steps b { display: block; }
.mini-steps p { margin: 2px 0 0; font-size: 0.87rem; color: var(--mut); }

.cta-band {
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(255, 197, 61, 0.2), transparent 55%),
    linear-gradient(120deg, var(--red-dark), var(--red) 60%, #f0303f);
  border-radius: 20px;
  color: var(--white);
  padding: 34px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(224, 32, 47, 0.28);
  margin: 40px 0 10px;
}
.cta-band h2 { margin: 0 0 6px; font-size: 1.35rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 0.94rem; max-width: 560px; }

/* ---------- Formulir ---------- */
.auth-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; padding: 46px 0 60px; }
.auth-visual figure { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.auth-visual figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(13, 18, 32, 0.55)); }
.auth-visual .caption { margin-top: 14px; font-size: 0.82rem; color: var(--mut); }
.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 30px;
}
.auth-card h1 { margin: 0 0 6px; font-size: 1.5rem; }
.auth-card .form-title { margin: 0 0 6px; font-size: 1.45rem; line-height: 1.3; }
.auth-card .sub { color: var(--mut); font-size: 0.9rem; margin: 0 0 22px; }
.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 800; margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  font-size: 0.95rem;
  outline: none;
  background: var(--bg);
}
.field input:focus { border-color: var(--red); background: var(--white); }
.field .hint { font-size: 0.76rem; color: var(--mut); margin-top: 5px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--mut); }
.check-line input { margin-top: 3px; }
.form-note { font-size: 0.8rem; color: var(--mut); background: var(--bg); border-radius: 10px; padding: 12px 14px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aab4c8; margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 34px;
  padding: 52px 0 30px;
}
.footer-brand p { font-size: 0.88rem; color: #93a0ba; margin: 14px 0; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-badges span {
  border: 1px solid #2a3450;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.footer-badges .b18 { color: var(--gold); border-color: rgba(255, 197, 61, 0.5); }
.footer-badges .brg { color: #58d08d; border-color: rgba(88, 208, 141, 0.4); }
.site-footer h3 { color: var(--white); font-size: 0.95rem; margin: 0 0 14px; letter-spacing: 0.03em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer ul a { color: #aab4c8; font-size: 0.88rem; }
.site-footer ul a:hover { color: var(--gold); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.pay-chips span {
  background: #171f38;
  border: 1px solid #2a3450;
  color: #c7d0e2;
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 700;
}
.footer-legal {
  border-top: 1px solid #232d4a;
  padding: 22px 0 calc(96px);
  font-size: 0.78rem;
  color: #77839d;
}
.footer-legal p { margin: 0 0 10px; }
.footer-legal .legal-links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
.footer-legal .legal-links a { color: #aab4c8; }

/* ---------- Floating CTA (gaya slot + koin) ---------- */
.float-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(13, 18, 32, 0) 0%, rgba(13, 18, 32, 0.82) 38%, rgba(13, 18, 32, 0.96) 100%);
  pointer-events: none;
}
.float-cta > * { pointer-events: auto; }
.float-btn {
  flex: 1;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  position: relative;
  overflow: visible;
  border: 0;
  animation: ctaPulse 2.4s ease-in-out infinite;
}
.float-btn .reel {
  font-size: 1.25rem;
  display: inline-block;
  animation: reelSpin 2.8s ease-in-out infinite;
}
.float-daftar {
  background: linear-gradient(180deg, #ffdd78 0%, var(--gold) 45%, #e6a100 100%);
  color: #4a3400;
  box-shadow: 0 5px 0 #b57e00, 0 12px 26px rgba(232, 162, 0, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.65);
}
.float-masuk {
  background: linear-gradient(180deg, #4a7cf5 0%, var(--blue) 45%, #143c9e 100%);
  color: var(--white);
  box-shadow: 0 5px 0 #0e2f7d, 0 12px 26px rgba(31, 96, 224, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}
.float-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #b57e00, 0 6px 14px rgba(0, 0, 0, 0.3); }

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.028); }
}
@keyframes reelSpin {
  0%, 61%, 100% { transform: translateY(0) rotate(0deg); }
  70% { transform: translateY(-4px) rotate(18deg); }
  80% { transform: translateY(1px) rotate(-10deg); }
  90% { transform: translateY(0) rotate(6deg); }
}
/* Efek koin beterbangan (murni CSS) */
.float-daftar::before,
.float-daftar::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, #c98d00);
  box-shadow: 0 0 8px rgba(255, 197, 61, 0.9);
  opacity: 0;
  animation: coinFly 2.2s ease-out infinite;
}
.float-daftar::before { left: 10px; animation-delay: 0.3s; }
.float-daftar::after { right: 10px; width: 10px; height: 10px; animation-delay: 1.3s; }
@keyframes coinFly {
  0% { transform: translateY(6px) scale(0.6); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(-46px) scale(1.05); opacity: 0; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .header-search { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; order: 3; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-2);
    border-top: 1px solid #232d4a;
    padding: 10px 16px 16px;
    gap: 2px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open a { padding: 12px 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid, .sec-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 46px 0 54px; }
  .hero-visual { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .calc-wrap { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 40px 0; }
  .header-main { gap: 8px; padding: 8px 14px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 8px 11px; font-size: 0.8rem; }
  .header-top .ht-right { display: none; }
  .brand-name { font-size: 1.15rem; }
  .brand-mark { width: 34px; height: 34px; }
  .cat-grid, .promo-grid, .testi-grid, .adv-grid, .sec-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; min-width: 150px; }
  .hero-float { left: 8px; bottom: -14px; padding: 8px 12px; max-width: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 20px; }
  .cta-band { padding: 24px 20px; }
  .cta-band .btn { width: 100%; }
  .auth-card { padding: 22px 18px; }
  .calc-wrap { padding: 20px 16px; }
  .float-btn { font-size: 0.95rem; min-height: 50px; }
  .table-wrap { margin-left: -4px; margin-right: -4px; }
  .prose h2 { font-size: 1.3rem; }
}

@media (max-width: 400px) {
  .header-main { padding: 7px 10px; }
  .header-actions .btn { padding: 7px 9px; font-size: 0.74rem; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { padding: 6px 9px; font-size: 1.1rem; }
  .brand-name { font-size: 1.04rem; }
  .brand-tag { font-size: 0.55rem; letter-spacing: 0.14em; }
  .float-btn { font-size: 0.88rem; gap: 5px; }
  .float-btn .reel { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .float-btn, .float-btn .reel, .float-daftar::before, .float-daftar::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* Cetak */
@media print {
  .site-header, .float-cta, .site-footer { display: none; }
}
