/* ============================================================
   Megawin188 — Casino info portal theme (WordPress-style markup)
   Palette: red / white / green / gold / blue / black
   Mobile-first, fully responsive, no external CSS frameworks.
   ============================================================ */

:root {
  --red: #d3172d;
  --red-dark: #9e0c1f;
  --red-deep: #74091a;
  --gold: #f5b301;
  --gold-2: #ffd766;
  --gold-soft: #fff3d1;
  --green: #17984f;
  --green-dark: #0e6e38;
  --green-soft: #e9f8ef;
  --blue: #1e6feb;
  --blue-soft: #e9f1ff;
  --ink: #14141c;
  --ink-2: #1d1d27;
  --ink-3: #2a2a38;
  --paper: #ffffff;
  --soft: #f6f6f9;
  --line: #e6e6ee;
  --muted: #5d5f6f;
  --shadow: 0 10px 30px rgba(16, 16, 26, 0.10);
  --shadow-lg: 0 18px 50px rgba(16, 16, 26, 0.18);
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(15px, 0.4vw + 14px, 17px);
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: clip;
}

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

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 0.6em; font-weight: 800; }
h1 { font-size: clamp(1.7rem, 1.1vw + 1.4rem, 2.6rem); }
h2 { font-size: clamp(1.35rem, 0.8vw + 1.15rem, 1.9rem); }
h3 { font-size: clamp(1.08rem, 0.5vw + 0.98rem, 1.3rem); }
p { margin: 0 0 1em; overflow-wrap: break-word; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.container-narrow { width: min(860px, 100% - 2.5rem); }

.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:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  width: auto; height: auto; clip: auto; padding: 10px 16px;
  background: var(--gold); color: var(--ink); border-radius: 8px; font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 0.98rem; line-height: 1.2; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-register {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #e09a00);
  color: #4a3200;
  box-shadow: 0 6px 18px rgba(245, 179, 1, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-register:hover { filter: brightness(1.05); box-shadow: 0 10px 24px rgba(245, 179, 1, 0.45); }
.btn-login {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; box-shadow: 0 6px 18px rgba(211, 23, 45, 0.35);
}
.btn-login:hover { box-shadow: 0 10px 24px rgba(211, 23, 45, 0.45); }
.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); }
.btn-outline-dark { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline-dark:hover { background: var(--red); color: #fff; }
.btn-light { background: #fff; color: var(--red-dark); }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em;
  background: var(--soft); color: var(--muted); border: 1px solid var(--line);
}
.badge-18 { background: var(--red); border-color: var(--red-dark); color: #fff; }
.badge-lg { font-size: 0.95rem; padding: 6px 16px; margin-bottom: 10px; }
.chip {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em;
}
.chip-gold { background: var(--gold); color: #4a3200; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, #101018, #171722);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.header-inner { display: flex; align-items: center; gap: 14px; padding: 10px 0; flex-wrap: wrap; }
.site-branding { display: flex; align-items: center; margin-right: auto; }
.custom-logo-link { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { flex: 0 0 auto; filter: drop-shadow(0 2px 6px rgba(245, 179, 1, 0.45)); }
.site-title { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: 0.02em; }
.site-title b { color: var(--gold); }

/* hamburger (checkbox hack, tanpa JS) */
.nav-toggle, .nav-toggle-label { display: none; }
.nav-toggle-label {
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-toggle-label .bar { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }

.main-navigation .menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-navigation .menu a {
  display: block; padding: 8px 13px; border-radius: 9px;
  color: #cfd2e0; font-weight: 700; font-size: 0.95rem; white-space: nowrap;
}
.main-navigation .menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.current-menu-item a { color: var(--gold) !important; background: rgba(245, 179, 1, 0.12); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 9px 18px; font-size: 0.9rem; }

/* search */
.search-box { position: relative; }
.search-toggle {
  list-style: none; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25); color: #fff;
}
.search-toggle::-webkit-details-marker { display: none; }
.search-box[open] .search-toggle { background: rgba(255, 255, 255, 0.1); }
.search-panel {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 70;
  width: min(380px, calc(100vw - 2rem));
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px;
}
#search-input {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 2px solid var(--line); font: inherit; color: var(--ink);
}
#search-input:focus { outline: none; border-color: var(--gold); }
.search-results { max-height: 320px; overflow-y: auto; margin-top: 8px; }
.search-result {
  display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-2);
}
.search-result:hover { background: var(--soft); text-decoration: none; }
.search-result .sr-title { font-weight: 800; font-size: 0.92rem; color: var(--ink); }
.search-result .sr-desc { font-size: 0.8rem; color: var(--muted); display: block; }
.search-empty { padding: 10px 12px; color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { padding: 14px 0 2px; font-size: 0.85rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--muted); font-weight: 700; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.28;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(245, 179, 1, 0.22), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(211, 23, 45, 0.35), transparent 60%),
    linear-gradient(180deg, rgba(16, 16, 24, 0.55), rgba(16, 16, 24, 0.92));
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: 2.2rem; padding: 3.4rem 0 3.8rem; align-items: center; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; color: var(--gold-2); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; }
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero .lead { color: #d8dae6; font-size: clamp(1rem, 0.5vw + 0.92rem, 1.15rem); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; color: #b9bcca; font-size: 0.85rem; font-weight: 700; }
.hero-chips li { display: flex; align-items: center; gap: 7px; }
.hero-chips li::before { content: "✓"; color: var(--green); font-weight: 900; }
.hero-media { margin: 0; position: relative; }
.hero-media img { border-radius: 18px; border: 3px solid rgba(245, 179, 1, 0.55); box-shadow: var(--shadow-lg); }
.hero-media figcaption { position: absolute; right: 12px; bottom: 10px; font-size: 0.7rem; color: rgba(255, 255, 255, 0.75); background: rgba(0, 0, 0, 0.45); padding: 2px 10px; border-radius: 999px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(2.6rem, 5vw, 4.6rem) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: linear-gradient(160deg, var(--ink), var(--ink-3)); color: #d8dae6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: var(--gold-2); }
.section-green { background: linear-gradient(180deg, var(--green-soft), #fff); border-top: 1px solid #d2eede; }
.section-mobile { background: #fff; }
.section-lead { max-width: 68ch; color: var(--muted); margin-top: -0.4em; }

.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* kategori cards */
.cat-card {
  display: block; background: #fff; border-radius: var(--radius); padding: 1.4rem;
  border: 1px solid var(--line); border-top: 5px solid var(--red);
  box-shadow: var(--shadow); color: var(--ink-2); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.cat-card h3 { margin-bottom: 0.35em; }
.cat-card p { margin-bottom: 0.8em; color: var(--muted); font-size: 0.92rem; }
.cat-ico { font-size: 1.9rem; display: inline-block; margin-bottom: 8px; }
.t-red { border-top-color: var(--red); }
.t-green { border-top-color: var(--green); }
.t-blue { border-top-color: var(--blue); }
.t-gold { border-top-color: var(--gold); }
.more { font-weight: 800; font-size: 0.88rem; }
.cat-card .more { color: var(--red); }

/* langkah */
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; font-weight: 900; font-size: 1.2rem;
  box-shadow: 0 6px 14px rgba(211, 23, 45, 0.35);
}
.step-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.6em; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--ink), var(--ink-3) 60%, #33334a); color: #fff; padding: clamp(2.2rem, 4vw, 3.4rem) 0; }
.cta-band-red { background: linear-gradient(120deg, var(--red-deep), var(--red-dark) 55%, var(--red)); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 62ch; margin: 0; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* highlight cards */
.hl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.hl-ico { font-size: 1.6rem; display: inline-block; margin-bottom: 6px; }
.hl-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* two kolom (mobile/green/dark) */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.4rem; align-items: center; }
.two-col.reverse .col-media { order: 2; }
.col-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.section-dark .col-media img { border: 2px solid rgba(245, 179, 1, 0.4); }

/* checklist */
.check-list { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 7px;
  background: var(--green-soft); color: var(--green-dark);
  font-weight: 900; font-size: 0.8rem; display: flex; align-items: center; justify-content: center;
}
.check-list.numbered { counter-reset: cl; }
.check-list.numbered li { padding-left: 38px; counter-increment: cl; }
.check-list.numbered li::before { content: counter(cl); background: var(--green); color: #fff; }

/* testimoni */
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.testi-card blockquote { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.testi-card blockquote p::before { content: "“"; color: var(--gold); font-size: 1.4em; font-weight: 900; line-height: 0; margin-right: 2px; }
.testi-card blockquote p::after { content: "”"; color: var(--gold); font-size: 1.4em; font-weight: 900; line-height: 0; margin-left: 2px; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 0.85rem; color: var(--muted); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900;
}

/* rencana main (kalkulator) */
.section-plan { background: linear-gradient(180deg, #fdf7e3, #fff); border-top: 1px solid var(--gold-soft); }
.plan-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.6rem; }
.plan-controls { display: grid; gap: 1.2rem; }
.plan-field label { font-weight: 800; color: var(--ink); display: block; margin-bottom: 2px; }
.plan-field output { float: right; color: var(--red); font-weight: 900; }
.plan-field input[type="range"] { width: 100%; accent-color: var(--red); margin-top: 6px; }
.plan-result { background: var(--ink); color: #e9eaf2; border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; }
.plan-result h3 { color: var(--gold); font-size: 1.02rem; margin-bottom: 0.4em; }
.plan-result p { margin: 0 0 0.5em; font-size: 0.95rem; }
.plan-result strong { color: var(--gold-2); }
.plan-note { font-size: 0.83rem; color: var(--muted); margin: 0; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem; box-shadow: var(--shadow); }
.mini-card h3 { font-size: 1rem; }
.mini-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* info boxes */
.info-box {
  background: var(--blue-soft); border-left: 5px solid var(--blue);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.4em 0; font-size: 0.95rem;
}
.info-box.info-warn { background: var(--gold-soft); border-left-color: var(--gold); }
.section-dark .info-box { background: rgba(30, 111, 235, 0.12); color: #d8dae6; }
.section-dark .info-box.info-warn { background: rgba(245, 179, 1, 0.12); }
.note { font-size: 0.85rem; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1rem 1.2rem;
  font-weight: 800; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--red); font-size: 1.3rem; font-weight: 900; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px dashed var(--line); }
.faq-body { padding: 0.9rem 1.2rem 1rem; color: var(--ink-2); font-size: 0.95rem; }
.faq-body p { margin: 0; }

/* ============================================================
   ENTRY (article pages)
   ============================================================ */
.entry { padding-bottom: 1rem; }
.entry-header { text-align: center; max-width: 780px; margin-inline: auto; padding: clamp(1.6rem, 4vw, 3rem) 0 1.4rem; }
.kicker { color: var(--red); font-weight: 800; letter-spacing: 0.08em; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 8px; }
.entry-meta { color: var(--muted); font-size: 0.88rem; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: center; }
.entry-cover { margin: 0 0 2rem; }
.entry-cover img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.entry-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2.4rem; align-items: start; }
.entry-layout.entry-layout-form { grid-template-columns: minmax(0, 1fr) 360px; }
.toc { position: sticky; top: 92px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.toc h2 { font-size: 0.95rem; color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 7px; font-size: 0.88rem; }
.toc a { color: var(--muted); font-weight: 700; }
.toc a:hover { color: var(--red); }
.entry-content { max-width: 76ch; }
.entry-content h2 { margin-top: 1.9em; padding-top: 0.2em; scroll-margin-top: 100px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: 0.45em; }
.entry-content img { border-radius: var(--radius-sm); }
.math-line {
  font-size: 1.05rem; background: var(--ink); color: var(--gold-2);
  padding: 0.9rem 1.2rem; border-radius: var(--radius-sm); overflow-x: auto;
}
.terms-box {
  display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 0.7rem 1.2rem; background: #fff; border: 1px solid var(--gold);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin: 1.2em 0;
}
.terms-box dt { font-weight: 800; color: var(--red-dark); }
.terms-box dd { margin: 0; color: var(--ink-2); }
.terms-note { font-size: 0.85rem; color: var(--muted); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1.2em 0; }
.cmp-table th, .cmp-table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.cmp-table thead th { background: var(--ink); color: #fff; }
.cmp-table tbody tr:nth-child(even) { background: var(--soft); }
.table-wrap { overflow-x: auto; }

/* related */
.related { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.rel-card, .promo-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow); color: var(--ink-2);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.rel-card:hover, .promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.rel-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--red); background: #fdecee;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.rel-card p, .promo-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.6em; }
.wide-cards { margin-top: 1.6rem; }
.cta-inline {
  margin-top: 2.6rem; background: linear-gradient(120deg, var(--red-deep), var(--red));
  border-radius: var(--radius); color: #fff; padding: 1.8rem 1.6rem; text-align: center;
}
.cta-inline h2 { color: #fff; }
.cta-inline p { color: rgba(255, 255, 255, 0.88); max-width: 60ch; margin-inline: auto; }
.cta-inline-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 1rem; }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.6rem; position: sticky; top: 92px; }
.form-card h2 { font-size: 1.25rem; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.1em; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 5px; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="password"] {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 2px solid var(--line);
  font: inherit; color: var(--ink); background: #fff;
}
.form-field input:focus { outline: none; border-color: var(--gold); }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input { width: 19px; height: 19px; margin-top: 4px; accent-color: var(--red); flex: 0 0 auto; }
.form-check label { font-weight: 500; font-size: 0.85rem; margin: 0; }
.form-alt { font-size: 0.88rem; text-align: center; margin: 1em 0 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: linear-gradient(180deg, #101018, #0b0b12); color: #b9bcca; margin-top: 3rem; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; padding: 3rem 0 1.6rem; }
.footer-col .custom-logo-link { margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; color: #9a9dab; }
.footer-col .widget-title { color: #fff; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-menu a { color: #b9bcca; font-size: 0.9rem; font-weight: 600; }
.footer-menu a:hover { color: var(--gold-2); }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer-col .badge { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.15); color: #cfd2e0; }
.footer-col .badge-18 { background: var(--red); border-color: var(--red-dark); color: #fff; }
.footer-widgets { padding-bottom: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 1.6rem; }
.widget_tag_cloud .widget-title { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud-link {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: #d8dae6;
}
.tag-cloud-link:hover { background: var(--gold); border-color: var(--gold); color: #4a3200; text-decoration: none; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1.4rem 0 2.2rem; }
.footer-legal .disclaimer { font-size: 0.78rem; color: #8b8e9c; line-height: 1.7; }
.footer-legal .copy { font-size: 0.8rem; color: #9a9dab; margin-bottom: 0; }

/* ============================================================
   FLOAT CTA — gaya mesin slot + koin (tanpa tombol tutup)
   ============================================================ */
.float-cta {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 24px; border-radius: 999px;
  background: linear-gradient(135deg, #ffd766, #f5b301 45%, #d99400);
  border: 3px solid #fff;
  box-shadow: 0 10px 34px rgba(245, 179, 1, 0.55), 0 3px 10px rgba(0, 0, 0, 0.35);
  color: #4a3200; font-weight: 900; letter-spacing: 0.06em; font-size: 1rem;
  text-decoration: none !important; overflow: visible; isolation: isolate;
  animation: cta-pulse 2.6s ease-in-out infinite;
}
.float-cta:hover { filter: brightness(1.06); }
.cta-text { white-space: nowrap; }
.cta-shine {
  position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg); animation: shine 2.8s ease-in-out infinite;
  border-radius: inherit; pointer-events: none;
}
.reels { display: inline-flex; gap: 4px; }
.reels i {
  font-style: normal; font-size: 1.15rem; line-height: 1;
  background: #fff; border: 2px solid #d99400; border-radius: 8px;
  width: 32px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
  animation: reel-spin 2.6s steps(1) infinite;
}
.reels i:nth-child(2) { animation-delay: 0.12s; }
.reels i:nth-child(3) { animation-delay: 0.24s; }
.coin {
  position: absolute; bottom: 60%; left: 50%; font-size: 1rem; pointer-events: none;
  opacity: 0; animation: coin-rise 2.2s ease-out infinite;
}
.coin-1 { margin-left: -70px; animation-delay: 0.2s; }
.coin-2 { margin-left: 55px; animation-delay: 0.9s; font-size: 0.8rem; }
.coin-3 { margin-left: -20px; animation-delay: 1.5s; font-size: 1.2rem; }

@keyframes reel-spin {
  0%, 18% { transform: translateY(0); filter: none; }
  22% { transform: translateY(-6px) scale(1.06); filter: blur(1.2px); }
  26%, 100% { transform: translateY(0); filter: none; }
}
@keyframes coin-rise {
  0% { opacity: 0; transform: translateY(6px) scale(0.7) rotate(-14deg); }
  12% { opacity: 1; }
  60% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-46px) scale(1.15) rotate(16deg); }
}
@keyframes shine { 0%, 55% { left: -70%; } 100% { left: 130%; } }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 10px 34px rgba(245, 179, 1, 0.55), 0 3px 10px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 10px 44px rgba(245, 179, 1, 0.85), 0 3px 10px rgba(0, 0, 0, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav-toggle-label { display: inline-flex; }
  .nav-toggle:checked ~ .nav-toggle-label { border-color: var(--gold); }
  .main-navigation { order: 5; flex-basis: 100%; display: none; }
  .nav-toggle:checked ~ .main-navigation { display: block; }
  .main-navigation .menu { flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 12px; }
  .main-navigation .menu a { padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 2.4rem; }
  .hero-media { max-width: 620px; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .col-media { order: 0; }
  .entry-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .form-card { position: static; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .cta-band-inner { text-align: center; justify-content: center; }
  .cta-band-actions { justify-content: center; width: 100%; }
  .cta-band-actions .btn { flex: 1 1 auto; }
  .terms-box { grid-template-columns: 1fr; gap: 0.2rem 0; }
  .terms-box dd { margin-bottom: 0.7em; }
  .header-actions .btn-login { display: none; }
  .header-actions { order: 6; flex-basis: 100%; justify-content: space-between; }
  .search-panel { right: auto; left: 50%; transform: translateX(-50%); }
  .float-cta { padding: 8px 16px; gap: 8px; font-size: 0.92rem; }
  .reels i { width: 27px; height: 29px; font-size: 1rem; }
  .hero-chips { gap: 6px 14px; }
}

@media (max-width: 420px) {
  .float-cta { gap: 6px; padding: 7px 12px; font-size: 0.85rem; letter-spacing: 0.02em; }
  .reels i { width: 23px; height: 25px; font-size: 0.85rem; }
  .header-actions .btn-register { padding: 8px 14px; font-size: 0.82rem; }
  .site-title { font-size: 1.1rem; }
}

/* util pencegah overflow */
.entry-content, .faq-body, .info-box, .plan-result, .rel-card, .promo-card, .testi-card { overflow-wrap: anywhere; }

/* kelas semantik halaman (hook gaya WordPress) */
.site-main { display: block; min-width: 0; }
.section-cat, .section-steps { background: var(--paper); }
.steps-grid { gap: 1.2rem; }
.plan-tips { margin-top: 1.4rem; }
.promo-grid { gap: 1.2rem; }
.reg-form { display: block; }
