/* ==========================================================================
   King999 — king999.games · Tema statis gaya WordPress
   Palet: hitam hangat + merah kasino + emas mahkota + hijau + biru + putih
   ========================================================================== */

:root {
  --bg: #120d07;
  --bg-2: #171009;
  --panel: #1d150c;
  --panel-2: #251a0f;
  --line: rgba(242, 185, 13, 0.16);
  --line-soft: rgba(247, 242, 231, 0.08);
  --gold: #f2b90d;
  --gold-2: #ffd24a;
  --gold-ink: #241a04;
  --red: #e0242e;
  --red-2: #ff4d55;
  --green: #22a35c;
  --green-2: #3dd68c;
  --blue: #3568d8;
  --blue-2: #6b93ef;
  --c-text: #f7f2e7;
  --c-muted: #bfb299;
  --c-ink: #17110a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-disp: "Bricolage Grotesque", "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 500px at 85% -100px, rgba(224, 36, 46, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 320px, rgba(53, 104, 216, 0.10), transparent 55%),
    var(--bg);
  color: var(--c-text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }
ul, ol { padding-left: 1.35rem; }
li { margin: 0.35rem 0; }

.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--font-disp); line-height: 1.22; color: #fff; overflow-wrap: break-word; }

.section { padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.section--alt { background: linear-gradient(180deg, rgba(242, 185, 13, 0.05), rgba(224, 36, 46, 0.05)); border-block: 1px solid var(--line-soft); }

.section-head { max-width: 760px; margin: 0 auto 2.2rem; text-align: center; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.3rem 0.95rem; margin-bottom: 0.9rem; background: rgba(242, 185, 13, 0.07);
}
.section-head h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); margin-bottom: 0.65rem; }
.section-head p { color: var(--c-muted); font-size: 0.98rem; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 800;
  border-radius: 999px; cursor: pointer; text-align: center;
  padding: 0.78rem 1.7rem; font-size: 0.95rem; line-height: 1.25;
  border: 2px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink) !important; box-shadow: 0 10px 26px rgba(242, 185, 13, 0.35); }
.btn--gold:hover { box-shadow: 0 14px 30px rgba(242, 185, 13, 0.5); color: #17110a !important; }
.btn--red { background: linear-gradient(180deg, var(--red-2), var(--red)); color: #fff !important; box-shadow: 0 10px 26px rgba(224, 36, 46, 0.35); }
.btn--green { background: linear-gradient(180deg, var(--green-2), var(--green)); color: #062312 !important; box-shadow: 0 10px 26px rgba(34, 163, 92, 0.32); }
.btn--ghost { background: transparent; border-color: rgba(247, 242, 231, 0.4); color: var(--c-text) !important; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2) !important; }
.btn--outline { background: transparent; border-color: var(--gold); color: var(--gold-2) !important; }
.btn--outline:hover { background: rgba(242, 185, 13, 0.12); }
.btn--sm { padding: 0.5rem 1.15rem; font-size: 0.86rem; }
.btn--lg { padding: 0.95rem 2.2rem; font-size: 1.05rem; }
.btn--block { display: block; width: 100%; }

/* ---------- Topbar + Header ---------- */
.topbar {
  background: linear-gradient(90deg, #4a0d12, #7a1119 35%, #3568d8 130%);
  text-align: center; font-size: 0.78rem; font-weight: 600;
  padding: 0.42rem 0.8rem; color: #ffe9e9; letter-spacing: 0.01em;
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(18, 13, 7, 0.93); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.2rem; padding: 0.6rem 0; }
.site-branding { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.logo-coin { width: 44px; height: 44px; flex: 0 0 auto; filter: drop-shadow(0 3px 8px rgba(242, 185, 13, 0.45)); }
.brand-text { font-family: var(--font-disp); font-weight: 800; font-size: 1.45rem; color: #fff; letter-spacing: 0.02em; white-space: nowrap; }
.brand-text em { font-style: normal; color: var(--gold); }
.brand-tag { display: block; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); white-space: nowrap; }

.main-navigation ul { list-style: none; display: flex; gap: 0.25rem; padding: 0; margin-left: auto; }
.main-navigation a {
  display: block; padding: 0.5rem 0.85rem; border-radius: 8px;
  color: var(--c-text); font-weight: 700; font-size: 0.92rem; text-decoration: none;
}
.main-navigation a:hover { color: var(--gold-2); background: rgba(242, 185, 13, 0.1); text-decoration: none; }
.current-menu-item a { color: var(--gold) !important; background: rgba(242, 185, 13, 0.12); }

.header-actions { display: flex; align-items: center; gap: 0.55rem; }
.search-toggle {
  background: transparent; border: 1px solid var(--line); color: var(--gold-2);
  border-radius: 8px; width: 38px; height: 38px; font-size: 1rem; cursor: pointer;
}
.search-toggle:hover { background: rgba(242, 185, 13, 0.12); }
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.6px; background: var(--gold); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

.header-search { display: none; border-top: 1px solid var(--line); background: var(--bg-2); }
.header-search form { display: flex; gap: 0.6rem; max-width: 640px; margin: 0 auto; padding: 0.7rem 0; }
.header-search input {
  flex: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  color: var(--c-text); padding: 0.62rem 1.1rem; font-size: 0.92rem; font-family: var(--font-body);
}
.header-search input:focus { outline: 2px solid var(--gold); }
body.search-open .header-search { display: block; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--bg-2); border-bottom: 1px solid var(--line-soft); font-size: 0.82rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.6rem 0; }
.breadcrumb li + li::before { content: "›"; color: var(--gold); margin: 0 0.45rem 0 0.15rem; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span[aria-current] { color: var(--gold-2); font-weight: 600; }

/* ---------- Hero (beranda) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 13, 7, 0.72) 0%, rgba(18, 13, 7, 0.9) 68%, var(--bg) 100%);
}
.hero__inner { position: relative; padding: clamp(3rem, 7vw, 5.4rem) 0 clamp(2.4rem, 5vw, 4rem); max-width: 840px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(224, 36, 46, 0.16); border: 1px solid rgba(224, 36, 46, 0.5);
  color: #ffd9db; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 999px; padding: 0.34rem 1rem; margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(1.9rem, 5.4vw, 3.35rem); margin-bottom: 1rem; }
.hero h1 .hl { color: var(--gold); }
.hero__lede { font-size: clamp(1rem, 2.2vw, 1.14rem); color: #e9e1cf; max-width: 640px; margin-bottom: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.4rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.1rem; color: var(--c-muted); font-size: 0.85rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* tag cloud pencarian populer */
.tagcloud { padding: 1.6rem 0 2.2rem; border-bottom: 1px solid var(--line-soft); }
.tagcloud h2 { font-size: 0.95rem; color: var(--c-muted); font-family: var(--font-body); letter-spacing: 0.05em; margin-bottom: 0.8rem; }
.tagcloud__wrap { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.tag {
  display: inline-block; padding: 0.38rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel);
  color: var(--c-text); font-size: 0.84rem; font-weight: 600; text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.tag:hover { border-color: var(--gold); background: rgba(242, 185, 13, 0.12); color: var(--gold-2); transform: translateY(-2px); text-decoration: none; }
.tag--hot { border-color: rgba(224, 36, 46, 0.55); background: rgba(224, 36, 46, 0.1); }

/* ---------- Panduan 4 langkah ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: langkah; }
.step-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.5rem 1.25rem; position: relative; overflow: hidden;
}
.step-card::before {
  counter-increment: langkah; content: "0" counter(langkah);
  position: absolute; top: 0.55rem; right: 0.9rem;
  font-family: var(--font-disp); font-weight: 800; font-size: 2.4rem;
  color: rgba(242, 185, 13, 0.16); line-height: 1;
}
.step-card h3 { font-size: 1.02rem; margin: 0.7rem 0 0.55rem; color: var(--gold-2); }
.step-card p { font-size: 0.88rem; color: var(--c-muted); }
.step-ico { font-size: 1.7rem; display: inline-block; filter: drop-shadow(0 3px 6px rgba(0,0,0,.4)); }

/* ---------- Kartu keunggulan ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.adv-card {
  border-radius: var(--radius); padding: 1.6rem 1.3rem;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-top: 3px solid var(--gold); transition: transform 0.18s, border-color 0.18s;
}
.adv-card:nth-child(2) { border-top-color: var(--red); }
.adv-card:nth-child(3) { border-top-color: var(--green); }
.adv-card:nth-child(4) { border-top-color: var(--blue-2); }
.adv-card:hover { transform: translateY(-4px); border-color: var(--line); }
.adv-card h3 { font-size: 1.03rem; margin: 0.65rem 0 0.5rem; }
.adv-card p { font-size: 0.88rem; color: var(--c-muted); }
.adv-ico {
  width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.35rem;
  background: rgba(242, 185, 13, 0.12); border: 1px solid var(--line); border-radius: 12px;
}

/* ---------- Kenapa memilih kami (split + statistik) ---------- */
.why { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.4rem; align-items: center; }
.why__copy h2 { font-size: clamp(1.4rem, 3.4vw, 2.05rem); margin-bottom: 0.9rem; }
.why__copy p { color: var(--c-muted); margin-bottom: 0.9rem; font-size: 0.96rem; }
.why__points { list-style: none; padding: 0; margin-top: 1.1rem; }
.why__points li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.85rem; }
.why__points .pt {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(34, 163, 92, 0.18); color: var(--green-2); font-size: 0.8rem; font-weight: 800;
  border: 1px solid rgba(34, 163, 92, 0.5); margin-top: 2px;
}
.why__points strong { color: #fff; }
.why__points p { margin: 0; font-size: 0.9rem; }
.why__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.2rem; text-align: center;
}
.stat-card .num { font-family: var(--font-disp); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--gold); }
.stat-card:nth-child(2) .num { color: var(--green-2); }
.stat-card:nth-child(3) .num { color: var(--blue-2); }
.stat-card:nth-child(4) .num { color: var(--red-2); }
.stat-card .lbl { font-size: 0.82rem; color: var(--c-muted); margin-top: 0.3rem; }

/* ---------- Pengalaman seluler ---------- */
.mobile-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.4rem; align-items: center; }
.mobile-figure { position: relative; }
.mobile-figure img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mobile-figure .float-chip {
  position: absolute; left: -14px; bottom: 18px;
  background: rgba(18, 13, 7, 0.92); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.55rem 0.9rem; font-size: 0.8rem; font-weight: 700; color: var(--gold-2);
  box-shadow: var(--shadow);
}
.mobile-points { list-style: none; padding: 0; }
.mobile-points li {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem 0.95rem 2.9rem; position: relative; margin-bottom: 0.75rem; font-size: 0.93rem;
}
.mobile-points li::before { position: absolute; left: 0.95rem; top: 0.85rem; font-size: 1.2rem; }
.mobile-points li:nth-child(1)::before { content: "📶"; }
.mobile-points li:nth-child(2)::before { content: "🔐"; }
.mobile-points li:nth-child(3)::before { content: "🧮"; }
.mobile-points li:nth-child(4)::before { content: "🔋"; }
.mobile-points strong { color: var(--gold-2); }

/* ---------- Testimoni pembaca ---------- */
.tsm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tsm-card {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.8rem;
}
.tsm-card .stars { color: var(--gold); letter-spacing: 0.12em; font-size: 0.9rem; }
.tsm-card blockquote { margin: 0; font-size: 0.92rem; color: #ece4d2; }
.tsm-card footer { margin-top: auto; display: flex; align-items: center; gap: 0.7rem; }
.tsm-ava {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem; color: var(--gold-ink);
  background: linear-gradient(160deg, var(--gold-2), var(--gold));
}
.tsm-card cite { font-style: normal; font-weight: 700; font-size: 0.9rem; color: #fff; display: block; }
.tsm-card .role { font-size: 0.76rem; color: var(--c-muted); }
.tsm-note { text-align: center; font-size: 0.78rem; color: var(--c-muted); margin-top: 1.2rem; }

/* ---------- Pusat kontrol bermain (inovatif) ---------- */
.control-center {
  border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0;
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(53, 104, 216, 0.18), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.cc-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.8rem; }
.cc-calc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem; }
.cc-calc h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.cc-calc .hint { font-size: 0.8rem; color: var(--c-muted); margin-bottom: 0.9rem; }
.cc-calc label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 0.35rem; }
.cc-calc input[type="number"] {
  width: 100%; background: var(--panel); border: 1px solid var(--line); color: #fff;
  border-radius: 8px; padding: 0.6rem 0.85rem; font-size: 1rem; font-family: var(--font-body);
}
.cc-calc input:focus { outline: 2px solid var(--gold); }
.cc-out { margin-top: 0.95rem; display: grid; gap: 0.55rem; }
.cc-row {
  display: flex; justify-content: space-between; gap: 0.8rem; align-items: baseline;
  background: rgba(242, 185, 13, 0.06); border: 1px dashed var(--line); border-radius: 8px;
  padding: 0.55rem 0.85rem; font-size: 0.88rem;
}
.cc-row strong { color: var(--gold-2); font-family: var(--font-disp); font-size: 1rem; white-space: nowrap; }
.cc-note { font-size: 0.75rem; color: var(--c-muted); margin-top: 0.8rem; }
.cc-check h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.cc-check p { font-size: 0.84rem; color: var(--c-muted); margin-bottom: 0.8rem; }
.cc-items { list-style: none; padding: 0; }
.cc-items li { margin: 0 0 0.5rem; }
.cc-items label {
  display: flex; gap: 0.6rem; align-items: flex-start; cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 8px; padding: 0.6rem 0.8rem;
  font-size: 0.86rem; transition: border-color 0.15s;
}
.cc-items input { margin-top: 4px; accent-color: var(--green); }
.cc-items input:checked + span { color: var(--c-muted); text-decoration: line-through; }
.cc-result { margin-top: 0.9rem; border-radius: 8px; padding: 0.75rem 0.95rem; font-size: 0.86rem; font-weight: 700; display: none; }
.cc-result.ok { display: block; background: rgba(34, 163, 92, 0.14); border: 1px solid rgba(34, 163, 92, 0.5); color: var(--green-2); }
.cc-result.warn { display: block; background: rgba(224, 36, 46, 0.12); border: 1px solid rgba(224, 36, 46, 0.55); color: #ffb9bd; }

/* ---------- Keamanan & privasi ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.sec-card { background: var(--panel); border: 1px solid var(--line-soft); border-left: 3px solid var(--blue-2); border-radius: var(--radius-sm); padding: 1.35rem 1.2rem; }
.sec-card h3 { font-size: 0.98rem; margin-bottom: 0.5rem; color: var(--blue-2); }
.sec-card p { font-size: 0.87rem; color: var(--c-muted); }

/* ---------- Bermain bertanggung jawab ---------- */
.resp-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: start; }
.resp-list { list-style: none; padding: 0; }
.resp-list li {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.8rem 1rem; margin-bottom: 0.6rem;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); font-size: 0.92rem;
}
.resp-list .ico { flex: 0 0 auto; font-size: 1.15rem; }
.resp-banner {
  background: linear-gradient(160deg, rgba(224, 36, 46, 0.14), rgba(74, 13, 18, 0.4));
  border: 1px solid rgba(224, 36, 46, 0.5); border-radius: var(--radius); padding: 1.5rem 1.4rem;
}
.resp-banner h3 { color: #ffd9db; margin-bottom: 0.6rem; font-size: 1.05rem; }
.resp-banner p { font-size: 0.9rem; color: #f2ddd9; }
.resp-banner ul { margin: 0.7rem 0 0.9rem; font-size: 0.88rem; color: #f2ddd9; }
.resp-banner .btn { margin-top: 0.2rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 0.7rem; }
.faq-item { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item .q {
  width: 100%; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  background: transparent; border: 0; color: #fff; font-family: var(--font-body); font-weight: 700;
  font-size: 0.96rem; text-align: left; padding: 1rem 1.15rem; cursor: pointer;
}
.faq-item .q:hover { color: var(--gold-2); }
.faq-item .q .tgl {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold); font-size: 1.05rem; font-weight: 800;
  transition: transform 0.2s;
}
.faq-item.open .tgl { transform: rotate(45deg); }
.faq-item .a { display: none; padding: 0 1.15rem 1.05rem; color: var(--c-muted); font-size: 0.91rem; }
.faq-item.open .a { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; position: relative;
  background: linear-gradient(120deg, rgba(242, 185, 13, 0.14), rgba(224, 36, 46, 0.14));
  padding: clamp(1.6rem, 4vw, 2.6rem); text-align: center;
}
.cta-band h2 { font-size: clamp(1.3rem, 3.2vw, 1.9rem); margin-bottom: 0.6rem; }
.cta-band p { color: var(--c-muted); max-width: 620px; margin: 0 auto 1.3rem; font-size: 0.95rem; }
.cta-band .hero__cta { justify-content: center; margin-bottom: 0; }

/* ---------- Kartu artikel / promo ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.post-card, .promo-card {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s, border-color 0.18s;
}
.post-card:hover, .promo-card:hover { transform: translateY(-5px); border-color: var(--line); }
.post-card > a img, .promo-card > a img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-card__body, .promo-card__body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.post-card__meta { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-2); }
.post-card h3 { font-size: 1.05rem; line-height: 1.35; }
.post-card h3 a, .promo-card h2 a { color: #fff; }
.post-card h3 a:hover, .promo-card h2 a:hover { color: var(--gold-2); text-decoration: none; }
.post-card p, .promo-card p { font-size: 0.88rem; color: var(--c-muted); flex: 1; }
.badge {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.28rem 0.75rem; border-radius: 999px;
}
.badge--red { background: rgba(224, 36, 46, 0.16); border: 1px solid rgba(224, 36, 46, 0.55); color: #ffb9bd; }
.badge--gold { background: rgba(242, 185, 13, 0.14); border: 1px solid var(--line); color: var(--gold-2); }
.badge--green { background: rgba(34, 163, 92, 0.14); border: 1px solid rgba(34, 163, 92, 0.5); color: var(--green-2); }
.promo-card h2 { font-size: 1.12rem; line-height: 1.35; }
.promo-card__terms { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.promo-card__terms span {
  font-size: 0.72rem; font-weight: 700; color: var(--c-muted);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 0.16rem 0.6rem;
}

/* ---------- Halaman artikel ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 2.2rem; padding: 2rem 0 3rem; align-items: start; }
.entry { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(1.3rem, 3.5vw, 2.4rem); min-width: 0; }
.entry-header h1 { font-size: clamp(1.5rem, 3.8vw, 2.2rem); margin-bottom: 0.9rem; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.78rem; color: var(--c-muted); padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 1.4rem; }
.entry-content { font-size: 0.98rem; color: #eee7d6; }
.entry-content h2 { font-size: 1.32rem; margin: 1.8rem 0 0.7rem; padding-left: 0.75rem; border-left: 4px solid var(--gold); }
.entry-content h3 { font-size: 1.1rem; margin: 1.3rem 0 0.5rem; color: var(--gold-2); }
.entry-content p { margin-bottom: 1rem; }
.entry-content figure { margin: 1.4rem 0; }
.entry-content figure img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); }
.entry-content figcaption { font-size: 0.78rem; color: var(--c-muted); margin-top: 0.45rem; text-align: center; }
.entry-content ul, .entry-content ol { margin-bottom: 1rem; }
.entry-content li::marker { color: var(--gold); }
.entry-content strong { color: #fff; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.88rem; display: block; overflow-x: auto; }
.entry-content th { background: rgba(242, 185, 13, 0.12); color: var(--gold-2); text-align: left; }
.entry-content th, .entry-content td { border: 1px solid var(--line-soft); padding: 0.6rem 0.75rem; vertical-align: top; }
.entry-content tr:nth-child(even) td { background: rgba(255, 255, 255, 0.025); }

.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.9rem; position: relative; }
.check-list li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--green-2); font-weight: 800; }

.notice-box { display: flex; gap: 0.85rem; border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin: 1.2rem 0; font-size: 0.9rem; align-items: flex-start; }
.notice-ico { font-size: 1.25rem; flex: 0 0 auto; margin-top: 1px; }
.notice-box--safe { background: rgba(34, 163, 92, 0.1); border: 1px solid rgba(34, 163, 92, 0.45); }
.notice-box--warn { background: rgba(242, 185, 13, 0.08); border: 1px solid var(--line); }
.notice-box--danger { background: rgba(224, 36, 46, 0.1); border: 1px solid rgba(224, 36, 46, 0.5); }
.notice-box p { margin: 0; }

/* ---------- Sidebar ---------- */
.sidebar { display: grid; gap: 1.2rem; position: sticky; top: 84px; }
.widget { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.3rem 1.25rem; }
.widget h3 { font-size: 0.95rem; margin-bottom: 0.8rem; padding-bottom: 0.55rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.widget ul { list-style: none; padding: 0; }
.widget li { padding: 0.5rem 0; border-bottom: 1px dashed var(--line-soft); font-size: 0.9rem; }
.widget li:last-child { border-bottom: 0; }
.widget-cta { margin-top: 0.7rem; }

/* ---------- Halaman kategori (hub) ---------- */
.hub-hero { padding: 2.4rem 0 0.6rem; }
.hub-hero .kicker { color: var(--gold); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }
.hub-hero h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); margin: 0.4rem 0 0.7rem; }
.hub-hero .lede { color: var(--c-muted); max-width: 720px; font-size: 1rem; }

/* ---------- Form daftar/masuk ---------- */
.auth-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 2rem; padding: 2rem 0 3rem; align-items: start; }
.form-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow);
}
.form-card h1 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.form-sub { font-size: 0.85rem; color: var(--c-muted); margin-bottom: 1.1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--gold-2); }
.field input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-soft); color: #fff;
  border-radius: 8px; padding: 0.68rem 0.9rem; font-size: 0.95rem; font-family: var(--font-body);
}
.field input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.field-hint { font-size: 0.74rem; color: var(--c-muted); margin-top: 0.3rem; }
.field-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.82rem; color: var(--c-muted); margin: 1rem 0 1.2rem; cursor: pointer; }
.field-check input { margin-top: 4px; accent-color: var(--gold); flex: 0 0 auto; }
.form-error {
  display: none; background: rgba(224, 36, 46, 0.12); border: 1px solid rgba(224, 36, 46, 0.55);
  color: #ffb9bd; border-radius: 8px; padding: 0.65rem 0.9rem; font-size: 0.83rem; margin-bottom: 1rem;
}
.form-error.show { display: block; }
.form-note { font-size: 0.8rem; color: var(--c-muted); margin-top: 1rem; text-align: center; }

/* ---------- Pencarian ---------- */
.search-page { max-width: 820px; margin: 0 auto; padding: 2.2rem 0 3rem; }
.search-page .big-search { display: flex; gap: 0.6rem; margin: 1.2rem 0 1.6rem; }
.search-page input {
  flex: 1; background: var(--panel); border: 1px solid var(--line); color: #fff;
  border-radius: 999px; padding: 0.8rem 1.2rem; font-size: 1rem; font-family: var(--font-body);
}
.search-page input:focus { outline: 2px solid var(--gold); }
#searchResults .result { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 0.75rem; }
#searchResults .result h3 { font-size: 1rem; }
#searchResults .result p { font-size: 0.86rem; color: var(--c-muted); margin: 0.3rem 0 0; }
#searchResults .result .cat { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), #0d0905); margin-top: 1rem; }
.footer-widgets { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 2rem; padding: 2.6rem 0 1.8rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.widget-col p { font-size: 0.86rem; color: var(--c-muted); }
.widget-col h3 { font-size: 0.92rem; margin-bottom: 0.85rem; color: var(--gold-2); font-family: var(--font-body); letter-spacing: 0.04em; }
.widget-col ul { list-style: none; padding: 0; }
.widget-col li { padding: 0.28rem 0; }
.widget-col a { color: var(--c-muted); font-size: 0.88rem; }
.widget-col a:hover { color: var(--gold-2); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.fb { font-size: 0.74rem; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.75rem; color: var(--gold-2); background: rgba(242, 185, 13, 0.06); }
.footer-legal { border-top: 1px solid var(--line-soft); padding: 1.4rem 0 5.6rem; }
.footer-legal p { font-size: 0.74rem; color: #8f8470; line-height: 1.75; }
.footer-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; margin-top: 0.9rem; font-size: 0.76rem; color: var(--c-muted); }

/* ---------- Floatbar (DAFTAR/MASUK gaya slot) ---------- */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(180deg, rgba(18, 13, 7, 0.9), rgba(10, 7, 4, 0.97));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.55);
  padding: 0.5rem max(0.6rem, env(safe-area-inset-left)) calc(0.5rem + env(safe-area-inset-bottom)) max(0.6rem, env(safe-area-inset-right));
}
.floatbar__inner { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 0.7rem; position: relative; }
.floatbar__reels { display: flex; gap: 3px; }
.reel { width: 26px; height: 34px; overflow: hidden; border-radius: 6px; background: #0b0805; border: 1px solid var(--line); }
.reel__strip { display: flex; flex-direction: column; animation: reelSpin 2.4s linear infinite; }
.reel__strip span { height: 34px; display: grid; place-items: center; font-size: 1.05rem; line-height: 1; }
.reel:nth-child(2) .reel__strip { animation-duration: 3.1s; animation-delay: 0.4s; }
.reel:nth-child(3) .reel__strip { animation-duration: 2.7s; animation-delay: 0.8s; }
@keyframes reelSpin { 0% { transform: translateY(0); } 100% { transform: translateY(-204px); } }
.floatbar__cta {
  flex: 1; text-align: center; font-family: var(--font-disp); font-weight: 800; letter-spacing: 0.08em;
  padding: 0.68rem 0.5rem; border-radius: 10px; font-size: 0.98rem; text-decoration: none !important;
  background: linear-gradient(180deg, #ffe08a, var(--gold) 55%, #c98f06);
  color: #241a04 !important;
  border: 1px solid #ffe9a8;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(242, 185, 13, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  animation: ctaPulse 1.6s ease-in-out infinite;
}
.floatbar__cta--alt {
  background: linear-gradient(180deg, #ff6b71, var(--red) 55%, #9c1017);
  color: #fff !important; border-color: #ff9ba0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 4px 18px rgba(224, 36, 46, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation-delay: 0.8s;
}
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
.floatbar__coins { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.coin {
  position: absolute; bottom: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 60%, #9a7004);
  border: 1px solid #ffe9a8; opacity: 0;
  animation: coinUp 2.6s ease-in infinite;
}
.coin--1 { left: 8%; animation-delay: 0s; }
.coin--2 { left: 22%; animation-delay: 0.7s; }
.coin--3 { left: 46%; animation-delay: 1.3s; }
.coin--4 { left: 63%; animation-delay: 0.35s; }
.coin--5 { left: 78%; animation-delay: 1.75s; }
.coin--6 { left: 90%; animation-delay: 1s; }
@keyframes coinUp {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  15% { opacity: 0.95; }
  100% { transform: translateY(-74px) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reel__strip, .floatbar__cta, .coin { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .why__stats { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: minmax(0, 1fr) 290px; gap: 1.6rem; }
  .footer-widgets { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}

@media (max-width: 960px) {
  .main-navigation {
    display: none;
  }
  .main-navigation ul { flex-direction: column; margin: 0; gap: 0.2rem; }
  .main-navigation a { font-size: 1.02rem; padding: 0.75rem 1rem; }
  .nav-toggle { display: block; z-index: 58; }
  body.nav-open .main-navigation {
    display: block;
    position: fixed; top: 0; right: 0; width: min(280px, 84vw); height: 100vh; height: 100dvh;
    background: var(--bg-2); border-left: 1px solid var(--line);
    padding: 5.2rem 1.2rem 2rem; z-index: 55; overflow-y: auto;
    box-shadow: -18px 0 44px rgba(0, 0, 0, 0.5);
    animation: drawerIn 0.22s ease both;
  }
  @keyframes drawerIn { from { opacity: 0.4; } to { opacity: 1; } }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle { position: fixed; top: 14px; right: 4%; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }
  .why, .mobile-split, .resp-grid, .cc-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .auth-form-wrap { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .tsm-grid, .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .steps-grid, .adv-grid, .tsm-grid, .cards-grid, .why__stats { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .footer-widgets { grid-template-columns: 1fr; gap: 1.3rem; padding: 2rem 0 1.4rem; }
  .footer-copy { flex-direction: column; align-items: center; text-align: center; }
  .entry { padding: 1.15rem; }
  .entry-content { font-size: 0.95rem; }
  .floatbar__cta { font-size: 0.92rem; padding: 0.62rem 0.4rem; }
  .reel { width: 22px; height: 30px; }
  .reel__strip span { height: 30px; font-size: 0.92rem; }
  .coin { display: none; }
  .brand-tag { display: none; }
  .btn--header-masuk { display: none; }
}

@media (max-width: 380px) {
  .floatbar__cta { font-size: 0.84rem; letter-spacing: 0.03em; }
  .floatbar__reels { display: none; }
  .brand-text { font-size: 1.2rem; }
  .logo-coin { width: 38px; height: 38px; }
  .container { width: 94%; }
}
