/*
Theme Name: Dewakoin99
Theme URI: https://dewakoin99.casino/
Author: Tim Redaksi Dewakoin99
Description: Tema portal informasi Dewakoin99 (merah / putih / hijau / kuning / biru / hitam).
 Struktur kelas meniru tema WordPress: .site-header, .main-navigation, .site-main, .site-footer.
 Konten dirender penuh sebagai HTML statis — Googlebot tidak perlu menjalankan JavaScript.
Version: 1.0.0
License: Proprietary — khusus situs dewakoin99.casino
Text Domain: dewakoin99
*/

/* ==========================================================================
   Variabel & dasar
   ========================================================================== */
:root {
  --ink: #16110c;            /* hitam hangat */
  --ink-2: #241c14;
  --paper: #ffffff;          /* putih */
  --ivory: #faf6ef;          /* putih gading */
  --card: #ffffff;
  --line: #eadfce;
  --line-strong: #d9cfba;
  --text: #241f19;
  --muted: #6d6353;
  --red: #d3123f;            /* merah utama */
  --red-deep: #8f0b26;
  --green: #0e9f6e;          /* hijau */
  --green-deep: #0a7a53;
  --gold: #e9a321;           /* kuning emas */
  --gold-soft: #ffcf5c;
  --blue: #1f6fd6;           /* biru */
  --blue-deep: #154fa0;
  --shadow: 0 12px 30px rgba(54, 34, 10, 0.12);
  --shadow-lg: 0 18px 44px rgba(54, 34, 10, 0.18);
  --radius: 14px;
  --header-h: 68px;
  --float-h: 64px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

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

img { max-width: 100%; height: auto; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-deep); text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.05rem, 2.2vw, 1.22rem); }
p { margin: 0 0 1em; }

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

code {
  background: rgba(233, 163, 33, 0.16); color: #7a5410;
  padding: 0.1em 0.45em; border-radius: 6px; font-size: 0.92em;
}

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

/* ---------- Utilitas ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 880px; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--gold); color: #241700; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 10px 10px; transition: top 0.25s ease;
}
.skip-link:focus { top: 0; color: #241700; text-decoration: none; }

.badge18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 24px; padding: 0 7px; border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; font-weight: 800; font-size: 0.8rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55); letter-spacing: 0.5px;
}
.badge18--big { height: 30px; font-size: 0.95rem; min-width: 50px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 800; font-size: 0.95rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.05); }
.btn--lg { padding: 14px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn-register {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff; box-shadow: 0 6px 22px rgba(211, 18, 63, 0.35);
}
.btn-login, .btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.btn-login:hover, .btn-ghost:hover { border-color: var(--green); color: var(--green-deep); }
.btn-gold {
  background: linear-gradient(160deg, var(--gold-soft), var(--gold) 55%, #c98300);
  color: #241700; box-shadow: 0 6px 22px rgba(233, 163, 33, 0.4);
}
.btn-green {
  background: linear-gradient(160deg, #19c98a, var(--green) 55%, var(--green-deep));
  color: #fff; box-shadow: 0 6px 22px rgba(14, 159, 110, 0.35);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(22, 17, 12, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-title { font-size: 1.32rem; font-weight: 800; letter-spacing: 0.3px; color: #fff !important; }
.site-title .g1 { color: #ff5f7a; }
.site-title .g2 { color: var(--gold-soft); }
.site-title:hover { text-decoration: none; }

.main-navigation { margin-left: 4px; flex: 1 1 auto; }
.nav-menu {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.nav-menu a {
  display: block; padding: 9px 12px; border-radius: 9px;
  color: #f3ede2; font-weight: 600; font-size: 0.94rem;
}
.nav-menu a:hover { background: rgba(255, 255, 255, 0.09); color: var(--gold-soft); text-decoration: none; }
.current-menu-item a {
  background: linear-gradient(160deg, rgba(211, 18, 63, 0.35), rgba(233, 163, 33, 0.16));
  color: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(233, 163, 33, 0.45);
}

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 9px; padding: 10px 11px; cursor: pointer;
}
.menu-toggle__bar { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35); cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.search-toggle:hover { border-color: var(--gold); color: var(--gold-soft); }
.header-actions .btn-login { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.header-actions .btn-login:hover { border-color: #19c98a; color: #7fe9c3; }

.header-search { border-top: 1px solid rgba(255, 255, 255, 0.12); background: #201a13; }
.header-search__inner { padding: 14px 22px 18px; }
.search-form { display: flex; gap: 10px; }
.search-form input[type="search"] {
  flex: 1; padding: 12px 16px; border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.25); background: #16110c;
  color: #fff; font: inherit; min-width: 0;
}
.search-form input[type="search"]::placeholder { color: #b8ab93; }
.search-form input[type="search"]:focus { border-color: var(--gold); outline: none; }
.search-form .search-submit {
  padding: 0 22px; border-radius: 10px; border: none; cursor: pointer;
  background: linear-gradient(160deg, var(--gold-soft), var(--gold) 60%, #c98300);
  color: #241700; font-weight: 800; font: inherit;
}
.search-popular { margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.search-popular__label { color: #b8ab93; font-size: 0.85rem; }

.search-results { margin-top: 8px; }
.search-results__item {
  display: block; padding: 10px 14px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: #2a221899;
  margin-bottom: 8px; color: #fff;
}
.search-results__item:hover { border-color: var(--gold); text-decoration: none; }
.search-results__item strong { color: var(--gold-soft); display: block; font-size: 0.95rem; }
.search-results__item span { color: #cbbfa9; font-size: 0.85rem; }
.search-results__empty { color: #cbbfa9; padding: 8px 2px; }

/* ==========================================================================
   Hero (gelap: merah-hitam + emas)
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: 62px 0 58px;
  background:
    radial-gradient(900px 430px at 82% 0%, rgba(211, 18, 63, 0.28), transparent 62%),
    radial-gradient(700px 380px at 0% 100%, rgba(31, 111, 214, 0.16), transparent 55%),
    linear-gradient(180deg, #1d1310 0%, #16110c 100%);
  border-bottom: 1px solid rgba(233, 163, 33, 0.35);
  color: #f3ede2;
}
.hero__inner { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--gold-soft); }
.hero__kicker {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  color: var(--gold-soft); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.4px; margin-bottom: 14px;
}
.hero__lede { font-size: 1.06rem; color: #ddd3c2; max-width: 34em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 20px; }
.hero__facts {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px;
  color: #bcb09a; font-size: 0.9rem;
}
.hero__facts strong { color: #f3ede2; }
.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg);
  display: block; width: 100%;
}
.hero__media-card {
  position: absolute; left: 14px; bottom: -20px; right: 14px;
  background: linear-gradient(160deg, #2c2318, #1c1610);
  border: 1px solid rgba(233, 163, 33, 0.5); border-radius: 12px;
  padding: 12px 16px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow-lg);
}
.hero__media-card strong { color: var(--gold-soft); font-size: 0.95rem; }
.hero__media-card span { color: #bcb09a; font-size: 0.85rem; }

/* ---------- Search strip + tag cloud ---------- */
.search-strip { background: #fff; border-bottom: 1px solid var(--line); }
.search-strip__inner { padding: 18px 22px; }
.search-strip__box { display: flex; gap: 10px; }
.search-strip__box input {
  flex: 1; padding: 12px 18px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--ivory);
  color: var(--text); font: inherit; min-width: 0;
}
.search-strip__box input:focus { border-color: var(--gold); outline: none; }
.search-strip__box button {
  padding: 0 26px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(160deg, var(--red), var(--red-deep));
  color: #fff; font-weight: 800; font: inherit;
}
.tag-cloud { margin-top: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.tag-cloud__label { color: var(--muted); font-size: 0.88rem; font-weight: 700; }
.tag-pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(31, 111, 214, 0.09); color: var(--blue-deep);
  border: 1px solid rgba(31, 111, 214, 0.32);
  font-size: 0.85rem; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: background 0.15s, transform 0.15s;
}
.tag-pill:hover { background: rgba(31, 111, 214, 0.18); transform: translateY(-1px); }
.tag-pill:nth-child(3n) { background: rgba(211, 18, 63, 0.08); border-color: rgba(211, 18, 63, 0.32); color: var(--red-deep); }
.tag-pill:nth-child(3n):hover { background: rgba(211, 18, 63, 0.16); }
.tag-pill:nth-child(4n) { background: rgba(14, 159, 110, 0.09); border-color: rgba(14, 159, 110, 0.32); color: var(--green-deep); }
.tag-pill:nth-child(4n):hover { background: rgba(14, 159, 110, 0.17); }
.tag-pill:nth-child(5n) { background: rgba(233, 163, 33, 0.12); border-color: rgba(233, 163, 33, 0.4); color: #7a5410; }
.tag-pill:nth-child(5n):hover { background: rgba(233, 163, 33, 0.22); }

/* ==========================================================================
   Section umum (latar terang)
   ========================================================================== */
.section { padding: 58px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(233, 163, 33, 0.1), transparent 55%),
    linear-gradient(180deg, #1d1310, #16110c);
  border-top: 1px solid rgba(233, 163, 33, 0.3);
  border-bottom: 1px solid rgba(233, 163, 33, 0.3);
  color: #e9e0cf;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #c9bca4; }
.section__head { max-width: 780px; margin-bottom: 34px; }
.section__kicker {
  display: inline-block; margin-bottom: 8px;
  color: var(--red); font-weight: 800; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 1.6px;
}
.section--dark .section__kicker { color: var(--gold-soft); }
.section__head p:not(.section__kicker) { color: #584e3f; }
.section--dark .section__head p:not(.section__kicker) { color: #c9bca4; }

/* ---------- Panduan 4 langkah ---------- */
.steps-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: langkah;
}
.step-card {
  position: relative; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px 20px;
  box-shadow: 0 4px 14px rgba(54, 34, 10, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(233, 163, 33, 0.6); box-shadow: var(--shadow); }
.step-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(150deg, var(--gold-soft), var(--gold) 60%, #c98300);
  color: #241700; font-size: 1.25rem; font-weight: 800;
  box-shadow: 0 6px 18px rgba(233, 163, 33, 0.35);
}
.step-card h3 { font-size: 1.02rem; }
.step-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0; }
.step-card a { font-weight: 700; }

/* ---------- CTA duo ---------- */
.cta-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-card {
  border-radius: var(--radius); padding: 30px 26px;
  border: 1.5px solid var(--line-strong); background: #fff;
  display: flex; flex-direction: column; gap: 8px; box-shadow: 0 4px 14px rgba(54, 34, 10, 0.05);
}
.cta-card ul { color: var(--muted); font-size: 0.93rem; margin-bottom: 18px; }
.cta-card .btn { margin-top: auto; align-self: flex-start; }
.cta-card--register {
  background: linear-gradient(165deg, rgba(211, 18, 63, 0.07), rgba(211, 18, 63, 0.02)), #fff;
  border-color: rgba(211, 18, 63, 0.4);
}
.cta-card--login {
  background: linear-gradient(165deg, rgba(14, 159, 110, 0.07), rgba(14, 159, 110, 0.02)), #fff;
  border-color: rgba(14, 159, 110, 0.4);
}

/* ---------- Feature / highlight grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: 0 4px 14px rgba(54, 34, 10, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(31, 111, 214, 0.45); box-shadow: var(--shadow); }
.feature-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px;
  font-size: 1.4rem;
  background: rgba(233, 163, 33, 0.14); border: 1px solid rgba(233, 163, 33, 0.4);
}
.feature-card h3 { font-size: 1.02rem; }
.feature-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Split media (mobile / security) ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 38px; align-items: center; }
.split--rev { grid-template-columns: 1.1fr 0.9fr; }
.split__media img {
  display: block; width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.split__media figcaption { color: var(--muted); font-size: 0.83rem; margin-top: 8px; }
.split .check-list li { margin-bottom: 0.8em; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 159, 110, 0.14); color: var(--green-deep);
  border: 1px solid rgba(14, 159, 110, 0.5);
  font-size: 0.72rem; font-weight: 800;
}

/* ---------- Quotes pembaca ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote-card {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--red); border-radius: var(--radius);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 4px 14px rgba(54, 34, 10, 0.05);
}
.quote-card:nth-child(2) { border-top-color: var(--gold); }
.quote-card:nth-child(3) { border-top-color: var(--green); }
.quote-card blockquote { margin: 0; font-size: 0.95rem; color: #4a4234; font-style: italic; }
.quote-card figcaption { color: var(--muted); font-size: 0.85rem; margin-top: auto; }
.quote-card__topic { display: block; margin-top: 4px; color: var(--blue-deep); font-size: 0.78rem; font-weight: 700; }
.quotes-note { color: var(--muted); font-size: 0.85rem; margin-top: 18px; }

/* ---------- Simulator turnover (fitur khas Dewakoin99) ---------- */
.simulator {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(31, 111, 214, 0.12), transparent 55%),
    #fff;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.simulator__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.simulator__field { margin-bottom: 16px; }
.simulator__field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 0.93rem; }
.simulator__field input[type="number"], .simulator__field select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: var(--ivory);
  color: var(--text); font: inherit; font-size: 1rem;
}
.simulator__field input:focus, .simulator__field select:focus { border-color: var(--gold); outline: none; }
.simulator__hint { color: var(--muted); font-size: 0.82rem; margin-top: 5px; }
.simulator__out {
  background: linear-gradient(170deg, #241c14, #16110c);
  border: 1px solid rgba(233, 163, 33, 0.5); border-radius: 12px;
  padding: 20px 22px; min-height: 180px; color: #f3ede2;
}
.simulator__placeholder { color: #bcb09a; font-size: 0.92rem; margin: 0; }
.simulator__row {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); flex-wrap: wrap;
}
.simulator__row:last-of-type { border-bottom: none; }
.simulator__row dt { color: #bcb09a; font-size: 0.9rem; }
.simulator__row dd { margin: 0; font-weight: 800; color: var(--gold-soft); font-size: 1.05rem; text-align: right; }
.simulator__foot { color: var(--muted); font-size: 0.85rem; margin-top: 18px; margin-bottom: 0; }

/* ---------- Responsible gaming ---------- */
.rg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rg-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius); padding: 24px 20px;
}
.rg-card ul { color: #c9bca4; font-size: 0.93rem; }
.rg-card .btn { margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 3px 10px rgba(54, 34, 10, 0.04);
  transition: border-color 0.15s ease;
}
.faq-list details[open] { border-color: rgba(211, 18, 63, 0.45); }
.faq-list summary {
  cursor: pointer; padding: 15px 48px 15px 18px;
  font-weight: 700; font-size: 0.98rem; position: relative; list-style: none;
  color: var(--ink); user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(211, 18, 63, 0.1); color: var(--red);
  border: 1px solid rgba(211, 18, 63, 0.4); font-weight: 800;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 18px 16px; margin: 0; color: #4a4234; font-size: 0.94rem; }

/* ---------- Outro ---------- */
.outro { text-align: center; }
.outro p { max-width: 720px; margin-left: auto; margin-right: auto; color: #584e3f; }
.outro__note { color: var(--muted); font-size: 0.88rem; }

/* ==========================================================================
   Artikel
   ========================================================================== */
.article { padding: 38px 0 64px; }
.article__meta { color: var(--muted); font-size: 0.85rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article__lead { font-size: 1.08rem; color: #4a4234; margin-bottom: 1.4em; }
.article__figure { margin: 0 0 28px; }
.article__figure img {
  display: block; width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.article__figure figcaption { color: var(--muted); font-size: 0.83rem; margin-top: 10px; }
.article h2 { margin-top: 1.8em; scroll-margin-top: calc(var(--header-h) + 16px); }
.article h2:first-of-type { margin-top: 1.2em; }
.article__next {
  margin-top: 2.2em; padding: 16px 20px;
  background: linear-gradient(120deg, rgba(233, 163, 33, 0.12), transparent 60%);
  border-left: 3px solid var(--gold); border-radius: 8px; font-weight: 600;
}
.article__note { color: var(--muted); font-size: 0.9rem; }
.article__cta {
  margin-top: 2.4em; text-align: center;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.article__cta-note { color: var(--muted); font-size: 0.84rem; max-width: 560px; margin: 0; }

.toc {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 30px; box-shadow: 0 3px 10px rgba(54, 34, 10, 0.04);
}
.toc p { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 30px; }
.toc a { font-size: 0.92rem; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.6em; border-radius: 12px; border: 1px solid var(--line); }
.table-wrap table {
  width: 100%; border-collapse: collapse; min-width: 560px;
  background: #fff; font-size: 0.93rem;
}
.table-wrap caption { caption-side: top; text-align: left; padding: 12px 16px 0; color: var(--red-deep); font-weight: 700; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th {
  background: linear-gradient(160deg, #fdf3e4, #faf0dc); color: #6b4d12;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.6px;
}
.table-wrap tbody tr:hover { background: #fdfaf4; }
.table-wrap tbody tr:last-child td { border-bottom: none; }
.facts th[scope="row"] { width: 40%; color: var(--red-deep); }

.formula {
  text-align: center; font-size: 1.05rem; font-weight: 700;
  background: rgba(31, 111, 214, 0.08); border: 1px dashed rgba(31, 111, 214, 0.45);
  color: var(--blue-deep); border-radius: 10px; padding: 14px 16px; margin: 1.2em 0;
}

.callout {
  background: rgba(14, 159, 110, 0.08); border: 1px solid rgba(14, 159, 110, 0.35);
  border-left: 4px solid var(--green); border-radius: 10px;
  padding: 14px 18px; margin: 1.4em 0; font-size: 0.95rem;
}
.callout--warn {
  background: rgba(233, 163, 33, 0.1); border-color: rgba(233, 163, 33, 0.45);
  border-left-color: var(--gold);
}
.callout strong { color: var(--ink); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 18px; }
.breadcrumb__list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 6px; padding: 0; font-size: 0.85rem; color: var(--muted);
}
.breadcrumb__list li { display: flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumb__list li + li::before { content: "›"; color: var(--gold); }
.breadcrumb__list a { color: var(--muted); }
.breadcrumb__list a:hover { color: var(--red); }
.breadcrumb__list [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- Promo ---------- */
.promo-note {
  background: rgba(233, 163, 33, 0.1); border: 1px solid rgba(233, 163, 33, 0.4);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 30px;
}
.promo-note p { margin: 0; font-size: 0.95rem; }
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 40px; }
.promo-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
  overflow: hidden; color: var(--text);
  box-shadow: 0 4px 14px rgba(54, 34, 10, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.promo-card:hover { transform: translateY(-5px); text-decoration: none; border-color: var(--gold); box-shadow: var(--shadow); }
.promo-card img { display: block; width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; }
.promo-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-card__body h2 { font-size: 1.12rem; margin: 6px 0 0; color: var(--ink); }
.promo-card__body p { color: var(--muted); font-size: 0.88rem; margin: 0; flex: 1; }
.promo-card__cta { color: var(--red); font-weight: 700; font-size: 0.9rem; }
.promo-card__tag {
  align-self: flex-start; padding: 4px 12px; border-radius: 999px;
  background: rgba(211, 18, 63, 0.1); color: var(--red-deep);
  border: 1px solid rgba(211, 18, 63, 0.4);
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px;
}
.promo-card__tag--green { background: rgba(14, 159, 110, 0.1); color: var(--green-deep); border-color: rgba(14, 159, 110, 0.4); }
.promo-card__tag--blue { background: rgba(31, 111, 214, 0.1); color: var(--blue-deep); border-color: rgba(31, 111, 214, 0.4); }
.promo-card__tag--gold { background: rgba(233, 163, 33, 0.13); color: #7a5410; border-color: rgba(233, 163, 33, 0.5); }
.promo-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.8rem; color: var(--muted); }
.promo-facts span { display: inline-flex; align-items: center; gap: 5px; }
.promo-facts span::before { content: "•"; color: var(--gold); font-weight: 900; }

/* ---------- Auth (daftar/masuk) ---------- */
.auth { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: start; }
.auth__form-panel {
  background: #fff; border: 1.5px solid var(--line-strong);
  border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow);
}
.auth-form__field { margin-bottom: 18px; }
.auth-form__field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 0.95rem; }
.auth-form__field input[type="text"], .auth-form__field input[type="password"], .auth-form__field input[type="email"] {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: var(--ivory);
  color: var(--text); font: inherit;
}
.auth-form__field input:focus { border-color: var(--gold); outline: none; }
.auth-form__field small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 5px; }
.auth-form__field--check { display: flex; gap: 10px; align-items: flex-start; }
.auth-form__field--check input { width: 19px; height: 19px; margin-top: 4px; accent-color: var(--green); flex-shrink: 0; }
.auth-form__field--check label { font-weight: 500; font-size: 0.9rem; color: #4a4234; margin: 0; }
.auth-form__error {
  background: rgba(211, 18, 63, 0.08); border: 1px solid rgba(211, 18, 63, 0.45);
  color: var(--red-deep); border-radius: 10px; padding: 10px 14px; font-size: 0.88rem;
}
.auth-form__alt { color: var(--muted); font-size: 0.88rem; margin-top: 14px; }
.auth__side img {
  display: block; width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-strong); margin-bottom: 20px;
}
.auth__side h2 { font-size: 1.15rem; margin-top: 1.2em; }
.auth__side-note {
  color: var(--muted); font-size: 0.84rem;
  border-top: 1px dashed var(--line-strong); padding-top: 14px;
}

/* ---------- Bantuan / kanal support ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: 0 4px 14px rgba(54, 34, 10, 0.05);
}
.help-card h3 { font-size: 1.02rem; }
.help-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.6em; }

/* ==========================================================================
   Footer (gelap)
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #1d1310, #120d09);
  border-top: 3px solid var(--gold);
  padding: 52px 0 0; margin-top: 0; color: #c9bca4;
}
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 0.8fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.site-branding--footer { margin-bottom: 14px; }
.footer-brand p { color: #b0a48d; font-size: 0.9rem; }
.footer-18 { display: flex; align-items: center; gap: 10px; color: #b0a48d; font-size: 0.85rem; }
.footer-col h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--gold-soft); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #d8cdb8; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-soft); }
.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 calc(var(--float-h) + 40px); /* ruang untuk float-cta: bukan area kosong, tetap bagian footer */
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}
.site-footer__legal p { color: #a89c85; font-size: 0.8rem; margin-bottom: 10px; }
.site-footer__legal strong { color: #d8cdb8; }

/* ==========================================================================
   Float CTA (mesin slot + koin emas) — tanpa tombol tutup
   ========================================================================== */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: var(--float-h);
  padding: 8px clamp(12px, 4vw, 34px);
  background: linear-gradient(90deg, #7e0b1d 0%, #a3102e 30%, #17100b 78%, #17100b 100%);
  border-top: 2.5px solid var(--gold);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.5);
}
.float-cta__reels { display: flex; gap: 7px; align-items: center; flex-shrink: 0; }
.reel {
  display: inline-block; width: 38px; height: 34px;
  background: linear-gradient(180deg, #2a2218, #14100a);
  border: 1.5px solid var(--gold); border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.7), 0 0 12px rgba(233, 163, 33, 0.3);
}
.reel__strip { display: flex; flex-direction: column; animation: reelspin 2s linear infinite; }
.reel__strip i { font-style: normal; height: 34px; line-height: 34px; text-align: center; font-size: 19px; }
.reel--b .reel__strip { animation-duration: 2.6s; animation-delay: 0.35s; }
.reel--c .reel__strip { animation-duration: 1.7s; animation-delay: 0.8s; }
@keyframes reelspin { from { transform: translateY(0); } to { transform: translateY(-170px); } }

.float-cta__actions { display: flex; gap: 12px; align-items: center; }
.float-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 128px; padding: 12px 24px; border-radius: 999px;
  font-weight: 900; font-size: 1rem; letter-spacing: 1px;
  text-transform: uppercase; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.float-btn:hover { text-decoration: none; transform: translateY(-2px) scale(1.03); filter: brightness(1.1); }
.float-btn--register {
  background: linear-gradient(160deg, #2ee27a 0%, var(--green) 45%, var(--green-deep) 100%);
  color: #03130a;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 6px 24px rgba(14, 159, 110, 0.55);
  animation: regPulse 2.4s ease-in-out infinite;
}
.float-btn--login {
  background: linear-gradient(160deg, #ffe28a, var(--gold) 55%, #c98300);
  color: #241700;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16), 0 6px 20px rgba(233, 163, 33, 0.45);
}
@keyframes regPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 6px 24px rgba(14, 159, 110, 0.55); }
  50% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 6px 34px rgba(46, 226, 122, 0.8); }
}

.float-cta__coins { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.float-cta__coins i {
  position: absolute; bottom: -22px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff3c4 0%, #ffd968 35%, #e09c00 75%, #a86e00 100%);
  box-shadow: 0 0 8px rgba(255, 217, 104, 0.8);
  opacity: 0;
  animation: coinrise 3.2s ease-in infinite;
}
.float-cta__coins i:nth-child(1) { left: 18%; animation-delay: 0s; }
.float-cta__coins i:nth-child(2) { left: 30%; width: 10px; height: 10px; animation-delay: 0.9s; }
.float-cta__coins i:nth-child(3) { left: 45%; animation-delay: 1.7s; }
.float-cta__coins i:nth-child(4) { left: 58%; width: 11px; height: 11px; animation-delay: 0.5s; }
.float-cta__coins i:nth-child(5) { left: 70%; animation-delay: 2.2s; }
.float-cta__coins i:nth-child(6) { left: 82%; width: 9px; height: 9px; animation-delay: 1.3s; }
@keyframes coinrise {
  0% { transform: translateY(0) scale(0.6) rotate(0deg); opacity: 0; }
  12% { opacity: 0.95; }
  100% { transform: translateY(-92px) scale(1.15) rotate(200deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reel__strip, .float-cta__coins i, .float-btn--register { animation: none !important; }
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .hero__media { max-width: 620px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .quotes-grid, .rg-grid, .help-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #201a13; border-bottom: 1px solid rgba(233, 163, 33, 0.4);
    padding: 12px 22px 18px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 12px 14px; font-size: 1rem; }
  .menu-toggle { display: inline-flex; }
  .main-navigation { margin-left: auto; }
  .header-actions { gap: 8px; }
  .split, .split--rev, .simulator__grid, .auth { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}

@media (max-width: 740px) {
  :root { --header-h: 60px; --float-h: 60px; }
  .section { padding: 44px 0; }
  .hero { padding: 44px 0 48px; }
  .hero__facts { grid-template-columns: 1fr; }
  .steps-grid, .feature-grid, .quotes-grid, .rg-grid, .help-grid, .promo-grid, .cta-duo { grid-template-columns: 1fr; }
  .header-actions .btn-login { display: none; } /* MASUK tetap tersedia di menu, footer & float bar */
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-header__inner { gap: 10px; }
  .site-title { font-size: 1.05rem; }
  .site-branding { min-width: 0; }
  .header-actions .btn-register { padding: 8px 14px; font-size: 0.85rem; }
  .search-toggle { width: 38px; height: 38px; }
  .float-btn { min-width: 104px; padding: 11px 16px; font-size: 0.92rem; }
  .reel { width: 32px; height: 30px; }
  .reel__strip i { height: 30px; line-height: 30px; font-size: 16px; }
  @keyframes reelspin { to { transform: translateY(-150px); } }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .header-search__inner { padding: 12px 16px 16px; }
  .search-strip__inner { padding: 14px 16px; }
  .search-strip__box { flex-direction: column; }
  .search-strip__box button { padding: 12px 26px; }
  .search-form { flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .site-branding .badge18 { display: none; }
  .site-branding .logo-dk { width: 30px; height: 30px; }
  .site-header__inner { gap: 7px; }
  .site-title { font-size: 0.98rem; letter-spacing: 0; }
  .menu-toggle { padding: 8px 9px; }
  .search-toggle { width: 34px; height: 34px; }
  .header-actions .btn-register { padding: 7px 11px; font-size: 0.78rem; }
  .btn { white-space: normal; }
  .hero__actions .btn { width: 100%; }
  .float-cta { gap: 8px; padding: 7px 12px; }
  .float-btn { min-width: 92px; padding: 10px 12px; font-size: 0.85rem; }
  .float-cta__reels { gap: 5px; }
  .reel { width: 28px; height: 26px; border-radius: 6px; }
  .reel__strip i { height: 26px; line-height: 26px; font-size: 14px; }
  @keyframes reelspin { to { transform: translateY(-130px); } }
  .toc ol { padding-left: 1.05em; }
  .article { padding: 28px 0 52px; }
  .auth__form-panel { padding: 22px 18px; }
  .simulator { padding: 18px 16px; }
}
