/* ============================================================
   Mpo888 — Casino Theme Stylesheet
   Palet: Merah / Emas / Hijau / Biru / Hitam / Putih
   Responsive: Mobile-first, breakpoints 1080 / 860 / 560
   ============================================================ */

/* ---------- 1. Tokens & Reset ---------- */
:root {
  --red: #C8102E;
  --red-dark: #8E0E1F;
  --red-deep: #690613;
  --gold: #F5B301;
  --gold-light: #FFD54A;
  --gold-pale: #FFF4D6;
  --green: #0FA958;
  --green-dark: #0B7A41;
  --green-pale: #E7F7EF;
  --blue: #1D6FE0;
  --blue-dark: #0F4FB8;
  --blue-pale: #EAF2FE;
  --black: #141118;
  --ink: #201d26;
  --gray: #6b6875;
  --line: #e9e6ef;
  --bg-soft: #f8f6fb;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 17, 24, 0.08);
  --shadow-lg: 0 18px 48px rgba(20, 17, 24, 0.16);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { line-height: 1.3; color: var(--ink); overflow-wrap: break-word; }

::selection { background: var(--gold-light); color: var(--black); }

/* ---------- 2. Buttons & Badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 34px; font-size: 17px; }

.btn-register {
  background: linear-gradient(135deg, #E87600 0%, #F55A00 55%, #C8102E 100%);
  background-size: 150% 150%;
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.35);
}
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200, 16, 46, 0.45); }

.btn-login {
  background: transparent;
  color: var(--red-dark);
  border-color: var(--red);
}
.btn-login:hover { background: var(--red); color: #fff; }

/* Varian tombol login di atas section gelap (hero / cta-band) */
.hero .btn-login,
.cta-band .btn-login {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: var(--gold-light);
}
.hero .btn-login:hover,
.cta-band .btn-login:hover {
  background: var(--gold-light);
  color: var(--red-deep);
}

.btn-green {
  background: linear-gradient(135deg, #14b96a, var(--green-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 169, 88, 0.35);
}
.btn-green:hover { transform: translateY(-2px); }

.btn-blue {
  background: linear-gradient(135deg, #3d84ea, var(--blue-dark));
  color: #fff;
}
.btn-blue:hover { transform: translateY(-2px); }

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  font-size: 14px;
  border: 1.5px solid #b3840a;
  flex-shrink: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* ---------- 3. Top Strip ---------- */
.topstrip {
  background: var(--black);
  color: #cfc9da;
  font-size: 12.5px;
  border-bottom: 1px solid #2a2532;
}
.topstrip-in {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 20px;
}
.topstrip p { flex: 1; min-width: 0; }
.topstrip-date { color: var(--gold-light); font-weight: 600; white-space: nowrap; }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-name {
  font-size: 23px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: 0.2px;
}
.brand-name em { font-style: normal; color: var(--red); }
.brand-name small { font-size: 11px; font-weight: 600; color: var(--gray); display: block; margin-top: -4px; letter-spacing: 1px; }
.brand-chip { filter: drop-shadow(0 3px 6px rgba(200, 16, 46, 0.35)); }

.main-nav ul { list-style: none; display: flex; gap: 4px; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: block;
  padding: 9px 13px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--gold-pale); color: var(--red-dark); }
.main-nav a.active { background: var(--red); color: #fff; box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-actions .btn { padding: 10px 20px; font-size: 14px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { border-color: var(--red); color: var(--red); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 5. Breadcrumb ---------- */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--gray);
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "\203A"; color: var(--gold); font-weight: 700; }
.breadcrumb a { color: var(--gray); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current="page"] { color: var(--red-dark); font-weight: 700; }

/* ---------- 6. Search Overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(20, 17, 24, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 40px;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--gray);
}
.search-bar input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font: inherit;
  font-size: 16.5px;
  color: var(--ink);
  background: transparent;
}
.search-results { max-height: 46vh; overflow-y: auto; }
.search-result {
  display: block;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none !important;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: var(--gold-pale); }
.search-result strong { display: block; font-size: 15px; color: var(--red-dark); }
.search-result span { font-size: 13px; color: var(--gray); }
.search-empty { padding: 18px; color: var(--gray); font-size: 14px; text-align: center; }
.search-hot { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; font-size: 12.5px; color: var(--gray); background: var(--bg-soft); align-items: center; }
.search-hot a {
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none !important;
}
.search-hot a:hover { border-color: var(--gold); background: var(--gold-pale); }

/* ---------- 7. Hero (Beranda) ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(16, 10, 16, 0.93) 0%, rgba(110, 8, 26, 0.88) 55%, rgba(200, 16, 46, 0.75) 100%),
    url("/assets/img/hero.jpg") center 30% / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "\2660 \2665 \2666 \2663 \2660 \2665 \2666 \2663 \2660 \2665 \2666 \2663";
  position: absolute;
  bottom: -32px;
  left: 0;
  right: 0;
  text-align: center;
  letter-spacing: 26px;
  font-size: 44px;
  color: rgba(255, 213, 74, 0.08);
  pointer-events: none;
}
.hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 64px 20px 84px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(245, 179, 1, 0.15);
  border: 1px solid rgba(245, 179, 1, 0.45);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 800;
  margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-lead { color: #efe9f5; font-size: clamp(15px, 1.6vw, 18px); max-width: 560px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips .chip { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.hero-chips .chip b { color: var(--gold-light); }

.hero-card {
  position: relative;
  background: linear-gradient(150deg, #1d1622, #2b0f1a);
  border: 1px solid rgba(245, 179, 1, 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.hero-card h2 { color: var(--gold-light); font-size: 18px; margin-bottom: 14px; }
.hero-card ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.hero-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #e9e2f2;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-card li::before { content: "\2713"; color: var(--green); font-weight: 800; flex-shrink: 0; }
.hero-card img { border-radius: 12px; margin-top: 14px; }

/* ---------- 8. Section umum ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--black); color: #e9e2f2; }
.section-dark h2, .section-dark h3 { color: #fff; }

.sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sec-head .kicker {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--gold-pale);
  color: var(--red-dark);
  border: 1px solid var(--gold);
  margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 12px; }
.sec-head p { color: var(--gray); font-size: 16px; }
.section-dark .sec-head p { color: #bdb4cc; }
.sec-head-center { text-align: center; }

/* ---------- 9. Grid & Card ---------- */
.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: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 14.5px; }
.card .icon-lg {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: var(--gold-pale);
}
.ic-red { background: #fdeef0 !important; }
.ic-green { background: var(--green-pale) !important; }
.ic-blue { background: var(--blue-pale) !important; }
.ic-gold { background: var(--gold-pale) !important; }

.link-more { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; }

/* Steps (Panduan 4 Langkah) */
.step-card { position: relative; padding-top: 34px; }
.step-num {
  position: absolute;
  top: -22px;
  left: 26px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 2.5px solid var(--gold);
  box-shadow: 0 6px 14px rgba(200, 16, 46, 0.4);
}
.section .step-card { margin-top: 22px; }

/* Kategori tiles */
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--black);
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  text-decoration: none !important;
  transition: transform 0.18s ease;
}
.tile:hover { transform: translateY(-5px); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.62; transition: opacity 0.25s ease, transform 0.4s ease; }
.tile:hover img { opacity: 0.75; transform: scale(1.05); }
.tile-body { position: relative; z-index: 2; padding: 22px; width: 100%; background: linear-gradient(180deg, transparent, rgba(10, 6, 12, 0.92)); }
.tile-body h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.tile-body p { color: #d9d2e4; font-size: 13.5px; margin: 0; }
.tile-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(20, 17, 24, 0.65);
  border: 1px solid rgba(255, 213, 74, 0.6);
  color: var(--gold-light);
}

/* ---------- 10. Register/Login entry section ---------- */
.entry-band {
  background:
    linear-gradient(120deg, var(--red-deep), var(--red) 55%, #e23b1f);
  color: #fff;
}
.entry-band-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 56px 20px; }
.entry-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); margin-bottom: 14px; }
.entry-band h2 em { font-style: normal; color: var(--gold-light); }
.entry-band p { color: #ffe9ea; max-width: 520px; }
.entry-band ul { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 10px; }
.entry-band li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #fff; }
.entry-band li::before { content: "\2713"; color: var(--gold-light); font-weight: 800; }
.entry-panel {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.entry-panel h3 { font-size: 20px; margin-bottom: 6px; }
.entry-panel > p { color: var(--gray); font-size: 14px; margin-bottom: 18px; }
.entry-panel .btn { width: 100%; margin-top: 10px; }
.entry-note { font-size: 12.5px; color: var(--gray); text-align: center; margin-top: 14px; }

/* ---------- 11. Testimoni ---------- */
.testi { display: flex; flex-direction: column; gap: 14px; }
.testi-head { display: flex; align-items: center; gap: 12px; }
.testi-ava {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 14.5px; }
.testi-role { font-size: 12.5px; color: var(--gray); }
.testi blockquote { font-size: 14.5px; color: var(--ink); font-style: italic; margin-top: 12px; }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }

/* ---------- 12. Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag-cloud a {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: all 0.15s ease;
}
.tag-cloud a:hover { border-color: var(--gold); background: var(--gold-pale); transform: translateY(-2px); }
.tag-cloud a.tag-hot { border-color: var(--red); color: var(--red-dark); background: #fdeef0; }
.tag-cloud a.tag-new { border-color: var(--green); color: var(--green-dark); background: var(--green-pale); }

/* ---------- 13. Kalkulator Bankroll ---------- */
.calc {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.calc-form { display: grid; gap: 14px; align-content: start; }
.calc-form label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.calc-form .hint { font-weight: 400; color: var(--gray); font-size: 12.5px; }
.calc input, .calc select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
}
.calc input:focus, .calc select:focus { outline: none; border-color: var(--gold); background: #fff; }
.calc-out { background: linear-gradient(150deg, var(--black), #2b0f1a); border-radius: var(--radius-sm); padding: 24px; color: #fff; display: grid; gap: 14px; align-content: start; }
.calc-out h3 { color: var(--gold-light); font-size: 16px; }
.calc-row { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; color: #d9d2e4; border-bottom: 1px dashed rgba(255,255,255,0.15); padding-bottom: 8px; flex-wrap: wrap; }
.calc-row b { color: #fff; font-size: 15px; }
.calc-row.big b { color: var(--gold-light); font-size: 20px; }
.calc-note { font-size: 12px; color: #b7aec7; }

/* ---------- 14. Mobile mockup ---------- */
.mobile-wrap { display: grid; grid-template-columns: 1fr 0.8fr; gap: 44px; align-items: center; }
.mobile-feats { list-style: none; padding: 0; display: grid; gap: 14px; margin: 20px 0 26px; }
.mobile-feats li { display: flex; gap: 14px; align-items: flex-start; }
.mobile-feats .mf-ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: var(--green-pale);
}
.mobile-feats h3 { font-size: 16px; margin-bottom: 3px; }
.mobile-feats p { font-size: 14px; color: var(--gray); margin: 0; }
.phone-mockup {
  position: relative;
  width: min(300px, 100%);
  margin: 0 auto;
  border-radius: 38px;
  border: 8px solid var(--black);
  background: var(--black);
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--gold);
  overflow: hidden;
  aspect-ratio: 9 / 18.5;
}
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 110px; height: 18px; background: var(--black); border-radius: 999px; z-index: 3; }
.phone-screen { width: 100%; height: 100%; background: linear-gradient(165deg, #1b1420, #34101c 60%, #4a0f1e); display: flex; flex-direction: column; padding: 42px 14px 14px; gap: 10px; }
.ps-bar { height: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); }
.ps-hero { height: 84px; border-radius: 12px; background: linear-gradient(120deg, var(--red-dark), var(--red)); border: 1px solid rgba(245, 179, 1, 0.5); display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-weight: 800; font-size: 14px; letter-spacing: 1px; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ps-tile { height: 62px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ps-float {
  margin-top: auto;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ff9d00 60%, var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(245, 179, 1, 0.35);
  animation: fbPulse 2s infinite;
}

/* ---------- 15. Halaman artikel ---------- */
.page-hero {
  background:
    linear-gradient(150deg, rgba(20, 17, 24, 0.9), rgba(110, 8, 26, 0.85)),
    url("/assets/img/hero.jpg") center 30% / cover no-repeat;
  color: #fff;
  padding: 56px 0;
}
.page-hero .kicker {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: rgba(245, 179, 1, 0.16);
  border: 1px solid rgba(245, 179, 1, 0.5);
  color: var(--gold-light);
  margin-bottom: 14px;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.8vw, 40px); font-weight: 800; max-width: 820px; }
.page-hero .lead { color: #e9e0f2; max-width: 760px; margin-top: 14px; font-size: clamp(15px, 1.6vw, 17.5px); }
.page-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; font-size: 13px; color: #cfc4dd; }
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }

.article-fig { margin: 0 0 28px; }
.article-fig img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-fig figcaption { font-size: 13px; color: var(--gray); margin-top: 10px; text-align: center; }

.prose { font-size: 16px; color: #2b2733; min-width: 0; }
.prose h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 800;
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--gold);
  line-height: 1.35;
}
.prose h3 { font-size: 18.5px; font-weight: 700; margin: 26px 0 10px; color: var(--red-dark); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--radius-sm); margin: 6px 0 18px; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.note {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 14.5px;
  border: 1px solid;
}
.note-info { background: var(--blue-pale); border-color: #bcd4f7; color: #123a75; }
.note-warn { background: var(--gold-pale); border-color: #eedaA0; color: #6d5305; }
.note-safe { background: var(--green-pale); border-color: #b9e6cf; color: #0a5230; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.prose th {
  background: var(--black);
  color: var(--gold-light);
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.prose td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) { background: var(--bg-soft); }

.cta-box {
  background: linear-gradient(130deg, var(--red-deep), var(--red));
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(142, 14, 31, 0.3);
}
.cta-box h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.cta-box p { color: #ffe3e6; font-size: 14px; margin: 0; }
.cta-box .btn { margin: 0; }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 22px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side-card h2 { font-size: 16.5px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.side-card ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.side-card li a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none !important;
  padding: 9px 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.side-card li a::before { content: "\2192"; color: var(--red); font-weight: 800; }
.side-card li a:hover { background: var(--gold-pale); color: var(--red-dark); }
.side-promo { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.side-promo:last-child { border-bottom: none; }
.side-promo img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.side-promo b { font-size: 13.5px; display: block; }
.side-promo span { font-size: 12px; color: var(--gray); }

/* ---------- 16. Promo cards ---------- */
.promo-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: #fff;
  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;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-card img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.promo-body { padding: 24px 26px; min-width: 0; }
.promo-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pl-gold { background: var(--gold-pale); color: #8a6300; border: 1px solid var(--gold); }
.pl-green { background: var(--green-pale); color: var(--green-dark); border: 1px solid var(--green); }
.pl-blue { background: var(--blue-pale); color: var(--blue-dark); border: 1px solid var(--blue); }
.pl-red { background: #fdeef0; color: var(--red-dark); border: 1px solid var(--red); }
.promo-body h3 { font-size: 19px; margin-bottom: 8px; }
.promo-body p { color: var(--gray); font-size: 14.5px; margin-bottom: 14px; }
.promo-terms { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.promo-terms span { font-size: 12px; font-weight: 600; padding: 4px 11px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }

/* ---------- 17. FAQ accordion ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow 0.2s ease; }
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--gold); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-weight: 700;
  font-size: 15.5px;
  position: relative;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  color: var(--red-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; transform: translateY(-50%) rotate(180deg); }
.faq-item .faq-a { padding: 0 20px 20px; color: var(--gray); font-size: 14.5px; }
.faq-item .faq-a p { margin-bottom: 10px; }

/* ---------- 18. Form (Daftar / Masuk) ---------- */
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.form-card h1 { font-size: 26px; margin-bottom: 6px; }
.form-card .sub { color: var(--gray); font-size: 14.5px; margin-bottom: 24px; }
.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.field input, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.field .fld-hint { font-size: 12px; color: var(--gray); margin-top: 5px; }
.field .fld-err { font-size: 12px; color: var(--red); margin-top: 5px; display: none; }
.field.invalid input { border-color: var(--red); background: #fdeef0; }
.field.invalid .fld-err { display: block; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gray); }
.form-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.form-note { font-size: 12.5px; color: var(--gray); text-align: center; margin-top: 14px; }
.form-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--gray); }

.pw-meter { height: 6px; border-radius: 999px; background: var(--line); margin-top: 8px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--red); transition: width 0.25s ease, background 0.25s ease; }

/* ---------- 19. CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--black) 0%, #2b0f1a 60%, var(--red-deep) 100%); color: #fff; border-top: 3px solid var(--gold); }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 46px 20px; flex-wrap: wrap; }
.cta-band-text h2 { color: #fff; font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 10px; }
.cta-band-text p { color: #cfc4dd; font-size: 15px; max-width: 560px; margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--black); color: #b9b0c6; border-top: 1px solid #2a2532; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; gap: 34px; padding: 54px 20px 40px; }
.footer-col h3 { color: var(--gold-light); font-size: 15px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #d3cbdf; font-size: 14px; text-decoration: none !important; }
.footer-col a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-about p { font-size: 13.5px; line-height: 1.75; margin-bottom: 12px; }
.footer-contact a { color: var(--gold-light) !important; font-weight: 600; }
.footer-legal p { font-size: 12.5px; line-height: 1.7; margin-bottom: 12px; color: #a99fb8; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.f-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 179, 1, 0.5);
  color: var(--gold-light);
  background: rgba(245, 179, 1, 0.08);
  white-space: nowrap;
}
.brand-footer { margin-bottom: 14px; }
.brand-footer .brand-name { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2532; background: #0d0a10; }
.footer-bottom-in {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px calc(88px + env(safe-area-inset-bottom, 0px));
  font-size: 12.5px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }
.footer-resp { color: #8f849f; }

/* ---------- 21. Floating Slot Bar ---------- */
.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: linear-gradient(180deg, #22131a, #120a10 45%, #0b060b);
  border-top: 2.5px solid var(--gold);
  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.55);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
}
.float-bar-in {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.fb-reels { display: flex; gap: 6px; }
.fb-reel {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: linear-gradient(180deg, #fff7e0, #ffdf70 50%, #e6a800);
  border: 2px solid #7a5800;
  border-radius: 9px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.4);
  animation: reelSpin 0.65s ease-in-out infinite alternate;
}
.fb-reel:nth-child(2) { animation-delay: 0.22s; }
.fb-reel:nth-child(3) { animation-delay: 0.44s; }

.fb-btn {
  position: relative;
  overflow: hidden;
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-decoration: none !important;
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.fb-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: fbShine 2.6s infinite;
}
.fb-daftar {
  background: linear-gradient(135deg, #F58200, #E85D00 45%, #C8102E 100%);
  box-shadow: 0 0 0 2px rgba(255, 213, 74, 0.9), 0 6px 20px rgba(255, 122, 0, 0.45);
  animation: fbPulse 1.8s infinite;
}
.fb-masuk {
  background: linear-gradient(135deg, #0E9B50, var(--green-dark));
  box-shadow: 0 0 0 2px rgba(122, 255, 178, 0.5), 0 6px 16px rgba(15, 169, 88, 0.4);
}
.fb-btn:hover { transform: translateY(-2px) scale(1.02); }

.fb-coin {
  position: absolute;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  animation: coinUp 3.2s infinite linear;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
.fb-coin-1 { left: 12%; animation-delay: 0s; }
.fb-coin-2 { left: 50%; animation-delay: 1.1s; }
.fb-coin-3 { left: 84%; animation-delay: 2.2s; }

@keyframes reelSpin {
  0% { transform: translateY(-3px) rotate(-4deg); filter: brightness(1.15); }
  100% { transform: translateY(3px) rotate(4deg); filter: brightness(0.95); }
}
@keyframes fbShine {
  0% { left: -80%; }
  55%, 100% { left: 130%; }
}
@keyframes fbPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 213, 74, 0.9), 0 6px 20px rgba(255, 122, 0, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(255, 213, 74, 0.35), 0 6px 26px rgba(255, 122, 0, 0.65); }
}
@keyframes coinUp {
  0% { bottom: 6px; opacity: 0; transform: translateY(0) scale(0.7); }
  12% { opacity: 0.95; }
  100% { bottom: 64px; opacity: 0; transform: translateY(-46px) scale(1.15); }
}

/* ---------- 22. Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-40 { margin-bottom: 40px; }
.sec-cta { text-align: center; margin-top: 38px; }

.page-legal { max-width: 860px; margin: 0 auto; }
.legal-list li { margin-bottom: 10px; }

/* reveal on scroll (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: 8px 10px; font-size: 13.5px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .main-nav.open { max-height: 480px; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; gap: 4px; }
  .main-nav a { padding: 11px 14px; font-size: 15px; }
  .header-actions .btn { display: none; }
  .header-actions .nav-toggle { display: inline-flex; }

  .hero-in { grid-template-columns: 1fr; padding: 46px 20px 60px; }
  .hero-card { max-width: 520px; }
  .entry-band-in { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .mobile-wrap { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .auth-layout { grid-template-columns: 1fr; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-card img { min-height: 170px; max-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .topstrip-date { display: none; }
  .cta-band-in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .hero-in { padding: 36px 20px 48px; gap: 26px; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 42px; }
  .footer-bottom-in { flex-direction: column; gap: 8px; }
  .topstrip-in { flex-wrap: wrap; gap: 8px; padding: 8px 16px; }
  .topstrip p { flex-basis: 100%; order: 3; font-size: 11.5px; }
  .form-card { padding: 24px 18px; }
  .fb-reels { display: none; }
  .fb-btn { font-size: 15px; padding: 12px 12px; letter-spacing: 1px; }
  .float-bar-in { gap: 10px; }
  .calc { padding: 20px; }
  .phone-mockup { width: min(260px, 88%); }
  .prose h2 { font-size: 20px; }
  .cta-box { padding: 20px; }
  .cta-box .btn { width: 100%; }
  .breadcrumb { font-size: 12px; }
}

/* ---------- 24. Aksesibilitas & motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

@media print {
  .float-bar, .site-header, .search-overlay, .cta-band { display: none !important; }
  .footer-bottom-in { padding-bottom: 18px; }
}
