/* ============================================================
   Kartubet88 — Gaya utama situs (id-ID)
   Palet: hitam/biru gelap, emas, merah, hijau, putih
   ============================================================ */

:root {
  --bg: #0b0d12;
  --bg2: #10131b;
  --card: #161a24;
  --card2: #1b2130;
  --line: rgba(255, 255, 255, 0.09);
  --line2: rgba(255, 255, 255, 0.16);
  --gold: #f2b632;
  --gold2: #ffd25e;
  --gold-dim: rgba(242, 182, 50, 0.14);
  --red: #d93143;
  --red2: #ef4b5c;
  --red-dim: rgba(217, 49, 67, 0.15);
  --green: #1fa971;
  --green-dim: rgba(31, 169, 113, 0.14);
  --blue: #4b8bec;
  --text: #edf0f5;
  --muted: #9aa3b4;
  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --wrap: 1160px;
  --header-h: 66px;
  --widget-h: 84px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(217, 49, 67, 0.12), transparent 60%),
    radial-gradient(900px 480px at -10% 12%, rgba(242, 182, 50, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

p { margin: 0 0 1em; overflow-wrap: break-word; }

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

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 58px 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 33px); }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold2), var(--gold) 55%, #d99b1f);
  color: #241a05;
  box-shadow: 0 10px 26px rgba(242, 182, 50, 0.28);
}
.btn-gold:hover { box-shadow: 0 12px 30px rgba(242, 182, 50, 0.42); }
.btn-red {
  background: linear-gradient(180deg, var(--red2), var(--red));
  color: #fff;
  box-shadow: 0 10px 26px rgba(217, 49, 67, 0.3);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line2);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold2); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 13, 18, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  color: #fff;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.brand svg { display: block; }
.brand .b-red { color: var(--red2); }
.brand .b-gold { color: var(--gold); }

.main-nav { margin-left: 6px; }
.main-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.main-nav a.is-active { color: var(--gold2); background: var(--gold-dim); }
.nav-cta-mobile { display: none; }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.search-toggle:hover { color: var(--gold2); border-color: var(--gold); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero beranda ---------- */
.hero {
  position: relative;
  padding: 72px 0 66px;
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 16px; }
.hero h1 .hl {
  background: linear-gradient(92deg, var(--gold2), var(--gold) 60%, var(--red2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: var(--muted); font-size: 17px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 6px 13px;
  text-decoration: none !important;
}
.chip:hover { color: var(--gold2); border-color: var(--gold); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line2);
  background: var(--card);
  padding: 10px;
  box-shadow: var(--shadow);
}
.hero-visual img { border-radius: 14px; width: 100%; object-fit: cover; aspect-ratio: 7 / 5; }
.hero-visual .float-tag {
  position: absolute;
  bottom: 26px;
  left: -14px;
  background: linear-gradient(180deg, #1d2333, #141826);
  border: 1px solid var(--line2);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow);
}
.hero-visual .float-tag small { display: block; color: var(--muted); font-weight: 600; }

/* ---------- Kartu ---------- */
.cards-grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(242, 182, 50, 0.45); transform: translateY(-3px); }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 14px;
  background: var(--gold-dim);
  border: 1px solid rgba(242, 182, 50, 0.3);
}
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card .more { font-size: 13.5px; font-weight: 700; display: inline-block; margin-top: 12px; }

/* Promo card */
.promo-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.promo-card .ribbon {
  position: absolute;
  top: 14px;
  right: -34px;
  transform: rotate(38deg);
  background: linear-gradient(90deg, var(--red), #b7243a);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 38px;
  text-transform: uppercase;
}
.promo-card .thumb { border-radius: 10px; overflow: hidden; margin-bottom: 14px; border: 1px solid var(--line); }
.promo-card .thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.promo-visual {
  border-radius: 10px;
  border: 1px solid var(--line2);
  margin-bottom: 14px;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 18px 14px;
  position: relative;
  overflow: hidden;
}
.promo-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(160px 70px at 20% 0%, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
}
.pv-red { background: linear-gradient(135deg, #3a1017, #1c1218 60%), radial-gradient(circle at 78% 30%, rgba(217, 49, 67, 0.55), transparent 60%); }
.pv-gold { background: linear-gradient(135deg, #3a2a0a, #1f1a0d 60%), radial-gradient(circle at 78% 30%, rgba(242, 182, 50, 0.5), transparent 60%); }
.pv-green { background: linear-gradient(135deg, #0d2b21, #101815 60%), radial-gradient(circle at 78% 30%, rgba(31, 169, 113, 0.45), transparent 60%); }
.pv-blue { background: linear-gradient(135deg, #10233e, #12141d 60%), radial-gradient(circle at 78% 30%, rgba(75, 139, 236, 0.45), transparent 60%); }
.promo-visual .pv-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.promo-visual .pv-big {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.05;
  background: linear-gradient(180deg, #fff, #ffd9a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.promo-visual .pv-sub { font-size: 12px; color: rgba(255, 255, 255, 0.66); }
.promo-card .meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.promo-card .meta b { color: var(--gold2); }
.promo-card p { flex-grow: 1; }

/* Ulasan */
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.review-card blockquote {
  margin: 0;
  font-size: 14.5px;
  color: #d7dce6;
  flex-grow: 1;
}
.review-card .who { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #241a05;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  flex-shrink: 0;
}
.review-card .who b { display: block; font-size: 14px; color: #fff; }
.review-card .who small { color: var(--muted); font-size: 12px; }

/* Glosarium */
.gloss-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gloss {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-s);
  padding: 14px 16px;
}
.gloss dt { font-weight: 800; color: var(--gold2); font-size: 14.5px; margin-bottom: 4px; }
.gloss dd { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- Bagian seluler ---------- */
.mobile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.phone-mock {
  position: relative;
  width: min(250px, 78%);
  margin: 0 auto;
  border-radius: 30px;
  border: 3px solid #2a3040;
  background: #05070b;
  padding: 14px 10px 18px;
  box-shadow: var(--shadow);
}
.phone-mock::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 6px;
  border-radius: 4px;
  background: #2a3040;
}
.phone-mock .scr {
  border-radius: 16px;
  background: linear-gradient(180deg, #131826, #0d1119);
  border: 1px solid var(--line);
  padding: 14px 12px;
}
.phone-mock .scr-row { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); margin-bottom: 9px; }
.phone-mock .scr-row.gold { background: linear-gradient(90deg, var(--gold), rgba(242, 182, 50, 0.25)); }
.phone-mock .scr-btn {
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  margin-top: 4px;
}
.mobile-points { list-style: none; padding: 0; margin: 18px 0 0; }
.mobile-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 15px;
}
.mobile-points .pt-ic {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--green-dim);
  border: 1px solid rgba(31, 169, 113, 0.4);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

/* ---------- Artikel unggulan beranda ---------- */
.feature-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.feature-article .img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line2);
  position: sticky;
  top: calc(var(--header-h) + 18px);
}
.feature-article .img-wrap img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.feature-article .img-wrap figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  font-size: 12.5px;
  color: #dfe3ea;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 11, 0.88));
}

/* ---------- Prosa ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(21px, 2.6vw, 26px); margin-top: 1.6em; }
.prose h3 { font-size: 18.5px; margin-top: 1.4em; color: var(--gold2); }
.prose p, .prose li { color: #c6ccd8; font-size: 15.5px; }
.prose strong { color: #fff; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.article-meta .tag {
  background: var(--gold-dim);
  color: var(--gold2);
  border-radius: 6px;
  padding: 2px 10px;
  font-weight: 700;
  font-size: 12px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  color: var(--gold2);
  font-weight: 800;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 18px 16px 56px; color: var(--muted); font-size: 14.5px; }
.faq-item .faq-body p { margin: 0; }

/* ---------- Tag populer ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.tag-cloud a:hover { color: #241a05; background: var(--gold); border-color: var(--gold); }

/* ---------- Halaman dalam (breadcrumb + hero) ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li { display: flex; align-items: center; gap: 6px; margin: 0; }
.crumbs li + li::before { content: "›"; color: var(--gold); font-weight: 800; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold2); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

.page-hero { padding: 30px 0 8px; }
.page-hero h1 { font-size: clamp(26px, 3.8vw, 38px); }
.page-hero .desc { color: var(--muted); max-width: 760px; font-size: 16px; }

.page-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line2);
  margin: 22px 0 34px;
}
.page-cover img { width: 100%; max-height: 460px; object-fit: cover; }

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}
.side-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.side-box h3 { font-size: 15.5px; margin-bottom: 12px; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li { margin-bottom: 9px; }
.side-box li a { font-size: 14px; color: var(--muted); text-decoration: none; }
.side-box li a:hover { color: var(--gold2); }
.side-box .note { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Tabel ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  margin: 0 0 1.2em;
  -webkit-overflow-scrolling: touch;
}
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  background: rgba(242, 182, 50, 0.08);
  color: var(--gold2);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
td { color: #c6ccd8; }
tr:last-child td { border-bottom: 0; }

/* ---------- Bentuk (form) ---------- */
.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line2);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.form-card h1 { font-size: 24px; }
.form-card .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: #dfe3ea; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: #0d1019;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 182, 50, 0.18); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 14px 0 18px; }
.check-line input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.form-note {
  font-size: 12px;
  color: var(--muted);
  background: var(--green-dim);
  border: 1px solid rgba(31, 169, 113, 0.3);
  border-radius: 10px;
  padding: 10px 13px;
  margin-top: 16px;
  line-height: 1.6;
}

/* ---------- Pencarian ---------- */
.search-box { display: flex; gap: 10px; max-width: 620px; }
.search-box input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: #0d1019;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
}
.search-box input:focus { border-color: var(--gold); }
.search-result {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--card);
  padding: 16px 18px;
  margin-bottom: 12px;
  text-decoration: none !important;
}
.search-result:hover { border-color: var(--gold); }
.search-result b { color: var(--gold2); font-size: 15.5px; display: block; margin-bottom: 4px; }
.search-result span { color: var(--muted); font-size: 13.5px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0d1017, #080a0f);
  padding: 54px 0 26px;
  padding-bottom: calc(26px + var(--widget-h));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 34px;
}
.footer-grid h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid li a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-grid li a:hover { color: var(--gold2); }
.footer-brand p { color: var(--muted); font-size: 13.5px; margin: 12px 0 16px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 50%;
  border: 2px solid var(--red2);
  color: var(--red2);
  font-weight: 900;
  font-size: 14px;
}
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 8px 14px;
}
.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
}
.footer-legal p { margin: 0 0 10px; }
.footer-copy { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 14px; color: #6c7583; }

/* ---------- Widget mengambang ---------- */
.float-widget {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: linear-gradient(90deg, #120b04 0%, #1d1408 45%, #170f06 100%);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.55);
}
.float-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 90px at 12% 120%, rgba(242, 182, 50, 0.22), transparent 70%),
    radial-gradient(420px 90px at 88% -60%, rgba(217, 49, 67, 0.16), transparent 70%);
  pointer-events: none;
}
.widget-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 20px;
  min-height: var(--widget-h);
  display: flex;
  align-items: center;
  gap: 16px;
}
.slot-visual { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.slot-machine {
  width: 64px;
  height: 46px;
  border-radius: 9px;
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #2a1d08, #171004);
  display: flex;
  gap: 4px;
  padding: 4px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 16px rgba(242, 182, 50, 0.25);
}
.reel {
  flex: 1;
  border-radius: 5px;
  overflow: hidden;
  background: #0b0810;
  position: relative;
  border: 1px solid rgba(242, 182, 50, 0.4);
}
.reel .strip {
  position: absolute;
  left: 0; right: 0; top: 0;
  animation: reel-spin 7s linear infinite;
}
.reel:nth-child(2) .strip { animation-duration: 9s; }
.reel:nth-child(3) .strip { animation-duration: 8s; }
.reel .sym {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: var(--gold2);
}
.reel .sym.red { color: var(--red2); }
.reel .sym.white { color: #f4f6fa; }
@keyframes reel-spin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-102px); }
}
.coin-stack { position: relative; width: 40px; height: 44px; flex-shrink: 0; }
.coin {
  position: absolute;
  left: 50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, #b8860b);
  border: 2px solid #a9741a;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
  animation: coin-float 3.6s ease-in-out infinite;
}
.coin::after {
  content: "Rp";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: #7a5410;
}
.coin.c1 { left: 2%; bottom: 0; animation-delay: 0s; }
.coin.c2 { left: 38%; bottom: 8px; animation-delay: 0.5s; }
.coin.c3 { left: 16%; bottom: 17px; animation-delay: 1s; }
@keyframes coin-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.widget-copy { min-width: 0; }
.widget-copy b {
  display: block;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.widget-copy small { display: block; color: #c9a86a; font-size: 11.5px; margin-top: 2px; }
.widget-actions { margin-left: auto; display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Daftar langkah ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #241a05;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 38px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, rgba(242, 182, 50, 0.5), rgba(242, 182, 50, 0.06));
}
.steps li:last-child::after { display: none; }
.steps b { display: block; color: #fff; font-size: 15.5px; margin-bottom: 3px; }
.steps p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Notifikasi ---------- */
.notice {
  border-radius: var(--radius-s);
  padding: 14px 17px;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 1.2em;
}
.notice b { display: block; margin-bottom: 3px; color: #fff; font-size: 14px; }
.notice-info { background: rgba(75, 139, 236, 0.1); border: 1px solid rgba(75, 139, 236, 0.35); color: #b9cdec; }
.notice-warn { background: var(--gold-dim); border: 1px solid rgba(242, 182, 50, 0.4); color: #e8d5a8; }
.notice-safe { background: var(--green-dim); border: 1px solid rgba(31, 169, 113, 0.4); color: #b9e4d1; }

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); }
  .side-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature-article { grid-template-columns: 1fr; }
  .feature-article .img-wrap { position: static; }
  .mobile-grid { grid-template-columns: 1fr; gap: 26px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: rgba(13, 16, 24, 0.985);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    padding: 12px 20px 18px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 11px 12px; font-size: 15px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { display: none; }
  .nav-cta-mobile { display: flex; gap: 10px; padding: 12px 12px 2px; }
  .nav-cta-mobile .btn { flex: 1; }
  .hero { padding: 46px 0 44px; }
  .section { padding: 42px 0; }
}

@media (max-width: 640px) {
  :root { --widget-h: 74px; }
  .grid-3, .grid-2, .gloss-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .widget-inner { gap: 10px; padding: 8px 12px; }
  .slot-machine { width: 52px; height: 40px; }
  .reel .sym { height: 28px; font-size: 12px; }
  .coin-stack { display: none; }
  .widget-copy b { font-size: 13px; }
  .widget-copy small { font-size: 10px; }
  .widget-actions { gap: 8px; }
  .widget-actions .btn { padding: 9px 16px; font-size: 13px; }
  .hero-visual .float-tag { left: 6px; bottom: 12px; }
  .faq-item .faq-body { padding-left: 18px; }
  table { min-width: 420px; }
}

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