/* ==========================================================================
   Garuda4d — Casino Theme (merah / putih / hijau / kuning / biru / hitam)
   Responsif untuk semua perangkat. Tanpa framework, tanpa dependensi.
   ========================================================================== */

:root {
  --bg: #0b0e13;
  --bg-2: #10141c;
  --card: #151b25;
  --card-2: #1a2230;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f6;
  --muted: #9aa4b2;
  --red: #e5233c;
  --red-deep: #a80f24;
  --green: #14b866;
  --green-deep: #0a8f4f;
  --gold: #f5b301;
  --gold-soft: #ffd968;
  --blue: #3b82f6;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --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.7;
  color: var(--text);
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(229, 35, 60, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 12%, rgba(59, 130, 246, 0.10), transparent 55%),
    var(--bg);
  overflow-wrap: break-word;
}

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

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

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

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

code { background: rgba(245, 179, 1, 0.14); color: var(--gold-soft); 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: 860px; }

.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: #201200;
  font-weight: 700; padding: 10px 18px; border-radius: 0 0 10px 10px;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 0; color: #201200; text-decoration: none; }

.badge18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; 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.5);
  letter-spacing: 0.5px;
}
.badge18--big { height: 30px; font-size: 0.95rem; min-width: 48px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  font-weight: 800; font-size: 0.95rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.06); }
.btn--lg { padding: 14px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn-register {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff; box-shadow: 0 6px 22px rgba(20, 184, 102, 0.35);
}
.btn-login, .btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-login:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-gold {
  background: linear-gradient(160deg, var(--gold-soft), var(--gold) 55%, #d18d00);
  color: #241700; box-shadow: 0 6px 22px rgba(245, 179, 1, 0.35);
}

/* ==========================================================================
   Header (WordPress-style .site-header)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(11, 14, 19, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.site-header__inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
}
.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-title {
  font-size: 1.35rem; font-weight: 800; letter-spacing: 0.4px; color: var(--text) !important;
}
.site-title .g1 { color: var(--red); text-shadow: 0 0 18px rgba(229, 35, 60, 0.55); }
.site-title .g2 { color: var(--gold); text-shadow: 0 0 18px rgba(245, 179, 1, 0.55); }
.site-title:hover { text-decoration: none; }

.main-navigation { margin-left: 6px; flex: 1 1 auto; }
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.nav-menu a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--text); font-weight: 600; font-size: 0.95rem;
}
.nav-menu a:hover { background: rgba(255, 255, 255, 0.07); color: var(--gold-soft); text-decoration: none; }
.current-menu-item a {
  background: linear-gradient(160deg, rgba(229, 35, 60, 0.25), rgba(245, 179, 1, 0.12));
  color: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(245, 179, 1, 0.35);
}

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 1.5px solid var(--line-strong);
  border-radius: 9px; padding: 10px 11px; cursor: pointer;
}
.menu-toggle__bar { width: 20px; height: 2px; background: var(--text); 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: var(--text);
  border: 1.5px solid var(--line-strong); cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.search-toggle:hover { border-color: var(--gold); color: var(--gold-soft); }

.header-search { border-top: 1px solid var(--line); background: var(--bg-2); }
.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 var(--line-strong); background: var(--bg);
  color: var(--text); font: inherit; min-width: 0;
}
.search-form input[type="search"]:focus { border-color: var(--gold); outline: none; }
.search-popular { margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.search-popular__label { color: var(--muted); font-size: 0.85rem; }

.search-results { margin-top: 8px; }
.search-results__item {
  display: block; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card);
  margin-bottom: 8px; color: var(--text);
}
.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: var(--muted); font-size: 0.85rem; }
.search-results__empty { color: var(--muted); padding: 8px 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(229, 35, 60, 0.2), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(59, 130, 246, 0.12), transparent 55%),
    linear-gradient(180deg, #0d1119 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.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: #c8d0dc; max-width: 34em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 20px; }
.hero__facts {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px;
  color: var(--muted); font-size: 0.9rem;
}
.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  display: block; width: 100%;
}
.hero__media-card {
  position: absolute; left: 14px; bottom: -20px; right: 14px;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 12px 16px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow);
}
.hero__media-card strong { color: var(--gold-soft); font-size: 0.95rem; }
.hero__media-card span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Search strip + tag cloud ---------- */
.search-strip { background: var(--bg-2); 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 16px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--bg);
  color: var(--text); font: inherit; min-width: 0;
}
.search-strip__box input:focus { border-color: var(--gold); outline: none; }
.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(59, 130, 246, 0.12); color: #9ec3ff;
  border: 1px solid rgba(59, 130, 246, 0.35);
  font-size: 0.85rem; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: background 0.15s, transform 0.15s;
}
.tag-pill:hover { background: rgba(59, 130, 246, 0.25); color: #cfe3ff; transform: translateY(-1px); }
.tag-pill:nth-child(3n) { background: rgba(229, 35, 60, 0.12); border-color: rgba(229, 35, 60, 0.4); color: #ffb9c3; }
.tag-pill:nth-child(3n):hover { background: rgba(229, 35, 60, 0.25); color: #ffd3da; }
.tag-pill:nth-child(4n) { background: rgba(20, 184, 102, 0.12); border-color: rgba(20, 184, 102, 0.4); color: #a5ecc8; }
.tag-pill:nth-child(4n):hover { background: rgba(20, 184, 102, 0.25); color: #cdf6e2; }

/* ==========================================================================
   Section umum
   ========================================================================== */
.section { padding: 58px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(245, 179, 1, 0.09), transparent 55%),
    #0a0d12;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.section__head { max-width: 760px; margin-bottom: 34px; }
.section__kicker {
  display: inline-block; margin-bottom: 8px;
  color: var(--gold); font-weight: 800; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 1.6px;
}
.section__head p:not(.section__kicker) { color: #b8c1cf; }

/* ---------- Panduan 4 langkah ---------- */
.steps-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.step-card {
  position: relative; background: linear-gradient(165deg, var(--card-2), var(--card));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 26px 20px 20px; transition: transform 0.18s ease, border-color 0.18s ease;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(245, 179, 1, 0.45); }
.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%, #cf8c00);
  color: #241700; font-size: 1.25rem; font-weight: 800;
  box-shadow: 0 6px 18px rgba(245, 179, 1, 0.35);
}
.step-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0; }
.step-card h3 { font-size: 1.02rem; }

/* ---------- 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);
  display: flex; flex-direction: column; gap: 8px;
}
.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(20, 184, 102, 0.16), rgba(20, 184, 102, 0.05)), var(--card);
  border-color: rgba(20, 184, 102, 0.5);
}
.cta-card--login {
  background: linear-gradient(165deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.04)), var(--card);
  border-color: rgba(59, 130, 246, 0.45);
}

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.5); background: var(--card-2); }
.feature-card__icon { font-size: 1.7rem; display: block; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }
.feature-card h3 { font-size: 1.02rem; }

/* ---------- Mobile split ---------- */
.mobile-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 38px; align-items: center; }
.mobile-split__media img {
  display: block; width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.mobile-split__media figcaption { color: var(--muted); font-size: 0.83rem; margin-top: 8px; }
.mobile-split__copy .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: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 184, 102, 0.18); color: var(--green);
  border: 1px solid rgba(20, 184, 102, 0.5);
  font-size: 0.75rem; font-weight: 800;
}

/* ---------- Quotes ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote-card {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-top: 3px solid var(--gold); border-radius: var(--radius);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 12px;
}
.quote-card blockquote {
  margin: 0; font-size: 0.95rem; color: #d5dbe5; 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: #7fb3ff; font-size: 0.78rem; font-weight: 700;
}

/* ---------- Kalkulator ---------- */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  background: linear-gradient(170deg, rgba(229, 35, 60, 0.09), transparent 55%), var(--card);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.calc__field label { display: block; font-weight: 700; margin-bottom: 8px; }
.calc__field input {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: var(--bg);
  color: var(--text); font: inherit; font-size: 1.05rem;
}
.calc__field input:focus { border-color: var(--gold); outline: none; }
.calc__hint { color: var(--muted); font-size: 0.84rem; margin: 8px 0 0; }
.calc__out {
  background: var(--bg); border: 1px dashed var(--line-strong);
  border-radius: 12px; padding: 18px 20px; min-height: 120px;
}
.calc__placeholder { color: var(--muted); font-size: 0.9rem; margin: 0; }
.calc__row {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.calc__row:last-of-type { border-bottom: none; }
.calc__row dt { color: var(--muted); font-size: 0.9rem; }
.calc__row dd { margin: 0; font-weight: 800; color: var(--gold-soft); font-size: 1.05rem; }
.calc__rules { margin-top: 26px; }
.calc__rules h3 { color: var(--gold-soft); }
.calc__rules ul { color: #c3ccd9; }
.calc__rules em { color: var(--muted); }

/* ---------- Security grid ---------- */
.security-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.security-grid__media img {
  display: block; width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.security-grid__media figcaption { color: var(--muted); font-size: 0.83rem; margin-top: 8px; }

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

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-list details[open] { border-color: rgba(245, 179, 1, 0.45); }
.faq-list summary {
  cursor: pointer; padding: 15px 46px 15px 18px;
  font-weight: 700; font-size: 0.98rem; position: relative; list-style: none;
  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(245, 179, 1, 0.15); color: var(--gold);
  border: 1px solid rgba(245, 179, 1, 0.4); font-weight: 800;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 18px 16px; margin: 0; color: #c3ccd9; font-size: 0.94rem; }

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

/* ==========================================================================
   Artikel
   ========================================================================== */
.article { padding: 40px 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: #c8d0dc; 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(245, 179, 1, 0.1), 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 .btn--ghost { display: inline-flex; }
.article__cta-note { color: var(--muted); font-size: 0.84rem; max-width: 560px; margin: 0; }

.toc {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 30px;
}
.toc p { margin: 0 0 6px; font-weight: 700; color: var(--gold-soft); }
.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; }
.table-wrap table {
  width: 100%; border-collapse: collapse; min-width: 560px;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px;
  overflow: hidden; font-size: 0.93rem;
}
.table-wrap caption { caption-side: top; text-align: left; padding: 12px 16px 0; color: var(--gold-soft); 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: rgba(229, 35, 60, 0.14); color: #ffd1da; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.6px; }
.table-wrap tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.table-wrap tbody tr:last-child td { border-bottom: none; }
.facts th[scope="row"] { width: 40%; color: var(--gold-soft); }

.formula {
  text-align: center; font-size: 1.05rem; font-weight: 700;
  background: rgba(59, 130, 246, 0.1); border: 1px dashed rgba(59, 130, 246, 0.5);
  color: #bcd7ff; border-radius: 10px; padding: 14px 16px; margin: 1.2em 0;
}

/* ---------- 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(--gold-soft); }
.breadcrumb__list [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- Promo grid ---------- */
.promo-note {
  background: rgba(245, 179, 1, 0.08); border: 1px solid rgba(245, 179, 1, 0.35);
  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(3, 1fr); gap: 18px; margin-bottom: 40px; }
.promo-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-strong);
  border-radius: var(--radius); overflow: hidden; color: var(--text);
  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: 4 / 3; 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(--text); }
.promo-card__body p { color: var(--muted); font-size: 0.88rem; margin: 0; flex: 1; }
.promo-card__cta { color: var(--gold-soft); font-weight: 700; font-size: 0.9rem; }
.promo-card__tag {
  align-self: flex-start; padding: 4px 12px; border-radius: 999px;
  background: rgba(229, 35, 60, 0.16); color: #ffb9c3;
  border: 1px solid rgba(229, 35, 60, 0.45);
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px;
}
.promo-card__tag--green { background: rgba(20, 184, 102, 0.14); color: #a5ecc8; border-color: rgba(20, 184, 102, 0.45); }
.promo-card__tag--blue { background: rgba(59, 130, 246, 0.14); color: #9ec3ff; border-color: rgba(59, 130, 246, 0.45); }
.promo-card__tag--gold { background: rgba(245, 179, 1, 0.14); color: var(--gold-soft); border-color: rgba(245, 179, 1, 0.45); }
.promo-ethics h2 { margin-bottom: 0.8em; }

/* ---------- Auth (daftar/masuk) ---------- */
.auth {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px;
  align-items: start;
}
.auth__form-panel {
  background: var(--card); 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"] {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: var(--bg);
  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: #c3ccd9; margin: 0; }
.auth-form__error {
  background: rgba(229, 35, 60, 0.14); border: 1px solid rgba(229, 35, 60, 0.5);
  color: #ffc2cc; 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;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #080a0f; border-top: 1px solid var(--line-strong);
  padding: 52px 0 0; margin-top: 0;
}
.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: var(--muted); font-size: 0.9rem; }
.footer-18 { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.85rem; }
.footer-col h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--gold); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #c3ccd9; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-soft); }
.site-footer__legal {
  border-top: 1px solid var(--line);
  padding: 22px 0 calc(var(--float-h) + 44px); /* ruang untuk float-cta, tanpa area kosong terlihat */
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
}
.site-footer__legal p { color: var(--muted); font-size: 0.8rem; margin-bottom: 10px; }
.site-footer__legal strong { color: #c9d2de; }

/* ==========================================================================
   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%, #a80f24 30%, #12060a 78%, #12060a 100%);
  border-top: 2.5px solid var(--gold);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.55);
}
.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, #1d232e, #0d1117);
  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(245, 179, 1, 0.25);
}
.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(20, 184, 102, 0.55);
  animation: regPulse 2.4s ease-in-out infinite;
}
.float-btn--login {
  background: linear-gradient(160deg, #ffe28a, var(--gold) 55%, #d18d00);
  color: #241700;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16), 0 6px 20px rgba(245, 179, 1, 0.45);
}
@keyframes regPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 6px 24px rgba(20, 184, 102, 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%, #e59a00 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; }
}

/* ---------- Gerak minimal: hormati preferensi pengguna ---------- */
@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, .promo-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: var(--bg-2); border-bottom: 1px solid var(--line-strong);
    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; }
  .security-grid, .mobile-split, .calc, .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, .promo-grid, .cta-duo { grid-template-columns: 1fr; }
  .btn-login { display: none; }          /* header dirampingkan; MASUK tetap di menu & 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-form { flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .site-branding .badge18 { display: none; }
  .site-branding .logo-garuda { width: 30px; height: 30px; }
  .site-header__inner { gap: 7px; }
  .site-title { font-size: 0.95rem; 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; }          /* teks tombol panah boleh turun baris di layar sempit */
  .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; }
}
