/* ============================================================
   Qq333bet — Theme Stylesheet (struktur kelas ala WordPress)
   Palet: Merah / Putih / Hijau / Kuning / Biru / Hitam
   ============================================================ */

:root {
  --c-red: #c8102e;
  --c-red-2: #a00d24;
  --c-red-3: #7c0a1c;
  --c-black: #0c0c11;
  --c-ink: #17171d;
  --c-ink-2: #23232c;
  --c-green: #0e9f4f;
  --c-green-2: #0b7a3d;
  --c-gold: #f2b705;
  --c-gold-2: #ffd34d;
  --c-blue: #1565d8;
  --c-paper: #fbf9f4;
  --c-line: #e8e4da;
  --c-mut: #5d6470;
  --c-white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 12, 17, 0.10);
  --shadow-lg: 0 18px 44px rgba(12, 12, 17, 0.18);
  --font: "Poppins", "Segoe UI", Tahoma, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-white);
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
p { margin-bottom: 1rem; overflow-wrap: break-word; }

h1, h2, h3, h4 { line-height: 1.3; overflow-wrap: break-word; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-gold); color: #000; padding: 10px 16px;
  font-weight: 700; z-index: 10001; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--gold { background: linear-gradient(180deg, var(--c-gold-2), var(--c-gold)); color: #231a00; box-shadow: 0 6px 18px rgba(242, 183, 5, 0.35); }
.btn--gold:hover { box-shadow: 0 10px 24px rgba(242, 183, 5, 0.5); }
.btn--green { background: linear-gradient(180deg, #17b95f, var(--c-green-2)); color: #fff; box-shadow: 0 6px 18px rgba(14, 159, 79, 0.32); }
.btn--red { background: linear-gradient(180deg, #e01538, var(--c-red-2)); color: #fff; box-shadow: 0 6px 18px rgba(200, 16, 46, 0.32); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { border-color: var(--c-gold); color: var(--c-gold-2); }
.btn--outline { background: #fff; color: var(--c-red); border-color: var(--c-red); }
.btn--sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 8px; }
.btn--lg { padding: 15px 32px; font-size: 1.05rem; }
.btn--block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: linear-gradient(180deg, #101015, var(--c-black));
  border-bottom: 2px solid rgba(242, 183, 5, 0.55);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 66px; }

.site-branding { display: flex; align-items: center; gap: 10px; color: #fff; }
.site-branding:hover { text-decoration: none; }
.logo-chip {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--c-gold-2), var(--c-red));
  color: #fff; font-weight: 800; font-size: 1.35rem;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.logo-text { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.4px; }
.logo-text b { color: var(--c-gold); }
.logo-text .logo-dot { font-size: 0.72rem; color: #9aa0ab; font-weight: 600; display: block; line-height: 1; margin-top: -2px; letter-spacing: 1px; }

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; display: flex; gap: 4px; padding: 0; flex-wrap: wrap; }
.main-navigation a {
  display: block; padding: 9px 12px; color: #e8e9ee;
  font-weight: 600; font-size: 0.92rem; border-radius: 8px;
}
.main-navigation a:hover { color: var(--c-gold-2); text-decoration: none; background: rgba(255, 255, 255, 0.06); }
.main-navigation a.is-active { color: var(--c-gold-2); background: rgba(242, 183, 5, 0.12); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.search-toggle:hover { border-color: var(--c-gold); color: var(--c-gold-2); }
.search-toggle svg { width: 19px; height: 19px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.05);
  color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.mobile-nav { display: none; }
.mobile-nav.is-open { display: block; border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 10px 20px 18px; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav a { display: block; padding: 11px 6px; color: #e8e9ee; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.mobile-nav a.is-active { color: var(--c-gold-2); }
.mobile-nav-cta { display: flex; gap: 10px; margin-top: 14px; }
.mobile-nav-cta .btn { flex: 1; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar { background: var(--c-paper); border-bottom: 1px solid var(--c-line); font-size: 0.84rem; }
.breadcrumb-bar ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; }
.breadcrumb-bar li { color: var(--c-mut); display: flex; gap: 6px; align-items: center; }
.breadcrumb-bar li + li::before { content: "›"; color: var(--c-mut); }
.breadcrumb-bar a { color: var(--c-mut); font-weight: 600; }
.breadcrumb-bar a:hover { color: var(--c-red); }
.breadcrumb-bar [aria-current] { color: var(--c-ink); font-weight: 600; }

/* ---------- Hero (Beranda) ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(12, 12, 17, 0.93) 0%, rgba(60, 7, 19, 0.82) 45%, rgba(200, 16, 46, 0.62) 100%),
    url("/assets/img/hero.jpg") center / cover no-repeat;
  color: #fff;
  padding: 88px 0 76px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(242, 183, 5, 0.14); border: 1px solid rgba(242, 183, 5, 0.5);
  color: var(--c-gold-2); font-weight: 600; font-size: 0.82rem;
  padding: 6px 14px; border-radius: 999px; letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.9rem); font-weight: 800; max-width: 720px; }
.hero h1 span { color: var(--c-gold-2); }
.hero-lead { max-width: 640px; margin: 18px 0 26px; color: #e7e8ee; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 13px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: #f1f2f5;
}
.chip--age { border-color: var(--c-gold); color: var(--c-gold-2); font-weight: 800; }

/* ---------- Section umum ---------- */
.section { padding: 74px 0; }
.section--paper { background: var(--c-paper); }
.section--dark { background: linear-gradient(180deg, #101015, var(--c-black)); color: #eceef2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--green { background: linear-gradient(135deg, #0b3d27, #0e9f4f 160%); color: #f0fff6; }
.section--green h2 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; color: var(--c-red); font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; margin-bottom: 10px;
}
.section--dark .kicker { color: var(--c-gold-2); }
.section--green .kicker { color: var(--c-gold-2); }
.section-head h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); font-weight: 800; }
.section-head p { color: var(--c-mut); margin-top: 10px; }
.section--dark .section-head p { color: #b9bdc7; }
.section--green .section-head p { color: #d7f5e5; }

/* ---------- Panduan 4 langkah ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-num {
  font-size: 2.7rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--c-gold);
  margin-bottom: 10px; display: inline-block;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.92rem; color: var(--c-mut); margin: 0; }
.step-card .step-link { display: inline-block; margin-top: 12px; font-size: 0.86rem; font-weight: 700; }

/* ---------- Kartu keunggulan ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 16px; color: #fff;
}
.feature-icon--red { background: linear-gradient(135deg, #e01538, var(--c-red-3)); }
.feature-icon--green { background: linear-gradient(135deg, #17b95f, var(--c-green-2)); }
.feature-icon--gold { background: linear-gradient(135deg, var(--c-gold-2), #d99a00); color: #231a00; }
.feature-icon--blue { background: linear-gradient(135deg, #3f83f1, #0f4bab); }
.feature-icon--ink { background: linear-gradient(135deg, #34343f, var(--c-black)); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.93rem; color: var(--c-mut); margin: 0; }

/* ---------- Split (mengapa memilih kami / mobile) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-copy h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.split-copy p { color: var(--c-mut); }
.check-list { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; }
.check-list .check {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #17b95f, var(--c-green-2)); color: #fff;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; margin-top: 3px;
}
.section--dark .check-list .check { background: linear-gradient(135deg, var(--c-gold-2), #d99a00); color: #231a00; }
.section--dark .split-copy p { color: #b9bdc7; }

.phone-frame {
  width: min(270px, 78%); margin-inline: auto;
  border: 9px solid #101016; border-radius: 34px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(242, 183, 5, 0.35);
  background: #101016;
}
.phone-frame img { width: 100%; aspect-ratio: 9 / 17; object-fit: cover; }

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.testi-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 12px;
}
.testi-stars { color: var(--c-gold); font-size: 0.95rem; letter-spacing: 2px; }
.testi-card blockquote { font-size: 0.92rem; color: var(--c-ink); margin: 0; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 0.9rem; flex: 0 0 auto;
}
.testi-avatar--red { background: linear-gradient(135deg, #e01538, var(--c-red-3)); }
.testi-avatar--green { background: linear-gradient(135deg, #17b95f, var(--c-green-2)); }
.testi-avatar--blue { background: linear-gradient(135deg, #3f83f1, #0f4bab); }
.testi-avatar--gold { background: linear-gradient(135deg, var(--c-gold-2), #d99a00); color: #231a00; }
.testi-name { font-weight: 700; font-size: 0.9rem; line-height: 1.2; }
.testi-role { font-size: 0.78rem; color: var(--c-mut); }
.testi-note { text-align: center; font-size: 0.8rem; color: var(--c-mut); margin-top: 18px; }

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-line); color: var(--c-ink);
  font-size: 0.86rem; font-weight: 600; transition: all 0.15s ease;
}
.tag-cloud a:hover { border-color: var(--c-gold); background: #fff9e6; color: var(--c-red); text-decoration: none; transform: translateY(-2px); }
.tag-cloud .tag-hot { border-color: rgba(200, 16, 46, 0.4); color: var(--c-red); }

/* ---------- Kalkulator batas ---------- */
.calc-card {
  max-width: 860px; margin-inline: auto; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--c-line); box-shadow: var(--shadow); padding: 30px;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
.calc-grid label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.calc-grid input, .calc-grid select {
  width: 100%; padding: 12px 14px; border: 2px solid var(--c-line); border-radius: 10px;
  font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--c-ink); background: #fff;
}
.calc-grid input:focus, .calc-grid select:focus { outline: none; border-color: var(--c-green); }
.calc-result {
  margin-top: 20px; background: linear-gradient(135deg, #eefaf3, #e2f6ec);
  border: 1px solid #bfe8d2; border-radius: 12px; padding: 20px 22px;
}
.calc-result h3 { font-size: 1rem; color: var(--c-green-2); margin-bottom: 10px; }
.calc-result ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.calc-result li { display: flex; gap: 10px; font-size: 0.95rem; }
.calc-result .val { font-weight: 800; color: var(--c-green-2); white-space: nowrap; }
.calc-note { font-size: 0.8rem; color: var(--c-mut); margin-top: 12px; margin-bottom: 0; }

/* ---------- Keamanan & RG ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sec-tip {
  display: flex; gap: 16px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 20px;
}
.sec-tip .sec-ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--c-gold-2), #d99a00); color: #231a00;
}
.sec-tip h3 { font-size: 0.98rem; margin-bottom: 5px; }
.sec-tip p { font-size: 0.88rem; color: #b9bdc7; margin: 0; }

.rg-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.rg-point { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 22px; }
.rg-point h3 { font-size: 1rem; margin-bottom: 8px; }
.rg-point p { font-size: 0.9rem; color: #e2f7ea; margin: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-wrap details {
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  padding: 16px 20px; transition: box-shadow 0.15s ease;
}
.faq-wrap details[open] { box-shadow: var(--shadow); border-color: rgba(200, 16, 46, 0.35); }
.faq-wrap summary {
  cursor: pointer; font-weight: 700; font-size: 0.98rem; list-style: none;
  position: relative; padding-right: 34px;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--c-paper);
  border: 1px solid var(--c-line); display: grid; place-items: center;
  font-weight: 800; color: var(--c-red); transition: transform 0.15s ease;
}
.faq-wrap details[open] summary::after { content: "–"; transform: translateY(-50%) rotate(180deg); }
.faq-wrap details p { margin: 12px 0 2px; color: var(--c-mut); font-size: 0.93rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--c-red-3), var(--c-red));
  border-radius: 18px; padding: 40px 36px; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(242, 183, 5, 0.35), transparent 65%); border-radius: 50%;
}
.cta-banner h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; }
.cta-banner p { color: #ffe3e9; margin: 8px 0 0; max-width: 560px; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Halaman artikel / inner ---------- */
.page-hero {
  background:
    linear-gradient(115deg, rgba(12, 12, 17, 0.94) 0%, rgba(60, 7, 19, 0.86) 50%, rgba(200, 16, 46, 0.7) 100%),
    url("/assets/img/hero.jpg") center / cover no-repeat;
  color: #fff; padding: 58px 0 46px;
}
.page-hero .kicker { color: var(--c-gold-2); }
.page-hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 800; max-width: 820px; }
.page-hero .page-lead { max-width: 760px; color: #e7e8ee; margin-top: 12px; font-size: 1.02rem; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 0.82rem; color: #cfd2da; }
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; padding: 56px 0 70px; }
.entry-content { font-size: 1rem; }
.entry-content > figure:first-child { margin-bottom: 28px; }
.entry-content h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; margin: 40px 0 14px;
  padding-left: 14px; border-left: 5px solid var(--c-gold); line-height: 1.35;
}
.entry-content h3 { font-size: 1.1rem; font-weight: 700; margin: 26px 0 10px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px; }
.entry-content li { margin-bottom: 7px; }
.entry-content figure { margin: 24px 0; }
.entry-content figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.entry-content figcaption { font-size: 0.8rem; color: var(--c-mut); margin-top: 10px; text-align: center; }
.entry-content .tip-box {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 1px solid #f1dfa4; border-left: 5px solid var(--c-gold);
  border-radius: 12px; padding: 16px 20px; margin: 22px 0; font-size: 0.94rem;
}
.entry-content .warn-box {
  background: #fdeef1; border: 1px solid #f3c6cf; border-left: 5px solid var(--c-red);
  border-radius: 12px; padding: 16px 20px; margin: 22px 0; font-size: 0.94rem;
}
.entry-content .ok-box {
  background: #eefaf3; border: 1px solid #bfe8d2; border-left: 5px solid var(--c-green);
  border-radius: 12px; padding: 16px 20px; margin: 22px 0; font-size: 0.94rem;
}
.inline-cta {
  background: linear-gradient(120deg, var(--c-ink), var(--c-black)); color: #fff;
  border-radius: var(--radius); padding: 28px; margin: 34px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.inline-cta h3 { color: var(--c-gold-2); font-size: 1.15rem; margin: 0 0 6px; }
.inline-cta p { color: #c6c9d2; margin: 0; font-size: 0.92rem; }

.table-scroll { overflow-x: auto; border: 1px solid var(--c-line); border-radius: 12px; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.entry-content table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.9rem; }
.entry-content th { background: var(--c-ink); color: #fff; text-align: left; padding: 11px 14px; font-weight: 700; white-space: nowrap; }
.entry-content td { padding: 11px 14px; border-top: 1px solid var(--c-line); vertical-align: top; }
.entry-content tbody tr:nth-child(even) { background: var(--c-paper); }

.widget {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 22px;
}
.widget h2, .widget h3 { font-size: 1rem; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--c-paper); }
.widget ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.widget ul a { font-weight: 600; font-size: 0.9rem; display: inline-block; }
.widget ul a::before { content: "› "; color: var(--c-gold); font-weight: 800; }
.widget-cta { background: linear-gradient(135deg, var(--c-red-3), var(--c-red)); border: none; color: #fff; }
.widget-cta h3 { color: var(--c-gold-2); border-color: rgba(255, 255, 255, 0.2); }
.widget-cta p { font-size: 0.88rem; color: #ffe3e9; margin-bottom: 14px; }
.widget-sticky { position: sticky; top: 92px; }

/* ---------- Kartu promosi (hub) ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.promo-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column;
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.promo-card figure { margin: 0; }
.promo-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-badge {
  align-self: flex-start; background: linear-gradient(135deg, var(--c-gold-2), var(--c-gold));
  color: #231a00; font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.promo-badge--green { background: linear-gradient(135deg, #17b95f, var(--c-green-2)); color: #fff; }
.promo-badge--red { background: linear-gradient(135deg, #e01538, var(--c-red-3)); color: #fff; }
.promo-card h3 { font-size: 1.1rem; }
.promo-card p { font-size: 0.9rem; color: var(--c-mut); margin: 0; flex: 1; }
.promo-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.75rem; color: var(--c-mut); }
.promo-meta span { background: var(--c-paper); border: 1px solid var(--c-line); padding: 3px 10px; border-radius: 999px; font-weight: 600; }

/* ---------- Formulir ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 60px 0 80px; }
.auth-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.auth-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 34px 30px; max-width: 500px; width: 100%; margin-inline: auto;
}
.auth-card h1 { font-size: 1.5rem; font-weight: 800; }
.auth-card .auth-sub { color: var(--c-mut); font-size: 0.92rem; margin: 8px 0 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 6px; }
.form-field input {
  width: 100%; padding: 12px 14px; border: 2px solid var(--c-line); border-radius: 10px;
  font-family: var(--font); font-size: 0.98rem; transition: border-color 0.15s ease;
}
.form-field input:focus { outline: none; border-color: var(--c-gold); }
.form-field .field-hint { font-size: 0.76rem; color: var(--c-mut); margin-top: 5px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--c-mut); margin: 4px 0 18px; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-green); flex: 0 0 auto; }
.form-alt { text-align: center; margin-top: 18px; font-size: 0.9rem; color: var(--c-mut); }
.auth-note { font-size: 0.76rem; color: var(--c-mut); text-align: center; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #101015, var(--c-black)); color: #b9bdc7;
  padding: 56px 0 0; margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; }
.footer-brand .site-branding { margin-bottom: 14px; }
.footer-brand p { font-size: 0.86rem; color: #9aa0ab; }
.footer-col h3 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #b9bdc7; font-size: 0.88rem; }
.footer-col a:hover { color: var(--c-gold-2); }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 10px; border-radius: 10px;
  border: 2px solid var(--c-gold); color: var(--c-gold-2); font-weight: 800; font-size: 0.9rem;
}
.footer-badges { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.badge-soft {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; font-size: 0.74rem; font-weight: 700; color: #dfe2e8;
}
.pay-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chip {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e3e5ea; font-size: 0.76rem; font-weight: 700; padding: 6px 12px; border-radius: 8px;
}
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 20px 0;
  font-size: 0.78rem; color: #8b919c; line-height: 1.65;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 0 calc(108px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 0.8rem; color: #9aa0ab;
}
.footer-bottom a { color: var(--c-gold-2); }

/* ---------- Floating CTA (gaya mesin slot) ---------- */
.floating-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(23, 23, 29, 0.97), rgba(12, 12, 17, 0.99));
  border-top: 2px solid var(--c-gold);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.45);
}
.reels {
  display: flex; gap: 5px; padding: 5px 7px; border-radius: 10px;
  background: linear-gradient(180deg, #2a2a33, #14141a);
  border: 1px solid rgba(242, 183, 5, 0.5);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}
.reel {
  width: 32px; height: 32px; border-radius: 7px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #fff, #e4e2da);
  border: 2px solid var(--c-gold); font-size: 16px; line-height: 1;
  transition: transform 0.12s ease;
}
.reel.is-spinning { transform: rotate(18deg) scale(0.9); }
.fbtn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 118px; padding: 12px 22px; border-radius: 11px;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 1.2px; text-transform: uppercase;
  position: relative; overflow: hidden; border: none; cursor: pointer;
}
.fbtn:hover { text-decoration: none; transform: translateY(-2px); }
.fbtn--gold {
  background: linear-gradient(180deg, #ffe082, var(--c-gold) 55%, #d99a00);
  color: #241a00; box-shadow: 0 5px 16px rgba(242, 183, 5, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.fbtn--green {
  background: linear-gradient(180deg, #2fd475, var(--c-green-2));
  color: #fff; box-shadow: 0 5px 16px rgba(14, 159, 79, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.fbtn--gold::after, .fbtn--green::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); animation: shine 3.2s infinite;
}
@keyframes shine { 0%, 55% { left: -80%; } 100% { left: 130%; } }

.coin {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff3c4, var(--c-gold) 55%, #b97e00);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  opacity: 0; pointer-events: none;
}
.coin--1 { left: 12%; bottom: 8px; animation: coinFloat 2.8s ease-in 0.4s infinite; }
.coin--2 { left: 45%; bottom: 8px; animation: coinFloat 3.4s ease-in 1.3s infinite; }
.coin--3 { right: 12%; bottom: 8px; animation: coinFloat 3s ease-in 2.1s infinite; }
.coin--4 { right: 32%; bottom: 8px; animation: coinFloat 3.6s ease-in 0.9s infinite; }
@keyframes coinFloat {
  0% { opacity: 0; transform: translateY(0) scale(0.5) rotate(0deg); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-96px) scale(1.15) rotate(340deg); }
}

/* ---------- Overlay pencarian ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(10, 10, 14, 0.78); backdrop-filter: blur(5px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 86px 16px 24px;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: min(660px, 100%); background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: 76vh; display: flex; flex-direction: column;
}
.search-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--c-line); }
.search-head svg { width: 20px; height: 20px; color: var(--c-mut); flex: 0 0 auto; }
#search-input {
  flex: 1; border: none; outline: none; font-family: var(--font);
  font-size: 1.05rem; font-weight: 600; color: var(--c-ink); min-width: 0;
}
.search-close {
  border: none; background: var(--c-paper); color: var(--c-ink); width: 34px; height: 34px;
  border-radius: 9px; font-size: 1.05rem; font-weight: 700; cursor: pointer; flex: 0 0 auto;
}
.search-close:hover { background: var(--c-line); }
#search-results { overflow-y: auto; padding: 10px; }
.search-hit { display: block; padding: 12px 14px; border-radius: 12px; }
.search-hit:hover { background: var(--c-paper); text-decoration: none; }
.search-hit .hit-title { font-weight: 700; font-size: 0.95rem; color: var(--c-ink); }
.search-hit .hit-desc { font-size: 0.82rem; color: var(--c-mut); margin-top: 2px; }
.search-hit .hit-url { font-size: 0.74rem; color: var(--c-green-2); font-weight: 700; margin-top: 3px; }
.search-empty { padding: 22px 16px; text-align: center; color: var(--c-mut); font-size: 0.9rem; }
.search-tags { padding: 4px 14px 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.search-tags a { font-size: 0.78rem; background: var(--c-paper); border: 1px solid var(--c-line); padding: 5px 12px; border-radius: 999px; color: var(--c-ink); font-weight: 600; }
.search-tags a:hover { border-color: var(--c-gold); text-decoration: none; }

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
  .main-navigation ul { gap: 0; }
  .main-navigation a { padding: 9px 8px; font-size: 0.88rem; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .main-navigation { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .header-actions .btn { display: none; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .widget-sticky { position: static; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .auth-wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 54px 0; }
  .hero { padding: 60px 0 54px; }
  .page-hero { padding: 42px 0 34px; }
  .steps-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .rg-points { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-grid .btn { width: 100%; }
  .cta-banner { padding: 30px 24px; }
  .inline-cta { padding: 22px; }
  .reel { width: 28px; height: 28px; font-size: 14px; }
  .fbtn { min-width: 104px; padding: 11px 16px; font-size: 0.88rem; }
  .floating-bar { gap: 10px; }
  .footer-bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-actions .btn { width: 100%; }
  .calc-card { padding: 22px 18px; }
  .auth-card { padding: 26px 20px; }
  .logo-text { font-size: 1.1rem; }
  .logo-chip { width: 34px; height: 34px; font-size: 1.1rem; }
  .reels { display: none; }
  .fbtn { flex: 1; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .entry-content table { min-width: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}

::selection { background: var(--c-gold); color: #231a00; }

:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; }
