/* ============================================================
   Starscasino — starscasino.app
   Tema: wp-content/themes/starscasino/assets/css/main.css
   Palet: merah · putih · hijau · kuning · biru · hitam
   ============================================================ */
:root {
  --ink: #0d1017;
  --ink-2: #141a26;
  --ink-3: #1b2334;
  --paper: #ffffff;
  --cloud: #f5f6fa;
  --red: #e2322e;
  --red-d: #b3231f;
  --gold: #f5c451;
  --gold-d: #c99a2e;
  --green: #24b062;
  --green-d: #1a8f4e;
  --blue: #2f6fed;
  --blue-l: #eaf1ff;
  --txt: #212631;
  --mut: #646e7f;
  --line: #e5e8ef;
  --shadow: 0 10px 30px rgba(13, 16, 23, .10);
  --radius: 14px;
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { overflow-x: clip; scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--txt);
  background: var(--paper);
  overflow-x: clip;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.28;
  margin: 0 0 .55em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(1.65rem, 4vw, 2.5rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); font-weight: 700; }

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

.section { padding: 58px 0; }
.section--cloud { background: var(--cloud); }
.section--dark { background: linear-gradient(160deg, var(--ink) 0%, #1a1020 100%); color: #e8eaf1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow--red   { background: #fdeaea; color: var(--red-d); }
.eyebrow--green { background: #e5f7ec; color: var(--green-d); }
.eyebrow--blue  { background: var(--blue-l); color: #1d54b8; }
.eyebrow--gold  { background: #fdf3dc; color: #8a6a14; }
.eyebrow--onDark { background: rgba(245, 196, 81, .16); color: var(--gold); }

.section-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-head p { color: var(--mut); margin: 0; }
.section--dark .section-head p { color: #aeb6c8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn--green {
  background: linear-gradient(180deg, #2ecc71 0%, var(--green-d) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(36, 176, 98, .35);
}
.btn--green:hover { box-shadow: 0 8px 24px rgba(36, 176, 98, .5); }

.btn--gold {
  background: linear-gradient(180deg, #ffd970 0%, var(--gold-d) 100%);
  color: #3a2b05;
  box-shadow: 0 6px 18px rgba(245, 196, 81, .4);
}
.btn--gold:hover { box-shadow: 0 8px 26px rgba(245, 196, 81, .55); }

.btn--red {
  background: linear-gradient(180deg, #f04a3f 0%, var(--red-d) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(226, 50, 46, .35);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--ghost:hover { background: rgba(245, 196, 81, .12); }

.btn--outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(13, 16, 23, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 196, 81, .25);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.brand__star {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--red) 100%);
  display: grid; place-items: center;
  color: #fff; font-size: 1.15rem;
  box-shadow: 0 0 0 2px rgba(245, 196, 81, .35);
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.22rem;
  color: #fff;
  letter-spacing: .02em;
}
.brand__name span { color: var(--gold); }
.brand__tag {
  display: block;
  font-size: .62rem;
  letter-spacing: .22em;
  color: #93a0b8;
  text-transform: uppercase;
  font-weight: 600;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  display: block;
  padding: 9px 13px;
  border-radius: 9px;
  color: #cdd5e3;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none !important;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.main-nav .is-active a {
  color: var(--gold);
  background: rgba(245, 196, 81, .12);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 18px; font-size: .85rem; }
.icon-search {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  color: #dfe5ef;
  font-size: 1.05rem;
  cursor: pointer;
  display: grid; place-items: center;
}
.icon-search:hover { border-color: var(--gold); color: var(--gold); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(226, 50, 46, .35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(47, 111, 237, .25), transparent 55%),
    linear-gradient(165deg, #0d1017 0%, #171328 55%, #1d0f1a 100%);
  color: #eef0f6;
  padding: 66px 0 70px;
  overflow: hidden;
}
.hero::after {
  content: "★ ★ ★ ★ ★";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  text-align: center;
  letter-spacing: 3.5em;
  color: rgba(245, 196, 81, .14);
  font-size: .8rem;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .hl { color: var(--gold); }
.hero__lead { color: #b9c1d2; font-size: 1.05rem; max-width: 560px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 600;
  color: #e7ebf3;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 13px;
  border-radius: 999px;
}
.badge--18 {
  background: rgba(226, 50, 46, .2);
  border-color: rgba(226, 50, 46, .55);
  color: #ffb3ae;
  font-weight: 800;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__img {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  border: 1px solid rgba(245, 196, 81, .35);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(245, 196, 81, .18), transparent 45%);
  pointer-events: none;
}
.hero__img-cap {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(13, 16, 23, .82);
  color: #f4d98b;
  font-size: .74rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(245, 196, 81, .4);
}

/* ---------- Tag cloud (hot search) ---------- */
.tagcloud { background: var(--ink-2); padding: 26px 0; border-top: 1px solid rgba(245, 196, 81, .2); }
.tagcloud__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.tagcloud__label {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-right: 6px;
}
.tag {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: #dfe5f0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  cursor: pointer;
  text-decoration: none !important;
  transition: all .18s ease;
}
.tag:hover {
  background: rgba(245, 196, 81, .16);
  border-color: var(--gold);
  color: var(--gold);
}
.tag--hot { border-color: rgba(226, 50, 46, .6); color: #ffb0ab; }
.tag--hot:hover { background: rgba(226, 50, 46, .18); border-color: var(--red); color: #ff9d97; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow);
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 4px;
  border-radius: 0 0 6px 6px;
}
.step--1::before { background: linear-gradient(90deg, var(--red), #f2706b); }
.step--2::before { background: linear-gradient(90deg, var(--gold), #ffd98c); }
.step--3::before { background: linear-gradient(90deg, var(--green), #6fd9a0); }
.step--4::before { background: linear-gradient(90deg, var(--blue), #7ea5f5); }
.step__num {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  font-size: 1.15rem;
}
.step--1 .step__num { background: var(--red); }
.step--2 .step__num { background: var(--gold-d); }
.step--3 .step__num { background: var(--green); }
.step--4 .step__num { background: var(--blue); }
.step p { color: var(--mut); font-size: .95rem; margin: 0; }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.hl-card { border-top: 4px solid var(--line); }
.hl-card--red { border-top-color: var(--red); }
.hl-card--green { border-top-color: var(--green); }
.hl-card--blue { border-top-color: var(--blue); }
.hl-card--gold { border-top-color: var(--gold); }

.icon-chip {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.icon-chip--red   { background: #fdeaea; }
.icon-chip--green { background: #e5f7ec; }
.icon-chip--blue  { background: var(--blue-l); }
.icon-chip--gold  { background: #fdf3dc; }
.icon-chip--ink   { background: #eceef4; }

/* Category cards */
.cat-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(13, 16, 23, .16); }
.cat-card__img { aspect-ratio: 16 / 9; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__body { padding: 20px 22px 24px; }
.cat-card__body h3 { color: var(--ink); margin-bottom: 8px; }
.cat-card__body p { color: var(--mut); font-size: .93rem; margin: 0 0 14px; }
.cat-card__more {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
}
.cat-card--red .cat-card__more { color: var(--red); }
.cat-card--green .cat-card__more { color: var(--green-d); }
.cat-card--blue .cat-card__more { color: var(--blue); }
.cat-card--gold .cat-card__more { color: var(--gold-d); }
.cat-card--red   .cat-card__img { border-bottom: 4px solid var(--red); }
.cat-card--green .cat-card__img { border-bottom: 4px solid var(--green); }
.cat-card--blue  .cat-card__img { border-bottom: 4px solid var(--blue); }
.cat-card--gold  .cat-card__img { border-bottom: 4px solid var(--gold); }

/* Auth entry cards */
.auth-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.auth-card__bar {
  padding: 18px 26px;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  font-size: 1.12rem;
  display: flex; align-items: center; gap: 10px;
}
.auth-card__bar--green { background: linear-gradient(120deg, var(--green-d), #35c97c); }
.auth-card__bar--ink   { background: linear-gradient(120deg, var(--ink-2), #2a3247); }
.auth-card__body { padding: 24px 26px 28px; }
.auth-card__body ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.auth-card__body li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: .95rem;
}
.auth-card__body li::before {
  content: "✔";
  position: absolute; left: 0; top: 0;
  color: var(--green-d);
  font-weight: 700;
}

/* Testimonials */
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testi__stars { color: var(--gold-d); letter-spacing: 3px; font-size: .95rem; }
.testi__quote {
  font-size: .97rem;
  color: #3a4150;
  margin: 0;
  flex: 1;
}
.testi__who { display: flex; align-items: center; gap: 12px; }
.testi__ava {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.testi__ava--red   { background: linear-gradient(135deg, #f2706b, var(--red-d)); }
.testi__ava--blue  { background: linear-gradient(135deg, #7ea5f5, #1d54b8); }
.testi__ava--green { background: linear-gradient(135deg, #6fd9a0, var(--green-d)); }
.testi__name { font-weight: 700; font-size: .92rem; color: var(--ink); }
.testi__city { font-size: .8rem; color: var(--mut); }
.testi-note { text-align: center; font-size: .8rem; color: var(--mut); margin-top: 20px; }

/* Mobile section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 13px;
}
.checklist li::before {
  content: "✔";
  position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: #e5f7ec;
  color: var(--green-d);
  display: grid; place-items: center;
  font-size: .8rem;
  font-weight: 800;
}
.checklist--gold li::before { background: #fdf3dc; color: var(--gold-d); }
.checklist--blue li::before { background: var(--blue-l); color: #1d54b8; }
.checklist--red li::before  { background: #fdeaea; color: var(--red-d); }

/* ---------- Calculator ---------- */
.calc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; }
.calc__form { padding: 30px; }
.calc__result {
  background: linear-gradient(160deg, var(--ink) 0%, #1c2436 100%);
  color: #e9ecf3;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input, .field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fbfcfe;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--txt);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .14);
}
.calc__out {
  background: rgba(245, 196, 81, .1);
  border: 1px dashed rgba(245, 196, 81, .45);
  border-radius: 12px;
  padding: 14px 18px;
}
.calc__out-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
}
.calc__out-label { font-size: .82rem; color: #aeb6c8; }
.calc-note { font-size: .78rem; color: #8b93a5; margin: 0; }

/* ---------- Notices ---------- */
.notice {
  border-radius: 12px;
  padding: 18px 20px;
  margin: 22px 0;
  font-size: .95rem;
  border: 1px solid;
}
.notice--info {
  background: var(--blue-l);
  border-color: #c6d9fb;
  color: #1d3d77;
}
.notice--warn {
  background: #fdf6e4;
  border-color: #f0dcae;
  color: #6d5410;
}
.notice--risk {
  background: #fdefef;
  border-color: #f3c2c0;
  color: #7c1d1a;
}
.notice p:last-child { margin-bottom: 0; }
.notice b { font-weight: 700; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar { background: var(--cloud); border-bottom: 1px solid var(--line); padding: 12px 0; }
.breadcrumb { font-size: .84rem; color: var(--mut); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--mut); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb .sep { color: #b6bdcb; }
.breadcrumb .cur { color: var(--ink); font-weight: 600; }

/* ---------- Article layout ---------- */
.article-head { padding: 46px 0 8px; }
.article-wrap { max-width: 800px; margin: 0 auto; }
.article-head__meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  color: var(--mut);
  font-size: .85rem;
  margin-bottom: 10px;
}
.article-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-featured {
  margin: 26px 0 10px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-featured img { width: 100%; }
.article-featured figcaption {
  font-size: .78rem;
  color: var(--mut);
  padding: 10px 4px 0;
  text-align: center;
}
.entry-content { max-width: 800px; margin: 0 auto; font-size: 1.03rem; }
.entry-content h2 {
  margin-top: 1.9em;
  padding-left: 14px;
  border-left: 5px solid var(--gold);
}
.entry-content h3 { margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: 9px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .93rem; }
.entry-content th {
  background: var(--ink-2);
  color: #fff;
  text-align: left;
  padding: 11px 14px;
  font-family: var(--font-head);
  font-size: .85rem;
}
.entry-content td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content tr:nth-child(even) td { background: #f8f9fc; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; border-radius: 10px; border: 1px solid var(--line); }
.table-scroll table { margin: 0; }
.table-scroll th:first-child { border-radius: 0; }

.keybox {
  background: linear-gradient(160deg, #fffdf5, #fdf6e4);
  border: 1px solid #f0dcae;
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 26px 0;
}
.keybox h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: #6d5410;
  border-left: none;
  padding-left: 0;
}
.keybox ul { margin: 0; padding-left: 1.3em; }
.keybox li { margin-bottom: 8px; }

/* Related links */
.related { padding: 46px 0; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rel-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(13, 16, 23, .06);
  transition: transform .16s ease, border-color .16s ease;
}
.rel-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.rel-card h4 { margin: 0 0 6px; font-size: 1rem; color: var(--ink); }
.rel-card p { margin: 0; font-size: .86rem; color: var(--mut); }
.rel-card__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
}
.rel-card__tag--red   { background: #fdeaea; color: var(--red-d); }
.rel-card__tag--green { background: #e5f7ec; color: var(--green-d); }
.rel-card__tag--blue  { background: var(--blue-l); color: #1d54b8; }
.rel-card__tag--gold  { background: #fdf3dc; color: #8a6a14; }

/* CTA strip */
.cta-strip {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(36, 176, 98, .25), transparent 60%),
    linear-gradient(150deg, #101522 0%, #1c1320 100%);
  color: #eef0f6;
  padding: 46px 0;
  text-align: center;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #aeb6c8; max-width: 620px; margin: 0 auto 22px; }
.cta-strip__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(13, 16, 23, .05);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  transition: background .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #f8f9fc; }
.faq-item summary .faq-ico {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fdf3dc;
  color: var(--gold-d);
  display: grid; place-items: center;
  font-weight: 800;
  transition: transform .2s ease;
}
.faq-item[open] summary .faq-ico { transform: rotate(45deg); background: var(--gold); color: #3a2b05; }
.faq-item__body { padding: 0 20px 18px 62px; color: #3a4150; font-size: .95rem; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- Forms (daftar/masuk) ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.form-card h2 { margin-top: 0; }
.form-card .field input[type="checkbox"] { width: auto; }
.form-note { font-size: .8rem; color: var(--mut); }
.form-submit-note { margin-top: 14px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 18px; }
.checkbox-row input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--green); flex-shrink: 0; }
.checkbox-row label { font-size: .87rem; color: #3a4150; line-height: 1.55; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #9aa3b5;
  padding: 54px 0 0;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 38px;
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: .95rem;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #9aa3b5; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); text-decoration: underline; }
.footer-brand p { margin-top: 14px; font-size: .86rem; line-height: 1.7; }
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.badge-18 {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: #ff8f89;
  font-weight: 800;
  font-size: .8rem;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 20px 0 26px;
  font-size: .8rem;
  color: #7d8698;
}
.footer-legal p { margin: 0 0 10px; }
.footer-legal p:last-child { margin-bottom: 0; }

/* ---------- Floating CTA (slot style) ---------- */
.float-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: linear-gradient(180deg, rgba(13, 16, 23, .92), rgba(10, 8, 14, .98));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, .45);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
}
.float-cta__inner {
  display: flex;
  align-items: center;
  gap: 18px;
}
.float-cta__reels {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.reel {
  width: 40px; height: 44px;
  border-radius: 9px;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: #fff;
  position: relative;
}
.reel__strip {
  position: absolute;
  left: 0; right: 0; top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 22px;
  line-height: 44px;
  animation: reelspin 2.1s linear infinite;
}
.reel--1 .reel__strip { animation-duration: 2.1s; }
.reel--2 .reel__strip { animation-duration: 2.7s; animation-delay: .2s; }
.reel--3 .reel__strip { animation-duration: 3.4s; animation-delay: .35s; }
.reel__strip span { height: 44px; }
@keyframes reelspin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-220px); }
}
.float-cta__coins { position: relative; flex: 1; min-width: 0; height: 48px; }
.float-cta__coin {
  position: absolute;
  font-size: 17px;
  opacity: .85;
  animation: coinup 3.2s ease-in infinite;
}
.float-cta__coin--1 { left: 8%;  bottom: 0; animation-delay: 0s; }
.float-cta__coin--2 { left: 45%; bottom: 0; animation-delay: 1.1s; font-size: 13px; }
.float-cta__coin--3 { left: 78%; bottom: 0; animation-delay: 2.2s; font-size: 15px; }
@keyframes coinup {
  0% { transform: translateY(6px) rotate(0deg); opacity: 0; }
  18% { opacity: .9; }
  85% { opacity: .5; }
  100% { transform: translateY(-42px) rotate(28deg); opacity: 0; }
}
.float-cta__btns {
  display: flex;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.fbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 128px;
  padding: 13px 22px;
  border-radius: 11px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .04em;
  text-decoration: none !important;
  border: 2px solid transparent;
  overflow: hidden;
}
.fbtn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: shine 2.6s ease-in-out infinite;
}
@keyframes shine {
  0% { left: -80%; }
  55%, 100% { left: 130%; }
}
.fbtn--daftar {
  background: linear-gradient(180deg, #2ecc71, var(--green-d));
  color: #fff;
  box-shadow: 0 0 0 2px rgba(245, 196, 81, .55), 0 0 22px rgba(36, 176, 98, .55);
  animation: ctaglow 2.4s ease-in-out infinite;
}
@keyframes ctaglow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(245, 196, 81, .55), 0 0 14px rgba(36, 176, 98, .4); }
  50% { box-shadow: 0 0 0 2px var(--gold), 0 0 30px rgba(36, 176, 98, .8); }
}
.fbtn--masuk {
  background: linear-gradient(180deg, #ffd970, var(--gold-d));
  color: #3a2b05;
  box-shadow: 0 0 16px rgba(245, 196, 81, .35);
}

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 12, 18, .78);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 40px;
}
.search-overlay.is-open { display: flex; }
.search-modal {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.search-modal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--ink);
}
.search-modal__head input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-body);
  outline: none;
}
.search-modal__head input::placeholder { color: #8a93a8; }
.search-modal__close {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  color: #dfe5ef;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}
.search-modal__close:hover { border-color: var(--red); color: #ff9d97; }
.search-modal__body { padding: 18px 20px 22px; max-height: 52vh; overflow-y: auto; }
.search-result { padding: 12px 6px; border-bottom: 1px solid var(--cloud); }
.search-result:last-child { border-bottom: none; }
.search-result a { display: block; text-decoration: none !important; }
.search-result h4 { margin: 0 0 3px; font-size: .95rem; color: var(--ink); font-family: var(--font-head); }
.search-result p { margin: 0; font-size: .82rem; color: var(--mut); }
.search-hint { color: var(--mut); font-size: .88rem; text-align: center; padding: 14px 6px; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.search-tags .tag {
  color: #3a4150;
  background: var(--cloud);
  border-color: var(--line);
}
.search-tags .tag:hover { color: var(--gold-d); border-color: var(--gold-d); background: #fdf3dc; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.legal-body h2 { margin-top: 1.8em; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__img { max-width: 640px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ink-2);
    border-bottom: 2px solid var(--gold);
    padding: 10px 20px 16px;
  }
  .main-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav.is-open a { padding: 12px 14px; font-size: 1rem; }
}

@media (max-width: 768px) {
  .section { padding: 44px 0; }
  .hero { padding: 48px 0 54px; }
  .grid-2, .grid-3, .related__grid, .auth-wrap, .split, .calc__grid { grid-template-columns: 1fr; }
  .split__img { order: -1; }
  .header-actions .btn--masuk-desktop { display: none; }
  .faq-item__body { padding-left: 20px; }
  .float-cta__coins { display: none; }
  .float-cta__reels { display: none; }
  .float-cta__inner { gap: 10px; }
  .float-cta__btns { width: 100%; gap: 10px; }
  .fbtn { flex: 1; min-width: 0; padding: 13px 10px; }
  .calc__form, .calc__result { padding: 22px; }
  .form-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .header-actions .btn { display: none; }
  .header-actions .icon-search { display: grid; }
  .brand__tag { display: none; }
  .cta-strip__btns .btn { width: 100%; }
  .entry-content { font-size: 1rem; }
  .entry-content h2 { font-size: 1.28rem; }
  .article-head__meta { gap: 10px; }
}
