/*
Theme Name: Untung88 Info
Theme URI: https://untung88.games
Author: Untung88
Description: Tema statis bergaya WordPress untuk situs informasi & panduan hiburan judi online Untung88 (Bahasa Indonesia). Prerendered static build - Googlebot tidak perlu mengeksekusi JS untuk membaca konten.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: untung88
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  --c-black: #101613;
  --c-ink: #0a231a;
  --c-ink-2: #0f2f22;
  --c-ink-3: #143d2c;
  --c-green: #14854b;
  --c-green-deep: #0c5c34;
  --c-green-bright: #22b06c;
  --c-gold: #ffc233;
  --c-gold-2: #e09a12;
  --c-gold-soft: #fff3d3;
  --c-red: #d92d20;
  --c-red-deep: #a51c13;
  --c-red-soft: #fdeae7;
  --c-blue: #1d6ef5;
  --c-blue-deep: #0f4cbb;
  --c-blue-soft: #e8f0fe;
  --c-white: #ffffff;
  --c-paper: #f6f8f4;
  --c-cream: #fffdf6;
  --c-line: #e2e8e0;
  --c-text: #1f2937;
  --c-muted: #556361;
  --c-muted-2: #8a9793;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 35, 26, 0.10);
  --shadow-lg: 0 18px 48px rgba(10, 35, 26, 0.22);
  --header-h: 68px;
  --floatbar-h: 74px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-paper);
  overflow-x: hidden;
  padding-bottom: calc(var(--floatbar-h) + 12px); /* ruang floatbar, tanpa area kosong berlebih */
}

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

a { color: var(--c-green-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 { line-height: 1.3; color: var(--c-ink); margin: 0 0 .6em; font-weight: 800; }

p { margin: 0 0 1em; }

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

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }

.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;
}

/* =========================================================
   3. TOPBAR & HEADER
   ========================================================= */
.topbar {
  background: var(--c-ink);
  color: #cfe6d8;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 14px;
  letter-spacing: .1px;
  border-bottom: 1px solid rgba(255, 194, 51, .25);
}
.topbar strong { color: var(--c-gold); }

.site-header {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 14px rgba(10, 35, 26, .06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.logo-coin {
  width: 42px; height: 42px;
  animation: coin-spin 7s linear infinite;
}
@keyframes coin-spin {
  0%, 68% { transform: rotateY(0deg); }
  80%, 100% { transform: rotateY(360deg); }
}

.brand-text {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: .3px;
  color: var(--c-ink);
  line-height: 1.05;
  display: inline-block;
}
.brand-text em {
  font-style: normal;
  color: var(--c-green);
  background: linear-gradient(180deg, #ffd968, var(--c-gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  display: block;
  font-size: 10.5px;
  color: var(--c-muted);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0;
}
.main-navigation a {
  display: block;
  padding: 9px 13px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c-text);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.main-navigation a:hover { background: var(--c-paper); color: var(--c-green-deep); }
.main-navigation .current-menu-item a {
  background: var(--c-ink);
  color: var(--c-gold);
}

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

.search-toggle, .nav-toggle {
  background: none;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  cursor: pointer;
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: border-color .2s;
}
.search-toggle:hover, .nav-toggle:hover { border-color: var(--c-green); }

.nav-toggle { display: none; flex-direction: column; gap: 4.5px; justify-content: center; }
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.header-search {
  display: none;
  border-top: 1px solid var(--c-line);
  background: var(--c-cream);
  padding: 12px 0;
}
.header-search.is-open { display: block; }
.header-search form {
  display: flex;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto;
}
.header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14.5px;
  background: var(--c-white);
}
.header-search input[type="search"]:focus { outline: 2px solid var(--c-green); border-color: transparent; }

/* =========================================================
   4. BUTTONS & BADGES
   ========================================================= */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none !important;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--gold {
  background: linear-gradient(180deg, #ffd968 0%, var(--c-gold) 45%, var(--c-gold-2) 100%);
  color: #4a3202;
  box-shadow: 0 4px 16px rgba(224, 154, 18, .45), inset 0 1px 0 rgba(255,255,255,.55);
}
.btn--gold:hover { box-shadow: 0 7px 22px rgba(224, 154, 18, .55), inset 0 1px 0 rgba(255,255,255,.55); }

.btn--red {
  background: linear-gradient(180deg, #ef4444, var(--c-red) 60%, var(--c-red-deep));
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(217, 45, 32, .4);
}
.btn--red:hover { box-shadow: 0 7px 22px rgba(217, 45, 32, .5); }

.btn--green {
  background: linear-gradient(180deg, #27b877, var(--c-green) 65%, var(--c-green-deep));
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(20, 133, 75, .4);
}
.btn--green:hover { box-shadow: 0 7px 22px rgba(20, 133, 75, .5); }

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn--ghost:hover { background: var(--c-ink); color: var(--c-gold); }

.btn--outline {
  background: var(--c-white);
  color: var(--c-green-deep);
  border-color: var(--c-green);
}
.btn--outline:hover { background: var(--c-green); color: var(--c-white); }

.btn--sm { padding: 8px 16px; font-size: 13.5px; }
.btn--lg { padding: 15px 30px; font-size: 16.5px; }
.btn--block { display: block; width: 100%; }

.badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
}
.badge--red { background: var(--c-red); color: var(--c-white); }
.badge--gold { background: var(--c-gold); color: #4a3202; }
.badge--green { background: var(--c-green); color: var(--c-white); }
.badge--blue { background: var(--c-blue); color: var(--c-white); }

/* =========================================================
   5. BREADCRUMB
   ========================================================= */
.breadcrumb {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  font-size: 13px;
  padding: 10px 0;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.breadcrumb li + li::before {
  content: "›";
  color: var(--c-muted-2);
  margin-right: 6px;
  font-weight: 700;
}
.breadcrumb a { color: var(--c-muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--c-green-deep); }
.breadcrumb span[aria-current="page"] { color: var(--c-ink); font-weight: 700; }

/* =========================================================
   6. HERO (BERANDA)
   ========================================================= */
.hero {
  position: relative;
  color: #e9f5ee;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(34, 176, 108, .35), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(255, 194, 51, .18), transparent 55%),
    linear-gradient(160deg, var(--c-ink) 0%, var(--c-ink-2) 55%, var(--c-ink-3) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 34px;
  align-items: center;
  padding: 54px 18px 58px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 194, 51, .14);
  border: 1px solid rgba(255, 194, 51, .45);
  color: var(--c-gold);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 {
  color: var(--c-white);
  font-size: clamp(30px, 4.6vw, 46px);
  margin-bottom: 14px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, #ffe08a, var(--c-gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  font-size: clamp(15.5px, 1.9vw, 18px);
  color: #c9dfD4;
  max-width: 56ch;
  margin-bottom: 22px;
}
.hero__lead strong { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero__note {
  font-size: 12.5px;
  color: #9fc0ae;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.hero__badges span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #dcefe3;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.16);
  width: 100%;
  object-fit: cover;
}
.hero__media .chip-float {
  position: absolute;
  background: rgba(10, 35, 26, .88);
  border: 1px solid rgba(255, 194, 51, .5);
  color: #f3fbe7;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.chip-float--a { top: 14px; left: -6px; animation: floaty 4.5s ease-in-out infinite; }
.chip-float--b { bottom: 18px; right: -4px; animation: floaty 5.2s ease-in-out .8s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* =========================================================
   7. SECTIONS & CARDS (BERANDA)
   ========================================================= */
.section { padding: 52px 0; }
.section--alt { background: var(--c-white); }
.section--dark {
  background:
    radial-gradient(800px 300px at 100% 0%, rgba(34, 176, 108, .22), transparent 55%),
    linear-gradient(165deg, var(--c-ink), var(--c-ink-2));
  color: #d7e9de;
}
.section--dark h2, .section--dark h3 { color: var(--c-white); }
.section--gold { background: linear-gradient(180deg, #fff8e4, var(--c-gold-soft)); }

.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-head h2 { font-size: clamp(23px, 3vw, 32px); }
.section-head p { color: var(--c-muted); font-size: 15.5px; margin-bottom: 0; }
.section--dark .section-head p { color: #a8c7b6; }
.section-head .kicker {
  display: inline-block;
  color: var(--c-green-deep);
  background: rgba(20, 133, 75, .12);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section--gold .section-head .kicker { color: var(--c-gold-2); background: rgba(224,154,18,.16); }
.section--dark .section-head .kicker { color: var(--c-gold); background: rgba(255,194,51,.14); }

/* --- langkah pemula --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-card::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 44px;
  font-weight: 900;
  color: rgba(20, 133, 75, .10);
  line-height: 1;
}
.step-card .step-ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(160deg, var(--c-green-bright), var(--c-green-deep));
  color: #fff;
  border-radius: 13px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(20, 133, 75, .35);
}
.step-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--c-muted); margin-bottom: 10px; }
.step-card a { font-size: 13.5px; font-weight: 700; }

/* --- kartu promosi --- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.promo-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo-card > a { display: block; }
.promo-card img { width: 100%; height: 200px; object-fit: cover; }
.promo-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.promo-card__body h2 { font-size: 18.5px; margin: 0; }
.promo-card__body h2 a { color: var(--c-ink); }
.promo-card__body h2 a:hover { color: var(--c-green-deep); }
.promo-card__body p { font-size: 14px; color: var(--c-muted); margin: 0; }
.promo-card__terms { display: flex; flex-wrap: wrap; gap: 6px; }
.promo-card__terms span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-green-deep);
  background: rgba(20, 133, 75, .10);
  border: 1px solid rgba(20, 133, 75, .25);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* --- keunggulan --- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: background .2s, transform .2s;
}
.feat-card:hover { background: rgba(255,255,255,.10); transform: translateY(-3px); }
.feat-card .f-ico {
  font-size: 24px;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(255,194,51,.9), rgba(224,154,18,.85));
  border-radius: 13px;
  margin-bottom: 13px;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.feat-card h3 { font-size: 16.5px; color: #fff; margin-bottom: 7px; }
.feat-card p { font-size: 13.8px; color: #b9d3c4; margin: 0; }

/* --- pembayaran --- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pay-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-green);
  border-radius: var(--radius-sm);
  padding: 16px 16px 13px;
}
.pay-card:nth-child(2) { border-left-color: var(--c-blue); }
.pay-card:nth-child(3) { border-left-color: var(--c-gold-2); }
.pay-card:nth-child(4) { border-left-color: var(--c-red); }
.pay-card h3 { font-size: 15px; margin-bottom: 5px; }
.pay-card p { font-size: 13px; color: var(--c-muted); margin: 0 0 8px; }
.pay-card .pay-meta { font-size: 12px; font-weight: 700; color: var(--c-green-deep); }

.pay-note {
  margin-top: 18px;
  background: var(--c-blue-soft);
  border: 1px solid rgba(29, 110, 245, .3);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 13.5px;
  color: var(--c-blue-deep);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.pay-note b { display: block; }

/* --- testimoni --- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}
.quote-card::before {
  content: "“";
  position: absolute;
  top: 2px;
  right: 14px;
  font-size: 58px;
  font-weight: 900;
  color: rgba(20, 133, 75, .14);
  line-height: 1;
}
.quote-card .q-stars { color: var(--c-gold-2); font-size: 13.5px; letter-spacing: 2px; margin-bottom: 9px; }
.quote-card p { font-size: 14px; color: var(--c-text); margin-bottom: 12px; }
.quote-card .q-who { display: flex; align-items: center; gap: 10px; }
.quote-card .q-ava {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(160deg, var(--c-green-bright), var(--c-green-deep));
  flex-shrink: 0;
}
.quote-card .q-who b { display: block; font-size: 13.5px; color: var(--c-ink); line-height: 1.25; }
.quote-card .q-who span { font-size: 12px; color: var(--c-muted); }
.quote-note { text-align: center; font-size: 12.5px; color: var(--c-muted); margin: 16px 0 0; }

/* --- tag cloud --- */
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tagcloud a {
  display: inline-block;
  background: var(--c-white);
  border: 1.5px solid var(--c-line);
  color: var(--c-text);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: all .18s;
}
.tagcloud a:hover {
  border-color: var(--c-green);
  background: var(--c-green);
  color: var(--c-white);
  transform: translateY(-2px);
}
.tagcloud a.tagcloud--lg { font-size: 16px; padding: 10px 20px; color: var(--c-green-deep); border-color: rgba(20,133,75,.4); }

/* --- kalkulator batas hiburan --- */
.calc-card {
  max-width: 880px;
  margin: 0 auto;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}
.calc-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #cde5d6;
  margin: 0 0 6px;
}
.calc-form .field { margin-bottom: 14px; }
.calc-form input[type="number"] {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.28);
  color: #fff;
  font: inherit;
  font-size: 15px;
}
.calc-form input[type="number"]:focus { outline: 2px solid var(--c-gold); border-color: transparent; }
.calc-out {
  background: rgba(0,0,0,.30);
  border: 1px dashed rgba(255,194,51,.45);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.calc-out .co-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.calc-out .co-row span { color: #b9d3c4; }
.calc-out .co-row b { color: #fff; font-size: 15px; text-align: right; }
.calc-out .co-row b.rp { color: var(--c-gold); font-size: 17px; }
.calc-out .co-note { font-size: 12px; color: #9fc0ae; border-top: 1px solid rgba(255,255,255,.14); padding-top: 10px; margin: 2px 0 0; }

/* --- keamanan (beranda) --- */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.sec-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.sec-card .s-ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 21px;
  background: var(--c-blue-soft);
  border: 1px solid rgba(29,110,245,.3);
  border-radius: 12px;
}
.sec-card h3 { font-size: 15.5px; margin-bottom: 5px; }
.sec-card p { font-size: 13.5px; color: var(--c-muted); margin: 0; }

/* --- tanggung jawab (beranda) --- */
.rg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.rg-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
}
.rg-card .rg-ico { font-size: 26px; display: block; margin-bottom: 9px; }
.rg-card b { display: block; color: #fff; font-size: 14.5px; margin-bottom: 5px; }
.rg-card span { font-size: 12.8px; color: #b9d3c4; display: block; }
.rg-cta { text-align: center; margin-top: 22px; }

/* =========================================================
   8. FAQ
   ========================================================= */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 52px 16px 18px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--c-ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 50%;
  font-weight: 800;
  color: var(--c-green-deep);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--c-green-deep); }
.faq-item .faq-a {
  padding: 0 18px 16px;
  font-size: 14.5px;
  color: var(--c-muted);
}
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* =========================================================
   9. ARTIKEL / HALAMAN KATEGORI
   ========================================================= */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  padding: 34px 18px 54px;
  align-items: start;
}

.entry {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 30px 32px 26px;
  min-width: 0;
}
.entry-header { border-bottom: 1px dashed var(--c-line); padding-bottom: 16px; margin-bottom: 20px; }
.entry-header h1 { font-size: clamp(24px, 3.2vw, 33px); margin-bottom: 10px; }
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  font-size: 12.5px;
  color: var(--c-muted);
}
.entry-meta span { background: var(--c-paper); padding: 3px 11px; border-radius: 999px; font-weight: 600; }

.entry-content { font-size: 15.6px; }
.entry-content h2 {
  font-size: 21.5px;
  margin: 1.55em 0 .55em;
  padding-left: 12px;
  border-left: 4px solid var(--c-gold);
}
.entry-content h3 { font-size: 17.5px; margin: 1.3em 0 .5em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content figure { margin: 1.4em 0; }
.entry-content figure img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
}
.entry-content figcaption {
  font-size: 12.5px;
  color: var(--c-muted-2);
  text-align: center;
  margin-top: 7px;
}
.entry-content ul li, .entry-content ol li { margin-bottom: .5em; }
.entry-content table { margin: 1.2em 0; }

.table-scroll { overflow-x: auto; margin: 1.2em 0; border-radius: var(--radius-sm); border: 1px solid var(--c-line); }
.table-scroll table { border-collapse: collapse; width: 100%; margin: 0; font-size: 14px; min-width: 560px; }
.table-scroll th {
  background: var(--c-ink);
  color: var(--c-gold);
  text-align: left;
  padding: 11px 13px;
  font-size: 13px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.table-scroll td { padding: 10px 13px; border-top: 1px solid var(--c-line); vertical-align: top; }
.table-scroll tbody tr:nth-child(even) { background: var(--c-paper); }

.notice-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 15px 17px;
  margin: 1.3em 0;
  font-size: 14.3px;
}
.notice-box .notice-ico { font-size: 21px; line-height: 1.3; }
.notice-box p { margin: 0; }
.notice-box--info { background: var(--c-blue-soft); border: 1px solid rgba(29,110,245,.3); color: #143a80; }
.notice-box--warn { background: var(--c-gold-soft); border: 1px solid rgba(224,154,18,.4); color: #6b4c07; }
.notice-box--danger { background: var(--c-red-soft); border: 1px solid rgba(217,45,32,.3); color: #7a1d15; }
.notice-box--green { background: rgba(20,133,75,.08); border: 1px solid rgba(20,133,75,.3); color: var(--c-green-deep); }

.article-cta {
  margin-top: 26px;
  background: linear-gradient(150deg, var(--c-ink), var(--c-ink-3));
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.article-cta p { margin: 0; color: #cde5d6; font-size: 14px; }
.article-cta b { color: #fff; display: block; font-size: 16.5px; margin-bottom: 3px; }
.article-cta .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 14px); display: flex; flex-direction: column; gap: 16px; }
.widget {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.widget h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--c-ink);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-gold);
  margin-bottom: 12px;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { margin-bottom: 9px; }
.widget li a { font-size: 14px; font-weight: 600; }
.widget-cta { margin-top: 8px; }

/* kartu artikel terkait */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.post-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { width: 100%; height: 172px; object-fit: cover; }
.post-card__body { padding: 15px 17px 17px; }
.post-card__meta {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--c-green-deep);
}
.post-card__body h3 { font-size: 16px; margin: 7px 0 8px; }
.post-card__body h3 a { color: var(--c-ink); }
.post-card__body h3 a:hover { color: var(--c-green-deep); }
.post-card__body p { font-size: 13.3px; color: var(--c-muted); margin: 0; }

/* =========================================================
   10. HALAMAN PROMO LANDING
   ========================================================= */
.promo-hero {
  position: relative;
  color: #ecf7f0;
  background:
    radial-gradient(760px 320px at 88% -20%, rgba(34,176,108,.4), transparent 60%),
    linear-gradient(155deg, var(--c-ink), var(--c-ink-2) 70%, var(--c-ink-3));
  overflow: hidden;
}
.promo-hero .container { position: relative; padding-top: 44px; padding-bottom: 46px; }
.promo-hero .badge { margin-bottom: 13px; }
.promo-hero h1 { color: var(--c-white); font-size: clamp(26px, 3.8vw, 38px); max-width: 21ch; }
.promo-hero p { color: #c9dfd3; max-width: 62ch; font-size: 15.8px; }
.promo-hero .promo-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.promo-hero .promo-hero__stats span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
}
.promo-hero .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.terms-box {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.terms-box h3 { font-size: 16px; margin-bottom: 12px; }

/* =========================================================
   11. HALAMAN DAFTAR / MASUK
   ========================================================= */
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 46px 18px 56px;
  max-width: 1040px;
  margin: 0 auto;
}
.auth-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.auth-media .auth-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.auth-media .auth-badges span {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  color: var(--c-muted);
}
.auth-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-top: 5px solid var(--c-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 30px 30px 26px;
}
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .auth-sub { font-size: 14px; color: var(--c-muted); margin-bottom: 20px; }
.auth-field { margin-bottom: 15px; }
.auth-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.auth-field label small { color: var(--c-muted-2); font-weight: 600; }
.auth-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  background: var(--c-cream);
}
.auth-field input:focus { outline: 2px solid var(--c-green); border-color: transparent; background: #fff; }
.auth-check { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--c-muted); margin-bottom: 17px; }
.auth-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--c-green); flex-shrink: 0; }
.auth-check a { font-weight: 700; }
.auth-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-muted-2);
  font-size: 12.5px;
  margin: 18px 0;
}
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; border-top: 1px solid var(--c-line); }
.auth-alt { text-align: center; font-size: 14px; color: var(--c-muted); }
.auth-alt a { font-weight: 800; }
.auth-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--c-muted-2);
  background: var(--c-paper);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
}

/* =========================================================
   12. PENCARIAN & 404
   ========================================================= */
.search-page { max-width: 860px; margin: 0 auto; padding: 40px 18px 60px; }
.search-bar-big { display: flex; gap: 10px; margin: 20px 0 26px; }
.search-bar-big input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 2px solid var(--c-line);
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  background: var(--c-white);
}
.search-bar-big input:focus { outline: 2px solid var(--c-green); border-color: transparent; }
.search-result {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 17px 20px;
  margin-bottom: 12px;
}
.search-result .sr-meta { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--c-green-deep); }
.search-result h2 { font-size: 17.5px; margin: 5px 0 6px; }
.search-result h2 a { color: var(--c-ink); }
.search-result h2 a:hover { color: var(--c-green-deep); }
.search-result p { font-size: 13.8px; color: var(--c-muted); margin: 0; }
.search-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--c-muted);
  background: var(--c-white);
  border: 1px dashed var(--c-line);
  border-radius: var(--radius);
}
.search-empty b { color: var(--c-ink); display: block; font-size: 18px; margin-bottom: 6px; }

.notfound { max-width: 640px; margin: 0 auto; text-align: center; padding: 70px 18px 80px; }
.notfound .nf-code { font-size: 86px; font-weight: 900; line-height: 1; color: var(--c-green); }
.notfound h1 { font-size: 26px; margin: 12px 0; }
.notfound p { color: var(--c-muted); margin-bottom: 22px; }
.notfound .nf-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   13. FOOTER
   ========================================================= */
.site-footer {
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(34,176,108,.16), transparent 55%),
    linear-gradient(180deg, var(--c-ink), #071812);
  color: #b7d2c2;
  padding: 46px 0 24px;
  margin-top: 0;
}
.footer-widgets {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand-text { color: #fff; font-size: 22px; }
.widget-col p { font-size: 13.5px; color: #9fc0ae; }
.widget-col h3 {
  color: var(--c-gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.widget-col ul { list-style: none; padding: 0; margin: 0; }
.widget-col li { margin-bottom: 9px; }
.widget-col a { color: #cfe6d8; font-size: 13.8px; font-weight: 600; text-decoration: none; }
.widget-col a:hover { color: var(--c-gold); text-decoration: underline; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fb {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  color: #dcefe3;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
.footer-legal { padding-top: 22px; }
.footer-legal p {
  font-size: 12.3px;
  line-height: 1.75;
  color: #8fae9d;
  text-align: justify;
}
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 12.5px;
  color: #9fc0ae;
}

/* =========================================================
   14. FLOATBAR (SLOT STYLE)
   ========================================================= */
.floatbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 950;
  background: linear-gradient(180deg, rgba(10,35,26,.97), rgba(7,24,18,.99));
  border-top: 2px solid var(--c-gold);
  box-shadow: 0 -8px 26px rgba(0,0,0,.38);
  padding: 9px 0 10px;
}
.floatbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.floatbar__reels {
  display: flex;
  gap: 5px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.reel {
  width: 34px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #10321f, #0a2015);
  border: 1.5px solid rgba(255,194,51,.4);
  flex-shrink: 0;
}
.reel__strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 17px;
  line-height: 36px;
  animation: reel-spin 2.6s cubic-bezier(.45,.05,.55,.95) infinite;
}
@keyframes reel-spin {
  0% { transform: translateY(0); }
  18% { transform: translateY(-216px); }
  36% { transform: translateY(-108px); }
  58% { transform: translateY(-252px); }
  78% { transform: translateY(-180px); }
  100% { transform: translateY(0); }
}
.floatbar__coins { position: relative; width: 0; flex-shrink: 0; }
.coin {
  position: absolute;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--c-gold) 55%, #b97c07);
  box-shadow: 0 2px 5px rgba(0,0,0,.4);
  opacity: 0;
  animation: coin-pop 2.8s ease-in infinite;
}
.coin--1 { left: -20px; top: -12px; animation-delay: 0s; }
.coin--2 { left: 6px; top: -20px; animation-delay: .5s; }
.coin--3 { left: -30px; top: -4px; animation-delay: 1s; }
.coin--4 { left: -2px; top: -2px; animation-delay: 1.6s; }
.coin--5 { left: -16px; top: -24px; animation-delay: 2.1s; }
@keyframes coin-pop {
  0% { transform: translateY(6px) scale(.4); opacity: 0; }
  22% { opacity: 1; }
  60% { transform: translateY(-16px) scale(1); opacity: 1; }
  100% { transform: translateY(-30px) scale(.75); opacity: 0; }
}
.floatbar__cta {
  flex-shrink: 0;
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 1.2px;
  text-decoration: none !important;
  background: linear-gradient(180deg, #ffd968, var(--c-gold) 48%, #cf8505);
  color: #3d2900;
  border: 1.5px solid #fff3c4;
  box-shadow: 0 0 0 0 rgba(255,194,51,.55), 0 4px 14px rgba(0,0,0,.45);
  animation: cta-glow 2.1s infinite;
}
.floatbar__cta--alt {
  background: linear-gradient(180deg, #2cb878, var(--c-green) 55%, var(--c-green-deep));
  color: #fff;
  border-color: rgba(255,255,255,.4);
  animation-delay: 1s;
}
@keyframes cta-glow {
  0% { box-shadow: 0 0 0 0 rgba(255,194,51,.5), 0 4px 14px rgba(0,0,0,.45); }
  70% { box-shadow: 0 0 0 13px rgba(255,194,51,0), 0 4px 14px rgba(0,0,0,.45); }
  100% { box-shadow: 0 0 0 0 rgba(255,194,51,0), 0 4px 14px rgba(0,0,0,.45); }
}

/* =========================================================
   15. REVEAL ANIMASI
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, html.no-js .reveal { opacity: 1; transform: none; }

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

/* =========================================================
   16. RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 46px; }
  .hero__media { max-width: 560px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .rg-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-card { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; max-width: 620px; }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }

  .main-navigation {
    position: fixed;
    top: calc(var(--header-h) + 30px);
    left: 0; right: 0;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 890;
    max-height: calc(100vh - var(--header-h) - 30px);
    overflow-y: auto;
  }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 0; padding: 10px 14px 14px; }
  .main-navigation a { border-radius: var(--radius-sm); padding: 13px 16px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-actions .btn--sm { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.4px; }
  .steps-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .rg-grid { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; gap: 22px; }
  .entry { padding: 22px 18px 20px; }
  .entry-content { font-size: 15px; }
  .hero__cta .btn { width: 100%; }
  .promo-hero .btn-row .btn { width: 100%; }
  .article-cta .btns { width: 100%; }
  .article-cta .btns .btn { flex: 1; }

  /* floatbar versi ringkas: reel 2, tombol penuh */
  .floatbar__inner { gap: 10px; }
  .floatbar__reels .reel:nth-child(3) { display: none; }
  .reel { width: 28px; height: 32px; }
  .reel__strip { font-size: 14px; line-height: 32px; }
  .floatbar__cta { flex: 1; text-align: center; padding: 12px 10px; font-size: 15px; letter-spacing: .8px; }
  .floatbar__coins { display: none; }
  .chip-float--a { left: 6px; }
  .chip-float--b { right: 6px; }
  .search-bar-big { flex-direction: column; }
  .search-bar-big .btn { width: 100%; }
  .brand-tag { display: none; }
}

@media (max-width: 380px) {
  .floatbar__cta { padding: 11px 6px; font-size: 14px; }
  .brand-text { font-size: 21px; }
  .topbar { font-size: 11px; }
}

@media print {
  .floatbar, .site-header, .topbar, .floatbar__coins { display: none !important; }
  body { padding-bottom: 0; }
}
