/* ============================================================
   Qqasia88 — qqasia88.games · Global Stylesheet
   Tema: karnaval kasino (merah · putih · hijau · kuning · biru · hitam)
   ============================================================ */

:root {
  --red: #D2122E;
  --red-2: #F0263F;
  --red-dark: #8E0A1E;
  --black: #150A10;
  --ink: #241A20;
  --ink-2: #4C4250;
  --muted: #736A78;
  --gold: #FFC94D;
  --gold-2: #E0A415;
  --gold-soft: #FFF4DA;
  --green: #0FA958;
  --green-soft: #E5F7EE;
  --blue: #2563EB;
  --blue-soft: #EAF1FE;
  --bg: #ffffff;
  --bg-soft: #FBF7F1;
  --line: #ECE3D8;
  --dark-1: #150A10;
  --dark-2: #211219;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(21, 10, 16, .10);
  --shadow-lg: 0 22px 55px rgba(21, 10, 16, .20);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
h2[id], h3[id], section[id] { scroll-margin-top: 96px; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

/* pita karnaval 4 warna di paling atas */
body::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100;
  background: linear-gradient(90deg,
    var(--red) 0 25%, var(--gold) 25% 50%, var(--green) 50% 75%, var(--blue) 75% 100%);
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
ul, ol { padding-left: 1.25rem; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { line-height: 1.28; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.18rem; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: clamp(3rem, 6vw, 4.8rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark-1); color: #EFE9E4; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, #FFE59A 0%, var(--gold) 45%, var(--gold-2) 100%);
  color: #3A2700; box-shadow: 0 6px 18px rgba(224, 164, 21, .4);
}
.btn-red {
  background: linear-gradient(135deg, var(--red-2) 0%, var(--red) 55%, var(--red-dark) 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(210, 18, 46, .35);
}
.btn-outline {
  border-color: var(--gold); color: var(--gold); background: rgba(255, 201, 77, .06);
}
.btn-outline:hover { background: rgba(255, 201, 77, .16); color: #FFE59A; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(15, 169, 88, .3); }
.btn-sm { padding: .5rem 1.05rem; font-size: .86rem; }

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .22rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.badge-red { background: rgba(210, 18, 46, .1); color: var(--red); }
.badge-gold { background: var(--gold-soft); color: #8a6300; }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-dark { background: #2A1B24; color: var(--gold); }

/* ---------- Section headings ---------- */
.sec-head { max-width: 780px; margin: 0 auto 2.4rem; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); margin-bottom: .6rem;
}
.kicker::before { content: "◆"; color: var(--gold-2); margin-right: .45rem; font-size: .7em; }
.section-dark .kicker { color: var(--gold); }
.sec-sub { color: var(--muted); margin-top: .7rem; font-size: 1.02rem; }
.section-dark .sec-sub { color: #BBAFB6; }

/* ============================================================
   TOPBAR & HEADER
   ============================================================ */
.topbar {
  background: var(--black); color: #DACFD6; font-size: .78rem;
  padding: .44rem 0; text-align: center; letter-spacing: .02em;
}
.topbar b { color: var(--gold); }
.topbar span.sep { margin: 0 .55rem; color: #564A52; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(21, 10, 16, .97); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 201, 77, .28);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 26px rgba(0, 0, 0, .45); }
.header-main {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .65rem 0;
}

.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand-chip {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(140deg, var(--red) 0%, var(--red-dark) 100%);
  border: 2px solid var(--gold); display: grid; place-items: center;
  color: var(--gold); font-weight: 900; font-size: .92rem; letter-spacing: -.03em;
  box-shadow: 0 3px 10px rgba(210, 18, 46, .5);
}
.brand-name {
  font-size: 1.32rem; font-weight: 900; color: #fff; letter-spacing: .01em; line-height: 1;
}
.brand-name b { color: var(--gold); }
.brand-name small {
  display: block; font-size: .56rem; font-weight: 600; color: #A2959E;
  letter-spacing: .24em; text-transform: uppercase; margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: .2rem; }
.main-nav a {
  color: #E9E1E6; font-weight: 600; font-size: .92rem;
  padding: .55rem .8rem; border-radius: 8px; transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { color: var(--gold); background: rgba(255, 201, 77, .1); }
.main-nav a.active { color: var(--gold); background: rgba(255, 201, 77, .13); }

.header-actions { display: flex; align-items: center; gap: .55rem; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 201, 77, .4);
  background: rgba(255, 201, 77, .07); color: var(--gold); font-size: 1.02rem;
  display: grid; place-items: center; transition: background .15s ease;
}
.icon-btn:hover { background: rgba(255, 201, 77, .2); }
.header-actions .btn { padding: .55rem 1.15rem; font-size: .85rem; }

.nav-toggle { display: none; }
.nav-close { display: none; }

/* ============================================================
   HERO (beranda)
   ============================================================ */
.hero {
  position: relative; color: #F5F0EB; overflow: hidden;
  background: linear-gradient(rgba(21, 6, 14, .84), rgba(84, 7, 26, .9)),
              url("../img/hero.jpg") center 30% / cover no-repeat;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
  padding: clamp(3.2rem, 7vw, 5.4rem) 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 201, 77, .12); border: 1px solid rgba(255, 201, 77, .45);
  color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  padding: .4rem 1rem; border-radius: 999px; text-transform: uppercase; margin-bottom: 1.2rem;
}
.hero h1 { color: #fff; margin-bottom: 1.05rem; }
.hero h1 em {
  font-style: normal; color: var(--gold);
  text-shadow: 0 2px 18px rgba(255, 201, 77, .35);
}
.hero p.lead { color: #DCD3D9; font-size: 1.06rem; max-width: 560px; margin-bottom: 1.7rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.7rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .55rem; }
.trust-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  color: #E9E1E6; font-size: .78rem; font-weight: 600;
  padding: .34rem .8rem; border-radius: 999px;
}
.trust-chip i { font-style: normal; }

.hero-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 201, 77, .35); border-radius: 20px;
  padding: 1.6rem; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-panel h2 { color: var(--gold); font-size: 1.05rem; margin-bottom: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.hero-panel ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.hero-panel li {
  display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; color: #EFE9E4;
}
.hero-panel li b { color: #fff; }
.hero-panel li::before { content: "✓"; flex: 0 0 auto; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--green); color: #fff; font-size: .78rem; display: grid; place-items: center; margin-top: .18rem; font-weight: 800; }
.hero-panel .panel-cta { margin-top: 1.25rem; text-align: center; }
.hero-panel .panel-cta .btn { width: 100%; }

.hero-coin {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #FFEDB0, var(--gold) 45%, var(--gold-2) 85%);
  box-shadow: 0 6px 16px rgba(224, 164, 21, .45), inset 0 -3px 6px rgba(120, 84, 0, .4);
  opacity: .85; animation: coinFloat 7s ease-in-out infinite; pointer-events: none;
}
.hero-coin::after {
  content: "Rp"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #7A5600; font-weight: 900; font-size: .8em;
}
@keyframes coinFloat { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(7deg); } }

/* Tag cloud pencarian populer */
.tagstrip {
  background: var(--dark-2); border-top: 1px solid rgba(255, 201, 77, .2);
  padding: .8rem 0;
}
.tagstrip .container { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tagstrip .tag-label {
  color: #A2959E; font-size: .8rem; font-weight: 700; margin-right: .3rem; white-space: nowrap;
}
.tag {
  color: #ECE4E9; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .78rem; font-weight: 600; padding: .28rem .78rem; border-radius: 999px;
  transition: all .15s ease; white-space: nowrap;
}
.tag:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   KARTU PROMOSI / KATEGORI
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.promo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.promo-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.promo-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.promo-card:hover .promo-thumb img { transform: scale(1.06); }
.promo-thumb .badge { position: absolute; top: .8rem; left: .8rem; background: var(--red); color: #fff; }
.promo-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.promo-body h3 a { color: var(--ink); font-size: 1.08rem; }
.promo-body h3 a:hover { color: var(--red); }
.promo-meta { display: flex; flex-wrap: wrap; gap: .45rem; }
.meta-chip {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2);
  font-size: .74rem; font-weight: 600; padding: .22rem .6rem; border-radius: 7px;
}
.meta-chip b { color: var(--red); }
.promo-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.promo-more { font-weight: 700; font-size: .9rem; }
.promo-more::after { content: " →"; transition: margin .15s ease; }
.promo-more:hover::after { margin-left: .25rem; }

/* ============================================================
   KEUNGGULAN (icon grid) & CHECKLIST
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow); text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}
.adv-card:hover { transform: translateY(-4px); border-color: rgba(210, 18, 46, .35); }
.adv-ico {
  width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: linear-gradient(140deg, rgba(210, 18, 46, .1), rgba(255, 201, 77, .2));
  border: 1px solid rgba(210, 18, 46, .18);
}
.adv-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.adv-card p { color: var(--muted); font-size: .92rem; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.4rem; }
.check-item {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.05rem 1.15rem; box-shadow: 0 4px 14px rgba(21, 10, 16, .06);
}
.check-item .ci {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(140deg, var(--gold), var(--gold-2)); color: #3A2700;
  display: grid; place-items: center; font-weight: 900; font-size: 1rem;
  box-shadow: 0 4px 10px rgba(224, 164, 21, .35);
}
.check-item h3 { font-size: .99rem; margin-bottom: .25rem; }
.check-item p { color: var(--muted); font-size: .88rem; }

/* ============================================================
   SPLIT: MOBILE + METODE TRANSAKSI
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: center; }

.phone-mock {
  position: relative; width: min(270px, 78%); margin: 0 auto;
  border-radius: 34px; padding: 11px;
  background: linear-gradient(160deg, #2A1B24, #150A10);
  border: 1px solid rgba(255, 201, 77, .35);
  box-shadow: var(--shadow-lg), inset 0 1px 3px rgba(255, 255, 255, .15);
}
.phone-screen { border-radius: 24px; overflow: hidden; background: var(--dark-1); }
.phone-notch {
  width: 42%; height: 18px; margin: 0 auto 8px;
  background: #0c0609; border-radius: 0 0 12px 12px;
}
.phone-head { padding: .8rem 1rem .6rem; display: flex; align-items: center; justify-content: space-between; }
.phone-head .p-logo { font-weight: 900; color: #fff; font-size: .92rem; }
.phone-head .p-logo b { color: var(--gold); }
.phone-balance {
  margin: .3rem 1rem .8rem; border-radius: 12px; padding: .8rem 1rem;
  background: linear-gradient(135deg, rgba(210, 18, 46, .35), rgba(255, 201, 77, .16));
  border: 1px solid rgba(255, 201, 77, .3);
}
.phone-balance small { color: #CBBFC7; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.phone-balance div { color: var(--gold); font-weight: 800; font-size: 1.15rem; }
.phone-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; padding: 0 1rem 1rem; }
.pg {
  aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem;
  background: linear-gradient(150deg, #271821, #191017); border: 1px solid rgba(255, 255, 255, .09);
}
.phone-fab {
  margin: 0 1rem 1.1rem; border-radius: 10px; text-align: center; padding: .55rem;
  background: linear-gradient(135deg, #FFE59A, var(--gold-2)); color: #3A2700;
  font-weight: 800; font-size: .82rem;
}

.pay-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.3rem; }
.pay-pill {
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: .58rem .8rem; font-size: .86rem; font-weight: 700; color: var(--ink);
}
.pay-pill i { font-style: normal; width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.dot-red { background: var(--red); } .dot-blue { background: var(--blue); }
.dot-green { background: var(--green); } .dot-gold { background: var(--gold-2); }
.dot-black { background: var(--ink); }
.pay-note {
  margin-top: 1.1rem; font-size: .82rem; color: var(--muted);
  background: var(--blue-soft); border-left: 3px solid var(--blue);
  padding: .7rem .95rem; border-radius: 0 9px 9px 0;
}

/* ============================================================
   TESTIMONI
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column; gap: .8rem;
}
.testi-card .quote-mark {
  position: absolute; top: .6rem; right: 1.1rem; font-size: 3rem; line-height: 1;
  color: rgba(210, 18, 46, .12); font-family: Georgia, serif;
}
.testi-stars { color: var(--gold-2); font-size: .9rem; letter-spacing: .12em; }
.testi-card blockquote { color: var(--ink-2); font-size: .93rem; font-style: italic; flex: 1; }
.testi-who { display: flex; align-items: center; gap: .7rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .95rem;
}
.av-1 { background: linear-gradient(140deg, var(--red), var(--red-dark)); }
.av-2 { background: linear-gradient(140deg, var(--green), #0a7a3d); }
.av-3 { background: linear-gradient(140deg, var(--blue), #144fc0); }
.av-4 { background: linear-gradient(140deg, var(--gold-2), #a87c07); }
.av-5 { background: linear-gradient(140deg, #7c4dff, #5227cc); }
.av-6 { background: linear-gradient(140deg, #0fb5c9, #0a8a99); }
.testi-who b { display: block; font-size: .93rem; }
.testi-who small { color: var(--muted); font-size: .78rem; }
.testi-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 1.6rem; }

/* ============================================================
   ODDS LAB: KONVERTER ODDS & PELUANG (fitur khas Qqasia88)
   ============================================================ */
.tool-wrap {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.6rem; align-items: center;
  background: linear-gradient(150deg, var(--dark-2), #170C12);
  border: 1px solid rgba(255, 201, 77, .3); border-radius: 22px;
  padding: clamp(1.6rem, 3.5vw, 2.8rem); box-shadow: var(--shadow-lg);
}
.tool-form .field { margin-bottom: 1.05rem; }
.tool-form label {
  display: flex; justify-content: space-between; color: #D8CCD3;
  font-size: .88rem; font-weight: 700; margin-bottom: .4rem;
}
.tool-form label output { color: var(--gold); font-weight: 800; }
.tool-form input[type="number"], .tool-form select {
  width: 100%; padding: .72rem .9rem; border-radius: 10px; font-size: .95rem;
  border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  color: #fff; font-family: inherit; transition: border-color .15s ease;
}
.tool-form input:focus, .tool-form select:focus {
  outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .1);
}
.tool-out { display: grid; gap: .9rem; }
.out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.out-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: 1rem 1.2rem;
}
.out-card small { color: #ABA0A9; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.out-card strong { display: block; color: var(--gold); font-size: 1.5rem; font-weight: 900; line-height: 1.3; }
.out-card.green strong { color: #4ADE80; }
.out-card.blue strong { color: #7EB3FF; }
.out-card.red strong { color: #FF8FA3; }
.out-card.wide { grid-column: 1 / -1; }
.tool-note { font-size: .8rem; color: #ABA0A9; margin-top: 1rem; }

/* ============================================================
   KEAMANAN & PRIVASI (split + list)
   ============================================================ */
.sec-list { display: grid; gap: .95rem; margin-top: .4rem; }
.sec-list li {
  list-style: none; display: flex; gap: .8rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.05rem;
}
.sec-list li b { display: block; font-size: .95rem; }
.sec-list li p { color: var(--muted); font-size: .87rem; }
.sec-list .num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px;
  background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: .88rem;
  display: grid; place-items: center; margin-top: .15rem;
}
.shield-art {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); position: relative;
}
.shield-art img { width: 100%; height: 100%; object-fit: cover; }
.shield-art .float-note {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(21, 8, 14, .84); color: #fff; border-radius: 12px;
  padding: .8rem 1rem; font-size: .84rem; border: 1px solid rgba(255, 201, 77, .3);
}
.shield-art .float-note b { color: var(--gold); }

/* ============================================================
   ARTIKEL / PROSE
   ============================================================ */
.article-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.6rem; align-items: center; }
.article-feature figure { position: relative; }
.article-feature figure img { border-radius: 18px; box-shadow: var(--shadow-lg); }
figure figcaption { font-size: .8rem; color: var(--muted); margin-top: .55rem; }
.prose { font-size: 1.01rem; color: #372E36; }
.prose p { margin-bottom: 1.05rem; }
.prose h2 { margin: 1.9rem 0 .8rem; font-size: 1.5rem; }
.prose h3 { margin: 1.4rem 0 .6rem; font-size: 1.15rem; }
.prose ul, .prose ol { margin: .6rem 0 1.1rem; }
.prose li { margin-bottom: .45rem; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 14px; margin: 1.2rem 0; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  color: var(--muted); font-size: .84rem; margin-bottom: 1.1rem;
}
.article-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }

.info-box {
  border-radius: var(--radius-sm); padding: 1.05rem 1.25rem; margin: 1.3rem 0;
  font-size: .93rem; border: 1px solid; border-left-width: 4px;
}
.info-box b { display: block; margin-bottom: .25rem; }
.info-red { background: #FDEDEF; border-color: #F5B9C4; border-left-color: var(--red); color: #6B1020; }
.info-gold { background: var(--gold-soft); border-color: #EDD9A0; border-left-color: var(--gold-2); color: #6B5312; }
.info-green { background: var(--green-soft); border-color: #B9E5CB; border-left-color: var(--green); color: #0A5C2E; }
.info-blue { background: var(--blue-soft); border-color: #BBD4FA; border-left-color: var(--blue); color: #123E7E; }

.table-wrap { overflow-x: auto; margin: 1.2rem 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table.terms { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; background: #fff; }
table.terms th, table.terms td { padding: .72rem .95rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.terms th { background: var(--dark-1); color: var(--gold); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
table.terms tr:last-child td { border-bottom: 0; }
table.terms td b { color: var(--red); }

.steps { counter-reset: step; display: grid; gap: 1rem; margin: 1.4rem 0; }
.steps li {
  list-style: none; counter-increment: step; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem 1rem 3.6rem; box-shadow: 0 4px 12px rgba(21, 10, 16, .05);
}
.steps li::before {
  content: counter(step); position: absolute; left: .95rem; top: 1rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: linear-gradient(140deg, var(--red), var(--red-dark)); color: #fff;
  font-weight: 800; display: grid; place-items: center; font-size: .92rem;
}
.steps li b { display: block; margin-bottom: .2rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: .8rem; max-width: 880px; margin: 0 auto; }
details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(21, 10, 16, .05); overflow: hidden;
}
details.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: .8rem;
  padding: 1.02rem 1.2rem; font-weight: 700; font-size: .98rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; margin-left: auto; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-soft); color: #8a6300; font-weight: 900; display: grid; place-items: center;
  transition: transform .2s ease; font-size: 1.05rem;
}
details.faq[open] summary::after { content: "−"; transform: rotate(180deg); }
details.faq summary:hover { color: var(--red); }
details.faq .faq-a { padding: 0 1.25rem 1.1rem; color: var(--ink-2); font-size: .93rem; }
details.faq .faq-a a { font-weight: 600; }

/* ============================================================
   BREADCRUMB & PAGE HEAD (halaman dalam)
   ============================================================ */
.page-head {
  background: linear-gradient(rgba(21, 6, 14, .86), rgba(84, 7, 26, .9)),
              url("../img/hero.jpg") center 36% / cover no-repeat;
  color: #EFE9E4; padding: 2.2rem 0 2.6rem;
}
.breadcrumb { font-size: .82rem; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: .35rem; color: #B7ABB3; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 201, 77, .55); }
.breadcrumb a { color: #DCD3D9; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); font-weight: 600; }
.page-head h1 { color: #fff; margin-bottom: .6rem; }
.page-head .desc { max-width: 740px; color: #D6CCD3; font-size: 1rem; }
.page-head .badge { margin-bottom: .8rem; }

.page-body { padding: clamp(2.6rem, 5vw, 4rem) 0; }
.page-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.8rem; align-items: start; }
.page-cols > article, .page-cols > aside { min-width: 0; }
.aside-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.35rem; box-shadow: var(--shadow); margin-bottom: 1.4rem;
}
.aside-box h3 {
  font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red);
  margin-bottom: .9rem; padding-bottom: .55rem; border-bottom: 2px solid var(--gold);
}
.aside-box ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.aside-box ul a {
  display: flex; align-items: center; gap: .5rem; color: var(--ink); font-size: .9rem; font-weight: 600;
  padding: .45rem .6rem; border-radius: 8px; transition: background .15s ease;
}
.aside-box ul a:hover { background: var(--bg-soft); color: var(--red); }
.aside-box ul a::before { content: "›"; color: var(--gold-2); font-weight: 900; }
.aside-cta {
  background: linear-gradient(150deg, var(--dark-2), #170C12);
  border: 1px solid rgba(255, 201, 77, .35); color: #EFE9E4;
}
.aside-cta h3 { color: var(--gold); border-color: rgba(255, 201, 77, .3); }
.aside-cta p { font-size: .87rem; color: #CBBFC7; margin-bottom: 1rem; }
.aside-cta .btn { width: 100%; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.6rem; }
.related-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.05rem 1.1rem; box-shadow: 0 4px 12px rgba(21, 10, 16, .05);
  transition: transform .18s ease, border-color .18s ease;
}
.related-card:hover { transform: translateY(-3px); border-color: rgba(210, 18, 46, .3); }
.related-card .badge { margin-bottom: .5rem; }
.related-card b { display: block; font-size: .96rem; margin-bottom: .3rem; }
.related-card b a { color: var(--ink); }
.related-card b a:hover { color: var(--red); }
.related-card p { color: var(--muted); font-size: .84rem; }

/* ============================================================
   HALAMAN DAFTAR / LOGIN
   ============================================================ */
.auth-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}
.auth-form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: clamp(1.6rem, 3.5vw, 2.4rem);
}
.auth-form-card h1, .auth-form-card h2.form-title { font-size: 1.6rem; margin-bottom: .5rem; }
.auth-form-card > p { color: var(--muted); font-size: .93rem; margin-bottom: 1.5rem; }
.form-field { margin-bottom: 1.05rem; }
.form-field label { display: block; font-size: .86rem; font-weight: 700; margin-bottom: .4rem; }
.form-field input[type="text"], .form-field input[type="password"],
.form-field input[type="email"], .form-field input[type="tel"] {
  width: 100%; padding: .78rem .95rem; border-radius: 10px; font-size: .95rem;
  border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease; font-family: inherit;
}
.form-field input:focus {
  outline: none; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 3px rgba(210, 18, 46, .12);
}
.form-field .hint { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.form-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--ink-2); margin: 1.1rem 0 1.3rem; }
.form-check input { margin-top: .28rem; accent-color: var(--red); width: 16px; height: 16px; flex: 0 0 auto; }
.form-msg {
  display: none; margin-bottom: 1rem; padding: .7rem 1rem; border-radius: 9px;
  font-size: .86rem; background: #FDEDEF; color: #8E0A1E; border: 1px solid #F5B9C4;
}
.form-msg.show { display: block; }
.btn-block { width: 100%; padding: .95rem; font-size: 1rem; scroll-margin-bottom: 96px; }
.auth-side h1 { margin-bottom: 1rem; }
.auth-side .prose { font-size: .96rem; }
.auth-side img { border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.auth-alt { text-align: center; margin-top: 1.2rem; font-size: .88rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-1); color: #C9BDC5; font-size: .92rem;
  border-top: 3px solid var(--gold);
  padding: clamp(2.6rem, 5vw, 3.8rem) 0 5.6rem; /* ruang bawah agar float bar tidak menutupi tautan */
}
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap: 2.2rem; }
.footer-grid h3 {
  color: #fff; font-size: .95rem; letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 1rem; padding-bottom: .55rem; border-bottom: 2px solid rgba(255, 201, 77, .35);
}
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer-grid ul a { color: #C9BDC5; }
.footer-grid ul a:hover { color: var(--gold); }
.footer-about .brand-name { color: #fff; }
.footer-about p { margin: 1rem 0; font-size: .88rem; color: #ABA0A9; }
.footer-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--red);
  color: #FF7A92; font-weight: 900; font-size: .9rem; background: rgba(210, 18, 46, .12);
  margin-bottom: .9rem;
}
.footer-legal { font-size: .8rem; color: #8F8390; }
.footer-pay { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .6rem; }
.footer-pay span {
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 7px; padding: .25rem .6rem;
  font-size: .74rem; font-weight: 700; color: #D8CCD3; background: rgba(255, 255, 255, .04);
}
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center;
  font-size: .8rem; color: #8F8390;
}
.footer-bottom .f-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: #ABA0A9; }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   FLOAT CTA BAR (gaya mesin slot + koin)
   ============================================================ */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  background: linear-gradient(180deg, #20121A, #12080E);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -10px 34px rgba(0, 0, 0, .45);
  padding: .5rem max(.8rem, env(safe-area-inset-left)) calc(.5rem + env(safe-area-inset-bottom));
}
.float-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.slot-reels { display: flex; gap: .3rem; align-items: center; }
.reel {
  width: 30px; height: 34px; border-radius: 8px; overflow: hidden; position: relative;
  background: #0D060A; border: 1px solid rgba(255, 201, 77, .5);
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, .6);
}
.reel-track {
  position: absolute; left: 0; right: 0; top: 0;
  animation: reelSpin 1.6s linear infinite;
  display: grid; place-items: center; font-size: 1.05rem; line-height: 34px;
}
.reel.r2 .reel-track { animation-duration: 2.1s; }
.reel.r3 .reel-track { animation-duration: 1.3s; }
@keyframes reelSpin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-136px); }
}
.reel-track span { height: 34px; display: block; text-align: center; }
.reel-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 201, 77, .22), transparent 30%, transparent 70%, rgba(255, 201, 77, .22));
}
.float-btns { display: flex; gap: .6rem; align-items: center; position: relative; }
.fbtn {
  position: relative; overflow: visible; font-weight: 900; letter-spacing: .05em;
  padding: .62rem 1.6rem; border-radius: 999px; font-size: .92rem;
}
.fbtn-daftar {
  background: linear-gradient(135deg, #FFE59A 0%, var(--gold) 45%, var(--gold-2) 100%);
  color: #3A2700; box-shadow: 0 0 0 2px rgba(255, 229, 154, .35), 0 6px 20px rgba(224, 164, 21, .55);
  animation: ctaPulse 1.8s ease-in-out infinite;
}
.fbtn-daftar::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 38px; left: -60px;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg); animation: shineSweep 2.6s ease-in-out infinite;
}
@keyframes shineSweep { 0%, 55% { left: -60px; } 100% { left: 130%; } }
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
.fbtn-login {
  background: linear-gradient(135deg, var(--red-2), var(--red-dark));
  color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 6px 18px rgba(210, 18, 46, .5);
}
.coin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #FFEDB0, var(--gold) 45%, var(--gold-2) 85%);
  box-shadow: 0 2px 6px rgba(224, 164, 21, .6);
  animation: coinRise 1.9s ease-out infinite; opacity: 0; pointer-events: none;
}
.coin.c1 { left: 18%; animation-delay: 0s; }
.coin.c2 { left: 48%; animation-delay: .55s; width: 11px; height: 11px; }
.coin.c3 { left: 78%; animation-delay: 1.1s; }
.coin.c4 { left: 32%; animation-delay: 1.5s; width: 10px; height: 10px; }
@keyframes coinRise {
  0% { transform: translateY(6px) scale(.5); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(-42px) scale(1); opacity: 0; }
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(21, 6, 14, .93); backdrop-filter: blur(6px);
  padding: 9vh 1rem 2rem; overflow-y: auto;
}
.search-overlay.open { display: block; }
.search-panel { max-width: 680px; margin: 0 auto; }
.search-input-wrap {
  display: flex; gap: .6rem; align-items: center;
  background: #fff; border-radius: 14px; padding: .5rem .5rem .5rem 1.1rem;
  box-shadow: var(--shadow-lg);
}
.search-input-wrap input {
  flex: 1; border: 0; outline: none; font-size: 1.05rem; padding: .6rem 0; font-family: inherit; color: var(--ink);
  min-width: 0;
}
.search-input-wrap .btn { flex: 0 0 auto; }
.search-hint { color: #ABA0A9; font-size: .82rem; margin: .9rem 0 .4rem; }
.search-results { display: grid; gap: .6rem; margin-top: 1rem; }
.search-result {
  display: block; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px; padding: .85rem 1.05rem; transition: background .15s ease;
}
.search-result:hover { background: rgba(255, 201, 77, .14); border-color: rgba(255, 201, 77, .4); }
.search-result b { display: block; color: #fff; font-size: .96rem; }
.search-result span { color: #BBAFB6; font-size: .83rem; }
.search-close {
  position: absolute; top: 1.4rem; right: 1.6rem; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; font-size: 1.3rem; line-height: 1;
}
.search-close:hover { background: var(--red); border-color: var(--red); }
.search-tags-cloud { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; justify-content: center; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .adv-grid { grid-template-columns: repeat(3, 1fr); }
  .page-cols { grid-template-columns: minmax(0, 1fr); }
  .aside-box { display: none; }
  .aside-box.aside-cta { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
    position: fixed; top: 0; right: 0; bottom: 0; width: 290px; z-index: 995;
    background: var(--dark-1); flex-direction: column; align-items: stretch;
    padding: 4.4rem 1.1rem 1.4rem; gap: .25rem;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .4);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; animation: drawerIn .28s ease both; }
  @keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }
  .main-nav a { padding: .85rem 1rem; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 8px; }
  .nav-toggle { display: grid; }
  .nav-close {
    display: grid; place-items: center;
    position: absolute; top: 1rem; right: 1.1rem; width: 40px; height: 40px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
    color: #fff; border-radius: 10px; font-size: 1.15rem;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-panel { max-width: 560px; }
  .split, .tool-wrap, .article-feature, .auth-wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn-outline { display: none; }
}

@media (max-width: 680px) {
  .grid-3, .grid-2, .adv-grid, .testi-grid, .checklist, .related-grid { grid-template-columns: 1fr; }
  .pay-list { grid-template-columns: repeat(2, 1fr); }
  .out-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .float-inner { gap: .55rem; }
  .slot-reels { display: none; }
  .fbtn { padding: .6rem 1.25rem; font-size: .95rem; }
  .float-btns { flex: 1; }
  .float-btns .fbtn { flex: 1; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .topbar span.hide-sm { display: none; }
  .header-main { gap: .45rem; }
  .brand { gap: .4rem; }
  .brand-chip { width: 34px; height: 34px; font-size: .8rem; border-radius: 9px; }
  .brand-name { font-size: 1.02rem; }
  .brand-name small { display: none; }
  .header-actions { gap: .4rem; }
  .header-actions .icon-btn { width: 36px; height: 36px; font-size: .92rem; }
  .header-actions .btn-gold { padding: .45rem .8rem; font-size: .78rem; }
  .steps li { padding-left: 3.3rem; }
}

@media (max-width: 400px) {
  .fbtn { padding: .55rem .9rem; font-size: .9rem; letter-spacing: 0; }
  .hero-cta { gap: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .float-cta, .site-header, .tagstrip, .search-overlay { display: none !important; }
  body { color: #000; }
  body::before { display: none; }
}
