/* ============================================================
   Dragon138 — style.css
   Tema: naga emas-merah di atas tinta gelap, aksen hijau/biru.
   Responsif penuh, tanpa dependensi eksternal.
   ============================================================ */

:root {
  --ink: #0b0e15;
  --ink-2: #111624;
  --ink-3: #1a2133;
  --line-dark: #262e44;
  --paper: #ffffff;
  --mist: #f3f5fa;
  --line: #e3e8f0;
  --red: #d81e3f;
  --red-2: #b0142f;
  --gold: #f6c445;
  --gold-2: #d9a520;
  --green: #1fa658;
  --green-2: #147a41;
  --blue: #2f7de1;
  --txt: #232a3b;
  --txt-2: #5b6478;
  --txt-lt: #e9edf6;
  --txt-lt2: #a3adc2;
  --shadow: 0 10px 30px rgba(11, 14, 21, .10);
  --shadow-2: 0 16px 44px rgba(11, 14, 21, .16);
  --radius: 14px;
  --radius-sm: 10px;
  --grad-red: linear-gradient(135deg, #e8254a 0%, #b0142f 100%);
  --grad-gold: linear-gradient(135deg, #ffd964 0%, #e0a92b 100%);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--txt);
  background: var(--paper);
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); /* ruang bilah CTA melayang */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3em; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- utilitas ---------- */
.section { padding: clamp(2.4rem, 5vw, 4.2rem) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--txt-lt); }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--grad-gold); }
.section--ink .eyebrow { color: var(--gold); }

.sec-head { max-width: 720px; margin-bottom: 2rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-title { font-size: clamp(1.45rem, 3.2vw, 2.1rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.section--ink .sec-title { color: #fff; }
.sec-sub { color: var(--txt-2); margin-top: .6rem; font-size: 1.02rem; }
.section--ink .sec-sub { color: var(--txt-lt2); }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.5rem; border-radius: 999px;
  font: 800 1rem/1 var(--font); letter-spacing: .01em;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--gold { background: var(--grad-gold); color: #3a2a00; box-shadow: 0 8px 22px rgba(230, 175, 40, .38); }
.btn--gold:hover { box-shadow: 0 12px 28px rgba(230, 175, 40, .5); }
.btn--red { background: var(--grad-red); color: #fff; box-shadow: 0 8px 22px rgba(216, 30, 63, .35); }
.btn--red:hover { box-shadow: 0 12px 28px rgba(216, 30, 63, .48); }
.btn--ghost-lt { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost-lt:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost-dk { border-color: var(--line); color: var(--txt); background: #fff; }
.btn--ghost-dk:hover { border-color: var(--red); color: var(--red); }
.btn--sm { padding: .55rem 1.1rem; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.topbar { background: #07090f; color: var(--txt-lt2); font-size: .8rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 34px; }
.topbar__age {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--gold);
}
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 4px; border-radius: 50%;
  border: 2px solid var(--red); color: #fff; font-size: .72rem; font-weight: 800; background: rgba(216, 30, 63, .2);
}
.topbar__rg { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__rg a { color: var(--gold); font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(11, 14, 21, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; gap: 1.1rem; min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand__name { font-size: 1.3rem; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.brand__name span { color: var(--gold); }
.brand__coin { width: 40px; height: 40px; flex: 0 0 auto; filter: drop-shadow(0 3px 6px rgba(246, 196, 69, .35)); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.main-nav a {
  color: var(--txt-lt2); font-weight: 700; font-size: .93rem;
  padding: .55rem .8rem; border-radius: 8px;
}
.main-nav a:hover, .main-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
.main-nav a.is-active { box-shadow: inset 0 -3px 0 var(--gold); }

.header-cta { display: flex; align-items: center; gap: .55rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-dark);
  background: transparent; color: var(--txt-lt2); cursor: pointer;
}
.icon-btn:hover { color: var(--gold); border-color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }

.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: clip; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 340px at 12% -10%, rgba(216, 30, 63, .38), transparent 65%),
    radial-gradient(640px 320px at 96% 8%, rgba(246, 196, 69, .22), transparent 60%),
    linear-gradient(180deg, rgba(11, 14, 21, .55) 0%, rgba(11, 14, 21, .92) 78%, var(--ink) 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.6rem; align-items: center; padding: clamp(3rem, 6vw, 5.2rem) 0 clamp(2.6rem, 5vw, 4.4rem); }
.hero__tag {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid rgba(246, 196, 69, .45); background: rgba(246, 196, 69, .1);
  color: var(--gold); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .42rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero__title { font-size: clamp(1.9rem, 4.6vw, 3.3rem); font-weight: 900; line-height: 1.14; letter-spacing: -.025em; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__title strong { color: #ff5d78; font-weight: 900; }
.hero__lead { color: var(--txt-lt2); max-width: 560px; margin: 1.05rem 0 1.5rem; font-size: 1.04rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex; align-items: center; gap: .42rem;
  font-size: .8rem; font-weight: 700; color: var(--txt-lt);
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06);
  padding: .34rem .75rem; border-radius: 999px;
}
.chip svg { width: 15px; height: 15px; color: var(--green); }
.chip--gold svg { color: var(--gold); }
.chip--blue svg { color: #7db4ff; }

/* kartu pencarian di hero */
.search-card { background: rgba(17, 22, 36, .82); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-2); }
.search-card__title { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }
.search-card__title svg { width: 19px; height: 19px; color: var(--gold); }
.search-form { display: flex; gap: .55rem; }
.search-form input {
  flex: 1; min-width: 0; padding: .74rem .95rem; border-radius: 10px;
  border: 1px solid var(--line-dark); background: #0b0e15; color: #fff; font: 600 .95rem var(--font);
}
.search-form input::placeholder { color: #67718a; }
.search-form input:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.search-form button {
  flex: 0 0 auto; width: 48px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--grad-gold); color: #3a2a00; display: inline-flex; align-items: center; justify-content: center;
}
.search-form button svg { width: 20px; height: 20px; }
.hot-tags { margin-top: 1rem; }
.hot-tags__label { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--txt-lt2); margin-bottom: .5rem; }
.tagcloud { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag {
  font-size: .8rem; font-weight: 700; padding: .32rem .72rem; border-radius: 999px;
  border: 1px solid var(--line-dark); color: var(--txt-lt2); background: rgba(255, 255, 255, .04);
}
.tag:hover { color: var(--gold); border-color: var(--gold); text-decoration: none; }
.tag--hot { border-color: rgba(216, 30, 63, .55); color: #ff8298; background: rgba(216, 30, 63, .12); }
.tag--hot:hover { color: #ffb3c1; border-color: #ff5d78; }

/* ---------- kartu kategori / promo ---------- */
.grid { display: grid; gap: 1.15rem; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cat-card__media { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.cat-card__title { font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.cat-card__title a { color: inherit; }
.cat-card__desc { font-size: .9rem; color: var(--txt-2); flex: 1; }
.cat-card__more { font-size: .88rem; font-weight: 800; color: var(--red); }

.promo-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.promo-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.promo-card__media img { width: 100%; height: 100%; object-fit: cover; }
.promo-card__flag {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--grad-red); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px;
}
.promo-card__body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.promo-card__title { font-size: 1.05rem; font-weight: 800; }
.promo-card__title a { color: var(--ink); }
.promo-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.mini-tag { font-size: .74rem; font-weight: 700; padding: .24rem .6rem; border-radius: 6px; background: var(--mist); color: var(--txt-2); border: 1px solid var(--line); }
.mini-tag--green { background: #e9f7ef; color: var(--green-2); border-color: #c9ecd8; }
.mini-tag--gold { background: #fdf3d7; color: #8a6a00; border-color: #f3e2a4; }
.mini-tag--blue { background: #e9f1fc; color: #1c5cb0; border-color: #c9ddf5; }
.promo-card__desc { font-size: .9rem; color: var(--txt-2); flex: 1; }

/* ---------- keunggulan ---------- */
.adv-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.adv {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1rem; text-align: center; box-shadow: var(--shadow);
}
.adv__ico {
  width: 52px; height: 52px; margin: 0 auto .7rem; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.adv__ico svg { width: 26px; height: 26px; }
.adv__ico--red { background: #fdeaee; color: var(--red); }
.adv__ico--gold { background: #fdf3d7; color: var(--gold-2); }
.adv__ico--green { background: #e9f7ef; color: var(--green); }
.adv__ico--blue { background: #e9f1fc; color: var(--blue); }
.adv__ico--ink { background: #eaeef7; color: var(--ink-3); }
.adv__title { font-weight: 800; font-size: .95rem; color: var(--ink); margin-bottom: .25rem; }
.adv__desc { font-size: .82rem; color: var(--txt-2); line-height: 1.55; }

/* highlight list (section ink) */
.hl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; }
.hl {
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 1.25rem 1.2rem;
}
.hl__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: .75rem;
  background: var(--grad-gold); color: #3a2a00; font-weight: 900; font-size: .95rem;
}
.hl__title { color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: .35rem; }
.hl__desc { color: var(--txt-lt2); font-size: .89rem; }

/* ---------- split media (mobile/keamanan) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); }
.split__media img { width: 100%; object-fit: cover; }
.split__body h2 { margin-bottom: .8rem; }
.split__body p { color: var(--txt-2); }
.split--rev .split__media { order: 2; }

.feat-list { display: grid; gap: .85rem; margin: 1.15rem 0 1.4rem; list-style: none; padding: 0; }
.feat-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--txt); font-size: .96rem; }
.feat-list li svg { width: 21px; height: 21px; flex: 0 0 auto; margin-top: 3px; color: var(--green); }
.section--ink .feat-list li { color: var(--txt-lt); }
.section--ink .feat-list li svg { color: var(--gold); }

.pay-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.pay-badge {
  font-size: .78rem; font-weight: 800; letter-spacing: .02em;
  padding: .38rem .8rem; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--txt);
}
.pay-badge--blue { border-color: #c9ddf5; color: #1c5cb0; background: #e9f1fc; }
.pay-badge--green { border-color: #c9ecd8; color: var(--green-2); background: #e9f7ef; }
.pay-badge--ink { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- testimoni ---------- */
.testi-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 82vw); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem; scrollbar-width: thin; }
.testi {
  scroll-snap-align: start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.25rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .7rem;
}
.testi__stars { color: var(--gold); letter-spacing: .12em; font-size: .95rem; }
.testi__text { font-size: .93rem; color: var(--txt); flex: 1; }
.testi__text::before { content: "\201C"; color: var(--red); font-weight: 900; margin-right: 2px; }
.testi__who { display: flex; align-items: center; gap: .65rem; }
.testi__ava {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .9rem; color: #fff;
}
.testi__ava--red { background: var(--grad-red); }
.testi__ava--gold { background: var(--grad-gold); color: #3a2a00; }
.testi__ava--green { background: linear-gradient(135deg, #27c76c, #147a41); }
.testi__ava--blue { background: linear-gradient(135deg, #57a0ff, #1c5cb0); }
.testi__name { font-weight: 800; font-size: .9rem; color: var(--ink); }
.testi__loc { font-size: .78rem; color: var(--txt-2); }
.testi-note { font-size: .78rem; color: var(--txt-lt2); margin-top: .8rem; text-align: center; }

/* ---------- kamus istilah ---------- */
.gloss-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.term { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.term summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .95rem 1.1rem; font-weight: 800; color: var(--ink); font-size: .97rem;
}
.term summary::-webkit-details-marker { display: none; }
.term summary::after {
  content: "+"; font-size: 1.25rem; font-weight: 900; color: var(--red);
  transition: transform .2s ease; line-height: 1;
}
.term[open] summary::after { transform: rotate(45deg); }
.term[open] summary { border-bottom: 1px dashed var(--line); }
.term__def { padding: .85rem 1.1rem 1rem; font-size: .9rem; color: var(--txt-2); }
.term__def b { color: var(--txt); }

/* ---------- artikel / prose ---------- */
.prose { font-size: 1.02rem; color: var(--txt); }
.prose h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); margin: .4rem 0 1rem; }
.prose h2 { font-size: 1.32rem; font-weight: 800; color: var(--ink); margin: 1.9rem 0 .7rem; letter-spacing: -.01em; }
.prose h3 { font-size: 1.08rem; font-weight: 800; color: var(--ink-3); margin: 1.4rem 0 .5rem; }
.prose p { margin-bottom: 1.05rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose li { margin-bottom: .45rem; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 1.1rem; color: var(--txt-2); }

.article-figure { margin: 1.4rem 0; }
.article-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-figure figcaption { font-size: .82rem; color: var(--txt-2); margin-top: .55rem; text-align: center; }

.note, .warn {
  border-radius: var(--radius-sm); padding: 1rem 1.15rem; margin: 1.3rem 0;
  font-size: .93rem; border: 1px solid;
}
.note { background: #e9f1fc; border-color: #c9ddf5; color: #1d3d66; }
.warn { background: #fdf0f2; border-color: #f3c6ce; color: #7c1128; }
.note b, .warn b { color: inherit; }

.meta-line { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: .84rem; color: var(--txt-2); margin-bottom: 1.2rem; }
.meta-line span { display: inline-flex; align-items: center; gap: .4rem; }
.meta-line svg { width: 15px; height: 15px; color: var(--red); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; max-width: 860px; margin-inline: auto; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.02rem 1.2rem; font-weight: 800; color: var(--ink); font-size: .99rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 900; color: var(--red); line-height: 1;
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq[open] summary { border-bottom: 1px dashed var(--line); background: #fbfcfe; }
.faq__a { padding: .95rem 1.2rem 1.1rem; color: var(--txt-2); font-size: .95rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: .82rem; color: var(--txt-2); padding: .85rem 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.crumbs li + li::before { content: "\203A"; color: var(--txt-2); font-weight: 700; }
.crumbs a { color: var(--txt-2); font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- hero halaman dalam ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: clip; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 88% 0%, rgba(216, 30, 63, .35), transparent 62%),
    linear-gradient(180deg, rgba(11, 14, 21, .5), rgba(11, 14, 21, .94));
}
.page-hero .wrap { position: relative; padding: clamp(2rem, 4.5vw, 3.4rem) 0; max-width: 880px; }
.page-hero .crumbs { color: var(--txt-lt2); padding: 0 0 .9rem; }
.page-hero .crumbs a { color: var(--txt-lt2); }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero .crumbs [aria-current] { color: #fff; }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.18; }
.page-hero__lead { color: var(--txt-lt2); margin-top: .8rem; max-width: 700px; }
.page-hero__pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }

/* ---------- layout konten 2 kolom ---------- */
.content-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.4rem; align-items: start; }
.sidebar { position: sticky; top: 92px; display: grid; gap: 1.1rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }
.side-card h3 { font-size: .95rem; font-weight: 800; color: var(--ink); margin-bottom: .8rem; display: flex; align-items: center; gap: .5rem; }
.side-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad-gold); }
.side-links { list-style: none; padding: 0; display: grid; gap: .45rem; margin: 0; }
.side-links a { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 700; color: var(--txt); padding: .5rem .65rem; border-radius: 8px; }
.side-links a:hover { background: var(--mist); color: var(--red); text-decoration: none; }
.side-links a span { color: var(--gold-2); font-weight: 900; }

/* ---------- tabel ketentuan ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 1.2rem 0; background: #fff; }
table.terms { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
table.terms caption { caption-side: top; text-align: left; font-weight: 800; color: var(--ink); padding: .9rem 1rem .4rem; font-size: 1rem; }
table.terms th, table.terms td { text-align: left; padding: .72rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.terms th { background: var(--mist); color: var(--ink); font-size: .85rem; letter-spacing: .03em; text-transform: uppercase; }
table.terms tr:last-child td { border-bottom: 0; }
table.terms td:first-child { font-weight: 700; color: var(--ink); white-space: normal; }

/* ---------- langkah daftar ---------- */
.steps { counter-reset: step; display: grid; gap: .9rem; list-style: none; padding: 0; margin: 1.3rem 0; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem 1rem 4.1rem; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.05rem;
}
.steps b { color: var(--ink); }

/* ---------- form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2); padding: clamp(1.4rem, 3vw, 2.2rem); }
.form-grid { display: grid; gap: 1rem; }
.field label { display: block; font-size: .86rem; font-weight: 800; color: var(--ink); margin-bottom: .4rem; }
.field label span { color: var(--red); }
.field input {
  width: 100%; padding: .8rem .95rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--mist); color: var(--txt);
  font: 600 .96rem var(--font); transition: border-color .15s ease;
}
.field input:focus { outline: none; border-color: var(--gold); background: #fff; }
.field small { display: block; margin-top: .3rem; font-size: .78rem; color: var(--txt-2); }
.form-note { font-size: .82rem; color: var(--txt-2); margin-top: .9rem; }
.form-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--txt-2); }
.form-check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--red); }

.auth-alt { text-align: center; margin-top: 1.2rem; font-size: .92rem; color: var(--txt-2); }
.auth-alt a { font-weight: 800; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #a5122e 0%, #d81e3f 55%, #b0142f 100%); color: #fff; position: relative; overflow: clip; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .18);
}
.cta-band::before { top: -90px; left: -70px; }
.cta-band::after { bottom: -110px; right: -60px; }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; padding: clamp(1.8rem, 4vw, 2.8rem) 0; }
.cta-band h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 900; letter-spacing: -.015em; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-top: .35rem; max-width: 560px; font-size: .96rem; }

/* ---------- footer ---------- */
.site-footer { background: #07090f; color: var(--txt-lt2); border-top: 3px solid var(--gold); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3rem 0 2rem; }
.footer-brand p { font-size: .88rem; margin-top: .9rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .92rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; margin: 0; }
.footer-col a { color: var(--txt-lt2); font-size: .9rem; font-weight: 600; }
.footer-col a:hover { color: var(--gold); }
.footer-cert { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.cert {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--line-dark); border-radius: 8px; padding: .35rem .7rem;
  font-size: .78rem; font-weight: 800; color: var(--txt-lt);
}
.cert svg { width: 15px; height: 15px; color: var(--gold); }
.cert--red { border-color: rgba(216, 30, 63, .6); color: #ff8298; }
.cert--red svg { color: #ff8298; }
.footer-mid { border-top: 1px solid var(--line-dark); padding: 1.3rem 0; }
.footer-pay { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.footer-pay span { font-size: .8rem; font-weight: 700; margin-right: .4rem; color: var(--txt-lt2); }
.footer-legal { border-top: 1px solid var(--line-dark); padding: 1.5rem 0 1.7rem; font-size: .8rem; line-height: 1.75; }
.footer-legal p { margin-bottom: .7rem; }
.footer-legal b { color: var(--txt-lt); }
.footer-copy { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; border-top: 1px solid var(--line-dark); padding: 1.1rem 0 1.3rem; font-size: .8rem; }

/* ---------- bilah CTA melayang (gaya slot + koin) ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(11, 14, 21, .82), rgba(7, 9, 15, .97));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, .45);
}
.float-cta__in { display: flex; align-items: center; gap: .8rem; max-width: 1180px; margin-inline: auto; }
.slotbox { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 0; }
.slotbox__reels { display: flex; gap: 3px; }
.reel {
  width: 17px; height: 30px; border-radius: 5px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #1a2133, #0b0e15);
  border: 1px solid var(--gold-2);
}
.reel__col { position: absolute; inset: 0; animation: reelspin 2.6s linear infinite; }
.reel__col i {
  display: block; height: 30px; font-style: normal; font-size: 15px; line-height: 30px;
  text-align: center; color: var(--gold); font-weight: 900;
}
.reel--2 .reel__col { animation-delay: .35s; }
.reel--3 .reel__col { animation-delay: .7s; }
@keyframes reelspin {
  0% { transform: translateY(0); }
  49.9% { transform: translateY(-60px); }
  50% { transform: translateY(60px); }
  100% { transform: translateY(0); }
}
.slotbox__txt { min-width: 0; }
.slotbox__txt b { display: block; color: #fff; font-size: .92rem; font-weight: 900; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slotbox__txt small { display: block; color: var(--txt-lt2); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coinfx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.coin {
  position: absolute; bottom: 46px; width: 15px; height: 15px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, #f6c445 55%, #b9860e);
  box-shadow: 0 0 8px rgba(246, 196, 69, .55);
  animation: coinup 2.8s ease-in infinite;
}
.coin::after { content: "Rp"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 900; color: #8a6a00; }
.coin--1 { left: 8%; animation-delay: 0s; }
.coin--2 { left: 24%; animation-delay: .9s; transform: scale(.85); }
.coin--3 { left: 52%; animation-delay: 1.7s; }
.coin--4 { left: 76%; animation-delay: .4s; transform: scale(.8); }
.coin--5 { left: 90%; animation-delay: 2.2s; transform: scale(.9); }
@keyframes coinup {
  0% { opacity: 0; transform: translateY(10px) scale(.6); }
  12% { opacity: 1; }
  70% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-120px) scale(1); }
}
.float-cta__btns { display: flex; gap: .55rem; flex: 0 0 auto; }
.float-cta .btn { padding: .68rem 1.35rem; font-size: .95rem; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.float-cta .btn--gold { animation: goldpulse 1.9s ease-in-out infinite; }
@keyframes goldpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246, 196, 69, .55), 0 6px 16px rgba(0, 0, 0, .35); }
  50% { box-shadow: 0 0 0 9px rgba(246, 196, 69, 0), 0 6px 16px rgba(0, 0, 0, .35); }
}

/* ---------- panel pencarian ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(7, 9, 15, .92); backdrop-filter: blur(6px); padding: 1.2rem;
  overflow-y: auto;
}
.search-overlay.is-open { display: block; }
.search-panel { max-width: 760px; margin: 4vh auto 0; }
.search-panel__bar { display: flex; gap: .55rem; }
.search-panel__bar input {
  flex: 1; min-width: 0; padding: .95rem 1.15rem; border-radius: 12px;
  border: 1.5px solid var(--line-dark); background: var(--ink-2); color: #fff; font: 600 1.05rem var(--font);
}
.search-panel__bar input:focus { outline: 2px solid var(--gold); }
.search-panel__bar .btn { border-radius: 12px; }
.search-close { position: absolute; top: 1rem; right: 1.2rem; }
.search-hint { color: var(--txt-lt2); font-size: .85rem; margin: .8rem 0 1.2rem; }
.search-results { display: grid; gap: .7rem; }
.sr-item {
  display: block; background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm); padding: .95rem 1.1rem; color: var(--txt-lt);
}
.sr-item:hover { border-color: var(--gold); text-decoration: none; }
.sr-item b { display: block; color: #fff; font-size: .98rem; margin-bottom: .25rem; }
.sr-item span { font-size: .85rem; color: var(--txt-lt2); }
.sr-empty { color: var(--txt-lt2); background: var(--ink-2); border: 1px dashed var(--line-dark); border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-size: .92rem; }

/* ---------- responsif ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .content-2col { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 1.8rem; }
  .split { grid-template-columns: 1fr; gap: 1.6rem; }
  .split--rev .split__media { order: 0; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
    width: min(320px, 86vw); margin: 0; flex-direction: column; align-items: stretch;
    background: var(--ink-2); border-left: 1px solid var(--line-dark);
    padding: 4.6rem 1rem 6.8rem; gap: .3rem;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); box-shadow: -18px 0 44px rgba(0, 0, 0, .5); }
  .main-nav a { padding: .85rem 1rem; font-size: 1.02rem; }
  .nav-toggle { display: inline-flex; }
  .nav-scrim { position: fixed; inset: 0; z-index: 92; background: rgba(0, 0, 0, .55); display: none; }
  .nav-scrim.is-open { display: block; }
}

@media (max-width: 640px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .gloss-grid { grid-template-columns: 1fr; }
  .adv-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar { grid-template-columns: 1fr; }
  .header-cta .btn--login { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
  .float-cta__btns { flex: 1; }
  .float-cta__btns .btn { flex: 1; padding: .68rem .8rem; }
  .slotbox__txt small { display: none; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 440px) {
  .wrap { width: calc(100% - 2rem); }
  .adv-strip { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { flex: 1 1 auto; }
  .search-form { flex-direction: row; }
  .topbar .wrap { justify-content: center; }
  .topbar__rg span.hide-s { display: none; }
}

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