/* ==========================================================================
   Roulett — style.css (tema gaya WordPress, statis)
   Identitas: meja roulette klasik — hijau felt, merah, emas, biru, hitam.
   Responsif penuh; penjaga anti-luapan (overflow) di semua komponen.
   ========================================================================== */

/* ---------- Token desain ---------- */
:root {
  --felt: #0a3d2c;
  --felt-2: #0c4a35;
  --felt-deep: #06281d;
  --felt-ink: #08301f;
  --ink: #121417;
  --coal: #15181b;
  --coal-2: #1c2024;
  --red: #d8232a;
  --red-2: #b01e28;
  --red-deep: #8e1219;
  --gold: #f2c14e;
  --gold-2: #e4b23c;
  --gold-soft: #fff3d6;
  --blue: #2f6fed;
  --blue-deep: #1e4fc2;
  --paper: #ffffff;
  --mist: #f3f6f3;
  --cream: #fbf7ec;
  --line: #e3e8e4;
  --line-2: #d2dcd4;
  --text: #22282b;
  --muted: #5c6862;
  --muted-2: #8b968f;
  --cream-text: #f2ecdc;
  --cream-muted: #c9d6cc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(6, 40, 29, 0.10);
  --shadow-lift: 0 16px 36px rgba(6, 40, 29, 0.16);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35rem; }
a { color: var(--red-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(1160px, 100% - 2rem);
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: #33240a;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-cta {
  background: linear-gradient(180deg, #e5303a, #c01824);
  color: #fff;
  box-shadow: 0 6px 18px rgba(216, 35, 42, 0.35),
              inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.btn-gold {
  background: linear-gradient(180deg, #f7d06b, #e0a93c);
  color: #33240a;
  box-shadow: 0 6px 18px rgba(228, 178, 60, 0.4),
              inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.btn-outline { border-color: var(--felt); color: var(--felt-deep); background: transparent; }
.btn-outline:hover { background: var(--mist); }
.btn-light { background: #fff; color: var(--felt-deep); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.85rem; }

.text-link { font-weight: 700; color: var(--felt); }
.text-link::after { content: " ›"; color: var(--gold-2); }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--felt-deep); color: #ded8c3; font-size: 0.78rem; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  flex-wrap: wrap;
}
.topbar-note { margin: 0; }
.topbar-note strong { color: var(--gold); }
.topbar-date { margin: 0; color: #b9c4bb; }

.site-header { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.header-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  position: relative;
}

.site-brand { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-mark { display: inline-flex; filter: drop-shadow(0 2px 4px rgba(6, 40, 29, 0.3)); }
.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--felt-deep);
}
.logo-text small { color: var(--gold-2); font-weight: 700; font-size: 0.72em; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-menu a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}
.nav-menu a:hover { background: var(--mist); text-decoration: none; }
.nav-menu .current-menu-item a {
  background: var(--felt);
  color: var(--cream-text);
}

.site-nav { margin-left: auto; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.site-nav + .header-actions { margin-left: 0; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--felt-deep);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.icon-btn:hover { background: var(--mist); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle .bar {
  width: 18px; height: 2px;
  background: var(--felt-deep);
  border-radius: 2px;
  display: block;
}

.nav-mobile-actions { display: none; }

/* ---------- Panel pencarian ---------- */
.search-panel {
  background: var(--felt-ink);
  border-bottom: 2px solid var(--gold-2);
  box-shadow: var(--shadow-lift);
}
.search-panel-inner { padding: 1.1rem 0 1.3rem; }
.search-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  color: var(--muted);
}
.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font: inherit;
  color: var(--text);
  background: transparent;
  padding: 0.45rem 0;
}
.search-results { margin-top: 0.6rem; }
.search-result-item {
  display: block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 193, 78, 0.25);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.45rem;
  color: var(--cream-text);
}
.search-result-item:hover { background: rgba(242, 193, 78, 0.14); text-decoration: none; }
.search-result-item strong { display: block; color: var(--gold); font-size: 0.95rem; }
.search-result-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--cream-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.search-empty { color: var(--cream-muted); font-size: 0.9rem; margin: 0.4rem 0 0; }

.widget-title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 1rem 0 0.5rem;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag-cloud-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream-text);
  border: 1px solid rgba(242, 193, 78, 0.4);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.tag-cloud-link:hover { background: var(--gold); color: #33240a; text-decoration: none; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--felt-ink); border-bottom: 1px solid rgba(242, 193, 78, 0.25); }
.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0.55rem 0;
  font-size: 0.8rem;
}
.breadcrumbs-list li { color: var(--cream-muted); }
.breadcrumbs-list li + li::before { content: "›"; margin-right: 0.55rem; color: var(--gold-2); }
.breadcrumbs-list a { color: var(--gold-soft); }
.breadcrumbs-list [aria-current] { color: #fff; }

/* ---------- Umum: bagian & grid ---------- */
.section { padding: 3.4rem 0; }
.section-head { max-width: 720px; margin: 0 auto 2rem; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-2);
  background: #fdecec;
  border: 1px solid #f5c9cb;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.section-title { font-size: clamp(1.45rem, 3vw, 2rem); color: var(--felt-deep); }
.section-title::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  border-radius: 4px;
  margin: 0.55rem auto 0;
  background: linear-gradient(90deg, var(--gold), var(--red));
}
.section-subtitle { color: var(--muted); margin-top: 0.7rem; }

.section-mist { background: var(--mist); }
.section-cream { background: var(--cream); }
.section-dark {
  background: linear-gradient(180deg, var(--felt-2), var(--felt-deep));
  color: var(--cream-muted);
}
.section-dark .section-title { color: var(--cream-text); }
.section-dark .section-eyebrow { color: var(--gold); background: rgba(242, 193, 78, 0.12); border-color: rgba(242, 193, 78, 0.4); }
.section-dark .section-subtitle { color: var(--cream-muted); }
.section-coal { background: linear-gradient(180deg, var(--coal-2), var(--coal)); color: var(--cream-muted); }
.section-coal .section-title { color: var(--cream-text); }

.grid { display: grid; gap: 1.15rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid-steps { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }

.card-lift { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.card-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* ---------- Hero (beranda) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(242, 193, 78, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(47, 111, 237, 0.12), transparent 55%),
    linear-gradient(180deg, var(--felt-2), var(--felt-deep));
  color: var(--cream-muted);
  overflow: hidden;
}
.hero::before {
  content: "♠ ♥ ♦ ♣ ♠ ♥ ♦ ♣ ♠ ♥ ♦ ♣";
  position: absolute;
  inset: auto 0 -1.4rem;
  text-align: center;
  letter-spacing: 1.6rem;
  font-size: 0.9rem;
  color: rgba(242, 193, 78, 0.14);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 3.6rem 0 3.2rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px dashed rgba(242, 193, 78, 0.55);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  margin-bottom: 1.1rem;
}
.hero-title {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  color: #fff;
  margin-bottom: 0.5rem;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { max-width: 54ch; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.35rem 0 1.1rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.trust-chip {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cream-text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
}
.trust-chip strong { color: var(--gold); }

.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-wheel { filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)); max-width: 100%; }
.wheel-spin, .wheel-spin-num { transform-origin: 200px 200px; animation: wheelspin 40s linear infinite; }
@keyframes wheelspin { to { transform: rotate(360deg); } }

/* pencarian di hero */
.hero-search-wrap { padding-bottom: 2.6rem; }
.hero-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  box-shadow: 0 14px 34px rgba(4, 24, 16, 0.35);
  position: relative;
  z-index: 2;
}
.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font: inherit;
  color: var(--text);
  background: transparent;
  padding: 0.5rem 0;
}
.hero-search-results { max-width: 680px; margin: 0.5rem auto 0; position: relative; z-index: 3; }
.hero-search-results .search-result-item { background: var(--felt-ink); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: center; margin-top: 0.9rem; }

/* ---------- Kartu kategori ---------- */
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.cat-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-badge {
  position: absolute;
  left: 0.9rem; bottom: 0.9rem;
  background: rgba(8, 48, 31, 0.92);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 193, 78, 0.5);
}
.cat-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.cat-body h3 { font-size: 1.12rem; margin: 0; }
.cat-body h3 a { color: var(--felt-deep); }
.cat-body p { color: var(--muted); font-size: 0.92rem; margin: 0; flex: 1; }

/* ---------- Kartu langkah ---------- */
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: left;
}
.step-chip {
  position: absolute;
  top: -18px; left: 1.1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f7d06b, #e0a93c 62%, #b77e1b);
  border: 3px dashed rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 14px rgba(228, 178, 60, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #33240a;
  font-size: 1.05rem;
}
.step-card h3 { font-size: 1.05rem; margin-top: 0.9rem; }
.step-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.6rem; }
.step-icon { font-size: 1.7rem; display: inline-block; }

/* ---------- Kartu keunggulan ---------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  font-size: 1.5rem;
  border-radius: 16px;
  background: var(--gold-soft);
  border: 1.5px solid #ecd9a0;
  margin-bottom: 0.8rem;
}
.feature-card h3 { font-size: 1.02rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- Split media (mengapa memilih / mobile) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.split-media img { width: 100%; display: block; object-fit: cover; }
.split-copy h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); color: var(--felt-deep); }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.check-list .tick {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--felt);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 0.15rem;
}
.split-copy .btn { margin-top: 1.3rem; }
.section-dark .split-copy h2, .section-coal .split-copy h2 { color: var(--cream-text); }
.section-dark .check-list .tick { background: var(--gold); color: #33240a; }

/* ---------- Mockup ponsel ---------- */
.phone-mock {
  width: min(270px, 78%);
  margin-inline: auto;
  border-radius: 34px;
  background: linear-gradient(160deg, #1a1e22, #0d0f12);
  padding: 12px;
  box-shadow: 0 24px 50px rgba(4, 24, 16, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.phone-screen {
  border-radius: 24px;
  overflow: hidden;
  background: var(--felt-deep);
  display: grid;
  gap: 8px;
  padding: 12px;
}
.phone-notch {
  width: 84px; height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.25);
  margin: 2px auto 4px;
}
.mock-hero {
  border-radius: 14px;
  background: linear-gradient(180deg, var(--red-2), var(--red-deep));
  padding: 14px 12px;
  display: grid;
  gap: 6px;
}
.mock-hero .l1 { width: 68%; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.92); }
.mock-hero .l2 { width: 45%; height: 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.5); }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-cell {
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(242, 193, 78, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.mock-cta {
  border-radius: 12px;
  background: linear-gradient(180deg, #f7d06b, #e0a93c);
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #33240a;
  letter-spacing: 0.08em;
}

/* ---------- Roulett Lab: Mitos vs Fakta ---------- */
.myth-grid { perspective: 1200px; }
.myth-card {
  position: relative;
  min-height: 210px;
  cursor: pointer;
  border-radius: var(--radius-lg);
  outline: none;
}
.myth-card:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.myth-inner {
  position: relative;
  width: 100%; height: 100%;
  min-height: 210px;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0.1, 0.2, 1);
}
.myth-card:hover .myth-inner,
.myth-card.flipped .myth-inner { transform: rotateY(180deg); }
.myth-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: var(--shadow);
}
.myth-front {
  background: linear-gradient(180deg, #fff, #fdf1f1);
  border: 1.5px solid #f2c4c7;
}
.myth-back {
  background: linear-gradient(180deg, var(--felt-2), var(--felt-deep));
  border: 1.5px solid rgba(242, 193, 78, 0.45);
  transform: rotateY(180deg);
  color: var(--cream-muted);
}
.myth-label {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--red-2);
  color: #fff;
}
.myth-label-fact { background: var(--gold); color: #33240a; }
.myth-face p { margin: 0; font-size: 0.95rem; flex: 1; }
.myth-front p { color: var(--text); font-weight: 600; }
.myth-hint {
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Testimoni ---------- */
.testimonial-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text);
  flex: 1;
}
.testimonial-card blockquote::before { content: "“"; display: block; font-size: 2rem; color: var(--gold-2); line-height: 0.6; margin-bottom: 0.45rem; }
.stars { color: var(--gold-2); letter-spacing: 0.15em; font-size: 0.95rem; }
.testimonial-card figcaption { font-size: 0.88rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.testimonial-card .origin { color: var(--muted); font-weight: 500; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--felt-2), var(--felt-deep));
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ---------- Kartu promo ---------- */
.promo-card {
  background: #fff;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.promo-media { position: relative; display: block; aspect-ratio: 5 / 3; overflow: hidden; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-tag {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: linear-gradient(180deg, #e5303a, #b4181f);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(176, 30, 40, 0.45);
}
.promo-body { padding: 1.2rem 1.3rem 1.35rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.promo-body h3 { font-size: 1.1rem; margin: 0; }
.promo-body h3 a { color: var(--felt-deep); }
.promo-body > p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.promo-points { list-style: none; padding: 0; margin: 0.2rem 0 0; display: grid; gap: 0.35rem; font-size: 0.88rem; }
.promo-points li { display: flex; gap: 0.5rem; align-items: flex-start; }
.promo-points li::before { content: "◆"; color: var(--gold-2); font-size: 0.7rem; margin-top: 0.32rem; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 0.6rem; }

/* ---------- Halaman artikel ---------- */
.page-head {
  background:
    radial-gradient(800px 300px at 90% -30%, rgba(242, 193, 78, 0.18), transparent 60%),
    linear-gradient(180deg, var(--felt-2), var(--felt-deep));
  color: var(--cream-muted);
  padding: 2.8rem 0;
}
.entry-title { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.3rem); max-width: 21ch; }
.entry-meta { color: var(--gold-soft); font-size: 0.85rem; margin: 0; }
.entry-meta strong { color: var(--gold); }

.article-body { padding: 2.4rem 0 3.2rem; }
.wp-block-image { margin: 1.6rem 0; }
.wp-block-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: block; }
.wp-block-image figcaption { font-size: 0.8rem; color: var(--muted-2); margin-top: 0.5rem; text-align: center; }

.entry-content { max-width: 780px; margin-inline: auto; }
.entry-content > * { max-width: 100%; }
.entry-content h2 {
  font-size: 1.5rem;
  color: var(--felt-deep);
  margin: 2.3rem 0 0.8rem;
  padding-left: 0.9rem;
  border-left: 5px solid var(--gold-2);
  line-height: 1.3;
}
.entry-content h3 { font-size: 1.15rem; color: var(--ink); margin: 1.6rem 0 0.5rem; }
.entry-content p, .entry-content li { font-size: 1rem; line-height: 1.85; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul li::marker { color: var(--red-2); }
.entry-content ol li::marker { color: var(--felt); font-weight: 700; }
.entry-content blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.3rem;
  background: var(--cream);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: #4c4633;
}
.entry-content img { border-radius: var(--radius); }

.toc {
  background: var(--mist);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold-2);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 0 0 1.8rem;
}
.toc h2 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.toc ol { margin: 0; columns: 2; column-gap: 2rem; font-size: 0.92rem; }
.toc a { color: var(--felt-deep); font-weight: 600; }

.alert {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.4rem 0;
  font-size: 0.93rem;
  border: 1px solid transparent;
}
.alert-icon { font-size: 1.2rem; line-height: 1.4; }
.alert-body strong { display: block; margin-bottom: 0.15rem; }
.alert-info { background: #eef4ff; border-color: #c9d9fb; color: #1f3864; }
.alert-warn { background: #fff8e8; border-color: #f3e0ae; color: #6b5312; }
.alert-ok { background: #edf9f1; border-color: #c4e8d1; color: #1c5c37; }
.alert-shield { background: var(--felt-ink); border-color: rgba(242, 193, 78, 0.4); color: var(--cream-muted); }
.alert-shield .alert-body strong { color: var(--gold); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.4rem 0; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.92rem; min-width: 520px; }
.data-table caption { caption-side: bottom; font-size: 0.78rem; color: var(--muted-2); padding: 0.6rem; text-align: left; }
.data-table th {
  background: var(--felt-ink);
  color: var(--gold-soft);
  text-align: left;
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.data-table td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tbody tr:nth-child(even) { background: var(--mist); }
.data-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.05rem 1.2rem;
  font-weight: 700;
  color: var(--felt-deep);
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1.5px solid #ecd9a0;
  color: #8a6411;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.faq-item[open] summary::before { content: "−"; background: var(--red-2); border-color: var(--red-deep); color: #fff; transform: rotate(180deg); }
.faq-answer { padding: 0 1.2rem 1.1rem 3.3rem; color: var(--muted); font-size: 0.94rem; }
.faq-answer p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band-wrap { padding: 0 0 3.4rem; background: transparent; }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(242, 193, 78, 0.22), transparent 60%),
    linear-gradient(120deg, var(--red-2), var(--red-deep));
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  box-shadow: 0 18px 40px rgba(142, 18, 25, 0.35);
}
.cta-band-text h2 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: 0.3rem; }
.cta-band-text p { color: #ffd9d9; margin: 0; max-width: 58ch; font-size: 0.95rem; }
.cta-band-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ---------- Halaman auth (daftar/masuk) ---------- */
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  padding: 2.6rem 0 3.4rem;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 2rem 1.8rem;
}
.auth-card h1 { font-size: 1.55rem; color: var(--felt-deep); margin-bottom: 0.3rem; }
.auth-card .lead { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.4rem; }
.auth-form { display: grid; gap: 1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--ink); }
.field input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  border: 1.5px solid var(--line-2);
  font: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
  outline: none;
  border-color: var(--felt);
  box-shadow: 0 0 0 4px rgba(10, 61, 44, 0.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkbox-row { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--red-2); flex: 0 0 auto; }
.form-legal { font-size: 0.78rem; color: var(--muted-2); margin: 0.2rem 0 0; }
.auth-form .btn { width: 100%; margin-top: 0.4rem; }
.auth-alt { text-align: center; font-size: 0.9rem; margin-top: 1.1rem; color: var(--muted); }
.auth-side {
  background: linear-gradient(180deg, var(--felt-2), var(--felt-deep));
  border-radius: var(--radius-lg);
  color: var(--cream-muted);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-lift);
  position: sticky;
  top: 1rem;
}
.auth-side h2 { color: var(--cream-text); font-size: 1.2rem; }
.auth-side .check-list .tick { background: var(--gold); color: #33240a; }
.auth-side .age-badges { margin-top: 1.2rem; }

/* ---------- Kalkulator batas (halaman RG) ---------- */
.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  display: grid;
  gap: 1.1rem;
}
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 1.1rem; }
.calc-field label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.35rem; }
.calc-field input[type="number"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1.5px solid var(--line-2);
  font: inherit;
}
.calc-field input[type="range"] { width: 100%; accent-color: var(--gold-2); }
.calc-out {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 0.9rem;
}
.calc-box {
  background: var(--felt-ink);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: var(--cream-muted);
}
.calc-box strong { display: block; font-size: 1.3rem; color: var(--gold); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-box span { font-size: 0.78rem; }
.calc-note { font-size: 0.8rem; color: var(--muted-2); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--coal); color: #b9c2ba; font-size: 0.9rem; }
.footer-widgets {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 1.6rem;
  padding: 3rem 0 2rem;
}
.widget { min-width: 0; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.widget a { color: #cfd8d0; }
.widget a:hover { color: var(--gold); }
.site-footer .widget-title {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}
.site-footer .logo-text { color: #fff; }
.widget-about p { margin-top: 0.9rem; font-size: 0.86rem; line-height: 1.75; }
.age-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.age-badge {
  border: 1.5px solid var(--red);
  color: #ff8d93;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
}
.age-badge.age-green { border-color: var(--gold-2); color: var(--gold); }

.footer-payment { background: #101314; border-top: 1px solid #23282c; border-bottom: 1px solid #23282c; }
.footer-payment .wrap { padding: 1rem 0; }
.payment-note { margin: 0 0 0.55rem; font-size: 0.78rem; color: #8b968f; }
.pay-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pay-badge {
  border: 1px solid #3a4147;
  color: #cfd8d0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  background: #171b1e;
}
.footer-legal .wrap { padding: 1.3rem 0 1.6rem; }
.footer-legal p { font-size: 0.76rem; line-height: 1.7; color: #8b968f; margin-bottom: 0.6rem; }
.footer-legal a { color: #cfd8d0; text-decoration: underline; }
.footer-legal .copy { color: #6f7a73; }

/* ---------- Float CTA (gaya mesin slot + koin) ---------- */
.float-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: min(560px, calc(100% - 20px));
  padding: 0.55rem 0.7rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #123a2a, #06281d);
  border: 2px solid var(--gold-2);
  box-shadow: 0 14px 34px rgba(3, 20, 13, 0.55),
              inset 0 0 26px rgba(242, 193, 78, 0.10);
}
.fc-reels { display: flex; gap: 4px; flex: 0 0 auto; }
.fc-reel {
  display: flex;
  flex-direction: column;
  width: 30px; height: 36px;
  overflow: hidden;
  border-radius: 7px;
  background: #0a0e0b;
  border: 1px solid #2c3b32;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
}
.fc-reel i {
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  animation: fcspin 2.2s linear infinite;
}
.fc-reel:nth-child(2) i { animation-duration: 2.7s; }
.fc-reel:nth-child(3) i { animation-duration: 3.1s; }
@keyframes fcspin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-108px); }
}
.fc-buttons { display: flex; gap: 0.6rem; flex: 1; min-width: 0; }
.fc-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.66rem 0.4rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}
.fc-btn:hover { text-decoration: none; filter: brightness(1.06); transform: translateY(-2px); }
.fc-btn:active { transform: translateY(2px); }
.fc-btn-daftar {
  background: linear-gradient(180deg, #f7d06b, #dd9f2e);
  color: #33240a;
  box-shadow: 0 4px 0 #a87417, 0 10px 22px rgba(242, 193, 78, 0.35);
}
.fc-btn-daftar:active { box-shadow: 0 1px 0 #a87417; }
.fc-btn-masuk {
  background: linear-gradient(180deg, #e5303a, #b4181f);
  color: #fff;
  box-shadow: 0 4px 0 #7e0e14, 0 10px 22px rgba(176, 30, 40, 0.35);
}
.fc-btn-masuk:active { box-shadow: 0 1px 0 #7e0e14; }

.fc-coin {
  position: absolute;
  bottom: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, #e4a93c 60%, #b77e1b);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  opacity: 0;
  pointer-events: none;
  animation: coinrise 3.4s ease-in infinite;
}
.fc-coin.c1 { left: 16%; animation-delay: 0s; }
.fc-coin.c2 { left: 34%; animation-delay: 1.1s; animation-duration: 3s; }
.fc-coin.c3 { left: 52%; animation-delay: 2s; }
.fc-coin.c4 { left: 68%; animation-delay: 0.6s; animation-duration: 3.8s; }
.fc-coin.c5 { left: 84%; animation-delay: 1.7s; }
@keyframes coinrise {
  0% { transform: translateY(4px) scale(0.5); opacity: 0; }
  22% { opacity: 0.95; }
  100% { transform: translateY(-64px) scale(1.05); opacity: 0; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1020px) {
  .footer-widgets { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr 0.7fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: -1rem; right: -1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(6, 40, 29, 0.14);
    padding: 0.8rem 1.2rem 1.1rem;
    margin: 0;
  }
  .site-nav.is-open { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav-menu a { padding: 0.7rem 0.9rem; border-radius: 12px; }
  .nav-mobile-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.9rem;
  }
  .nav-mobile-actions .btn { flex: 1; }
  .header-login { display: none; }
  .split { grid-template-columns: 1fr; gap: 1.6rem; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-side { position: static; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { order: -1; }
  .hero-wheel { width: min(300px, 64vw); }
}

@media (max-width: 640px) {
  .section { padding: 2.5rem 0; }
  .hero-inner { padding: 2.6rem 0 2.4rem; }
  .header-cta { display: none; }
  .topbar-date { display: none; }
  .toc ol { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 1.4rem 1.2rem; }
  .cta-band-actions .btn { flex: 1; justify-content: center; }
  .faq-answer { padding-left: 1.2rem; }
  .footer-widgets { grid-template-columns: 1fr 1fr; gap: 1.3rem; }
  .widget-about { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .logo-text { font-size: 1.15rem; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .fc-reel { width: 26px; height: 32px; }
  .fc-reel i { height: 32px; line-height: 32px; font-size: 15px; }
  .fc-btn { font-size: 0.85rem; padding: 0.6rem 0.3rem; letter-spacing: 0.04em; }
  .float-cta { gap: 0.5rem; padding: 0.5rem 0.55rem; }
  .footer-widgets { grid-template-columns: 1fr; }
  .step-chip { width: 36px; height: 36px; }
}

/* ---------- Preferensi gerak minimal ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wheel-spin, .wheel-spin-num, .fc-reel i, .fc-coin { animation: none; }
  .card-lift, .btn, .cat-media img { transition: none; }
  .myth-inner { transition: none; }
}

/* ---------- Fokus keyboard ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}
