/* ==========================================================================
   Dewagg — Portal Informasi Game Online (dewagg.games)
   style.css — Struktur kelas mengikuti konvensi tema WordPress
   (site-header, main-navigation, entry-content, #colophon, dst.)
   Palet: hitam / putih / merah / emas / hijau / biru
   ========================================================================== */

/* ---------- 1. Variabel & Reset ---------- */
:root {
  --bg: #0b0e14;
  --bg-2: #10151f;
  --panel: #141a29;
  --panel-2: #1a2133;
  --line: #26304a;
  --red: #e11d2e;
  --red-deep: #a80f1e;
  --gold: #f5b301;
  --gold-soft: #ffd54a;
  --green: #19b67a;
  --green-deep: #0e8a5c;
  --blue: #2f7bf6;
  --blue-deep: #1c5cd6;
  --white: #ffffff;
  --light: #f6f8fb;
  --text: #eef1f6;
  --muted: #9aa4b8;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --grad-gold: linear-gradient(135deg, #ffd54a 0%, #f5b301 55%, #e08e00 100%);
  --grad-red: linear-gradient(135deg, #ff4d5e 0%, #e11d2e 55%, #a80f1e 100%);
  --grad-hero: radial-gradient(1100px 500px at 85% -10%, rgba(225, 29, 46, 0.22), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(47, 123, 246, 0.16), transparent 55%),
    linear-gradient(180deg, #0d1119 0%, #0b0e14 100%);
  --font: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }

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

h1, h2, h3, h4, h5 {
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
  overflow-wrap: break-word;
}

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

/* Aksesibilitas */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #101010;
  padding: 8px 16px; z-index: 100000; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

::selection { background: var(--gold); color: #101010; }

section { scroll-margin-top: 92px; }

/* ---------- 2. Utilitas ---------- */
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 64px 0; }
.section-light { background: var(--light); color: #1b2432; }
.section-light h2, .section-light h3 { color: #101828; }
.section-alt { background: var(--bg-2); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.kicker::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px;
  background: var(--grad-gold);
}
.section-light .kicker { color: #b57a00; }

.section-title { font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 800; }
.section-sub { color: var(--muted); max-width: 720px; margin-bottom: 36px; }
.section-light .section-sub { color: #51607a; }

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

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

.btn-gold {
  background: var(--grad-gold); color: #1a1200;
  box-shadow: 0 10px 26px rgba(245, 179, 1, 0.35);
}
.btn-gold:hover { color: #1a1200; box-shadow: 0 14px 32px rgba(245, 179, 1, 0.5); }

.btn-red {
  background: var(--grad-red); color: #fff;
  box-shadow: 0 10px 26px rgba(225, 29, 46, 0.35);
}
.btn-red:hover { color: #fff; box-shadow: 0 14px 32px rgba(225, 29, 46, 0.5); }

.btn-green {
  background: linear-gradient(135deg, #25d18e 0%, #19b67a 60%, #0e8a5c 100%);
  color: #04281a; box-shadow: 0 10px 26px rgba(25, 182, 122, 0.3);
}
.btn-green:hover { color: #04281a; }

.btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-blue {
  background: linear-gradient(135deg, #4d95ff 0%, #2f7bf6 60%, #1c5cd6 100%);
  color: #fff; box-shadow: 0 10px 26px rgba(47, 123, 246, 0.32);
}
.btn-blue:hover { color: #fff; }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- 4. Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, #a80f1e, #e11d2e 45%, #b3121f);
  color: #ffe3e6; font-size: 0.78rem; font-weight: 600;
  padding: 7px 0; letter-spacing: 0.02em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; text-align: center;
}
.topbar .age-chip {
  background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; border-radius: 999px; padding: 1px 10px; font-weight: 800;
}

/* ---------- 5. Header (site-header / main-navigation) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px; position: relative;
}

.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-size: 1.5rem; font-weight: 800; letter-spacing: 0.02em;
  color: #fff; text-decoration: none;
}
.logo:hover { text-decoration: none; color: #fff; }
.logo .logo-d { color: var(--gold-soft); }
.logo .logo-g { color: var(--red); }
.logo .logo-dot { color: var(--muted); font-size: 0.72rem; font-weight: 600; margin-left: 4px; letter-spacing: 0.08em; }
.logo-coin {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-gold);
  display: inline-flex; align-items: center; justify-content: center;
  color: #101010; font-weight: 800; font-size: 1.05rem;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35), 0 6px 14px rgba(245, 179, 1, 0.4);
  align-self: center;
}

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-navigation a {
  display: block; padding: 9px 14px; border-radius: 10px;
  color: var(--text); font-weight: 600; font-size: 0.92rem;
}
.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--gold-soft); background: rgba(245, 179, 1, 0.1); text-decoration: none;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.search-toggle:hover { border-color: var(--gold); color: var(--gold); }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line); color: var(--text);
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Search Overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(6px);
  display: none; padding: 90px 20px 40px;
  overflow-y: auto;
}
.search-overlay.open { display: block; }
.search-panel {
  width: min(680px, 100%); margin: 0 auto;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px;
}
.search-box { display: flex; gap: 10px; }
.search-input {
  flex: 1; min-width: 0;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text); border-radius: 12px;
  padding: 13px 16px; font-size: 1rem; font-family: inherit;
}
.search-input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.search-close {
  background: var(--red); color: #fff; border: none; border-radius: 12px;
  width: 52px; cursor: pointer; font-size: 1.2rem;
}
.search-popular { margin-top: 18px; }
.search-popular .label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); font-weight: 700; margin-bottom: 10px;
}
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-link {
  background: var(--panel-2); border: 1px solid var(--line);
  color: var(--text); border-radius: 999px; padding: 6px 14px;
  font-size: 0.82rem; font-weight: 600;
}
.tag-link:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.search-results { margin-top: 18px; display: grid; gap: 10px; }
.search-result {
  display: block; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px;
}
.search-result:hover { border-color: var(--gold); text-decoration: none; }
.search-result .sr-title { color: var(--gold-soft); font-weight: 700; font-size: 0.95rem; }
.search-result .sr-desc { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.search-empty { color: var(--muted); font-size: 0.9rem; padding: 10px 4px; }

/* ---------- 7. Breadcrumb ---------- */
.breadcrumb-bar {
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 12px 0; font-size: 0.82rem;
}
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; color: var(--gold); font-weight: 700; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--gold-soft); font-weight: 600; }

/* ---------- 8. Hero ---------- */
.hero {
  background: var(--grad-hero);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 68px;
  position: relative; overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 44px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(225, 29, 46, 0.14); border: 1px solid rgba(225, 29, 46, 0.45);
  color: #ff9aa4; border-radius: 999px; padding: 6px 16px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 800; line-height: 1.16;
}
.hero h1 .hl-gold { color: var(--gold-soft); }
.hero h1 .hl-red { color: #ff5563; }
.hero-lead { color: var(--muted); font-size: 1.02rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px;
  font-size: 0.78rem; font-weight: 600; color: #c8d1e2;
}
.trust-chip .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-gold { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.dot-blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.hero-media img { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.hero-media .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(245, 179, 1, 0.14), transparent 40%, rgba(225, 29, 46, 0.18));
}
.hero-float {
  position: absolute; bottom: 18px; left: -14px;
  background: rgba(12, 15, 22, 0.9); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
.hero-float .num { color: var(--green); font-weight: 800; font-size: 1.15rem; }
.hero-float .lbl { font-size: 0.72rem; color: var(--muted); line-height: 1.3; }

/* Strip pencarian populer di bawah hero */
.hotstrip {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 0;
}
.hotstrip .container { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hotstrip .hs-label {
  font-size: 0.78rem; font-weight: 800; color: var(--red);
  text-transform: uppercase; letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}

/* ---------- 9. Langkah 4 (panduan pemula) ---------- */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step;
}
.step-card {
  background: #fff; border: 1px solid #e3e9f2; border-radius: var(--radius);
  padding: 26px 22px; position: relative;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
}
.step-card .step-no {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; color: #fff;
  margin-bottom: 16px;
}
.step-card:nth-child(4n+1) .step-no { background: var(--grad-red); }
.step-card:nth-child(4n+2) .step-no { background: var(--grad-gold); color: #1a1200; }
.step-card:nth-child(4n+3) .step-no { background: linear-gradient(135deg, #25d18e, #0e8a5c); }
.step-card:nth-child(4n+4) .step-no { background: linear-gradient(135deg, #4d95ff, #1c5cd6); }
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { color: #51607a; font-size: 0.9rem; margin: 0; }

/* ---------- 10. Kartu promo / grid umum ---------- */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245, 179, 1, 0.55); }
.card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--grad-red); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
}
.card-thumb .badge-gold { background: var(--grad-gold); color: #1a1200; }
.card-thumb .badge-green { background: linear-gradient(135deg, #25d18e, #0e8a5c); color: #fff; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.08rem; margin: 0; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--gold-soft); text-decoration: none; }
.card-body p { color: var(--muted); font-size: 0.88rem; margin: 0; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-chip {
  font-size: 0.72rem; font-weight: 700;
  background: rgba(47, 123, 246, 0.12); color: #7fb0ff;
  border: 1px solid rgba(47, 123, 246, 0.3);
  border-radius: 999px; padding: 3px 10px;
}
.meta-chip.mc-gold { background: rgba(245, 179, 1, 0.1); color: var(--gold-soft); border-color: rgba(245, 179, 1, 0.35); }
.meta-chip.mc-green { background: rgba(25, 182, 122, 0.1); color: #4dd6a3; border-color: rgba(25, 182, 122, 0.35); }
.meta-chip.mc-red { background: rgba(225, 29, 46, 0.12); color: #ff8b95; border-color: rgba(225, 29, 46, 0.35); }
.card-cta { margin-top: 4px; }

/* ---------- 11. Keunggulan ---------- */
.adv-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.adv-card .adv-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; margin-bottom: 14px;
}
.adv-card h3 { font-size: 1.02rem; }
.adv-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.ic-red { background: rgba(225, 29, 46, 0.14); border: 1px solid rgba(225, 29, 46, 0.4); }
.ic-gold { background: rgba(245, 179, 1, 0.12); border: 1px solid rgba(245, 179, 1, 0.4); }
.ic-green { background: rgba(25, 182, 122, 0.12); border: 1px solid rgba(25, 182, 122, 0.4); }
.ic-blue { background: rgba(47, 123, 246, 0.14); border: 1px solid rgba(47, 123, 246, 0.4); }

/* ---------- 12. Split: mobile + pembayaran ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.split-media img {
  border-radius: var(--radius); border: 1px solid #e3e9f2;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
}
.feature-list { list-style: none; padding: 0; margin: 18px 0 26px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px dashed #dfe6f0;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .f-ico {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.feature-list strong { color: #101828; }
.feature-list p { margin: 2px 0 0; color: #51607a; font-size: 0.88rem; }

.pay-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pay-chip {
  background: #fff; border: 1.5px solid #d7e0ec; border-radius: 12px;
  padding: 10px 18px; font-weight: 700; font-size: 0.88rem; color: #1b2432;
  display: inline-flex; align-items: center; gap: 8px;
}
.pay-chip span { font-size: 1rem; }
.pay-note { font-size: 0.8rem; color: #66748c; margin-top: 12px; }

/* ---------- 13. Testimoni ---------- */
.quote-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.quote-card .stars { color: var(--gold-soft); letter-spacing: 3px; font-size: 0.95rem; }
.quote-card blockquote {
  margin: 0; font-size: 0.94rem; color: #cdd6e6; font-style: italic;
}
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; color: #101010; flex-shrink: 0;
}
.av-gold { background: var(--grad-gold); }
.av-red { background: var(--grad-red); color: #fff; }
.av-green { background: linear-gradient(135deg, #25d18e, #0e8a5c); color: #fff; }
.av-blue { background: linear-gradient(135deg, #4d95ff, #1c5cd6); color: #fff; }
.quote-who .qw-name { font-weight: 700; font-size: 0.92rem; }
.quote-who .qw-city { font-size: 0.78rem; color: var(--muted); }
.testi-note { font-size: 0.78rem; color: var(--muted); margin-top: 18px; text-align: center; }

/* ---------- 14. Kalkulator manajemen modal (inovasi) ---------- */
.tool-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  background: linear-gradient(160deg, #121826, #0d1119);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; box-shadow: var(--shadow);
}
.tool-fields { display: grid; gap: 16px; }
.tool-field label {
  display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: #c8d1e2;
}
.tool-field input[type="number"] {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; color: var(--text);
  font-size: 1rem; font-family: inherit;
}
.tool-field input[type="number"]:focus { outline: 2px solid var(--gold); border-color: transparent; }
.tool-field .hint { font-size: 0.74rem; color: var(--muted); margin-top: 4px; }
.tool-out { display: grid; gap: 12px; align-content: start; }
.out-row {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.out-row .o-label { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.out-row .o-value { font-weight: 800; font-size: 1.1rem; color: var(--gold-soft); white-space: nowrap; }
.out-row.o-green .o-value { color: #4dd6a3; }
.out-row.o-blue .o-value { color: #7fb0ff; }
.tool-note { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }

/* ---------- 15. Bagian keamanan & tanggung jawab ---------- */
.dark-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 9px 0;
}
.check-list .check-ico {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: rgba(25, 182, 122, 0.15); color: #4dd6a3;
  border: 1px solid rgba(25, 182, 122, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; margin-top: 3px;
}
.light-list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 9px 0;
  border-bottom: 1px dashed #dfe6f0; color: #33415c;
}
.light-list li:last-child { border-bottom: none; }
.light-list .check-ico {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: #e7f7f0; color: #0e8a5c; border: 1px solid #b9e6d3;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; margin-top: 3px;
}

/* ---------- 16. FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
details.faq-item {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.section-light details.faq-item { background: #fff; border-color: #e3e9f2; }
details.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 18px 52px 18px 20px;
  font-weight: 700; font-size: 0.98rem; position: relative;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-gold); color: #1a1200;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; transition: transform 0.2s ease;
}
details.faq-item[open] summary::after { content: "–"; }
.faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.9rem; }
.section-light .faq-body { color: #51607a; }

/* ---------- 17. Layout artikel ---------- */
.page-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px;
  gap: 40px; padding: 44px 0 64px;
}
.entry-header .entry-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 12px;
}
.entry-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 0.8rem; color: var(--muted); margin-bottom: 22px;
}
.entry-meta span { display: inline-flex; align-items: center; gap: 6px; }
.entry-thumb {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 26px;
}
.entry-thumb img { width: 100%; }

.entry-content { font-size: 0.97rem; color: #cdd6e6; }
.entry-content h2 {
  font-size: 1.4rem; color: #fff; margin: 1.8em 0 0.6em;
  padding-left: 14px; border-left: 4px solid var(--gold);
}
.entry-content h3 { font-size: 1.12rem; color: var(--gold-soft); margin: 1.5em 0 0.5em; }
.entry-content p { margin: 0 0 1.1em; }
.entry-content ul li, .entry-content ol li { margin-bottom: 0.5em; }
.entry-content strong { color: #fff; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }

.callout {
  border-radius: 12px; padding: 16px 18px; margin: 1.4em 0;
  border: 1px solid; font-size: 0.9rem;
}
.callout-info { background: rgba(47, 123, 246, 0.08); border-color: rgba(47, 123, 246, 0.4); }
.callout-info strong { color: #7fb0ff; }
.callout-warn { background: rgba(245, 179, 1, 0.07); border-color: rgba(245, 179, 1, 0.4); }
.callout-warn strong { color: var(--gold-soft); }
.callout-danger { background: rgba(225, 29, 46, 0.08); border-color: rgba(225, 29, 46, 0.45); }
.callout-danger strong { color: #ff8b95; }
.callout-green { background: rgba(25, 182, 122, 0.08); border-color: rgba(25, 182, 122, 0.4); }
.callout-green strong { color: #4dd6a3; }

.table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: 12px; border: 1px solid var(--line); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 520px; }
.entry-content th {
  background: var(--panel-2); color: var(--gold-soft);
  text-align: left; padding: 12px 14px; font-weight: 700; white-space: nowrap;
}
.entry-content td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.entry-content tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.article-footer-note {
  margin-top: 30px; padding: 16px 18px; border-radius: 12px;
  background: rgba(225, 29, 46, 0.06); border: 1px dashed rgba(225, 29, 46, 0.4);
  font-size: 0.8rem; color: var(--muted);
}

/* ---------- 18. Widget samping ---------- */
.sidebar { display: grid; gap: 20px; align-content: start; }
.widget {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.widget .widget-title {
  font-size: 0.95rem; font-weight: 800; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
  color: #fff;
}
.cta-widget {
  background: linear-gradient(160deg, #221102, #170f04);
  border: 1px solid rgba(245, 179, 1, 0.5); text-align: center;
}
.cta-widget .cta-big { font-size: 1.2rem; font-weight: 800; color: var(--gold-soft); margin-bottom: 6px; }
.cta-widget p { font-size: 0.82rem; color: var(--muted); }
.cta-widget .btn { margin-top: 10px; }
.widget-list { list-style: none; padding: 0; margin: 0; }
.widget-list li + li { border-top: 1px solid var(--line); }
.widget-list a {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 2px; color: #cdd6e6; font-size: 0.88rem; font-weight: 600;
}
.widget-list a:hover { color: var(--gold-soft); text-decoration: none; }
.widget-list .arrow { color: var(--gold); }
.age-widget { text-align: center; }
.age-badge {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px;
  border: 3px solid var(--red); color: #ff8b95;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}

/* ---------- 19. Halaman auth (daftar / masuk) ---------- */
.auth-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; padding: 56px 0 72px;
}
.auth-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.auth-hero p { color: var(--muted); }
.auth-points { list-style: none; padding: 0; margin: 20px 0 0; }
.auth-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: #cdd6e6; }
.auth-points .check-ico {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: rgba(25, 182, 122, 0.15); color: #4dd6a3;
  border: 1px solid rgba(25, 182, 122, 0.4);
  display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800;
}
.auth-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px; box-shadow: var(--shadow);
}
.auth-card h2 { font-size: 1.35rem; }
.auth-card .auth-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 6px; color: #c8d1e2;
}
.form-row input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; color: var(--text);
  font-size: 0.95rem; font-family: inherit;
}
.form-row input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form-row .field-note { font-size: 0.74rem; color: var(--muted); margin-top: 4px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.form-check label { font-size: 0.8rem; color: var(--muted); }
.form-msg {
  display: none; margin-bottom: 14px; padding: 10px 14px; border-radius: 10px;
  background: rgba(225, 29, 46, 0.12); border: 1px solid rgba(225, 29, 46, 0.5);
  color: #ff9aa4; font-size: 0.82rem;
}
.form-msg.show { display: block; }
.auth-alt { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 18px; }
.auth-note {
  margin-top: 16px; font-size: 0.74rem; color: var(--muted);
  background: rgba(47, 123, 246, 0.08); border: 1px solid rgba(47, 123, 246, 0.35);
  border-radius: 10px; padding: 10px 14px;
}

/* ---------- 20. Footer (#colophon) ---------- */
.site-footer {
  background: #080b10; border-top: 1px solid var(--line);
  padding: 56px 0 120px; /* ruang bawah agar aman dari float CTA */
  color: var(--muted);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px;
}
.site-footer h4 {
  color: #fff; font-size: 0.95rem; margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--red);
  display: inline-block;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: var(--muted); font-size: 0.88rem; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-about p { font-size: 0.86rem; margin: 14px 0; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.f-badge {
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 8px 14px; font-size: 0.78rem; font-weight: 800;
  display: inline-flex; align-items: center; gap: 7px; color: #c8d1e2;
}
.f-badge.age { border-color: var(--red); color: #ff8b95; }
.f-badge.rg { border-color: var(--green); color: #4dd6a3; }
.footer-disclaimer {
  margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.76rem; line-height: 1.8; color: #77839a;
}
.footer-bottom {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-chip {
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px;
  font-size: 0.72rem; font-weight: 700; color: #9aa4b8;
}

/* ---------- 21. Float CTA (mesin slot + koin) ---------- */
.float-cta {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 9990;
  width: min(430px, calc(100vw - 20px));
}
.float-cta a {
  position: relative; display: flex; align-items: center; gap: 12px;
  height: 62px; padding: 0 18px 0 12px;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(120deg, #b3121f 0%, #e11d2e 38%, #f5b301 100%);
  border: 2px solid #ffd54a;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35), 0 12px 34px rgba(225, 29, 46, 0.55);
  animation: ctaGlow 2.4s ease-in-out infinite;
  text-decoration: none;
}
.float-cta a:hover { text-decoration: none; }
.float-cta a::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: ctaShine 2.8s linear infinite;
  pointer-events: none;
}
.cta-reels { display: flex; gap: 5px; flex-shrink: 0; }
.cta-reel {
  width: 30px; height: 40px; border-radius: 8px;
  background: #170f23; border: 1.5px solid #3b2b5c;
  overflow: hidden; position: relative;
}
.cta-reel .reel-strip {
  position: absolute; left: 0; top: 0; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  animation: reelSpin 1.6s linear infinite;
}
.cta-reel:nth-child(2) .reel-strip { animation-duration: 1.25s; animation-delay: 0.2s; }
.cta-reel:nth-child(3) .reel-strip { animation-duration: 1.9s; animation-delay: 0.45s; }
.reel-strip span {
  height: 40px; line-height: 40px; font-size: 19px; width: 100%; text-align: center;
}
.cta-label { position: relative; z-index: 2; display: flex; flex-direction: column; line-height: 1.12; }
.cta-label .cta-main {
  font-size: 1.12rem; font-weight: 800; color: #fff;
  letter-spacing: 0.04em; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.cta-label .cta-sub {
  font-size: 0.62rem; font-weight: 800; color: #2b1a00;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.cta-coin { position: relative; z-index: 2; margin-left: auto; font-size: 1.5rem; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); animation: coinBob 1.6s ease-in-out infinite; }
.coin-fly {
  position: absolute; bottom: 4px; font-size: 13px; z-index: 1;
  animation: coinUp 2.1s ease-in infinite; opacity: 0; pointer-events: none;
}
.coin-fly.c1 { left: 34%; }
.coin-fly.c2 { left: 55%; animation-delay: 0.55s; }
.coin-fly.c3 { left: 72%; animation-delay: 1.1s; }

@keyframes reelSpin {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35), 0 12px 34px rgba(225, 29, 46, 0.55), 0 0 22px rgba(245, 179, 1, 0.35); }
  50% { box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35), 0 12px 44px rgba(225, 29, 46, 0.8), 0 0 38px rgba(245, 179, 1, 0.65); }
}
@keyframes ctaShine {
  from { background-position: 200% 0; }
  to { background-position: -60% 0; }
}
@keyframes coinUp {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translate(8px, -54px) rotate(24deg); opacity: 0; }
}
@keyframes coinBob {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-5px) rotate(8deg); }
}

/* ---------- 22. 404 ---------- */
.error-404 { text-align: center; padding: 90px 0 80px; }
.error-404 .code {
  font-size: clamp(4rem, 12vw, 7rem); font-weight: 800;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  color: transparent; line-height: 1;
}
.error-404 .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- 23. Animasi masuk ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 24. Responsif ---------- */
@media (max-width: 1080px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 960px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 54px 0 50px; }
  .hero-media .frame { max-width: 480px; }
  .hero-float { left: 6px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .tool-wrap { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .auth-wrap { grid-template-columns: 1fr; padding: 40px 0 60px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-navigation {
    display: none;
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    box-shadow: var(--shadow);
  }
  body.nav-open .main-navigation { display: block; }
  .main-navigation ul { flex-direction: column; gap: 2px; }
  .main-navigation a { padding: 12px 14px; }
  .header-actions .btn-outline { display: none; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer { padding-bottom: 108px; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .tool-wrap { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .entry-content table { font-size: 0.82rem; }
  .float-cta a { height: 56px; padding: 0 14px 0 10px; gap: 9px; }
  .cta-reel { width: 26px; height: 36px; }
  .reel-strip span { height: 36px; line-height: 36px; font-size: 16px; }
  .cta-label .cta-main { font-size: 1rem; }
  .cta-label .cta-sub { letter-spacing: 0.14em; }
  .cta-coin { font-size: 1.25rem; }
  .site-footer { padding-bottom: 96px; }
  .auth-card { padding: 24px; }
  .header-inner { gap: 10px; }
  .logo { font-size: 1.25rem; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .header-actions .btn-gold { padding: 9px 14px; font-size: 0.8rem; }
  .cta-label .cta-main { font-size: 0.92rem; }
  .float-cta { width: calc(100vw - 14px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
