/* ==========================================================================
   Tiara4d — Casino info theme (id-ID)
   Palette: dark navy base + gold / red / green / blue accents on white text
   ========================================================================== */

:root {
  --bg: #0a0e1c;
  --bg-2: #0f1526;
  --panel: #141c33;
  --panel-2: #1a2440;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2fb;
  --muted: #a3adc6;
  --gold: #f6c453;
  --gold-2: #d9a520;
  --red: #e23a55;
  --red-2: #b8213b;
  --green: #23c47f;
  --blue: #4d8bff;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(2, 6, 20, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 85% -100px, rgba(246, 196, 83, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(226, 58, 85, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  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.3rem; }
button { font-family: inherit; }
strong { color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }

.btn-red {
  background: linear-gradient(180deg, #f0496a, var(--red) 45%, var(--red-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(226, 58, 85, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-gold {
  background: linear-gradient(180deg, #ffe29a, var(--gold) 45%, var(--gold-2));
  color: #3a2a05;
  box-shadow: 0 10px 24px rgba(246, 196, 83, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-green {
  background: linear-gradient(180deg, #3ddc9a, var(--green) 50%, #12985d);
  color: #04281a;
  box-shadow: 0 10px 24px rgba(35, 196, 127, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 14, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #ffe29a, var(--gold) 55%, var(--gold-2));
  color: #3a2a05;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(246, 196, 83, 0.35);
}
.brand b { color: var(--gold); }
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.22em;
  line-height: 1;
}

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-a {
  display: block;
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
  white-space: nowrap;
}
.nav-a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.nav-a[aria-current="page"] { color: var(--gold); background: rgba(246, 196, 83, 0.1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle { display: none; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 9, 20, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  padding: 90px 20px 30px;
}
.search-overlay.open { display: block; }
.search-panel {
  max-width: 680px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search-bar svg { flex: none; color: var(--gold); }
#searchInput {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-family: inherit;
  min-width: 0;
}
.search-results { max-height: 55vh; overflow-y: auto; padding: 8px; }
.sr-item {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text);
}
.sr-item:hover { background: rgba(246, 196, 83, 0.08); text-decoration: none; }
.sr-item b { color: var(--gold); display: block; font-size: 0.98rem; }
.sr-item span { color: var(--muted); font-size: 0.86rem; }
.sr-empty { padding: 18px; color: var(--muted); text-align: center; font-size: 0.95rem; }
.search-hint {
  padding: 10px 18px 14px;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(77, 139, 255, 0.12), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(35, 196, 127, 0.1), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(246, 196, 83, 0.1);
  border: 1px solid rgba(246, 196, 83, 0.35);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 54ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.86rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.dot-g, .dot-r, .dot-b { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-g { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot-r { background: var(--red); box-shadow: 0 0 10px var(--red); }
.dot-b { background: var(--blue); box-shadow: 0 0 10px var(--blue); }

.hero-media { position: relative; }
.hero-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(246, 196, 83, 0.35);
  box-shadow: var(--shadow);
  position: relative;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(10, 14, 28, 0) 40%, rgba(10, 14, 28, 0.55));
}
.hero-frame img { width: 100%; height: 420px; object-fit: cover; }
.hero-chip {
  position: absolute;
  z-index: 2;
  background: rgba(15, 21, 38, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-chip.chip-1 { top: 18px; left: -14px; color: var(--gold); }
.hero-chip.chip-2 { bottom: 22px; right: -10px; color: var(--green); }
.badge-18 {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: #ff8fa3;
  font-weight: 900;
  font-size: 0.82rem;
  background: rgba(226, 58, 85, 0.12);
  flex: none;
}

/* ---------- Tag cloud ---------- */
.tag-cloud { padding: 0 0 64px; }
.tag-cloud-in {
  border: 1px dashed rgba(246, 196, 83, 0.3);
  background: rgba(246, 196, 83, 0.04);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.tag-cloud h2 { font-size: 1rem; color: var(--gold); letter-spacing: 0.05em; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.16s ease;
}
.tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  text-decoration: none;
  transform: translateY(-2px);
}
.tag.hot { border-color: rgba(226, 58, 85, 0.5); color: #ff9db0; }

/* ---------- Sections ---------- */
.sec { padding: 68px 0; }
.sec-alt { background: linear-gradient(180deg, var(--bg-2), rgba(15, 21, 38, 0.4)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block;
  color: var(--green);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.25; }
.sec-head .lead { color: var(--muted); margin-top: 12px; font-size: 1rem; }

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

.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(246, 196, 83, 0.4); }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.93rem; }

.ico {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(246, 196, 83, 0.12);
  color: var(--gold);
  border: 1px solid rgba(246, 196, 83, 0.3);
}
.ico.ico-red { background: rgba(226, 58, 85, 0.12); color: #ff8fa3; border-color: rgba(226, 58, 85, 0.35); }
.ico.ico-green { background: rgba(35, 196, 127, 0.12); color: #5fe3ac; border-color: rgba(35, 196, 127, 0.35); }
.ico.ico-blue { background: rgba(77, 139, 255, 0.12); color: #8fb5ff; border-color: rgba(77, 139, 255, 0.35); }

/* ---------- Why us (numbered) ---------- */
.why-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.why-media { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.why-item:last-child { border-bottom: 0; }
.why-num {
  flex: none;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, #ffe29a, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 52px;
}
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Mobile experience ---------- */
.mobile-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.phone-mock {
  width: min(300px, 80%);
  margin: 0 auto;
  border-radius: 36px;
  border: 8px solid #1e2745;
  background: #0c1224;
  box-shadow: var(--shadow), 0 0 0 1px rgba(246, 196, 83, 0.25);
  overflow: hidden;
  position: relative;
}
.phone-notch {
  width: 110px;
  height: 20px;
  background: #1e2745;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}
.phone-screen { padding: 16px 14px 22px; }
.phone-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.phone-avatar {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(160deg, #ffe29a, var(--gold-2));
  display: grid; place-items: center;
  color: #3a2a05; font-weight: 900; font-size: 0.8rem; flex: none;
}
.phone-bars { flex: 1; display: grid; gap: 5px; }
.phone-bars i {
  display: block; height: 7px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}
.phone-bars i:first-child { width: 70%; background: rgba(246, 196, 83, 0.6); }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.phone-tile {
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.phone-banner {
  margin-top: 12px;
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(120deg, rgba(226, 58, 85, 0.25), rgba(246, 196, 83, 0.18));
  border: 1px solid rgba(226, 58, 85, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}
.feat-list { display: grid; gap: 18px; }
.feat-list h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.feat-item { display: flex; gap: 14px; align-items: flex-start; }
.feat-item .ico { width: 44px; height: 44px; margin: 0; border-radius: 11px; }
.feat-item h3 { font-size: 1rem; margin-bottom: 4px; }
.feat-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 18px;
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(246, 196, 83, 0.18);
  font-family: Georgia, serif;
}
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; font-size: 0.95rem; }
.testi-card p { color: #d7ddf0; font-size: 0.95rem; }
.testi-who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.testi-ava {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.9rem; flex: none;
  color: #3a2a05;
  background: linear-gradient(160deg, #ffe29a, var(--gold-2));
}
.testi-who b { display: block; font-size: 0.92rem; }
.testi-who span { color: var(--muted); font-size: 0.8rem; }
.testi-note { margin-top: 18px; color: var(--muted); font-size: 0.8rem; text-align: center; }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.calc-panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(246, 196, 83, 0.3);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; }
.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(10, 14, 28, 0.6);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus { border-color: var(--gold); }
.calc-out { margin-top: 6px; display: grid; gap: 12px; }
.calc-result {
  border-radius: 12px;
  padding: 16px 18px;
  background: rgba(35, 196, 127, 0.08);
  border: 1px solid rgba(35, 196, 127, 0.3);
}
.calc-result b { display: block; font-size: 1.45rem; color: var(--green); }
.calc-result span { color: var(--muted); font-size: 0.85rem; }
.calc-note { color: var(--muted); font-size: 0.82rem; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------- Article feature (homepage) ---------- */
.article-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.article-media { position: relative; min-height: 100%; }
.article-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.article-media .updated {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(10, 14, 28, 0.85);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
}
.article-body { padding: 34px 34px 38px; }
.article-body h3 { font-size: 1.45rem; margin-bottom: 6px; line-height: 1.3; }
.article-body .byline { color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; }
.article-body h4 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--gold); }
.article-body p { color: #cfd6ea; font-size: 0.96rem; margin-bottom: 12px; }
.article-body ul { color: #cfd6ea; font-size: 0.94rem; margin: 0 0 14px; }
.article-body li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list details {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.99rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  flex: none;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); font-size: 0.93rem; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(226, 58, 85, 0.25), transparent 60%),
    radial-gradient(600px 220px at 90% 100%, rgba(246, 196, 83, 0.18), transparent 60%),
    var(--panel);
  border: 1px solid rgba(246, 196, 83, 0.3);
  border-radius: 20px;
  padding: 44px 40px;
  text-align: center;
}
.cta-strip h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-strip p { color: var(--muted); max-width: 62ch; margin: 0 auto 24px; }
.cta-strip .hero-cta { justify-content: center; }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: 16px 0 0; font-size: 0.84rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--gold); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Page hero (inner pages) ---------- */
.page-head { padding: 30px 0 46px; }
.page-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.22; margin: 10px 0 14px; }
.page-head .desc { color: var(--muted); font-size: 1.02rem; max-width: 76ch; }

/* ---------- Layout: content + sticky TOC ---------- */
.page-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.page-cols > * { min-width: 0; }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .testi-grid > *, .sec-grid > * { min-width: 0; }
.prose h2 { font-size: 1.45rem; margin: 34px 0 12px; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 10px; color: var(--gold); }
.prose p { color: #ccd4e8; margin-bottom: 14px; }
.prose ul, .prose ol { color: #ccd4e8; margin-bottom: 16px; }
.prose li { margin-bottom: 7px; }
.prose img { border-radius: 14px; border: 1px solid var(--line); margin: 18px 0; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  background: rgba(246, 196, 83, 0.06);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  color: #e6d9b8;
  margin: 18px 0;
  font-style: italic;
}
.prose .updated { color: var(--muted); font-size: 0.84rem; }
.note-box {
  background: rgba(77, 139, 255, 0.08);
  border: 1px solid rgba(77, 139, 255, 0.3);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.92rem;
  color: #c9d8f7;
  margin: 18px 0;
}
.note-box.warn { background: rgba(226, 58, 85, 0.07); border-color: rgba(226, 58, 85, 0.35); color: #f3c6cf; }
.note-box.ok { background: rgba(35, 196, 127, 0.07); border-color: rgba(35, 196, 127, 0.35); color: #bdeeda; }

.side-box {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 24px;
  margin-bottom: 22px;
}
.side-box h3 { font-size: 1rem; margin-bottom: 12px; color: var(--gold); }
.side-box ul { list-style: none; padding: 0; }
.side-box li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.side-box li:last-child { border-bottom: 0; }
.side-cta { text-align: center; }
.side-cta .btn { width: 100%; margin-top: 6px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 18px 0; }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.92rem; }
.data-table th {
  background: rgba(246, 196, 83, 0.1);
  color: var(--gold);
  text-align: left;
  padding: 12px 16px;
  font-weight: 800;
  white-space: nowrap;
}
.data-table td { padding: 12px 16px; border-top: 1px solid var(--line); color: #ccd4e8; }
.data-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

/* ---------- Promo cards ---------- */
.promo-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
}
.promo-card + .promo-card { margin-top: 26px; }
.promo-media { position: relative; min-height: 100%; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.promo-flag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(180deg, #f0496a, var(--red-2));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
}
.promo-body { padding: 26px 28px; }
.promo-body h2 { font-size: 1.3rem; margin-bottom: 8px; }
.promo-body > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 16px; }
.tnc { border: 1px dashed var(--line); border-radius: 12px; padding: 16px 18px; margin: 14px 0 18px; }
.tnc dt {
  font-weight: 800;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-top: 10px;
}
.tnc dt:first-child { margin-top: 0; }
.tnc dd { color: var(--muted); font-size: 0.9rem; margin: 2px 0 0; }

/* ---------- Forms (daftar / login) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.form-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(246, 196, 83, 0.3);
  border-radius: 18px;
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.form-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 0.93rem; margin-bottom: 24px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.check-row label { font-size: 0.87rem; color: var(--muted); }
.form-note { margin-top: 16px; color: var(--muted); font-size: 0.82rem; }
.form-side { display: grid; gap: 20px; }
.form-err { color: #ff9db0; font-size: 0.85rem; margin-top: 12px; min-height: 1.2em; }
.steps-list { list-style: none; padding: 0; counter-reset: step; }
.steps-list li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  color: #ccd4e8;
  font-size: 0.94rem;
}
.steps-list li::before {
  content: counter(step);
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #3a2a05;
  background: linear-gradient(160deg, #ffe29a, var(--gold-2));
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 21, 38, 0.5), #070b16);
  padding: 54px 0 0;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-col h3 {
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-col p { color: var(--muted); font-size: 0.88rem; }
.foot-col ul { list-style: none; padding: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { color: var(--muted); font-size: 0.9rem; }
.foot-col a:hover { color: var(--gold); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-badge {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.04em;
}
.foot-rg {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 16px 20px;
  border: 1px solid rgba(226, 58, 85, 0.3);
  background: rgba(226, 58, 85, 0.06);
  border-radius: 12px;
  font-size: 0.84rem;
  color: #f0cdd5;
}
.foot-bottom {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding: 20px 0 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.8rem;
}
.foot-bottom .age-line { display: flex; align-items: center; gap: 8px; }
.mini-18 {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: #ff8fa3;
  font-weight: 900;
  font-size: 0.66rem;
  flex: none;
}

/* ==========================================================================
   Floating bottom bar — slot machine style + falling coins
   ========================================================================== */
.float-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 80;
  width: min(520px, calc(100% - 20px));
  border-radius: 18px;
  background:
    linear-gradient(180deg, #1b2440, #10162b 60%, #0b1020);
  border: 2px solid rgba(246, 196, 83, 0.65);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 16px 34px rgba(2, 6, 20, 0.7),
    0 0 26px rgba(246, 196, 83, 0.18);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  user-select: none;
}
.fb-reels {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 6px;
  opacity: 0.5;
  pointer-events: none;
}
.fb-reel {
  flex: 1;
  overflow: hidden;
  position: relative;
  border-right: 1px solid rgba(246, 196, 83, 0.15);
}
.fb-reel:last-child { border-right: 0; }
.fb-strip {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  animation: reelSpin 7s linear infinite;
  text-align: center;
  font-size: 15px;
  line-height: 34px;
}
.fb-reel:nth-child(2) .fb-strip { animation-duration: 9s; }
.fb-reel:nth-child(3) .fb-strip { animation-duration: 8s; }
@keyframes reelSpin {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.fb-title {
  position: relative;
  z-index: 2;
  flex: none;
  padding: 0 4px 0 6px;
  line-height: 1.15;
  min-width: 96px;
}
.fb-title b {
  display: block;
  color: var(--gold);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(246, 196, 83, 0.5);
}
.fb-title span { display: block; font-size: 0.6rem; color: var(--muted); letter-spacing: 0.14em; }
.fb-actions { position: relative; z-index: 2; display: flex; gap: 10px; margin-left: auto; }
.fb-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 20px;
  min-width: 112px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.fb-btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.08); }
.fb-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 2.6s ease-in-out infinite;
}
.fb-btn.btn-a {
  background: linear-gradient(180deg, #f5294d, #c01c3a 70%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(226, 58, 85, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.fb-btn.btn-b {
  background: linear-gradient(180deg, #ffe59a, #f2b53a 65%, #cf9414);
  color: #3a2a05;
  box-shadow: 0 8px 20px rgba(246, 196, 83, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
@keyframes shine {
  0% { left: -80%; }
  55%, 100% { left: 130%; }
}
/* falling gold coins inside the bar */
.fb-coin {
  position: absolute;
  top: -18px;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff3c4, #f6c453 55%, #b9871a);
  box-shadow: 0 0 8px rgba(246, 196, 83, 0.8);
  animation: coinFall linear infinite;
  pointer-events: none;
}
@keyframes coinFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.95; }
  100% { transform: translateY(96px) rotate(340deg); opacity: 0; }
}
/* coin burst on tap */
.spark {
  position: fixed;
  z-index: 99;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff3c4, #f6c453 60%, #b9871a);
  pointer-events: none;
  animation: sparkFly 0.7s ease-out forwards;
}
@keyframes sparkFly {
  to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fb-strip, .fb-btn::after, .fb-coin { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-list { gap: 0; }
  .nav-a { padding: 9px 9px; font-size: 0.88rem; }
  .hero-grid { gap: 34px; }
  .page-cols { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(8, 12, 24, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px;
    display: none;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-a { padding: 12px 14px; font-size: 1rem; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-frame img { height: 300px; }
  .hero-chip.chip-1 { left: 10px; }
  .hero-chip.chip-2 { right: 10px; }
  .grid-3, .grid-4, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .why-wrap, .mobile-wrap, .calc-grid, .form-grid { grid-template-columns: 1fr; }
  .article-feature { grid-template-columns: 1fr; }
  .article-media img { min-height: 240px; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-media img { min-height: 190px; }
  .sec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .sec { padding: 50px 0; }
  /* keep the top row (brand + search + DAFTAR + menu) inside 375px */
  .header-in { gap: 10px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-gold { display: none; }
  .brand { gap: 6px; }
  .brand small { display: none; }
  .grid-2, .grid-3, .grid-4, .testi-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .cta-strip { padding: 34px 20px; }
  .article-body { padding: 24px 20px 28px; }
  .promo-body { padding: 20px 18px; }
  .form-card { padding: 26px 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .foot-bottom { padding-bottom: 104px; }
  .float-bar { bottom: 8px; padding: 8px 9px; gap: 8px; border-radius: 15px; }
  .fb-title { display: none; }
  .fb-actions { width: 100%; }
  .fb-btn { flex: 1; min-width: 0; padding: 12px 8px; }
  .hero-frame img { height: 220px; }
  .page-head h1 { font-size: 1.55rem; }
  .crumbs { font-size: 0.78rem; }
  .table-wrap { margin-inline: -4px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.hide-sm { display: initial; }
@media (max-width: 620px) { .hide-sm { display: none; } }
