/*
Theme Name: Idncash
Theme URI: https://idncash.games/
Author: Idncash
Description: Tema portal informasi Idncash (idncash.games) — slot, live casino, poker, dan sportsbook dalam bahasa Indonesia. Pra-render statis, responsif penuh, SEO-ready.
Version: 1.0
Text Domain: idncash
Tags: casino-information, indonesian, responsive, seo, static-prerender
*/

/* ============================================================
   1. Reset & tokens
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #24262b;
  background: #ffffff;
}

:root {
  --merah: #d32f2f;
  --merah-tua: #a81717;
  --emas: #ffc233;
  --emas-tua: #e09a08;
  --hijau: #1e9e5a;
  --hijau-tua: #0e6e3d;
  --biru: #1668c1;
  --biru-tua: #0d4f96;
  --hitam: #1b1b1b;
  --arang: #26282c;
  --abu-bg: #f6f7f9;
  --garis: #e5e8ec;
  --teks-lembut: #5c6470;
  --radius: 14px;
  --bayangan: 0 10px 30px rgba(16, 20, 30, 0.08);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 800;
  color: var(--hitam);
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p { margin: 0 0 1em; overflow-wrap: anywhere; }

a {
  color: var(--merah-tua);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.25em; margin: 0 0 1em; }

::selection { background: var(--emas); color: #241000; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--hitam);
  color: #fff;
  padding: 10px 16px;
  z-index: 1200;
}

.skip-link:focus { left: 8px; top: 8px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.container {
  width: min(1180px, 100% - 2 * clamp(14px, 3vw, 34px));
  margin-inline: auto;
}

.section { padding-block: clamp(44px, 7vw, 84px); }
.section--alt { background: var(--abu-bg); }
.section--dark { background: var(--hitam); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #c9ccd2; }

.section-head { max-width: 760px; margin: 0 auto 2.4rem; text-align: center; }
.section-head .lead { color: var(--teks-lembut); margin: 0; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--merah-tua);
  background: #fdeaea;
  border: 1px solid #f3c9c9;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.section--green .kicker { color: #0b5c35; background: #e2f6ec; border-color: #b9e5d0; }

.section-head h2 .aksen,
h1 .aksen,
h2 .aksen {
  color: var(--merah-tua);
}

/* ============================================================
   2. Buttons & chips
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 11px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(180deg, #ffd866, #f0a90f 60%, #cf8705);
  color: #241000;
  box-shadow: 0 6px 18px rgba(232, 160, 12, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn--red {
  background: linear-gradient(180deg, #e13f3f, #b81d1d);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 29, 29, 0.35);
}

.btn--red:hover { background: linear-gradient(180deg, #ea4d4d, #c22222); }

.btn--green {
  background: linear-gradient(180deg, #27b168, #14804a);
  color: #fff;
  box-shadow: 0 6px 18px rgba(17, 122, 71, 0.35);
}

.btn--blue {
  background: linear-gradient(180deg, #2a7bd4, #135ba6);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 84, 156, 0.35);
}

.btn--white {
  background: #fff;
  color: var(--hitam);
  border-color: #d9dde3;
}

.btn--ghost {
  background: transparent;
  color: var(--hitam);
  border-color: #c9cfd8;
}

.btn--ghost:hover { border-color: var(--merah-tua); color: var(--merah-tua); }

.btn--lg { padding: 14px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.badge--18 { background: #241000; color: var(--emas); border: 1.5px solid var(--emas); }
.badge--green { background: #e2f6ec; color: #0b5c35; border: 1px solid #b9e5d0; }
.badge--blue { background: #e7f0fb; color: #0d4f96; border: 1px solid #bcd6f2; }
.badge--red { background: #fdeaea; color: var(--merah-tua); border: 1px solid #f3c9c9; }
.badge--gold { background: #fff6df; color: #8a5a00; border: 1px solid #eed9a0; }

.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teks-lembut);
  background: #eef0f4;
  border-radius: 999px;
  padding: 3px 12px;
}

.arrow-link {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--merah-tua);
}

.arrow-link::after { content: " \2192"; }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  font-size: 0.82rem;
  font-weight: 700;
  color: #4a3a10;
  background: linear-gradient(180deg, #fff3d0, #ffe49a);
  border: 1px solid #eccf7d;
  border-radius: 999px;
  padding: 5px 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tag-cloud a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(180, 130, 10, 0.25);
}

/* ============================================================
   3. Header & nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--garis);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 20, 30, 0.1); }

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark { width: 40px; height: 40px; }

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--hitam);
  font-style: normal;
}

.brand-name em {
  color: var(--merah-tua);
  font-style: normal;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 16px);
  margin-right: auto;
  flex-wrap: wrap;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--arang);
  padding: 8px 10px;
  border-radius: 8px;
  position: relative;
}

.nav-menu a:hover {
  color: var(--merah-tua);
  text-decoration: none;
  background: #fdf1f1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-actions .btn { padding: 9px 18px; font-size: 0.85rem; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #d4d9e0;
  background: #fff;
  color: var(--arang);
  cursor: pointer;
}

.icon-btn:hover { border-color: var(--merah-tua); color: var(--merah-tua); }

.icon-btn svg { width: 19px; height: 19px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: 1.5px solid #d4d9e0;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--hitam);
}

/* ============================================================
   4. Search overlay
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 15, 18, 0.78);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 8vh, 90px) 16px 16px;
  overflow-y: auto;
}

.search-overlay[hidden] { display: none; }

.search-panel {
  position: relative;
  width: min(680px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: clamp(18px, 4vw, 34px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.search-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #d4d9e0;
  background: #fff;
  font-size: 15px;
  color: var(--arang);
  cursor: pointer;
}

.search-close:hover { border-color: var(--merah); color: var(--merah); }

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #eceef2;
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
}

.search-form:focus-within { border-color: var(--emas); }

.search-form svg { width: 20px; height: 20px; color: var(--teks-lembut); flex: none; }

.search-form input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font: inherit;
  font-size: 1rem;
  padding: 8px 0;
  background: transparent;
}

.search-hot { margin-top: 18px; }

.search-hot-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teks-lembut);
  margin-bottom: 10px;
}

.search-results { margin-top: 14px; }

.result-item {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--garis);
  border-radius: 12px;
  margin-bottom: 8px;
}

.result-item:hover { border-color: var(--emas); text-decoration: none; background: #fffdf5; }

.result-item .r-title { font-weight: 800; font-size: 0.95rem; color: var(--hitam); }

.result-item .r-desc { font-size: 0.82rem; color: var(--teks-lembut); margin-top: 2px; }

.search-empty {
  padding: 14px;
  border-radius: 12px;
  background: #fdeaea;
  color: var(--merah-tua);
  font-weight: 700;
}

/* ============================================================
   5. Hero
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, #200707 0%, #140404 55%, #0d0202 100%);
  color: #fff;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 194, 51, 0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(211, 47, 47, 0.25), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}

.hero h1 { color: #fff; margin-bottom: 0.45em; }

.hero h1 .aksen { color: var(--emas); }

.hero-lead {
  color: #d7dae0;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  max-width: 56ch;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-search { margin-top: 24px; max-width: 560px; }

.hero-search .search-form {
  background: rgba(255, 255, 255, 0.97);
  border-color: var(--emas);
}

.hero-tags { margin-top: 14px; }

.hero-tags .tag-cloud a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 194, 51, 0.4);
  color: #ffe9b3;
}

.hero-media { position: relative; }

.hero-media img {
  border-radius: var(--radius);
  border: 2px solid rgba(255, 194, 51, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.hero-media .badge--18 {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.95rem;
  padding: 6px 14px;
  background: rgba(20, 8, 8, 0.85);
}

.hero-media-note {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -22px;
  background: #fff;
  color: var(--arang);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--bayangan);
  border-left: 4px solid var(--hijau);
}

/* strip kategori */
.cat-strip { padding-block: 64px 0; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--garis);
  border-top: 4px solid var(--merah);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--bayangan);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cat-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(16, 20, 30, 0.14); text-decoration: none; }

.cat-card .cc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 6px;
}

.cc-icon--slot { background: #fff6df; }
.cc-icon--casino { background: #fdeaea; }
.cc-icon--poker { background: #e2f6ec; }
.cc-icon--sport { background: #e7f0fb; }

.cat-card h3 { margin: 0; }

.cat-card p { font-size: 0.86rem; color: var(--teks-lembut); margin: 0 0 8px; }

.cat-card .arrow-link { margin-top: auto; }

/* ============================================================
   6. Steps / features / generic cards
   ============================================================ */
.steps-grid,
.feat-grid,
.testi-grid {
  display: grid;
  gap: 18px;
}

.steps-grid { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.feat-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--garis);
  border-radius: var(--radius);
  padding: 26px 20px 20px;
  box-shadow: var(--bayangan);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(160deg, #e13f3f, #a81717);
  box-shadow: 0 6px 16px rgba(168, 23, 23, 0.35);
  margin-bottom: 12px;
}

.step-card h3 { font-size: 1.05rem; }

.step-card p { font-size: 0.88rem; color: var(--teks-lembut); margin: 0; }

.feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--garis);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--bayangan);
}

.feat-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.fi--red { background: #fdeaea; }
.fi--gold { background: #fff6df; }
.fi--green { background: #e2f6ec; }
.fi--blue { background: #e7f0fb; }

.feat h3 { font-size: 1rem; margin-bottom: 4px; }

.feat p { font-size: 0.86rem; color: var(--teks-lembut); margin: 0; }

/* promo cards */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
}

.promo-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--garis);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--bayangan);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.promo-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(16, 20, 30, 0.14); }

.promo-card figure { margin: 0; position: relative; }

.promo-card figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.promo-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(180deg, #ffd866, #f0a90f);
  color: #241000;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 4px 12px;
}

.promo-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.promo-body h3 { margin: 0; font-size: 1.05rem; }

.promo-body p { font-size: 0.86rem; color: var(--teks-lembut); margin: 0; }

.promo-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.promo-body .arrow-link { margin-top: auto; }

/* split media section */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.split img { border-radius: var(--radius); box-shadow: var(--bayangan); }

.check-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }

.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; }

.check-list .cl-ico {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2f6ec;
  color: var(--hijau-tua);
  font-weight: 900;
  font-size: 0.85rem;
  margin-top: 2px;
}

/* testimonials */
.testi-grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

.testi {
  background: #fff;
  border: 1px solid var(--garis);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--bayangan);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testi-stars { color: #eda400; letter-spacing: 2px; font-size: 0.95rem; }

.testi blockquote {
  margin: 0;
  font-size: 0.92rem;
  color: #3a4048;
  font-style: italic;
}

.testi-who { display: flex; align-items: center; gap: 10px; margin-top: auto; }

.testi-ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 0.9rem;
  flex: none;
}

.testi-name { font-weight: 800; font-size: 0.88rem; }
.testi-role { font-size: 0.76rem; color: var(--teks-lembut); }

.testi-note { text-align: center; font-size: 0.78rem; color: var(--teks-lembut); margin-top: 18px; }

/* ============================================================
   7. Calculator (inovasi)
   ============================================================ */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--garis);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--bayangan);
  max-width: 880px;
  margin: 0 auto;
}

.calc-form { padding: clamp(20px, 4vw, 34px); display: grid; gap: 16px; align-content: start; }

.calc-form label { font-weight: 800; font-size: 0.86rem; display: block; margin-bottom: 6px; }

.calc-form input[type="number"] {
  width: 100%;
  font: inherit;
  padding: 11px 14px;
  border: 2px solid #eceef2;
  border-radius: 10px;
}

.calc-form input:focus { outline: none; border-color: var(--hijau); }

.calc-out {
  background: linear-gradient(165deg, #0e6e3d, #0a5230);
  color: #fff;
  padding: clamp(20px, 4vw, 34px);
  display: grid;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.calc-out .co-label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }

.calc-out .co-value { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; color: var(--emas); }

.calc-out .co-note { font-size: 0.82rem; opacity: 0.9; }

/* ============================================================
   8. Security / responsible blocks
   ============================================================ */
.sec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
}

.sec-grid img { border-radius: var(--radius); box-shadow: var(--bayangan); }

.resp-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }

.resp-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }

.resp-list li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: #dfe2e7;
}

.resp-list strong { color: #fff; }

/* ============================================================
   9. FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--garis);
  border-radius: 12px;
  box-shadow: var(--bayangan);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 16px 52px 16px 18px;
  position: relative;
  color: var(--hitam);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fdeaea;
  color: var(--merah-tua);
  font-weight: 900;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-answer { padding: 0 18px 16px; font-size: 0.9rem; color: #464c55; }

.faq-answer p { margin: 0; }

/* ============================================================
   10. Breadcrumb & page hero (inner pages)
   ============================================================ */
.breadcrumb { padding-block: 18px 4px; }

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 700;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #b6bdc7;
}

.breadcrumb a { color: var(--teks-lembut); }

.breadcrumb span[aria-current] { color: var(--merah-tua); }

.page-hero {
  background: linear-gradient(160deg, #200707, #120303);
  color: #fff;
  padding-block: clamp(38px, 6vw, 64px);
}

.page-hero h1 { color: #fff; max-width: 22ch; }

.page-hero h1 .aksen { color: var(--emas); }

.page-hero p { color: #d7dae0; max-width: 64ch; margin-bottom: 0; }

.page-hero .badge--18 { margin-bottom: 14px; }

.page-hero .breadcrumb a { color: #b9bec7; }

.page-hero .breadcrumb li:not(:last-child)::after { color: #6f757f; }

.page-hero .breadcrumb span[aria-current] { color: var(--emas); }

/* ============================================================
   11. Article layout
   ============================================================ */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.article { max-width: 760px; }

.article figure { margin: 0 0 22px; }

.article figure img { border-radius: var(--radius); box-shadow: var(--bayangan); }

.article figcaption { font-size: 0.78rem; color: var(--teks-lembut); margin-top: 8px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--teks-lembut);
  margin-bottom: 18px;
}

.article h2 { margin-top: 1.6em; }

.article h3 { margin-top: 1.3em; }

.article p { color: #343941; }

.article ul li,
.article ol li { margin-bottom: 0.4em; color: #343941; }

.info-box {
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 0.9rem;
}

.info-box--info { background: #e7f0fb; border: 1px solid #bcd6f2; color: #123d70; }
.info-box--warn { background: #fff6df; border: 1px solid #eed9a0; color: #6d4c07; }
.info-box--ok { background: #e2f6ec; border: 1px solid #b9e5d0; color: #0b5c35; }

.info-box strong { display: block; margin-bottom: 4px; }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border: 1px solid var(--garis);
  border-radius: 12px;
}

.table-wrap table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 0.86rem;
  background: #fff;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--garis);
  vertical-align: top;
}

.table-wrap th {
  background: var(--hitam);
  color: #ffd866;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-wrap tr:last-child td { border-bottom: none; }

.table-wrap td:first-child { font-weight: 700; }

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  background: linear-gradient(140deg, #fff6df, #fdeaea);
  border: 1.5px solid #eccf7d;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 28px 0;
}

.article-cta p { margin: 0; font-weight: 700; font-size: 0.94rem; }

.article-cta .btns { display: flex; gap: 10px; flex-wrap: wrap; }

.author-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--garis);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--abu-bg);
  margin-top: 30px;
}

.author-box .ab-ava {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(160deg, #e13f3f, #a81717);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.author-box p { font-size: 0.84rem; color: var(--teks-lembut); margin: 4px 0 0; }

.author-box strong { font-size: 0.95rem; }

.related {
  margin-top: 34px;
  border-top: 2px dashed var(--garis);
  padding-top: 22px;
}

.related h3 { font-size: 1.05rem; }

.related ul { list-style: none; padding: 0; display: grid; gap: 10px; }

.related a {
  display: block;
  background: #fff;
  border: 1px solid var(--garis);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.88rem;
}

.related a:hover { border-color: var(--emas); text-decoration: none; }

/* sidebar */
.sidebar { display: grid; gap: 18px; position: sticky; top: 86px; }

.side-card {
  background: #fff;
  border: 1px solid var(--garis);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--bayangan);
}

.side-card h3 { font-size: 0.95rem; margin-bottom: 12px; }

.side-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.side-card a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: 8px;
}

.side-card a:hover { background: #fdf1f1; text-decoration: none; }

.side-card img { width: 64px; height: 46px; object-fit: cover; border-radius: 8px; flex: none; }

.side-note { font-size: 0.78rem; color: var(--teks-lembut); }

/* ============================================================
   12. Auth pages (daftar/masuk)
   ============================================================ */
.auth-section { padding-block: clamp(40px, 6vw, 72px); }

.auth-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: #fff;
  border: 1px solid var(--garis);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--bayangan);
  max-width: 980px;
  margin: 0 auto;
}

.auth-form { padding: clamp(22px, 4vw, 40px); }

.auth-form h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

.auth-form .form-lead { font-size: 0.9rem; color: var(--teks-lembut); margin-bottom: 20px; }

.field { margin-bottom: 14px; }

.field label { display: block; font-weight: 800; font-size: 0.82rem; margin-bottom: 6px; }

.field input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 2px solid #eceef2;
  border-radius: 10px;
  background: #fbfcfd;
}

.field input:focus { outline: none; border-color: var(--emas); background: #fff; }

.field .hint { font-size: 0.74rem; color: var(--teks-lembut); margin-top: 4px; }

.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; margin: 14px 0 18px; }

.field-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--merah-tua); }

.form-alert {
  display: none;
  background: #fdeaea;
  border: 1px solid #f3c9c9;
  color: var(--merah-tua);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.form-alert.show { display: block; }

.auth-side {
  background: linear-gradient(165deg, #200707, #0f0303);
  color: #fff;
  padding: clamp(22px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-side img { border-radius: 12px; order: -1; }

.auth-side h3 { color: #fff; font-size: 1.05rem; }

.auth-side p { font-size: 0.84rem; color: #c9ccd2; margin: 0; }

.auth-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.auth-side li { font-size: 0.82rem; color: #d7dae0; display: flex; gap: 8px; }

.auth-side li::before { content: "\2713"; color: var(--emas); font-weight: 900; }

.auth-alt { text-align: center; font-size: 0.85rem; margin-top: 16px; }

/* ============================================================
   13. Search page & 404
   ============================================================ */
.page-title-area { padding-block: clamp(36px, 6vw, 60px) 10px; }

.search-page-form { max-width: 640px; margin: 20px auto 8px; }

.static-list { max-width: 800px; margin: 24px auto 0; }

.err-hero { text-align: center; padding-block: clamp(60px, 10vw, 110px); }

.err-code {
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(160deg, #e13f3f, #a81717);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.err-hero .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ============================================================
   14. Footer
   ============================================================ */
.site-footer {
  background: var(--hitam);
  color: #c3c7cd;
  padding-top: clamp(44px, 6vw, 70px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 44px);
  padding-bottom: 34px;
}

.footer-brand p { font-size: 0.84rem; color: #9aa0a8; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.86rem;
  color: #c3c7cd;
  padding: 5px 0;
}

.footer-col a:hover { color: var(--emas); }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 26px;
  font-size: 0.76rem;
  color: #8b9199;
}

.footer-legal p { margin: 0 0 10px; }

/* ============================================================
   15. Floating bottom bar (slot machine style + coins)
   ============================================================ */
.floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  padding: 0 10px 10px;
  pointer-events: none;
}

.floatbar-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #2b0e0e, #150505);
  border: 1.5px solid #ffc233;
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(255, 194, 51, 0.07);
}

.slotbox { display: inline-flex; gap: 4px; flex: none; }

.reel {
  width: 24px;
  height: 30px;
  overflow: hidden;
  background: #0c0c0c;
  border: 1px solid #4a3413;
  border-radius: 7px;
  display: inline-flex;
  flex-direction: column;
}

.reel b {
  display: block;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  color: #ffd866;
  font-style: normal;
}

.reel.r1 { animation: reelSpin 2.1s steps(4) infinite; }
.reel.r2 { animation: reelSpin 2.7s steps(4) infinite 0.35s; }
.reel.r3 { animation: reelSpin 3.3s steps(4) infinite 0.7s; }

@keyframes reelSpin {
  from { transform: translateY(0); }
  to { transform: translateY(-120px); }
}

.floatbar-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  padding: 11px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe184, #f2ab10 58%, #c98306);
  color: #241000;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.08em;
  box-shadow: 0 5px 16px rgba(242, 171, 16, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: ctaPulse 1.8s ease-in-out infinite;
}

.floatbar-cta:hover { text-decoration: none; filter: brightness(1.06); }

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 5px 16px rgba(242, 171, 16, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
  50% { transform: scale(1.04); box-shadow: 0 8px 24px rgba(242, 171, 16, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
}

.coin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, #f2ab10 60%, #b47a04);
  box-shadow: 0 2px 6px rgba(180, 122, 4, 0.55);
  opacity: 0;
  animation: coinUp 2.2s ease-out infinite;
  pointer-events: none;
}

.coin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(120, 80, 0, 0.45);
}

.coin.c1 { left: 6%; bottom: 8px; animation-delay: 0s; }
.coin.c2 { left: 26%; bottom: 8px; width: 9px; height: 9px; animation-delay: 0.55s; }
.coin.c3 { right: 26%; bottom: 8px; width: 10px; height: 10px; animation-delay: 1.05s; }
.coin.c4 { right: 6%; bottom: 8px; animation-delay: 1.6s; }

@keyframes coinUp {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  18% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(-34px) scale(1.05); opacity: 0; }
}

/* ============================================================
   16. Utilities & responsive
   ============================================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 1.4rem; }
.mb-0 { margin-bottom: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--garis);
    box-shadow: 0 18px 40px rgba(16, 20, 30, 0.14);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 18px;
  }

  .nav-menu.open { display: flex; }

  .nav-menu a { padding: 12px 12px; border-radius: 10px; font-size: 0.95rem; }

  .nav-actions .btn--gold { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }

  .hero-media { max-width: 560px; }

  .split,
  .sec-grid { grid-template-columns: minmax(0, 1fr); }

  .article-wrap { grid-template-columns: minmax(0, 1fr); }

  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

  .auth-card { grid-template-columns: minmax(0, 1fr); }

  .calc { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
}

/* grid items must be allowed to shrink below content min-width */
.article,
.sidebar,
.hero-copy,
.hero-media,
.split > *,
.sec-grid > *,
.auth-card > *,
.calc > *,
.footer-grid > *,
.cat-grid > * {
  min-width: 0;
}

@media (max-width: 600px) {
  .nav-actions .btn--ghost { display: none; }

  .hero-cta .btn { flex: 1 1 auto; }

  .btn { white-space: normal; text-align: center; }

  .table-wrap table { min-width: 400px; }

  .floatbar { padding: 0 6px 6px; }

  .floatbar-inner {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 6px 10px;
  }

  .floatbar-cta { flex: 1; max-width: 250px; min-width: 0; font-size: 14px; padding: 11px 10px; }

  .slotbox .reel.r3 { display: none; }

  .table-wrap table { min-width: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .coin { display: none; }

  html { scroll-behavior: auto; }
}
