/* ==========================================================================
   Sensa138 — sensa138.games · Global Stylesheet
   Tema: merah kasino · hitam malam · emas · aksen hijau/biru · kertas hangat
   ========================================================================== */

:root {
  --red: #d31445;
  --red-deep: #8f0e31;
  --red-dark: #5d0a20;
  --ink: #16040c;
  --night: #1c0712;
  --night-2: #2b0b1a;
  --gold: #f6c445;
  --gold-2: #ffdf80;
  --gold-deep: #c9920e;
  --green: #16a06d;
  --green-deep: #0d6e49;
  --blue: #2d6cf0;
  --paper: #fffdf9;
  --mist: #f7f1e7;
  --text: #2b2126;
  --muted: #6d5f66;
  --muted-dark: #d9c3cc;
  --line: #eadfd6;
  --line-dark: rgba(246, 196, 69, 0.18);
  --shadow: 0 10px 30px rgba(22, 4, 12, 0.10);
  --shadow-lg: 0 22px 60px rgba(22, 4, 12, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { 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.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; color: var(--ink); font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-deep); }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

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

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

/* --------------------------------------------------------------------------
   Tombol
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font); font-size: 15.5px; font-weight: 800; letter-spacing: 0.02em;
  cursor: pointer; text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 45%, #e8a91d 100%);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(246, 196, 69, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn--gold:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(246, 196, 69, 0.45); }

.btn--red {
  background: linear-gradient(135deg, #e6255a 0%, var(--red) 55%, var(--red-deep) 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(211, 20, 69, 0.35);
}
.btn--red:hover { color: #fff; transform: translateY(-2px); }

.btn--green {
  background: linear-gradient(135deg, #1ebd82 0%, var(--green) 60%, var(--green-deep) 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(22, 160, 109, 0.3);
}
.btn--green:hover { color: #fff; transform: translateY(-2px); }

.btn--ghost {
  background: transparent; color: var(--gold); border-color: rgba(246, 196, 69, 0.55);
}
.btn--ghost:hover { color: var(--gold-2); border-color: var(--gold); background: rgba(246, 196, 69, 0.08); }

.btn--outline {
  background: transparent; color: var(--red-deep); border-color: rgba(143, 14, 49, 0.35);
}
.btn--outline:hover { background: rgba(211, 20, 69, 0.06); }

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 34px; font-size: 17px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(22, 4, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }

.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 3px 6px rgba(246, 196, 69, 0.35)); }
.brand__text {
  font-size: 23px; font-weight: 900; letter-spacing: 0.04em; color: #fff;
  font-style: italic; line-height: 1;
}
.brand__text b {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, #e8a91d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand:hover .brand__text { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 13px; border-radius: 10px; color: #f2e6ea;
  font-weight: 600; font-size: 15px;
}
.nav-links a:hover { color: var(--gold); background: rgba(246, 196, 69, 0.08); }
.nav-links .is-active { color: var(--gold); background: rgba(246, 196, 69, 0.12); }

.nav-cta { display: none; gap: 10px; margin-left: 8px; }

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

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04); color: var(--gold); cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover { background: rgba(246, 196, 69, 0.12); border-color: var(--gold); }
.icon-btn--burger { display: none; flex-direction: column; gap: 5px; }
.icon-btn--burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--gold); transition: transform 0.25s ease, opacity 0.2s ease;
}
.icon-btn--burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.icon-btn--burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.icon-btn--burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Overlay pencarian
   -------------------------------------------------------------------------- */
.search-overlay { position: fixed; inset: 0; z-index: 1500; }
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop {
  position: absolute; inset: 0;
  background: rgba(12, 2, 7, 0.72); backdrop-filter: blur(4px);
}
.search-overlay__panel {
  position: relative; max-width: 660px; margin: 11vh auto 0; padding: 0 16px;
  animation: panelIn 0.25s ease;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

.search-form {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px;
  background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.search-form svg { color: var(--red); flex-shrink: 0; }
.search-form input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16.5px; color: var(--text); padding: 10px 0;
}

.search-results { margin-top: 12px; background: var(--paper); border-radius: 16px; overflow: hidden auto; max-height: 46vh; box-shadow: var(--shadow-lg); }
.search-result {
  display: block; padding: 13px 18px; border-bottom: 1px solid var(--line);
  color: var(--text);
}
.search-result:last-child { border-bottom: 0; }
.search-result:hover { background: var(--mist); color: var(--text); }
.search-result strong { display: block; font-size: 15.5px; color: var(--ink); }
.search-result span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.search-empty { padding: 16px 18px; color: var(--muted); font-size: 14.5px; }

.search-hots { margin-top: 16px; color: #f2e6ea; }
.search-hots__title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 10px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 13.5px;
  font-weight: 600; border: 1px solid var(--line-dark); color: #f2e6ea;
  background: rgba(28, 7, 18, 0.65);
  transition: all 0.2s ease;
}
.tag:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb { padding: 14px 0 2px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.breadcrumb li { display: flex; align-items: center; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 9px; color: var(--gold-deep); font-weight: 700; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; filter: saturate(0.9); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(246, 196, 69, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(22, 4, 12, 0.55) 0%, rgba(22, 4, 12, 0.82) 62%, var(--ink) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 74px 0 84px; max-width: 780px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: 999px; border: 1px solid rgba(246, 196, 69, 0.45);
  background: rgba(246, 196, 69, 0.1); color: var(--gold);
  font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff; font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -0.01em; margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, #e8a91d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { color: #ecdbe2; font-size: clamp(15.5px, 1.9vw, 18px); max-width: 620px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: #f2e6ea;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* --------------------------------------------------------------------------
   Section umum
   -------------------------------------------------------------------------- */
.section { padding: 68px 0; }
.section--tint { background: var(--mist); }
.section--dark {
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(211, 20, 69, 0.16), transparent 55%),
    radial-gradient(800px 420px at 90% 100%, rgba(246, 196, 69, 0.1), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--night) 40%, var(--ink) 100%);
  color: #ecdbe2;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .section-sub { color: var(--muted-dark); }

.section-head { max-width: 740px; margin: 0 auto 42px; text-align: center; }
.section-head--left { margin: 0 0 34px; text-align: left; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.section--dark .kicker { color: var(--gold); }
.section-title { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.01em; }
.section-sub { font-size: 16.5px; color: var(--muted); margin: 0; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* kartu fitur */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); height: 100%;
}
.section--dark .card {
  background: rgba(255, 255, 255, 0.045); border-color: var(--line-dark);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.section--dark .card p { color: var(--muted-dark); }

.icon-tile {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  margin-bottom: 16px; color: #fff; font-size: 22px; font-weight: 800;
  box-shadow: 0 8px 18px rgba(22, 4, 12, 0.18);
}
.icon-tile--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #e8a91d); color: var(--ink); }
.icon-tile--red { background: linear-gradient(135deg, #e6255a, var(--red-deep)); }
.icon-tile--green { background: linear-gradient(135deg, #1ebd82, var(--green-deep)); }
.icon-tile--blue { background: linear-gradient(135deg, #5d8dff, var(--blue)); }
.icon-tile svg { width: 24px; height: 24px; }

/* split media + teks */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.split--rev > .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }

.check-list { list-style: none; padding: 0; margin: 0 0 22px; }
.check-list li { position: relative; padding-left: 38px; margin-bottom: 13px; font-size: 15.5px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 25px; height: 25px;
  display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 800;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #e8a91d); color: var(--ink);
}
.section--dark .check-list li { color: #ecdbe2; }

/* badge metode transaksi */
.pay-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.pay-badge {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 16px 10px; border-radius: 14px; border: 1px dashed rgba(246, 196, 69, 0.4);
  background: rgba(246, 196, 69, 0.06);
}
.pay-badge strong { color: #fff; font-size: 14.5px; }
.pay-badge span { color: var(--muted-dark); font-size: 12.5px; line-height: 1.45; }
.pay-badge i {
  font-style: normal; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); font-size: 18px;
}

/* --------------------------------------------------------------------------
   Testimoni pembaca
   -------------------------------------------------------------------------- */
.testi { display: flex; flex-direction: column; }
.testi__quote { font-size: 15.5px; color: #3a2d33; flex: 1; }
.testi__mark { color: var(--red); font-size: 30px; font-weight: 900; line-height: 1; display: block; margin-bottom: 8px; font-family: Georgia, serif; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-weight: 800; font-size: 15px; color: #fff;
}
.testi__avatar--a { background: linear-gradient(135deg, #e6255a, var(--red-deep)); }
.testi__avatar--b { background: linear-gradient(135deg, #1ebd82, var(--green-deep)); }
.testi__avatar--c { background: linear-gradient(135deg, #5d8dff, #1d48b8); }
.testi__who strong { display: block; font-size: 14.5px; color: var(--ink); }
.testi__who span { font-size: 12.5px; color: var(--muted); }
.testi-note { text-align: center; font-size: 13px; color: var(--muted); margin: 26px 0 0; }

/* --------------------------------------------------------------------------
   Kalkulator turnover
   -------------------------------------------------------------------------- */
.calc {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg); text-align: left;
}
.calc__form { padding: 32px 30px; background: var(--paper); }
.calc__form h3 { margin-bottom: 4px; }
.calc__form > p { color: var(--muted); font-size: 14.5px; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.calc__field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.calc__field input, .calc__field select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; font: inherit; color: var(--text);
}
.calc__field input:focus, .calc__field select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(246, 196, 69, 0.25); }
.calc__basis { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }
.calc__basis label {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; cursor: pointer;
  background: #fff;
}
.calc__basis label:has(input:checked) { border-color: var(--gold); background: rgba(246, 196, 69, 0.14); }
.calc__basis input { accent-color: var(--red); }
.calc__result {
  padding: 32px 28px; display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(246, 196, 69, 0.16), transparent 60%),
    linear-gradient(160deg, var(--night) 0%, var(--ink) 100%);
}
.calc__result small { color: var(--muted-dark); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.calc__number { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; color: var(--gold); margin: 8px 0 10px; letter-spacing: -0.01em; }
.calc__result p { color: #ecdbe2; font-size: 14px; margin: 0 0 18px; }
.calc__note { font-size: 12.5px; color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding-top: 14px; margin: 0; }

/* --------------------------------------------------------------------------
   Artikel & prose
   -------------------------------------------------------------------------- */
.article-hero { padding: 40px 0 8px; }
.article-hero h1 { font-size: clamp(26px, 3.8vw, 38px); letter-spacing: -0.01em; max-width: 860px; }
.article-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  font-size: 13.5px; color: var(--muted); margin-bottom: 24px;
}
.article-hero__meta b { color: var(--red-deep); }
.article-hero__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin: 0 0 40px; }
.article-hero__img img { width: 100%; display: block; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; padding-bottom: 20px; }

.prose { max-width: 760px; font-size: 16.5px; min-width: 0; overflow-wrap: break-word; }
.prose h2 {
  font-size: 24px; margin: 1.7em 0 0.65em; padding-bottom: 10px; position: relative;
  border-bottom: 2px solid var(--line);
}
.prose h2::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--red));
}
.prose h3 { font-size: 19px; margin: 1.4em 0 0.5em; }
.prose p { color: #3a2d33; }
.prose ul li, .prose ol li { margin-bottom: 7px; color: #3a2d33; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--gold);
  background: var(--mist); border-radius: 0 12px 12px 0; font-size: 15.5px;
}
.prose blockquote p:last-child { margin: 0; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }

.table-wrap { overflow-x: auto; margin: 1.5em 0; border-radius: 12px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; max-width: 100%; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; font-size: 14.5px; }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--night); color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose td b { color: var(--ink); }

.sidebar-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; position: sticky; top: 92px;
}
.sidebar-card h3 { font-size: 16.5px; margin-bottom: 12px; }
.sidebar-card ul { list-style: none; margin: 0; padding: 0; }
.sidebar-card li + li { margin-top: 9px; }
.sidebar-card a { font-weight: 600; font-size: 14.5px; }
.sidebar-card a:hover { text-decoration: underline; }
.sidebar-card--cta { background: linear-gradient(150deg, var(--night), var(--ink)); border-color: var(--line-dark); }
.sidebar-card--cta h3 { color: #fff; }
.sidebar-card--cta p { color: var(--muted-dark); font-size: 13.5px; }
.sidebar-card--cta .btn { margin-top: 12px; }

/* kartu artikel untuk daftar */
.article-card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card__media { display: block; aspect-ratio: 16 / 9.6; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.article-card:hover .article-card__media img { transform: scale(1.045); }
.article-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.article-card__body h3 { font-size: 17.5px; margin-bottom: 8px; }
.article-card__body p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 14px; }
.article-card__meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--red-deep); }
.article-card__more { font-weight: 800; font-size: 14px; }

/* --------------------------------------------------------------------------
   Langkah bernomor
   -------------------------------------------------------------------------- */
.steps { list-style: none; counter-reset: step; margin: 0 0 24px; padding: 0; }
.steps li {
  counter-increment: step; position: relative; padding: 0 0 22px 58px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -3px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 13px; font-weight: 800; font-size: 16px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #e8a91d); color: var(--ink);
  box-shadow: 0 6px 14px rgba(246, 196, 69, 0.4);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 19.5px; top: 42px; bottom: 4px; width: 1.5px;
  background: linear-gradient(180deg, rgba(246, 196, 69, 0.7), rgba(246, 196, 69, 0.12));
}
.steps li strong { display: block; font-size: 16.5px; color: var(--ink); margin-bottom: 3px; }
.steps li p { margin: 0; font-size: 14.5px; color: var(--muted); }
.section--dark .steps li strong { color: #fff; }
.section--dark .steps li p { color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   FAQ (details)
   -------------------------------------------------------------------------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
  margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] { border-color: rgba(246, 196, 69, 0.85); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 17px 20px; font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; margin-left: auto; flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--mist); color: var(--red-deep); font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; background: var(--gold); color: var(--ink); }
.faq-item p { padding: 0 20px 18px; margin: 0; font-size: 14.5px; color: #4a3c43; }
.section--dark .faq-item { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); }
.section--dark .faq-item[open] { border-color: rgba(246, 196, 69, 0.6); }
.section--dark .faq-item summary { color: #fff; }
.section--dark .faq-item summary::after { background: rgba(255, 255, 255, 0.1); color: var(--gold); }
.section--dark .faq-item[open] summary::after { background: var(--gold); color: var(--ink); }
.section--dark .faq-item p { color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  border-radius: 22px; padding: 46px 40px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(246, 196, 69, 0.2), transparent 60%),
    linear-gradient(135deg, var(--red-deep) 0%, var(--red) 45%, var(--red-dark) 100%);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.cta-band p { color: #ffe9ef; max-width: 640px; margin: 0 auto 26px; font-size: 15.5px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band__note { margin: 18px 0 0; font-size: 12.5px; color: #ffd7de; }

/* --------------------------------------------------------------------------
   Formulir auth
   -------------------------------------------------------------------------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow-lg);
}
.form-card h2 { font-size: 21px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field label small { color: var(--muted); font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="password"], .field input[type="search"] {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; font: inherit; color: var(--text); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246, 196, 69, 0.25); }
.field__hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 4px 0 20px; }
.form-check input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.pass-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--red-deep); font-weight: 700; font-size: 12.5px;
  padding: 6px 10px; border-radius: 8px; cursor: pointer;
}
.pass-toggle:hover { background: var(--mist); }
.field--pass { position: relative; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #d9c3cc; padding: 58px 0 26px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 34px; padding-bottom: 38px; border-bottom: 1px solid var(--line-dark); }
.footer-logo { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; }
.footer-logo__text { font-size: 20px; font-weight: 900; font-style: italic; color: #fff; }
.footer-logo__text b {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, #e8a91d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-brand > p { font-size: 13.5px; color: var(--muted-dark); line-height: 1.7; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 11.5px;
  font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}
.badge--18 { background: var(--red); color: #fff; }
.badge--rg { background: rgba(22, 160, 109, 0.18); color: #2fd695; border: 1px solid rgba(22, 160, 109, 0.5); }
.badge--id { background: rgba(246, 196, 69, 0.12); color: var(--gold); border: 1px solid rgba(246, 196, 69, 0.45); }

.footer-col h3 { color: #fff; font-size: 14.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted-dark); font-size: 14px; }
.footer-col a:hover { color: var(--gold); }

.footer-legal { padding-top: 24px; font-size: 12.5px; color: #a98f9b; line-height: 1.7; }
.footer-legal a { color: var(--gold); }
.footer-legal p:last-child { margin: 10px 0 0; }

/* --------------------------------------------------------------------------
   Floating CTA — gaya mesin slot + koin
   -------------------------------------------------------------------------- */
.float-cta {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 1200; display: flex; align-items: center; gap: 14px;
  max-width: calc(100% - 20px); padding: 9px 12px;
  border-radius: 18px; border: 1px solid rgba(246, 196, 69, 0.55);
  background: linear-gradient(120deg, rgba(22, 4, 12, 0.94), rgba(45, 11, 26, 0.94));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(246, 196, 69, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.float-cta__reels { display: flex; gap: 5px; flex-shrink: 0; }
.reel {
  width: 26px; height: 40px; overflow: hidden; border-radius: 8px;
  background: linear-gradient(180deg, #241019, #170a10);
  border: 1px solid rgba(246, 196, 69, 0.35);
  box-shadow: inset 0 6px 8px -6px rgba(0, 0, 0, 0.9), inset 0 -6px 8px -6px rgba(0, 0, 0, 0.9);
}
.reel__strip { display: block; will-change: transform; animation: reelSpin 2.6s linear infinite; font-size: 19px; line-height: 40px; text-align: center; }
.reel--slow .reel__strip { animation-duration: 3.8s; animation-direction: reverse; }
.reel--fast .reel__strip { animation-duration: 1.7s; }
@keyframes reelSpin {
  from { transform: translateY(0); }
  to { transform: translateY(-240px); }
}

.float-cta__coins { position: absolute; inset: -18px 0 auto 0; height: 0; pointer-events: none; }
.float-cta__coins i {
  position: absolute; bottom: 0; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff3c4 0%, var(--gold) 45%, #b97f07 100%);
  box-shadow: 0 0 10px rgba(246, 196, 69, 0.85);
  animation: coinUp 2.6s ease-in infinite; opacity: 0;
}
.float-cta__coins i:nth-child(1) { left: 16%; animation-delay: 0s; }
.float-cta__coins i:nth-child(2) { left: 32%; animation-delay: 0.55s; width: 9px; height: 9px; }
.float-cta__coins i:nth-child(3) { left: 52%; animation-delay: 1.1s; }
.float-cta__coins i:nth-child(4) { left: 68%; animation-delay: 1.65s; width: 9px; height: 9px; }
.float-cta__coins i:nth-child(5) { left: 84%; animation-delay: 2.1s; }
@keyframes coinUp {
  0% { transform: translateY(6px) scale(0.6); opacity: 0; }
  22% { opacity: 1; }
  100% { transform: translateY(-46px) scale(1); opacity: 0; }
}

.float-cta__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 108px; padding: 12px 20px; border-radius: 13px;
  font-weight: 900; font-size: 15px; letter-spacing: 0.06em; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.float-cta__btn--daftar {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 48%, #e39c12 100%);
  box-shadow: 0 8px 20px rgba(246, 196, 69, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: btnPulse 2.2s ease-in-out infinite;
}
.float-cta__btn--masuk {
  color: #fff;
  background: linear-gradient(135deg, #e6255a, var(--red-deep));
  box-shadow: 0 8px 20px rgba(211, 20, 69, 0.45);
}
.float-cta__btn:hover { transform: translateY(-2px) scale(1.03); }
.float-cta__btn--daftar:hover { color: var(--ink); }
.float-cta__btn--masuk:hover { color: #fff; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(246, 196, 69, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 0 rgba(246, 196, 69, 0.5); }
  55% { box-shadow: 0 8px 20px rgba(246, 196, 69, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 12px rgba(246, 196, 69, 0); }
}

/* --------------------------------------------------------------------------
   Halaman 404
   -------------------------------------------------------------------------- */
.notfound { text-align: center; padding: 110px 20px 130px; }
.notfound h1 {
  font-size: clamp(60px, 10vw, 110px); margin: 0; line-height: 1;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound p { color: var(--muted); max-width: 480px; margin: 14px auto 28px; }

/* --------------------------------------------------------------------------
   Animasi reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

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

/* --------------------------------------------------------------------------
   Responsif
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 34px; }
}

@media (max-width: 960px) {
  .icon-btn--burger { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(22, 4, 12, 0.98); border-bottom: 1px solid var(--line-dark);
    padding: 14px 20px 20px; display: none;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .main-nav.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 12px 14px; font-size: 15.5px; }
  .nav-cta { display: flex; margin: 14px 0 0; }
  .nav-cta .btn { flex: 1; }
  .header-cta { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--rev > .split__media { order: 0; }
  .calc { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar-card { position: static; }
}

@media (max-width: 640px) {
  .btn { white-space: normal; }
  .section { padding: 52px 0; }
  .hero__inner { padding: 54px 0 62px; }
  .hero__actions .btn { flex: 1 1 auto; white-space: normal; min-width: 0; }
  .btn--lg { padding: 14px 22px; font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .pay-badges { grid-template-columns: repeat(2, 1fr); }
  .calc__row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 36px 22px; }
  .form-card { padding: 26px 20px; }
  .steps li { padding-left: 52px; }
  .steps li::before { width: 36px; height: 36px; border-radius: 11px; }
  .float-cta { gap: 10px; padding: 8px 10px; width: calc(100% - 20px); max-width: 480px; }
  .float-cta__btn { flex: 1; min-width: 0; padding: 13px 10px; }
  .reel { width: 22px; height: 34px; }
  .reel__strip { font-size: 16px; line-height: 34px; }
  .article-hero__img { margin-bottom: 28px; }
}

@media (max-width: 400px) {
  .float-cta__reels { display: none; }
  .float-cta__btn { font-size: 14px; padding: 12px 8px; }
}

/* cetak */
@media print {
  .site-header, .float-cta, .search-overlay, .cta-band { display: none !important; }
  body { color: #000; background: #fff; }
}
