/* ==========================================================================
   Mahadewa88 — style.css
   Tema: gelap kasino (hitam-biru malam) + emas, aksen merah & hijau
   Struktur kelas mengikuti konvensi tema WordPress (site-header, site-main,
   entry-content, widget-area, site-footer, dll).
   ========================================================================== */

:root {
  --bg: #0a0d16;
  --bg-2: #10141f;
  --bg-3: #161c2b;
  --card: #151b29;
  --card-2: #1b2334;
  --line: #26304498;
  --gold: #f6c026;
  --gold-2: #ffe08a;
  --gold-3: #c9920e;
  --red: #e23b4a;
  --red-2: #ff5a68;
  --green: #1fae62;
  --green-2: #38d67f;
  --blue: #3d8bff;
  --text: #eef1f8;
  --muted: #a6b0c3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(246, 192, 38, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 15%, rgba(226, 59, 74, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3rem; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 800; }
strong { color: var(--gold-2); }

.container { width: min(1160px, 100% - 2rem); margin-inline: auto; }

/* ---------- utilitas ---------- */
.badge18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 24px; padding: 0 8px; border-radius: 12px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 13px;
  border: 1px solid #ffffff40; letter-spacing: 0.5px;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #ffffff12; border: 1px solid #ffffff22; color: var(--text);
  border-radius: 999px; padding: 6px 14px; font-size: 13.5px; font-weight: 600;
  white-space: nowrap;
}
.note {
  background: #3d8bff1c; border: 1px solid #3d8bff45;
  border-radius: 10px; padding: 12px 16px; font-size: 14.5px; color: #cfe0ff;
}
.note.warn { background: #f6c0261a; border-color: #f6c02655; color: #ffe9b0; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; padding: 11px 22px; font-weight: 800; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 45%, var(--gold-3));
  color: #35230a; box-shadow: 0 6px 18px rgba(246, 192, 38, 0.35);
}
.btn-red {
  background: linear-gradient(180deg, var(--red-2), var(--red));
  color: #fff; box-shadow: 0 6px 18px rgba(226, 59, 74, 0.35);
}
.btn-green {
  background: linear-gradient(180deg, var(--green-2), var(--green));
  color: #06281a; box-shadow: 0 6px 18px rgba(31, 174, 98, 0.3);
}
.btn-ghost {
  background: #ffffff0f; border-color: #ffffff33; color: var(--text);
}
.btn-ghost:hover { background: #ffffff1c; }

/* ---------- topbar berjalan ---------- */
.topbar {
  background: linear-gradient(90deg, #3d0f16, #57121d 40%, #35140b 75%, #3d0f16);
  border-bottom: 1px solid #f6c02633; overflow: hidden; position: relative;
}
.topbar-track {
  display: flex; gap: 42px; white-space: nowrap; width: max-content;
  padding: 7px 0; animation: ticker 46s linear infinite;
  font-size: 13.5px; color: #ffd9a0;
}
.topbar-track b { color: var(--gold-2); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.topbar:hover .topbar-track { animation-play-state: paused; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #0c101bf2; backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-badge {
  width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(160deg, #201010, #3a1418 60%, #521a10);
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  font-weight: 900; font-size: 19px; color: var(--gold-2);
  box-shadow: inset 0 0 12px #f6c02633, 0 3px 10px rgba(0,0,0,.5);
  font-style: italic; letter-spacing: -1px;
}
.brand-name { display: block; font-size: 21px; font-weight: 900; color: var(--text); line-height: 1.1; }
.brand-name span { color: var(--gold); }
.brand-tag { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: 1.6px; text-transform: uppercase; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 8px 13px; border-radius: 9px; color: #cdd5e4;
  font-weight: 700; font-size: 14.5px; text-decoration: none !important;
}
.main-nav a:hover { background: #ffffff12; color: #fff; }
.main-nav a[aria-current="page"] { color: var(--gold-2); background: #f6c0261a; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 9px 18px; font-size: 14px; }
.nav-toggle, .search-toggle {
  display: none; background: #ffffff10; color: var(--text); border: 1px solid #ffffff26;
  border-radius: 10px; width: 42px; height: 42px; font-size: 18px; cursor: pointer;
}
.search-toggle { margin-left: auto; }

/* ---------- panel pencarian ---------- */
.search-panel { display: none; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.search-panel.open { display: block; }
.search-box { display: flex; gap: 10px; padding: 14px 0; }
.search-box input {
  flex: 1; min-width: 0; background: #0d1220; color: var(--text);
  border: 1px solid #ffffff26; border-radius: 10px; padding: 11px 16px; font-size: 15px;
}
.search-box input:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.search-box .btn { flex: 0 0 auto; }
#search-results { padding-bottom: 14px; }
#search-results a {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; text-decoration: none !important;
}
#search-results a b { color: var(--gold-2); display: block; font-size: 14.5px; }
#search-results a span { color: var(--muted); font-size: 13px; }
.search-empty { color: var(--muted); font-size: 14px; padding: 4px 2px; }

/* ---------- breadcrumb ---------- */
.crumbs { padding: 14px 0 4px; font-size: 13.5px; color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #5b6578; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--gold-2); font-weight: 700; }

/* ---------- 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, #0a0d16d9 0%, #0a0d1696 45%, var(--bg) 96%);
}
.hero-inner { position: relative; z-index: 2; padding: 58px 0 64px; max-width: 780px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
  background: #f6c02614; border: 1px solid #f6c02640; border-radius: 999px;
  padding: 6px 14px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 5.2vw, 46px); letter-spacing: -0.5px; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: #ccd4e4; font-size: clamp(15px, 2vw, 17.5px); max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- bagian umum ---------- */
.section { padding: 52px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-kicker {
  color: var(--green-2); font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  font-size: 12.5px; margin-bottom: 8px;
}
.section-title { font-size: clamp(22px, 3.4vw, 30px); margin-bottom: 10px; }
.section-title em { font-style: normal; color: var(--gold); }
.section-sub { color: var(--muted); font-size: 15.5px; }

/* kartu langkah */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px;
  position: relative; overflow: hidden;
}
.step-num {
  position: absolute; top: -14px; right: -6px; font-size: 84px; font-weight: 900;
  color: #ffffff08; line-height: 1; font-style: italic;
}
.step-ico { font-size: 30px; margin-bottom: 12px; display: block; }
.step-card h3 { font-size: 16.5px; margin-bottom: 8px; color: var(--gold-2); }
.step-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* kartu keunggulan */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.adv-card:hover { border-color: #f6c02666; transform: translateY(-3px); }
.adv-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 14px;
  background: linear-gradient(160deg, #f6c02626, #e23b4a1f); border: 1px solid #f6c02640;
}
.adv-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* daftar centang "kenapa memilih" */
.why-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center; }
.why-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.why-list li {
  display: flex; gap: 12px; align-items: flex-start; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 14.5px;
}
.why-list li::before {
  content: "✔"; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px;
  display: grid; place-items: center; background: #1fae6226; color: var(--green-2);
  font-size: 13px; margin-top: 3px;
}
.why-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* pembayaran & seluler */
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pay-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 16px; text-align: center;
}
.pay-card .pay-ico { font-size: 26px; display: block; margin-bottom: 8px; }
.pay-card h3 { font-size: 15px; margin-bottom: 6px; }
.pay-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* testimoni */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.testi-stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.testi-card blockquote { font-size: 14.5px; color: #d6dcea; font-style: italic; margin: 0; }
.testi-who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--red), #7a1622); color: #fff; font-weight: 800;
  flex: 0 0 auto; font-size: 15px;
}
.testi-who b { display: block; font-size: 14px; }
.testi-who span { font-size: 12px; color: var(--muted); }

/* kalkulator turnover (fitur khas Mahadewa88) */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: var(--card);
}
.calc-form { padding: 26px; display: grid; gap: 14px; align-content: start; }
.calc-form label { font-size: 13.5px; color: var(--muted); font-weight: 700; display: block; margin-bottom: 6px; }
.calc-form input, .calc-form select {
  width: 100%; background: #0d1220; border: 1px solid #ffffff26; color: var(--text);
  border-radius: 10px; padding: 11px 14px; font-size: 15px;
}
.calc-result {
  background:
    radial-gradient(500px 260px at 80% 0%, #f6c0261f, transparent 65%),
    linear-gradient(160deg, #231a08, #1a1305);
  border-left: 1px solid var(--line); padding: 26px; display: grid; align-content: center; gap: 10px;
}
.calc-result .lbl { font-size: 13px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.calc-result .val { font-size: clamp(26px, 4vw, 36px); font-weight: 900; color: var(--gold-2); }
.calc-result .sub { font-size: 13.5px; color: #d8c9a4; }
.calc-disclaimer { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* keamanan & privasi */
.sec-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; align-items: center; }
.sec-points { list-style: none; padding: 0; display: grid; gap: 12px; }
.sec-points li {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: 10px; padding: 14px 16px; font-size: 14.5px;
}
.sec-points b { color: #cfe0ff; }

/* tanggung jawab */
.rg-box {
  border: 1px solid #1fae6245; background: linear-gradient(160deg, #0c1f15, #0a160f);
  border-radius: var(--radius); padding: 28px;
}
.rg-box h3 { color: var(--green-2); margin-bottom: 10px; font-size: 18px; }
.rg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.rg-item { background: #ffffff08; border: 1px solid #ffffff14; border-radius: 10px; padding: 14px; }
.rg-item b { display: block; font-size: 14px; margin-bottom: 4px; color: var(--green-2); }
.rg-item p { font-size: 13px; color: var(--muted); margin: 0; }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-list details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 15px 18px; font-weight: 700; font-size: 15px;
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 20px; font-weight: 800; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details[open] summary { border-bottom: 1px dashed var(--line); }
.faq-answer { padding: 14px 18px 18px; color: var(--muted); font-size: 14.5px; }

/* kategori */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: block; text-decoration: none !important; min-height: 210px; background: var(--card);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 0.35s ease, opacity 0.35s ease; }
.cat-card:hover img { transform: scale(1.06); opacity: 0.65; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0a0d1633 30%, #0a0d16e8); }
.cat-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 18px; }
.cat-body .cat-tag { font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.cat-body h3 { font-size: 18px; color: #fff; margin: 6px 0 6px; }
.cat-body p { font-size: 13px; color: #b9c2d4; margin: 0 0 10px; }
.cat-body .cat-link { color: var(--gold-2); font-weight: 700; font-size: 13.5px; }

/* awan tag */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.tag-cloud a {
  background: #ffffff0d; border: 1px solid #ffffff24; color: #cfd7e6; border-radius: 999px;
  padding: 7px 15px; font-size: 13px; font-weight: 600; text-decoration: none !important;
  transition: all 0.15s ease;
}
.tag-cloud a:hover { border-color: var(--gold); color: var(--gold-2); background: #f6c02614; }
.tag-cloud a[data-q] { cursor: pointer; }

/* ---------- halaman dalam ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero img.ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0a0d16cc, #0a0d16f5); }
.page-hero-inner { position: relative; z-index: 2; padding: 46px 0 42px; }
.page-hero .chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(26px, 4.2vw, 38px); max-width: 820px; }
.page-hero .lead { color: #c8d0e2; max-width: 740px; margin-top: 12px; font-size: 16px; }

/* artikel */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; padding: 40px 0 56px; align-items: start; }
.entry-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 36px); }
.entry-content h2 {
  font-size: 21px; margin: 30px 0 12px; padding-left: 12px; border-left: 4px solid var(--gold); color: var(--gold-2);
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 17px; margin: 22px 0 8px; color: #dbe5f5; }
.entry-content p, .entry-content li { font-size: 15px; color: #ccd4e3; }
.entry-content figure { margin: 20px 0; }
.entry-content figure img { border-radius: 12px; border: 1px solid var(--line); width: 100%; }
.entry-content figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; text-align: center; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.toc { background: #0d1220; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 8px; }
.toc b { color: var(--gold-2); font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; }
.toc ol { margin: 8px 0 2px; font-size: 14px; }
.toc a { color: #b9c4d8; text-decoration: none; }
.toc a:hover { color: var(--gold-2); }

/* sidebar */
.widget-area { display: grid; gap: 18px; position: sticky; top: 86px; }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.widget h2, .widget h3 { font-size: 15.5px; margin-bottom: 12px; color: var(--gold-2); }
.widget ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.widget ul a { color: #c3cbdb; font-size: 14px; text-decoration: none; }
.widget ul a:hover { color: var(--gold-2); }
.widget p { font-size: 13.5px; color: var(--muted); }

/* kolom utama layout artikel (multi-blok) */
.article-layout .col-main { display: grid; gap: 18px; align-content: start; min-width: 0; }

/* tabel data */
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; display: block; overflow-x: auto; }
.data-table th, .data-table td { border: 1px solid #2a3448; padding: 10px 12px; text-align: left; vertical-align: top; }
.data-table th { background: #1d2536; color: var(--gold-2); white-space: nowrap; }
.data-table tr:nth-child(even) td { background: #131926; }

/* promo */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.2s ease, transform 0.2s ease;
}
.promo-card:hover { border-color: #f6c02666; transform: translateY(-3px); }
.promo-card .promo-media { position: relative; }
.promo-card .promo-media img { height: 158px; width: 100%; object-fit: cover; }
.promo-flag {
  position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}
.promo-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-body h3 { font-size: 16px; }
.promo-body p { font-size: 13.5px; color: var(--muted); margin: 0; }
.promo-body .btn { margin-top: auto; align-self: flex-start; padding: 9px 18px; font-size: 13.5px; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(600px 300px at 15% 0%, #e23b4a2e, transparent 60%),
    radial-gradient(600px 300px at 85% 100%, #f6c02624, transparent 60%),
    linear-gradient(160deg, #1c0f14, #141821);
  border: 1px solid #f6c0263d; border-radius: var(--radius);
  padding: 34px 26px; text-align: center;
}
.cta-band h2 { font-size: clamp(20px, 3vw, 26px); margin-bottom: 10px; }
.cta-band p { color: #c9d1e2; max-width: 640px; margin: 0 auto 18px; font-size: 15px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- formulir ---------- */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 44px 0 60px; align-items: center; }
.auth-side img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.4vw, 34px); }
.form-card h1 { font-size: 24px; margin-bottom: 6px; }
.form-card .form-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: #d5dcea; }
.field input[type="text"], .field input[type="password"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%; background: #0d1220; border: 1px solid #ffffff26; color: var(--text);
  border-radius: 10px; padding: 11px 14px; font-size: 15px; font-family: var(--font);
}
.field input:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 14px 0; }
.field-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gold); flex: 0 0 auto; }
.form-msg { display: none; border-radius: 10px; padding: 11px 14px; font-size: 13.5px; margin-bottom: 14px; }
.form-msg.ok { display: block; background: #1fae6220; border: 1px solid #1fae6255; color: #b8f2d2; }
.form-msg.err { display: block; background: #e23b4a20; border: 1px solid #e23b4a55; color: #ffc4ca; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* ---------- halaman cari ---------- */
.search-hero { padding: 46px 0 10px; text-align: center; }
.search-hero h1 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 8px; }
.search-hero p { color: var(--muted); max-width: 620px; margin: 0 auto 22px; font-size: 15px; }
.search-big { max-width: 660px; margin: 0 auto 10px; }
.index-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.index-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.index-group h2 { font-size: 15.5px; color: var(--gold-2); margin-bottom: 10px; }
.index-group ul { list-style: none; padding: 0; display: grid; gap: 7px; }
.index-group a { font-size: 13.5px; color: #c3cbdb; text-decoration: none; }
.index-group a:hover { color: var(--gold-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #0b0e18; margin-top: 20px; }
.footer-widgets { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 26px; padding: 40px 0 26px; }
.footer-widgets .widget { background: none; border: none; padding: 0; }
.footer-widgets h2 { font-size: 14px; color: var(--gold-2); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 12px; }
.footer-widgets p { font-size: 13.5px; color: var(--muted); }
.footer-widgets ul { list-style: none; padding: 0; display: grid; gap: 7px; }
.footer-widgets ul a { font-size: 13.5px; color: #b9c2d4; text-decoration: none; }
.footer-widgets ul a:hover { color: var(--gold-2); }
.footer-legal { border-top: 1px solid var(--line); padding: 18px 0 90px; font-size: 12.5px; color: #8b95a9; }
.footer-legal p { margin: 0 0 8px; }
.footer-legal .legal-strong { color: #c4ccd9; font-weight: 700; }

/* ---------- bilah melayang (slot + koin) ---------- */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; justify-content: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #0a0d1600, #0a0d16cc 45%, #0a0d16f0);
  pointer-events: none;
}
.float-inner { display: flex; gap: 10px; align-items: stretch; pointer-events: auto; position: relative; }
.reel {
  display: none; align-items: center; gap: 2px; background: #12080a;
  border: 1.5px solid var(--gold); border-radius: 14px; padding: 6px 10px; overflow: hidden;
}
.reel span {
  font-size: 19px; width: 24px; text-align: center; animation: reelSpin 2.6s linear infinite;
}
.reel span:nth-child(2) { animation-delay: 0.35s; }
.reel span:nth-child(3) { animation-delay: 0.7s; }
@keyframes reelSpin {
  0%, 18% { transform: translateY(0); filter: none; }
  25% { transform: translateY(-6px); filter: brightness(1.6); }
  32%, 55% { transform: translateY(0); }
  62% { transform: translateY(6px); filter: brightness(1.4); }
  70%, 100% { transform: translateY(0); }
}
.float-btn {
  position: relative; overflow: visible; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; font-size: 17px; font-weight: 900; letter-spacing: 1px; text-decoration: none !important;
  background: linear-gradient(180deg, #ffe08a, #f6c026 42%, #c9920e);
  color: #3a2606; border: 1.5px solid #ffdf7e;
  box-shadow: 0 0 0 3px #0a0d16, 0 8px 26px rgba(246, 192, 38, 0.45), inset 0 2px 0 #fff8;
  animation: btnPulse 2.2s ease-in-out infinite;
}
.float-btn .fb-ico { font-size: 20px; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 3px #0a0d16, 0 8px 26px rgba(246,192,38,.45), inset 0 2px 0 #fff8; }
  50% { box-shadow: 0 0 0 3px #0a0d16, 0 8px 34px rgba(255,214,90,.7), inset 0 2px 0 #fff8; }
}
.float-alt {
  display: inline-flex; align-items: center; border-radius: 14px; padding: 12px 20px;
  font-weight: 800; font-size: 14.5px; text-decoration: none !important;
  background: #ffffff10; color: var(--text); border: 1.5px solid #ffffff33;
}
.coin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 30%, #fff3c4, #f6c026 55%, #9a6b06);
  box-shadow: 0 0 8px #f6c02688; opacity: 0;
}
.coin.pop { animation: coinPop 2s ease-out forwards; }
@keyframes coinPop {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, 0px), -120px) scale(1); }
}

/* ---------- animasi kemunculan ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .topbar-track, .float-btn, .reel span, .coin.pop { animation: none; }
}

/* ---------- responsif ---------- */
@media (min-width: 621px) {
  .reel { display: flex; }
}
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .index-groups { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .widget-area { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; order: 3; }
  .header-cta .btn-ghost { display: none; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #0c101b; border-bottom: 1px solid var(--line); margin: 0; padding: 10px 16px 16px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 11px 12px; font-size: 15.5px; }
  .search-toggle { display: block; order: 2; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .header-cta { margin-left: auto; }
  .search-toggle { margin-left: 0; }
  .why-wrap, .sec-grid, .auth-layout, .calc { grid-template-columns: 1fr; }
  .calc-result { border-left: none; border-top: 1px solid var(--line); }
  .rg-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero-inner { padding: 40px 0 48px; }
  .steps-grid, .adv-grid, .cat-grid, .pay-grid, .promo-grid, .testi-grid,
  .index-groups, .widget-area { grid-template-columns: 1fr; }
  .float-btn { padding: 13px 22px; font-size: 16px; }
  .float-alt { padding: 11px 16px; font-size: 13.5px; }
  .footer-widgets { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 40px 0; }
  .entry-content { padding: 20px 16px; }
  .footer-legal { padding-bottom: 96px; }
}

@media (max-width: 380px) {
  body { font-size: 15px; }
  .float-btn { padding: 12px 16px; font-size: 15px; letter-spacing: 0.5px; }
  .float-alt { padding: 10px 12px; font-size: 12.5px; }
  .float-inner { gap: 7px; }
  .chip { font-size: 12.5px; padding: 5px 11px; }
}
