/* ==========================================================================
   Indo777 — style.css (tema kasino: merah · putih · hijau · emas · biru · hitam)
   Seluruh komponen responsif; diuji 320px–1920px tanpa scroll horizontal.
   ========================================================================== */

:root {
  --red: #C8102E;
  --red-dark: #8E0E1F;
  --green: #0E9F5A;
  --green-dark: #0A5C38;
  --gold: #F5B301;
  --gold-2: #FFD65C;
  --gold-deep: #E8A200;
  --blue: #1663C7;
  --blue-dark: #0E4A99;
  --ink: #14141B;
  --ink-2: #1D1D26;
  --ink-3: #26262f;
  --paper: #FFFFFF;
  --paper-2: #F7F7FA;
  --line: #E7E7EE;
  --txt: #2B2B33;
  --muted: #6A6A75;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 27, .12);
  --shadow-lg: 0 18px 50px rgba(20, 20, 27, .22);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--txt);
  background: var(--paper);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

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

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }

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

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}
.container--narrow { max-width: 860px; }

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

/* ---------------------------------------------------------- badge 18+ */
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 20px; padding: 0 6px;
  border-radius: 6px; background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 900; letter-spacing: .5px;
}
.badge-18--big { min-width: 52px; height: 30px; font-size: 15px; border-radius: 8px; }

/* ---------------------------------------------------------- topbar */
.topbar { background: #0D0D12; color: #CFCFda; font-size: 13px; }
.topbar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap; padding-block: 7px; text-align: center;
}
.topbar__item--dot { color: #9a9aa6; }

/* ---------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 20, 27, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 179, 1, .25);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__text {
  font-size: 24px; font-weight: 900; color: #fff; letter-spacing: .3px;
}
.brand__text em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand:hover { text-decoration: none; }

.nav-main { margin-left: auto; }
.nav-main__list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.nav-main__link {
  display: inline-block; padding: 8px 12px; border-radius: 8px;
  color: #E8E8F0; font-weight: 600; font-size: 15px;
  white-space: nowrap;
}
.nav-main__link:hover { color: var(--gold-2); background: rgba(255, 255, 255, .07); text-decoration: none; }
.nav-main__link.is-active { color: var(--gold); }
.nav-main__link.is-active::after {
  content: ""; display: block; height: 3px; border-radius: 3px; margin-top: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-deep));
}
.nav-main__cta { display: flex; gap: 8px; padding: 8px 0 2px 12px; }

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

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, .08); color: #fff;
  border: 1px solid rgba(255, 255, 255, .14); cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, .16); }
.icon-btn--burger { display: none; }

/* ---------------------------------------------------------- tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px; border-radius: 12px;
  font-weight: 800; font-size: 15.5px; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 15px 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: var(--ink); box-shadow: 0 6px 18px rgba(232, 162, 0, .35);
}
.btn--red { background: linear-gradient(180deg, #E23A50, var(--red-dark)); color: #fff; box-shadow: 0 6px 18px rgba(200, 16, 46, .3); }
.btn--blue { background: linear-gradient(180deg, #2E7BE0, var(--blue-dark)); color: #fff; box-shadow: 0 6px 18px rgba(22, 99, 199, .28); }
.btn--green { background: linear-gradient(180deg, #17B96C, var(--green-dark)); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--paper { background: #fff; color: var(--green-dark); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }

/* ---------------------------------------------------------- searchbox overlay */
.searchbox {
  position: sticky; top: 66px; z-index: 45;
  background: var(--ink-2);
  border-bottom: 1px solid rgba(245, 179, 1, .3);
  box-shadow: var(--shadow);
}
.searchbox__inner { padding: 14px 0 16px; }
.searchbox__form {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 12px; padding: 6px 8px;
}
.searchbox__form svg { color: var(--muted); flex-shrink: 0; margin-left: 8px; }
.searchbox__form input {
  flex: 1; min-width: 0; border: 0; outline: 0;
  font-size: 16px; font-family: var(--font); padding: 8px 4px; background: transparent;
}
.searchbox__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 13.5px; color: #b9b9c6; }
.searchbox__tags a {
  color: var(--gold-2); background: rgba(245, 179, 1, .12);
  padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(245, 179, 1, .3);
}
.searchbox__tags a:hover { background: rgba(245, 179, 1, .25); text-decoration: none; }
.searchbox__results { margin-top: 10px; }

/* hasil pencarian (overlay & halaman) */
.sresult { background: #fff; border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; border: 1px solid var(--line); }
.sresult a { color: var(--ink); font-weight: 700; }
.sresult p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.sresult__cat {
  display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--green-dark); background: rgba(14, 159, 90, .12);
  border-radius: 6px; padding: 1px 8px; margin-bottom: 4px;
}
.sresult--empty { color: #ffd65c; font-size: 14.5px; }

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

/* ---------------------------------------------------------- hero */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(20, 20, 27, .96) 30%, rgba(20, 20, 27, .55) 60%, rgba(142, 14, 31, .45)),
    url("/assets/img/hero-casino.jpg") center 30% / cover no-repeat;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
  padding-block: clamp(48px, 7vw, 92px);
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  color: var(--gold-2); font-weight: 700; font-size: 14px;
  background: rgba(245, 179, 1, .1); border: 1px solid rgba(245, 179, 1, .35);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.hero h1 {
  color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  letter-spacing: -.3px; margin-bottom: 16px;
}
.hero__lead { color: #D6D6E2; font-size: clamp(15.5px, 1.6vw, 17.5px); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  list-style: none; padding: 0; margin: 0;
  color: #B9B9C6; font-size: 13.5px;
}
.hero__trust li { display: flex; align-items: center; gap: 7px; margin: 0; }
.hero__trust li::before {
  content: "✓"; color: var(--green); font-weight: 900; font-size: 14px;
}
.hero__fig {
  margin: 0; position: relative;
  border: 3px solid rgba(245, 179, 1, .55);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__fig img { width: 100%; height: 100%; object-fit: cover; }
.hero__figcap {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(13, 13, 18, .82); color: #fff;
  padding: 8px 14px; border-radius: 10px; font-size: 13.5px;
  border: 1px solid rgba(245, 179, 1, .35);
}

/* ---------------------------------------------------------- sections */
.section { padding-block: clamp(52px, 7vw, 88px); }
.section--soft { background: var(--paper-2); }
.section--dark { background: radial-gradient(1200px 500px at 15% 0%, #23232e 0%, var(--ink) 55%); }
.section--green-dark { background: radial-gradient(1100px 480px at 85% 0%, #0e7a49 0%, #084a2d 60%, #063823 100%); }
.section--green { background: linear-gradient(180deg, #0f8a50, var(--green-dark)); }
.section--tight { padding-block: clamp(24px, 4vw, 44px); }

.section-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.kicker {
  display: inline-block; color: var(--red); font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.4px; font-size: 12.5px;
  margin-bottom: 10px;
}
.kicker--gold { color: var(--gold); }
.section-head h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
.section-lead { color: var(--muted); font-size: 16.5px; }
.section--green .section-lead, .section--green-dark .section-lead { color: rgba(255, 255, 255, .85); }
.section--green .kicker, .section--green-dark .kicker { color: var(--gold-2); }

/* ---------------------------------------------------------- langkah 4 */
.steps-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step;
}
.step-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px 22px;
  box-shadow: 0 4px 14px rgba(20, 20, 27, .06);
}
.step-card__num {
  position: absolute; top: -14px; left: 20px;
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  color: #fff; font-weight: 900; font-size: 16px;
  box-shadow: 0 6px 14px rgba(200, 16, 46, .35);
}
.step-card__icon { font-size: 34px; display: block; margin-bottom: 10px; }
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.step-card__link { font-weight: 700; font-size: 14px; color: var(--red); }
.step-card__link::after { content: " →"; }

/* ---------------------------------------------------------- feat cards */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feat-card {
  background: #fff; border-radius: var(--radius);
  padding: 24px 22px; border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(20, 20, 27, .05);
}
.feat-card--border { border-top: 4px solid var(--blue); border-radius: 12px 12px var(--radius) var(--radius); }
.feat-card__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; font-size: 26px; margin-bottom: 14px;
}
.feat-card__icon--red { background: rgba(200, 16, 46, .12); }
.feat-card__icon--green { background: rgba(14, 159, 90, .12); }
.feat-card__icon--blue { background: rgba(22, 99, 199, .12); }
.feat-card__icon--gold { background: rgba(245, 179, 1, .18); }
.feat-card h3 { font-size: 16.5px; }
.feat-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------- why + teaser */
.why-grid {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.why-copy h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.95rem); }
.why-copy > p { color: #C9C9D6; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li {
  position: relative; padding-left: 34px; margin-bottom: 12px;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(14, 159, 90, .15); color: var(--green);
  font-weight: 900; font-size: 13px;
}
.check-list--onDark li::before { background: rgba(245, 179, 1, .2); color: var(--gold-2); }
.check-list strong { color: inherit; }

.promo-teaser {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(245, 179, 1, .3);
  border-radius: var(--radius); padding: 20px;
}
.promo-teaser__title { color: var(--gold-2); font-size: 17px; }
.promo-teaser__item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px; margin-bottom: 8px;
  background: rgba(13, 13, 18, .5); border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .09);
}
.promo-teaser__item:hover { border-color: var(--gold); text-decoration: none; }
.promo-teaser__item strong { color: var(--gold-2); font-size: 16.5px; }
.promo-teaser__item span { color: #D6D6E2; font-size: 13.5px; }

/* ---------------------------------------------------------- mobile split */
.mobile-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.mobile-fig {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  max-width: 480px;
}
.mobile-fig img { width: 100%; object-fit: cover; }
.mobile-copy h2 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); }

/* ---------------------------------------------------------- testimoni */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card {
  margin: 0; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); padding: 24px;
  box-shadow: 0 4px 14px rgba(20, 20, 27, .05);
  display: flex; flex-direction: column; gap: 14px;
}
.testi-card blockquote {
  margin: 0; font-size: 15px; color: var(--txt);
  flex: 1;
}
.testi-card blockquote::before { content: "“"; color: var(--gold-deep); font-size: 30px; font-weight: 900; line-height: 0; margin-right: 4px; }
.testi-card figcaption {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--muted); font-weight: 600;
}
.testi-card__ava {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: var(--ink); font-weight: 900;
}

/* ---------------------------------------------------------- kalkulator */
.calc-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.calc-copy h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.95rem); }
.calc-copy > p { color: rgba(255, 255, 255, .88); }
.calc-copy .check-list li { color: rgba(255, 255, 255, .92); }
.calc-panel {
  background: rgba(13, 13, 18, .45);
  border: 1px solid rgba(245, 179, 1, .35);
  border-radius: var(--radius); padding: 24px;
  backdrop-filter: blur(4px);
}
.calc-form .field { margin-bottom: 16px; }
.calc-result {
  margin-top: 18px; padding: 18px; border-radius: 12px;
  background: rgba(245, 179, 1, .12); border: 1px dashed rgba(245, 179, 1, .55);
  text-align: center;
}
.calc-result__label { color: var(--gold-2); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; margin-bottom: 4px; }
.calc-result__value { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; margin: 0 0 6px; }
.calc-result__note { color: rgba(255, 255, 255, .8); font-size: 13.5px; margin: 0; }
.calc-footnote { color: rgba(255, 255, 255, .55); font-size: 12.5px; margin: 14px 0 0; text-align: center; }

/* form umum */
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15.5px; font-family: var(--font);
  background: #fff; color: var(--txt);
}
.calc-form input, .calc-form select { background: #fff; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(245, 179, 1, .25);
}
.field-hint { color: var(--muted); font-size: 12.5px; margin: 5px 0 0; }

/* ---------------------------------------------------------- responsible band */
.resp-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.resp-copy h2 { color: #fff; font-size: clamp(1.35rem, 2.3vw, 1.9rem); }
.resp-copy p { color: rgba(255, 255, 255, .9); }
.resp-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.resp-card {
  background: rgba(13, 13, 18, .35); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 16px;
}
.resp-card span { font-size: 26px; display: block; margin-bottom: 6px; }
.resp-card strong { color: #fff; display: block; margin-bottom: 4px; font-size: 15px; }
.resp-card p { color: rgba(255, 255, 255, .78); font-size: 13px; margin: 0; }

/* ---------------------------------------------------------- FAQ */
.faq-cat { font-size: 19px; margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 3px solid rgba(245, 179, 1, .5); display: inline-block; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: 13px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 16px 54px 16px 18px; font-weight: 700; font-size: 15.5px;
  position: relative; color: var(--ink);
}
.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; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(200, 16, 46, .1); color: var(--red);
  font-weight: 900; font-size: 17px;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-item[open] summary { color: var(--red); }
.faq-item__body { padding: 0 18px 16px; color: var(--txt); }
.faq-item__body p { margin: 0; font-size: 15px; }

/* ---------------------------------------------------------- tagcloud */
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tagcloud__tag {
  display: inline-block; padding: 7px 15px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  color: var(--txt); font-weight: 600;
}
.tagcloud__tag:hover { border-color: var(--gold-deep); color: var(--red); text-decoration: none; box-shadow: 0 4px 12px rgba(232, 162, 0, .2); }
.tagcloud__tag--lv5 { font-size: 16.5px; font-weight: 800; color: var(--red-dark); }
.tagcloud__tag--lv4 { font-size: 15.5px; }
.tagcloud__tag--lv3 { font-size: 14px; color: var(--muted); }
.tagcloud__tag--lv2 { font-size: 13px; color: var(--muted); }

.home-search {
  display: flex; gap: 8px; max-width: 560px; margin: 26px auto 0;
}
.home-search input {
  flex: 1; min-width: 0; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15.5px; font-family: var(--font);
}
.home-search input:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(245, 179, 1, .22); }

/* ---------------------------------------------------------- CTA banner */
.cta-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background:
    radial-gradient(600px 300px at 90% 20%, rgba(255, 214, 92, .25), transparent 60%),
    linear-gradient(120deg, var(--red-dark), var(--red));
  border-radius: var(--radius); padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 16px 40px rgba(142, 14, 31, .35);
}
.cta-banner h2 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin-bottom: 6px; }
.cta-banner p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 46ch; }
.cta-banner__actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

.center-link { text-align: center; margin-top: 30px; }

/* ---------------------------------------------------------- artikel */
.article-head {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(245, 179, 1, .16), transparent 60%),
    linear-gradient(150deg, var(--ink) 40%, var(--ink-3));
  padding: clamp(34px, 5vw, 58px) 0 clamp(26px, 4vw, 40px);
  margin-bottom: clamp(22px, 3vw, 34px);
}
.article-head--compact { background: radial-gradient(700px 300px at 85% 0%, rgba(245, 179, 1, .16), transparent 60%), linear-gradient(150deg, var(--ink) 40%, var(--ink-3)); }
.article-head--hub { background: radial-gradient(700px 320px at 12% 0%, rgba(14, 159, 90, .28), transparent 55%), linear-gradient(150deg, var(--ink) 45%, var(--ink-3)); }
.article-head--green { background: radial-gradient(700px 320px at 85% 0%, rgba(255, 214, 92, .2), transparent 55%), linear-gradient(150deg, var(--green-dark), #063823); }
.article-head__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-2); font-weight: 700; font-size: 13.5px;
  background: rgba(245, 179, 1, .1); border: 1px solid rgba(245, 179, 1, .35);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 14px;
}
.article-head h1 {
  color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -.2px; margin-bottom: 10px;
}
.article-head__meta { color: #A9A9B8; font-size: 13.5px; margin: 0; }
.article-head .btn { margin-top: 18px; }

.article-fig {
  margin: 0 0 26px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.article-fig img { width: 100%; object-fit: cover; max-height: 480px; }

.prose { font-size: 16.5px; }
.prose h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin: 1.6em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { line-height: 1.75; }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(22, 99, 199, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose em { font-style: italic; }

.info-box {
  background: rgba(22, 99, 199, .07);
  border: 1px solid rgba(22, 99, 199, .25);
  border-left: 5px solid var(--blue);
  border-radius: 12px; padding: 16px 18px; margin: 1.4em 0;
}
.info-box p { margin: 0; font-size: 15px; }
.info-box--warn {
  background: rgba(200, 16, 46, .06);
  border-color: rgba(200, 16, 46, .25);
  border-left-color: var(--red);
}
.info-box--info {
  background: rgba(14, 159, 90, .07);
  border-color: rgba(14, 159, 90, .3);
  border-left-color: var(--green);
}

.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: 12px;
  margin: 1.4em 0;
}
.table-wrap table {
  width: 100%; min-width: 560px; border-collapse: collapse;
  background: #fff; font-size: 14.5px;
}
.table-wrap th, .table-wrap td {
  padding: 12px 16px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.table-wrap th[scope="row"] {
  width: 38%; background: var(--paper-2);
  color: var(--ink); font-weight: 700;
}
.table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0; }

.cta-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  margin: 34px 0 8px; padding: 22px 26px;
  background: linear-gradient(120deg, #23232e, var(--ink));
  border: 1px solid rgba(245, 179, 1, .4);
  border-radius: var(--radius);
}
.cta-inline p { margin: 0; color: #fff; font-weight: 700; font-size: 16.5px; }

.related { margin-top: 38px; }
.related h2 { font-size: 1.25rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 13px; padding: 16px 18px;
  color: var(--ink); font-size: 13.5px;
}
.related-card:hover { border-color: var(--gold-deep); text-decoration: none; box-shadow: 0 6px 18px rgba(232, 162, 0, .15); }
.related-card strong { color: var(--red-dark); font-size: 15px; }
.related-card span { color: var(--muted); }

/* ---------------------------------------------------------- promo cards */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0; }
.promo-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(20, 20, 27, .07);
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.promo-card__img { display: block; position: relative; }
.promo-card__img img { width: 100%; height: 200px; object-fit: cover; }
.promo-card__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 13, 18, .55));
}
.promo-card--gold { border-top: 4px solid var(--gold); }
.promo-card--green { border-top: 4px solid var(--green); }
.promo-card--blue { border-top: 4px solid var(--blue); }
.promo-card--red { border-top: 4px solid var(--red); }
.promo-card__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.promo-card__title { font-size: 17px; }
.promo-card__value {
  align-self: flex-start;
  font-weight: 900; font-size: 15px; color: var(--ink);
  background: rgba(245, 179, 1, .18);
  border: 1px solid rgba(232, 162, 0, .4);
  padding: 3px 12px; border-radius: 999px;
}
.promo-card__desc { color: var(--muted); font-size: 14px; }
.promo-card__meta { color: var(--red-dark); font-size: 12.5px; font-weight: 700; }

/* ---------------------------------------------------------- auth */
.auth-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 48px);
  align-items: start; padding-bottom: 40px;
}
.auth-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.auth-form h2 { margin-bottom: 6px; }
.auth-form__lead { color: var(--muted); font-size: 14.5px; }
.auth-form .field { margin-bottom: 14px; }
.auth-form .checkbox { margin: 14px 0; }
.auth-form__alt { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.auth-form__status {
  margin: 12px 0 0; font-weight: 700; font-size: 14.5px;
  color: var(--green-dark); min-height: 20px;
}
.checkbox {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--txt); cursor: pointer;
}
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.auth-aside h2 { font-size: 18px; }
.auth-aside h3 { font-size: 16px; margin-top: 22px; }
.auth-aside .info-box { margin-bottom: 0; }
.mini-list li { margin-bottom: 8px; font-size: 14.5px; }

/* ---------------------------------------------------------- kontak */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px);
  padding-bottom: 40px; align-items: start;
}
.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.contact-card img { width: 100%; height: 240px; object-fit: cover; }
.contact-card__body { padding: 24px; }
.contact-card h2 { font-size: 20px; }
.contact-mail { font-size: 16.5px; font-weight: 700; }
.contact-mail a { color: var(--red-dark); }
.contact-aside h2 { font-size: 18px; }
.contact-aside h3 { font-size: 15.5px; margin-top: 22px; }

/* ---------------------------------------------------------- halaman cari */
.searchpage { padding-bottom: 44px; }
.searchpage__form {
  display: flex; gap: 8px;
  background: #fff; border: 2px solid var(--line);
  border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow);
}
.searchpage__form:focus-within { border-color: var(--gold-deep); }
.searchpage__form input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 8px 12px;
  font-size: 16px; font-family: var(--font);
}
.searchpage__results { margin-top: 18px; }
.searchpage__hint { color: var(--muted); }
.searchpage__tags { margin-top: 34px; }
.searchpage__tags h2 { font-size: 18px; text-align: center; }
.searchpage__tags .tagcloud { margin-top: 16px; }

/* ---------------------------------------------------------- footer */
.site-footer {
  background:
    radial-gradient(900px 380px at 90% 0%, rgba(200, 16, 46, .25), transparent 60%),
    #0D0D12;
  color: #B9B9C6;
  padding: clamp(40px, 6vw, 64px) 0 26px;
  margin-top: clamp(40px, 6vw, 72px);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-col h3 {
  color: var(--gold-2); font-size: 14.5px; text-transform: uppercase;
  letter-spacing: 1.2px; margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #D6D6E2; font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-2); }
.footer-col--brand p { font-size: 14px; color: #A9A9B8; }
.brand--footer .brand__text { font-size: 21px; }
.footer-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-badges__tag {
  font-size: 12.5px; font-weight: 700; color: #fff;
  background: rgba(200, 16, 46, .35); border: 1px solid rgba(200, 16, 46, .6);
  padding: 4px 12px; border-radius: 999px;
}
.footer-badges__tag--green {
  background: rgba(14, 159, 90, .25); border-color: rgba(14, 159, 90, .6);
}
.footer-legal { padding-top: 22px; font-size: 12.8px; color: #8f8f9c; }
.footer-legal p { margin-bottom: 10px; }
.footer-legal a { color: var(--gold-2); }

/* ---------------------------------------------------------- floating CTA (mesin slot) */
.float-cta {
  position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 80;
  display: flex; align-items: center; gap: 10px;
  width: min(100% - 20px, 560px);
  padding: 9px 12px;
  background: linear-gradient(180deg, #26262f, #0D0D12);
  border: 2px solid var(--gold-deep);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.float-cta__reels {
  display: flex; gap: 4px; flex-shrink: 0;
  padding: 4px; border-radius: 10px;
  background: #101016; border: 1px solid rgba(245, 179, 1, .4);
}
.reel {
  width: 26px; height: 34px; overflow: hidden;
  border-radius: 6px; background: #1c1c25;
  display: flex; flex-direction: column;
}
.reel span {
  height: 34px; display: grid; place-items: center;
  font-size: 17px; line-height: 1;
  animation: reelSpin 1.5s steps(5) infinite;
}
.reel--delay span { animation-duration: 1.9s; animation-delay: .2s; }
.reel--delay2 span { animation-duration: 2.3s; animation-delay: .45s; }
@keyframes reelSpin {
  from { transform: translateY(0); }
  to { transform: translateY(-170px); }
}

.float-cta__btn {
  position: relative; overflow: hidden;
  flex: 1; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 10px; border-radius: 12px;
  font-weight: 900; font-size: 15.5px; letter-spacing: .8px;
  text-transform: uppercase;
}
.float-cta__btn--daftar {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 5px 16px rgba(232, 162, 0, .45);
  animation: pulseGold 2.2s ease-in-out infinite;
}
.float-cta__btn--masuk {
  background: linear-gradient(180deg, #E23A50, var(--red-dark));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
}
.float-cta__btn:hover { text-decoration: none; filter: brightness(1.08); }
.float-cta__btn--daftar::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%;
  width: 45%; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: shine 2.6s ease-in-out infinite;
}
@keyframes shine {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 5px 16px rgba(232, 162, 0, .45); }
  50% { box-shadow: 0 5px 26px rgba(255, 214, 92, .75); }
}

.float-cta__coin {
  position: absolute; bottom: 10px;
  width: 16px; height: 16px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #FFE9A8 0%, #F5B301 45%, #B57A00 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
  opacity: 0; pointer-events: none;
  animation: coinUp 2.8s ease-out infinite;
}
.float-cta__coin--1 { left: 18%; animation-delay: .2s; }
.float-cta__coin--2 { left: 38%; animation-delay: 1.3s; width: 12px; height: 12px; }
.float-cta__coin--3 { left: 56%; animation-delay: 2s; width: 10px; height: 10px; }
@keyframes coinUp {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  18% { opacity: 1; }
  70% { transform: translateY(-74px) scale(1); opacity: .9; }
  100% { transform: translateY(-96px) scale(.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reel span, .float-cta__coin, .float-cta__btn--daftar, .float-cta__btn--daftar::after {
    animation: none;
  }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------- responsif */
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
}

@media (max-width: 920px) {
  .icon-btn--burger { display: inline-flex; }
  .nav-main {
    display: none; /* tertutup: keluar dari layout agar tak memicu overflow */
    position: fixed; inset: 0 0 0 auto;
    width: min(320px, 86vw);
    background: var(--ink-2);
    padding: 84px 22px 26px;
    overflow-y: auto;
    z-index: 60;
    margin-left: 0;
    box-shadow: -18px 0 40px rgba(0, 0, 0, .4);
  }
  body.nav-open .nav-main {
    display: block;
    animation: drawerIn .25s ease;
  }
  @keyframes drawerIn {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: none; opacity: 1; }
  }
  .nav-main::before {
    content: "Menu"; position: absolute; top: 26px; left: 22px;
    color: var(--gold-2); font-weight: 800; letter-spacing: 1px; font-size: 13px;
    text-transform: uppercase;
  }
  .nav-main__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-main__link { display: block; padding: 12px 14px; font-size: 16px; }
  .nav-main__link.is-active::after { display: none; }
  .nav-main__link.is-active { background: rgba(245, 179, 1, .14); }
  .nav-main__cta { padding: 14px 0 0; }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0;
    background: rgba(13, 13, 18, .6); z-index: 55;
  }
  .header-actions__daftar { display: inline-flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__fig { max-width: 560px; }
  .why-grid, .calc-grid, .resp-grid, .auth-grid, .contact-grid, .mobile-grid {
    grid-template-columns: 1fr;
  }
  .mobile-fig { max-width: 100%; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .feat-grid, .testi-grid, .related-grid, .promo-grid, .resp-cards {
    grid-template-columns: 1fr;
  }

  .header-actions__daftar { display: none; }
  .brand__text { font-size: 21px; }
  .header-inner { gap: 10px; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .cta-banner__actions { width: 100%; }
  .cta-banner__actions .btn { flex: 1; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .topbar__item--dot { display: none; }
  .home-search { flex-direction: column; }
  .home-search .btn { width: 100%; }

  .float-cta { gap: 8px; padding: 8px 10px; border-radius: 16px; }
  .float-cta__reels { padding: 3px; gap: 3px; }
  .reel { width: 20px; height: 28px; }
  .reel span { height: 28px; font-size: 14px; }
  .reel span { animation-name: reelSpinSm; }
  .float-cta__btn { font-size: 14px; padding: 11px 6px; letter-spacing: .4px; }
  .searchbox { top: 60px; }
}

@keyframes reelSpinSm {
  from { transform: translateY(0); }
  to { transform: translateY(-140px); }
}
