/*
Theme Name: Dana4d Portal
Theme URI: https://dana4d.games
Author: Tim Redaksi Dana4d
Description: Tema portal informasi & panduan hiburan dewasa (18+) — statis, responsif, gaya penulisan mengikuti struktur tema WordPress (site-header / site-main / site-footer / entry-content).
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: dana4d
*/

/* ============ 1. Reset & Variabel ============ */
:root {
  --red: #C8102E;
  --red-dark: #9E0B24;
  --red-deep: #6E0817;
  --gold: #F7B601;
  --gold-soft: #FFD34D;
  --gold-pale: #FFF3D1;
  --green: #0E9F51;
  --green-deep: #0A7A3D;
  --green-pale: #E7F7EF;
  --blue: #1558C0;
  --blue-deep: #0F4090;
  --blue-pale: #E8F0FD;
  --ink: #141418;
  --ink-2: #1C1C22;
  --paper: #FFFFFF;
  --smoke: #F6F6F8;
  --line: #E6E6EC;
  --text: #2B2B33;
  --muted: #6B6B76;
  --shadow: 0 10px 30px rgba(20, 20, 24, 0.08);
  --shadow-lg: 0 18px 48px rgba(20, 20, 24, 0.16);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
ul, ol { list-style-position: inside; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); font-weight: 800; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--ink); padding: 10px 18px; font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ============ 2. Tombol ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: 0.98rem;
  border: 2px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  line-height: 1.2; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: var(--ink); box-shadow: 0 6px 18px rgba(247, 182, 1, 0.45); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(247, 182, 1, 0.55); color: var(--ink); }
.btn-red { background: linear-gradient(180deg, var(--red), var(--red-dark)); color: #fff; box-shadow: 0 6px 18px rgba(200, 16, 46, 0.35); }
.btn-red:hover { transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-green { background: linear-gradient(180deg, var(--green), var(--green-deep)); color: #fff; }
.btn-blue { background: linear-gradient(180deg, var(--blue), var(--blue-deep)); color: #fff; }
.btn-ghost { background: var(--smoke); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }

/* ============ 3. Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(20, 20, 24, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--red);
}
.site-header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 18px; min-height: 68px;
}
.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(160deg, var(--red), var(--red-deep));
  border: 2px solid var(--gold); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.95rem; letter-spacing: 0.5px;
}
.logo-text { color: #fff; font-size: 1.3rem; font-weight: 900; letter-spacing: 1px; }
.logo-text b { color: var(--gold); }
.badge-18 {
  background: var(--gold); color: var(--ink); font-weight: 900; font-size: 0.72rem;
  border-radius: 6px; padding: 2px 7px; letter-spacing: 0.5px; flex-shrink: 0;
}
.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; gap: 4px; list-style: none; }
.main-navigation a {
  color: #E8E8EE; font-weight: 600; font-size: 0.92rem; padding: 9px 12px;
  border-radius: 8px; display: block; white-space: nowrap;
}
.main-navigation a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.06); }
.main-navigation .current-menu-item a,
.main-navigation li.current a { color: var(--gold); background: rgba(247, 182, 1, 0.12); }
.header-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.search-toggle {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06); color: #fff; font-size: 1.05rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.search-toggle:hover { border-color: var(--gold); color: var(--gold); }
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  background: var(--red); color: #fff; font-size: 1.15rem; border: none;
}
@media (max-width: 1120px) {
  .main-navigation { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); box-shadow: var(--shadow-lg); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 0; padding: 10px 16px 16px; }
  .main-navigation a { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,0.07); border-radius: 0; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; order: 5; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .header-actions .btn-ghost { display: none; }
  .logo-text { font-size: 1.12rem; }
}

/* ============ 4. Hero ============ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(247, 182, 1, 0.22), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(14, 159, 81, 0.18), transparent 60%),
    linear-gradient(160deg, #1A0509 0%, #2B0A12 45%, #14060A 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.16;
  background-image: url("/assets/img/hero-casino.jpg");
  background-size: cover; background-position: center;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green), var(--blue));
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 42px; align-items: center;
  padding: 64px 0 84px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(247, 182, 1, 0.14); border: 1px solid rgba(247, 182, 1, 0.45);
  color: var(--gold-soft); font-weight: 700; font-size: 0.82rem; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.9rem); letter-spacing: -0.5px; margin-bottom: 16px;
}
.hero h1 .grad {
  background: linear-gradient(92deg, var(--gold-soft), var(--gold) 55%, #FFE9A8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: #D9D9E2; font-size: 1.05rem; max-width: 560px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.hbadge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 13px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: #EDEDF2;
}
.hbadge b { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 30px; }
.hero-search {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px; padding: 16px 18px; max-width: 560px;
}
.hero-search label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 10px; }
.hero-search-row { display: flex; gap: 9px; }
.hero-search input {
  flex: 1; min-width: 0; background: #fff; border: none; border-radius: 10px;
  padding: 12px 16px; font-size: 0.95rem; color: var(--text);
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag-chip {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E4E4EC; font-size: 0.78rem; font-weight: 600; padding: 5px 12px;
  border-radius: 999px; cursor: pointer; transition: all 0.15s ease;
}
.tag-chip:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: 20px; border: 1px solid rgba(247, 182, 1, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.hero-float {
  position: absolute; background: rgba(20, 20, 24, 0.92); border: 1px solid rgba(247, 182, 1, 0.5);
  border-radius: 14px; padding: 10px 16px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-float.one { left: -14px; top: 24px; animation: floaty 5s ease-in-out infinite; }
.hero-float.two { right: -10px; bottom: 30px; animation: floaty 6s ease-in-out 0.8s infinite; }
.hero-float .big { color: var(--gold); font-weight: 900; font-size: 1.05rem; display: block; }
.hero-float .small { color: #C9C9D4; font-size: 0.75rem; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; padding: 46px 0 66px; }
  .hero-visual { max-width: 560px; }
  .hero-float.one { left: 6px; }
  .hero-float.two { right: 6px; }
}

/* ============ 5. Section umum ============ */
.section { padding: 66px 0; }
.section-smoke { background: var(--smoke); }
.section-dark {
  background: linear-gradient(170deg, #17171C, #101014); color: #D9D9E2;
}
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head.wide { max-width: 860px; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 12px; padding: 5px 14px; border-radius: 999px;
}
.eyebrow-red { color: var(--red); background: #FBE9EC; }
.eyebrow-gold { color: #8A6400; background: var(--gold-pale); }
.eyebrow-green { color: var(--green-deep); background: var(--green-pale); }
.eyebrow-blue { color: var(--blue-deep); background: var(--blue-pale); }
.section-dark .eyebrow-red { color: #FF97AC; background: rgba(200, 16, 46, 0.2); }
.section-dark .eyebrow-gold { color: var(--gold-soft); background: rgba(247, 182, 1, 0.15); }
.section-dark .eyebrow-green { color: #7BE3AE; background: rgba(14, 159, 81, 0.18); }
.section-dark .eyebrow-blue { color: #9DC1FF; background: rgba(21, 88, 192, 0.22); }
.section-head h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); margin-bottom: 12px; letter-spacing: -0.3px; }
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 1rem; }
.section-dark .section-head p { color: #B9B9C6; }

/* ============ 6. Grid & kartu ============ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-dot {
  width: 52px; height: 52px; border-radius: 14px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.45rem; margin-bottom: 16px;
}
.icon-red { background: #FBE9EC; } .icon-gold { background: var(--gold-pale); }
.icon-green { background: var(--green-pale); } .icon-blue { background: var(--blue-pale); }
.card h3 { font-size: 1.08rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.92rem; }

/* Kartu langkah (panduan 4 langkah) */
.step-card { position: relative; overflow: hidden; }
.step-num {
  position: absolute; top: 14px; right: 18px; font-size: 3.4rem; font-weight: 900;
  color: rgba(200, 16, 46, 0.08); line-height: 1;
}
.step-card .icon-dot { background: linear-gradient(160deg, var(--red), var(--red-dark)); color: #fff; font-size: 1.3rem; }
.step-card .step-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px; color: var(--red); text-transform: uppercase; }

/* Kartu kategori */
.cat-card { padding: 0; overflow: hidden; }
.cat-card figure { position: relative; margin: 0; aspect-ratio: 3 / 2; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .cat-body { padding: 20px 22px 24px; }
.cat-card .cat-label {
  display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--red); background: #FBE9EC; padding: 3px 10px;
  border-radius: 999px; margin-bottom: 10px;
}
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { font-size: 0.9rem; margin-bottom: 14px; }
.link-more { font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }

/* Kartu promosi */
.promo-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.promo-card figure { margin: 0; aspect-ratio: 16/9; overflow: hidden; position: relative; }
.promo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.promo-card:hover img { transform: scale(1.05); }
.promo-badge {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.6px; padding: 4px 12px;
  border-radius: 999px; box-shadow: 0 4px 12px rgba(200, 16, 46, 0.4);
}
.promo-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.promo-body h3 { font-size: 1.05rem; }
.promo-terms { display: flex; flex-wrap: wrap; gap: 7px; }
.mini-term {
  font-size: 0.72rem; font-weight: 700; color: var(--ink-2);
  background: var(--smoke); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 999px;
}
.mini-term b { color: var(--red); }
.promo-body p { font-size: 0.88rem; color: var(--muted); flex: 1; }

/* ============ 7. CTA strip ============ */
.cta-strip {
  background:
    radial-gradient(600px 240px at 12% 0%, rgba(247, 182, 1, 0.2), transparent 60%),
    linear-gradient(120deg, var(--red-deep), var(--red) 55%, #A30C29);
  border-radius: 20px; padding: 34px 36px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-strip::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(247, 182, 1, 0.15);
}
.cta-strip h3 { color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-bottom: 6px; }
.cta-strip p { color: #F3D2DA; font-size: 0.94rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ============ 8. Testimoni ============ */
.testi-card {
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 24px;
}
.testi-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 0.95rem; }
.testi-card blockquote { color: #CFCFDA; font-size: 0.93rem; border: none; margin-bottom: 16px; }
.testi-who { display: flex; align-items: center; gap: 11px; }
.testi-ava {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.9rem; color: var(--ink);
}
.ava-g { background: linear-gradient(160deg, var(--gold-soft), var(--gold)); }
.ava-r { background: linear-gradient(160deg, #FF97AC, #F06A85); color: #fff; }
.ava-b { background: linear-gradient(160deg, #9DC1FF, #5F96EE); color: #fff; }
.ava-gr { background: linear-gradient(160deg, #7BE3AE, #2FBF7D); color: #fff; }
.testi-who b { color: #fff; font-size: 0.92rem; display: block; }
.testi-who span { color: #9B9BAA; font-size: 0.78rem; }
.testi-note { text-align: center; color: #8A8A99; font-size: 0.78rem; margin-top: 22px; }

/* ============ 9. Ruang belajar interaktif ============ */
.tool-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tool-tab {
  padding: 10px 22px; border-radius: 999px; border: 2px solid var(--line);
  background: var(--paper); font-weight: 700; font-size: 0.9rem; color: var(--muted);
}
.tool-tab.is-active { border-color: var(--red); color: var(--red); background: #FBE9EC; }
.tool-panel { display: none; }
.tool-panel.is-active { display: block; }
.tool-box {
  max-width: 760px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px; box-shadow: var(--shadow);
}
.field-label { font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; display: block; }
.tool-input-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tool-input-row input[type="number"] {
  flex: 1; min-width: 170px; padding: 12px 16px; border: 2px solid var(--line);
  border-radius: 12px; font-size: 1rem;
}
.tool-input-row input[type="number"]:focus { outline: none; border-color: var(--green); }
.tool-result { margin-top: 18px; display: none; }
.tool-result.is-visible { display: block; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.result-item { background: var(--green-pale); border: 1px solid #BFE8D2; border-radius: 12px; padding: 14px; text-align: center; }
.result-item .num { font-size: 1.15rem; font-weight: 900; color: var(--green-deep); }
.result-item .lbl { font-size: 0.72rem; color: var(--muted); }
.tool-note { background: var(--gold-pale); border-left: 4px solid var(--gold); border-radius: 8px; padding: 12px 16px; font-size: 0.85rem; color: #6B5A1E; }
@media (max-width: 620px) { .result-grid { grid-template-columns: 1fr; } }
.volato-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.volato-btn { padding: 16px 10px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); text-align: center; }
.volato-btn b { display: block; font-size: 0.98rem; }
.volato-btn span { font-size: 0.76rem; color: var(--muted); }
.volato-btn.is-active[data-level="1"] { border-color: var(--green); background: var(--green-pale); }
.volato-btn.is-active[data-level="2"] { border-color: var(--gold); background: var(--gold-pale); }
.volato-btn.is-active[data-level="3"] { border-color: var(--red); background: #FBE9EC; }
.volato-meter { display: flex; gap: 5px; justify-content: center; margin-bottom: 7px; }
.volato-meter i { width: 20px; height: 8px; border-radius: 4px; background: var(--line); display: block; }
.volato-btn.is-active[data-level="1"] .volato-meter i:nth-child(-n+1) { background: var(--green); }
.volato-btn.is-active[data-level="2"] .volato-meter i:nth-child(-n+2) { background: var(--gold); }
.volato-btn.is-active[data-level="3"] .volato-meter i { background: var(--red); }
.volato-desc { background: var(--smoke); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-size: 0.92rem; }
@media (max-width: 620px) { .volato-grid { grid-template-columns: 1fr; } }

/* ============ 10. Keamanan / RG ringkas ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-card { border-radius: 18px; padding: 30px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.split-card.sec { border-top: 5px solid var(--green); }
.split-card.rg { border-top: 5px solid var(--blue); }
.check-list { list-style: none; margin: 14px 0 20px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 0.93rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--green-pale); color: var(--green-deep);
  font-weight: 900; font-size: 0.72rem; display: inline-flex; align-items: center; justify-content: center;
}
.split-card.rg .check-list li::before { background: var(--blue-pale); color: var(--blue-deep); }
.rg-pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.rg-pill { font-size: 0.78rem; font-weight: 700; padding: 5px 13px; border-radius: 999px; }
.rg-pill.p1 { background: var(--blue-pale); color: var(--blue-deep); }
.rg-pill.p2 { background: var(--green-pale); color: var(--green-deep); }
.rg-pill.p3 { background: var(--gold-pale); color: #8A6400; }

/* ============ 11. FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(200, 16, 46, 0.4); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 54px 17px 20px; position: relative;
  font-weight: 700; font-size: 0.97rem; color: var(--ink); min-height: 24px;
}
.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; border-radius: 50%; background: #FBE9EC; color: var(--red);
  font-weight: 900; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.92rem; }

/* ============ 12. Halaman artikel ============ */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(247, 182, 1, 0.16), transparent 60%),
    linear-gradient(165deg, #1C1C22, #121216);
  color: #fff; padding: 40px 0 44px; border-bottom: 3px solid var(--red);
}
.breadcrumb { font-size: 0.8rem; margin-bottom: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { color: #A9A9B6; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--gold); font-weight: 800; }
.breadcrumb a { color: #D9D9E2; font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold-soft); }
.page-hero h1 { color: #fff; font-size: clamp(1.4rem, 3vw, 2.2rem); max-width: 840px; letter-spacing: -0.4px; }
.page-hero .page-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: #B9B9C6; font-size: 0.82rem; align-items: center; }
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-meta .cat-pill { background: rgba(247,182,1,0.16); color: var(--gold-soft); border: 1px solid rgba(247,182,1,0.4); padding: 3px 12px; border-radius: 999px; font-weight: 700; }
.content-area { padding: 46px 0 64px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } }
.entry-content { font-size: 1rem; }
.entry-content > p { margin-bottom: 18px; }
.entry-content h2 {
  font-size: 1.4rem; margin: 38px 0 14px; padding-left: 14px;
  border-left: 5px solid var(--red); letter-spacing: -0.3px;
}
.entry-content h2.green-b { border-color: var(--green); }
.entry-content h2.blue-b { border-color: var(--blue); }
.entry-content h2.gold-b { border-color: var(--gold); }
.entry-content h3 { font-size: 1.12rem; margin: 24px 0 10px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px 6px; }
.entry-content ul { list-style: none; }
.entry-content ul li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.entry-content ul li::before {
  content: "◆"; position: absolute; left: 2px; top: 2px; color: var(--red); font-size: 0.6rem;
}
.entry-content figure { margin: 26px 0; }
.entry-content figure img { border-radius: 14px; width: 100%; }
.entry-content figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 9px; text-align: center; }
.article-toc {
  background: var(--smoke); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin: 8px 0 10px;
}
.article-toc b { display: block; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.article-toc ol { list-style: none; counter-reset: toc; margin: 0; }
.article-toc li { counter-increment: toc; margin-bottom: 7px; font-size: 0.9rem; }
.article-toc li::before {
  content: counter(toc) "."; color: var(--gold); font-weight: 800; margin-right: 8px;
}
.article-toc a { color: var(--text); font-weight: 600; }
.article-toc a:hover { color: var(--red); }
.note-box {
  border-radius: 12px; padding: 16px 20px; margin: 20px 0; font-size: 0.92rem;
  border: 1px solid; background: var(--blue-pale); border-color: #C6D9F8; color: #1E3A6E;
}
.note-box.warn { background: var(--gold-pale); border-color: #EED9A0; color: #6B5A1E; }
.note-box.safe { background: var(--green-pale); border-color: #BFE8D2; color: #14522E; }
.note-box b { display: block; margin-bottom: 4px; }
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: 12px; border: 1px solid var(--line); }
table.terms { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; background: var(--paper); }
table.terms th, table.terms td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.terms th { background: var(--ink-2); color: var(--gold-soft); font-size: 0.8rem; letter-spacing: 0.8px; text-transform: uppercase; white-space: nowrap; }
table.terms tr:last-child td { border-bottom: none; }
table.terms td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.sidebar-widget {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-bottom: 22px; box-shadow: var(--shadow);
}
.sidebar-widget h3 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: block; }
.sidebar-widget ul { list-style: none; }
.sidebar-widget li { margin-bottom: 9px; font-size: 0.9rem; }
.sidebar-widget li a { font-weight: 600; color: var(--text); }
.sidebar-widget li a:hover { color: var(--red); }
.sidebar-widget li small { display: block; color: var(--muted); font-size: 0.78rem; }
.post-nav { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.post-nav a {
  flex: 1; min-width: 220px; background: var(--smoke); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px; font-size: 0.88rem; font-weight: 700; color: var(--text);
}
.post-nav a:hover { border-color: var(--red); color: var(--red); }
.post-nav .next { text-align: right; }

/* ============ 13. Form (daftar/login) ============ */
.auth-wrap { max-width: 480px; margin: 0 auto; }
.auth-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px; box-shadow: var(--shadow-lg);
}
.auth-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 7px; }
.form-field input[type="text"], .form-field input[type="password"], .form-field input[type="email"], .form-field input[type="tel"] {
  width: 100%; padding: 12px 15px; border: 2px solid var(--line); border-radius: 11px;
  font-size: 0.97rem; transition: border-color 0.15s ease; background: #fff;
}
.form-field input:focus { outline: none; border-color: var(--red); }
.form-field .field-hint { font-size: 0.76rem; color: var(--muted); margin-top: 5px; }
.form-field input.is-invalid { border-color: var(--red); background: #FFF6F7; }
.form-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 0.84rem; color: var(--muted); }
.form-check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 0.88rem; }
.form-msg.err { display: block; background: #FBE9EC; color: var(--red-dark); border: 1px solid #F2C6CE; }
.form-msg.ok { display: block; background: var(--green-pale); color: var(--green-deep); border: 1px solid #BFE8D2; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--muted); }
.auth-note { margin-top: 20px; font-size: 0.78rem; color: var(--muted); text-align: center; line-height: 1.6; }

/* ============ 14. Pencarian (overlay) ============ */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(12, 12, 16, 0.82);
  backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center;
  padding: 90px 18px 40px; overflow-y: auto;
}
.search-overlay.is-open { display: flex; }
.search-panel {
  background: var(--paper); border-radius: 18px; max-width: 640px; width: 100%;
  padding: 26px; box-shadow: var(--shadow-lg); position: relative;
}
.search-panel .search-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
  border-radius: 50%; border: none; background: var(--smoke); font-size: 1rem; color: var(--ink);
}
.search-panel .search-close:hover { background: #FBE9EC; color: var(--red); }
.search-panel h2 { font-size: 1.05rem; margin-bottom: 14px; }
#searchInput { width: 100%; padding: 14px 18px; border: 2px solid var(--line); border-radius: 12px; font-size: 1.02rem; }
#searchInput:focus { outline: none; border-color: var(--red); }
.search-hint { font-size: 0.78rem; color: var(--muted); margin: 12px 0 6px; }
.search-results { margin-top: 10px; display: grid; gap: 9px; }
.search-result {
  display: block; background: var(--smoke); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 16px;
}
.search-result:hover { border-color: var(--red); background: #fff; }
.search-result b { display: block; font-size: 0.94rem; color: var(--ink); margin-bottom: 3px; }
.search-result span { font-size: 0.8rem; color: var(--muted); }
.search-empty { color: var(--muted); font-size: 0.9rem; padding: 8px 2px; }

/* ============ 15. Footer ============ */
.site-footer { background: #101014; color: #B9B9C6; border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--red), var(--gold), var(--green), var(--blue)) 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 52px 0 34px; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-brand .logo-text { margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 0.86rem; line-height: 1.75; color: #9B9BAA; max-width: 300px; }
.footer-badges { display: flex; gap: 9px; margin-top: 16px; flex-wrap: wrap; }
.fbadge {
  border: 1px solid rgba(255, 255, 255, 0.25); color: #E4E4EC; border-radius: 8px;
  font-size: 0.72rem; font-weight: 800; padding: 5px 10px; letter-spacing: 0.5px;
}
.fbadge.gold { color: var(--gold); border-color: rgba(247, 182, 1, 0.5); }
.fbadge.green { color: #7BE3AE; border-color: rgba(14, 159, 81, 0.5); }
.footer-col h3 { color: #fff; font-size: 0.88rem; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #B9B9C6; font-size: 0.88rem; }
.footer-col a:hover { color: var(--gold); }
.footer-pay { border-top: 1px solid rgba(255,255,255,0.09); padding: 20px 0; text-align: center; }
.footer-pay .pay-title { font-size: 0.74rem; letter-spacing: 1.6px; text-transform: uppercase; color: #8A8A99; margin-bottom: 10px; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pay-chip {
  border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; padding: 5px 13px;
  font-size: 0.78rem; font-weight: 700; color: #D9D9E2; background: rgba(255,255,255,0.04);
}
.footer-legal { border-top: 1px solid rgba(255,255,255,0.09); padding: 20px 0 8px; font-size: 0.74rem; line-height: 1.8; color: #8A8A99; }
.footer-bottom { padding: 12px 0 16px; text-align: center; font-size: 0.78rem; color: #9B9BAA; border-top: 1px solid rgba(255,255,255,0.09); }

/* ============ 16. Floating CTA (gaya mesin slot) ============ */
.float-cta {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 14px; z-index: 150; width: min(560px, calc(100% - 24px));
  pointer-events: none;
}
.slot-cta {
  pointer-events: auto; position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(180deg, #2B2B33, #141418 55%, #0C0C10);
  border: 2px solid var(--gold); border-radius: 18px;
  padding: 9px 22px 9px 12px; text-decoration: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(247, 182, 1, 0.15);
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.slot-cta::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 70px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg); animation: ctaShine 3.2s ease-in-out infinite;
}
@keyframes ctaShine { 0%, 55% { left: -90px; } 100% { left: calc(100% + 40px); } }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 4px rgba(247,182,1,0.15); }
  50% { box-shadow: 0 14px 44px rgba(0,0,0,0.6), 0 0 0 7px rgba(247,182,1,0.28); }
}
.reels { display: flex; gap: 5px; flex-shrink: 0; }
.reel {
  width: 34px; height: 44px; border-radius: 9px; overflow: hidden;
  background: linear-gradient(180deg, #3A3A44, #17171D);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.65);
}
.reel-strip { display: flex; flex-direction: column; animation: reelSpin 0.9s linear infinite; }
.reel-strip span { height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; line-height: 1; }
.reel:nth-child(2) .reel-strip { animation-duration: 0.7s; animation-delay: 0.12s; }
.reel:nth-child(3) .reel-strip { animation-duration: 1.1s; animation-delay: 0.05s; }
@keyframes reelSpin { 0% { transform: translateY(0); } 100% { transform: translateY(-264px); } }
.cta-text { position: relative; z-index: 2; display: flex; flex-direction: column; line-height: 1.15; }
.cta-text b {
  font-size: 1.18rem; font-weight: 900; letter-spacing: 1.5px;
  background: linear-gradient(180deg, #FFE9A8, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 10px rgba(247, 182, 1, 0.35);
}
.cta-text small { color: #C9C9D4; font-size: 0.62rem; font-weight: 800; letter-spacing: 3px; }
.coin-fx { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.coin {
  position: absolute; bottom: -18px; font-size: 0.85rem; opacity: 0;
  animation: coinUp 2.8s ease-in infinite;
}
.coin.c1 { left: 12%; animation-delay: 0s; }
.coin.c2 { left: 30%; animation-delay: 0.9s; font-size: 0.7rem; }
.coin.c3 { left: 55%; animation-delay: 1.6s; }
.coin.c4 { left: 74%; animation-delay: 0.5s; font-size: 0.7rem; }
.coin.c5 { left: 88%; animation-delay: 2.1s; }
@keyframes coinUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.95; }
  100% { transform: translateY(-64px) rotate(340deg); opacity: 0; }
}
@media (max-width: 480px) {
  .float-cta { bottom: 8px; width: calc(100% - 16px); }
  .slot-cta { padding: 7px 16px 7px 9px; gap: 10px; border-radius: 15px; }
  .reel { width: 28px; height: 38px; }
  .reel-strip span { height: 38px; font-size: 1.05rem; }
  .cta-text b { font-size: 1.02rem; }
  .cta-text small { font-size: 0.55rem; letter-spacing: 2px; }
}

/* ============ 17. Animasi reveal & utilitas ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .reveal.is-in { opacity: 1; }
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.legal-inline { font-size: 0.78rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reel-strip { animation: none !important; }
  .coin { display: none; }
}
