/* ==========================================================================
   Starscasino.vip - Tema Portal Informasi (gaya tema WordPress, statis)
   Palet: merah / putih / hijau / kuning / biru / hitam
   ========================================================================== */
:root {
  --c-bg: #0d1017;
  --c-bg-2: #10141f;
  --c-panel: #151a26;
  --c-panel-2: #1b2130;
  --c-line: #2a3245;
  --c-text: #e9edf5;
  --c-muted: #9aa5ba;
  --c-red: #e11d3a;
  --c-red-d: #b01229;
  --c-green: #1fbe62;
  --c-green-d: #148a45;
  --c-gold: #f6c453;
  --c-gold-d: #d9a423;
  --c-blue: #3d7bfd;
  --c-blue-d: #2a5fd6;
  --c-white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .38);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

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

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(225, 29, 58, .10), transparent 60%),
    radial-gradient(900px 460px at -10% 12%, rgba(61, 123, 253, .09), transparent 60%),
    var(--c-bg);
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

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

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--c-white); margin: 0 0 .6em; }
p { margin: 0 0 1em; }

::selection { background: var(--c-gold); color: #171207; }

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

.site-main { display: block; min-width: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-gold); color: #171207; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 12px; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 1rem; font-weight: 800; letter-spacing: .02em;
  text-decoration: none !important; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--c-white); outline-offset: 2px; }
.btn--green {
  background: linear-gradient(180deg, #2ad375, var(--c-green) 55%, var(--c-green-d));
  color: #06220f; box-shadow: 0 8px 22px rgba(31, 190, 98, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold {
  background: linear-gradient(180deg, #ffe08a, var(--c-gold) 55%, var(--c-gold-d));
  color: #241a04; box-shadow: 0 8px 22px rgba(246, 196, 83, .30), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn--ghost {
  background: rgba(255, 255, 255, .06); color: var(--c-text);
  border: 1px solid var(--c-line);
}
.btn--red {
  background: linear-gradient(180deg, #f43f5a, var(--c-red) 60%, var(--c-red-d));
  color: #fff; box-shadow: 0 8px 22px rgba(225, 29, 58, .35);
}
.btn--sm { padding: 8px 16px; font-size: .88rem; border-radius: 10px; }
.btn--lg { padding: 15px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, .05); color: var(--c-text); cursor: pointer;
  font-size: 1.2rem; transition: background .2s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ header */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 16, 23, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-head__in { display: flex; align-items: center; gap: 18px; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.22rem; color: var(--c-white); }
.logo:hover { text-decoration: none; }
.logo__star { width: 26px; height: 26px; fill: var(--c-gold); filter: drop-shadow(0 0 8px rgba(246, 196, 83, .7)); }
.logo__text i { font-style: normal; font-size: .7em; color: var(--c-muted); font-weight: 600; }
.logo__text b { color: var(--c-gold); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: 9px 13px; border-radius: 9px; color: var(--c-text);
  font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { background: rgba(246, 196, 83, .12); color: var(--c-gold); text-decoration: none; }

.site-head__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle__bar { display: block; width: 20px; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1010px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: rgba(13, 16, 23, .98); border-bottom: 1px solid var(--c-line);
    display: none; padding: 10px clamp(16px, 4vw, 28px) 18px;
  }
  .nav.nav--open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .site-head__in { gap: 10px; }
}
@media (max-width: 560px) {
  .site-head__actions .btn--sm.btn--gold { display: none; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 16, 23, .55) 0%, rgba(13, 16, 23, .82) 55%, var(--c-bg) 100%);
}
.hero__in { padding: clamp(56px, 9vw, 110px) 0 clamp(44px, 7vw, 80px); max-width: 780px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(225, 29, 58, .16); border: 1px solid rgba(225, 29, 58, .55);
  color: #ffd9df; font-weight: 700; font-size: .82rem; letter-spacing: .06em;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; text-transform: uppercase;
}
.hero h1 { font-size: clamp(1.9rem, 5.2vw, 3.15rem); margin-bottom: .5em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--c-gold); }
.hero__sub { font-size: clamp(1rem, 2.4vw, 1.16rem); color: #c9d2e2; max-width: 640px; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--c-line);
  padding: 6px 14px; border-radius: 999px; font-size: .84rem; color: #cdd6e6;
}
.chip--ok { border-color: rgba(31, 190, 98, .5); color: #b7f2cd; }
.chip--gold { border-color: rgba(246, 196, 83, .5); color: var(--c-gold); }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section--alt { background: linear-gradient(180deg, var(--c-bg-2), var(--c-bg)); border-block: 1px solid var(--c-line); }
.section__head { max-width: 760px; margin: 0 0 clamp(26px, 4vw, 44px); }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-gold); margin-bottom: 10px;
}
.kicker--blue { color: #8ab4ff; }
.kicker--red { color: #ff8fa1; }
.kicker--green { color: #7fe0a8; }
.section__title { font-size: clamp(1.45rem, 3.6vw, 2.15rem); text-wrap: balance; }
.section__lead { color: var(--c-muted); font-size: 1.02rem; }
.section__title + .section__lead { margin-top: -0.2em; }

.grid { display: grid; gap: 18px; }
.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)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 780px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .grid--4, .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  background: linear-gradient(180deg, var(--c-panel), var(--c-bg-2));
  border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px 22px; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: #3a4763; }
.card h3 { font-size: 1.08rem; }
.card p { color: var(--c-muted); font-size: .95rem; margin: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
}
.card__icon--red { background: rgba(225, 29, 58, .15); border: 1px solid rgba(225, 29, 58, .45); }
.card__icon--green { background: rgba(31, 190, 98, .14); border: 1px solid rgba(31, 190, 98, .45); }
.card__icon--blue { background: rgba(61, 123, 253, .15); border: 1px solid rgba(61, 123, 253, .5); }
.card__icon--gold { background: rgba(246, 196, 83, .14); border: 1px solid rgba(246, 196, 83, .5); }

/* steps */
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ffe08a, var(--c-gold-d));
  color: #241a04; font-weight: 900; font-size: 1.15rem; margin-bottom: 15px;
  box-shadow: 0 6px 18px rgba(246, 196, 83, .3);
}
.step__tag { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8ab4ff; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 22px; padding: clamp(30px, 5vw, 54px);
  background:
    radial-gradient(600px 260px at 12% 0%, rgba(246, 196, 83, .16), transparent 60%),
    linear-gradient(135deg, #4a0e1c, #1d2436 55%, #0f2a1c);
  border: 1px solid #55304a;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .10; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, .5) 18px 20px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.cta-band__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.cta-band h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); margin-bottom: .45em; }
.cta-band p { color: #d8dfeb; margin-bottom: 22px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band__note { font-size: .82rem; color: var(--c-muted); margin-top: 14px !important; }
@media (max-width: 820px) { .cta-band__in { grid-template-columns: minmax(0, 1fr); } }

/* phone mockup (mobile experience) */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(26px, 5vw, 60px); align-items: center; }
.split--rev > .split__media { order: -1; }
@media (max-width: 820px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__media { max-width: 320px; margin-inline: auto; }
}
.phone {
  position: relative; width: min(280px, 78vw); margin-inline: auto;
  border: 10px solid #05070c; border-radius: 40px; background: var(--c-panel);
  box-shadow: var(--shadow), 0 0 0 1px #303b55; padding: 18px 14px 16px;
}
.phone::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 8px; border-radius: 99px; background: #05070c;
}
.phone__hero {
  height: 92px; border-radius: 14px; margin-bottom: 12px;
  background: linear-gradient(135deg, #e11d3a 0%, #7c1024 45%, #1b2130 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 0 14px; gap: 4px;
}
.phone__hero b { color: #fff; font-size: .95rem; }
.phone__hero span { color: var(--c-gold); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.phone__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.phone__tile {
  aspect-ratio: 1; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; border: 1px solid var(--c-line);
}
.phone__tile:nth-child(1) { background: linear-gradient(160deg, #2a3450, #17203a); }
.phone__tile:nth-child(2) { background: linear-gradient(160deg, #10341f, #0c1e14); }
.phone__tile:nth-child(3) { background: linear-gradient(160deg, #3a1420, #20101a); }
.phone__tile:nth-child(4) { background: linear-gradient(160deg, #14324a, #0d1d2c); }
.phone__tile:nth-child(5) { background: linear-gradient(160deg, #3d3211, #221c0b); }
.phone__tile:nth-child(6) { background: linear-gradient(160deg, #231440, #140d24); }
.phone__bar {
  margin-top: 12px; height: 34px; border-radius: 99px;
  background: linear-gradient(180deg, #2ad375, var(--c-green-d));
  display: flex; align-items: center; justify-content: center;
  color: #06220f; font-weight: 900; font-size: .8rem; letter-spacing: .12em;
}

/* quotes */
.quote { position: relative; }
.quote__stars { color: var(--c-gold); letter-spacing: 3px; margin-bottom: 10px; font-size: .95rem; }
.quote__text { color: #dbe2ee; font-style: italic; margin-bottom: 18px; }
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__ava {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #10131b; font-size: 1rem;
  overflow: hidden;
}
.quote__ava img { width: 100%; height: 100%; object-fit: cover; }
.quote__ava--g { background: linear-gradient(135deg, #7fe0a8, #1fbe62); }
.quote__ava--b { background: linear-gradient(135deg, #8ab4ff, #3d7bfd); }
.quote__ava--y { background: linear-gradient(135deg, #ffe08a, #f6c453); }
.quote__by b { display: block; color: var(--c-white); font-size: .95rem; }
.quote__by span { color: var(--c-muted); font-size: .82rem; }
.quotes-note { font-size: .8rem; color: var(--c-muted); margin-top: 18px; }

/* calculator (fitur unik) */
.calc {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 0; border: 1px solid var(--c-line); border-radius: 20px; overflow: hidden;
  background: var(--c-panel);
}
@media (max-width: 820px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc__form { padding: clamp(22px, 4vw, 36px); }
.calc__form h3 { font-size: 1.15rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; color: #cfd8e8; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-size: 1rem; font-family: var(--font);
  background: #0e121c; color: var(--c-text); border: 1px solid var(--c-line);
}
.field input:focus, .field select:focus { outline: 2px solid var(--c-gold); outline-offset: 1px; }
.field small { display: block; color: var(--c-muted); margin-top: 5px; font-size: .78rem; }
.calc__out {
  padding: clamp(22px, 4vw, 36px); background:
    radial-gradient(400px 200px at 100% 0%, rgba(61, 123, 253, .18), transparent 60%),
    var(--c-panel-2);
  border-left: 1px solid var(--c-line); display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 820px) { .calc__out { border-left: 0; border-top: 1px solid var(--c-line); } }
.calc__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed #323d55;
}
.calc__row:last-of-type { border-bottom: 0; }
.calc__row span { color: var(--c-muted); font-size: .9rem; }
.calc__row b { color: var(--c-gold); font-size: 1.15rem; white-space: nowrap; }
.calc__hint { font-size: .8rem; color: var(--c-muted); margin-top: 14px; }

/* security & RG lists */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; color: #d3dcec; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  border-radius: 7px; background: rgba(31, 190, 98, .16); border: 1px solid rgba(31, 190, 98, .5);
  color: #7fe0a8; font-weight: 900; font-size: .8rem; display: flex; align-items: center; justify-content: center;
}
.rg-panel {
  border: 1px solid rgba(61, 123, 253, .45); border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, #101c33, var(--c-bg-2));
}
.rg-panel__head {
  padding: 20px clamp(20px, 4vw, 34px); background: rgba(61, 123, 253, .14);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.badge--18 {
  background: linear-gradient(180deg, #f43f5a, var(--c-red-d)); color: #fff;
  border-radius: 12px; padding: 10px 16px; font-weight: 900; font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 6px 18px rgba(225, 29, 58, .4);
}
.rg-panel__body { padding: clamp(20px, 4vw, 34px); }
.rg-panel__body h3:first-child { margin-top: 0; }

/* FAQ */
.faq-list { max-width: 840px; }
.faq__item {
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 13px;
  margin-bottom: 12px; overflow: hidden;
}
.faq__item summary {
  cursor: pointer; list-style: none; padding: 17px 52px 17px 20px; position: relative;
  font-weight: 700; color: var(--c-white); font-size: .99rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(246, 196, 83, .14); border: 1px solid rgba(246, 196, 83, .45);
  color: var(--c-gold); font-weight: 900; transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "–"; transform: translateY(-50%) rotate(180deg); }
.faq__a { padding: 0 20px 18px; color: var(--c-muted); }
.faq__a p { margin: 0; }

/* tags cloud */
.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--c-line);
  color: #d5deee; border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 600;
  cursor: pointer; font-family: var(--font); text-decoration: none !important;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.tag:hover { border-color: var(--c-gold); color: var(--c-gold); background: rgba(246, 196, 83, .08); }
.tag i { font-style: normal; color: var(--c-muted); font-size: .78rem; }

/* ------------------------------------------------------------------ breadcrumbs */
.crumbs { border-bottom: 1px solid var(--c-line); background: rgba(255, 255, 255, .02); }
.crumbs__list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 12px 0;
  font-size: .84rem; color: var(--c-muted);
}
.crumbs__list li + li::before { content: "›"; margin-right: 6px; color: #5b6784; }
.crumbs__list a { color: var(--c-muted); }
.crumbs__list a:hover { color: var(--c-gold); }
.crumbs__list li[aria-current="page"] { color: #d7dfee; font-weight: 600; }

/* ------------------------------------------------------------------ article */
.page-head { padding: clamp(36px, 6vw, 64px) 0 clamp(18px, 3vw, 28px); max-width: 860px; }
.page-head h1 { font-size: clamp(1.65rem, 4.2vw, 2.5rem); text-wrap: balance; }
.page-head .section__lead { margin-bottom: 0; }
.article { max-width: 800px; margin-inline: auto; padding-bottom: clamp(30px, 5vw, 56px); }
.article > h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-top: 1.9em; }
.article > h3 { font-size: 1.12rem; margin-top: 1.5em; }
.article p, .article li { color: #ccd5e5; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: 8px; }
.article__meta { color: var(--c-muted); font-size: .84rem; border-bottom: 1px dashed var(--c-line); padding-bottom: 14px; margin-bottom: 26px; }
.img-wrap { margin: 26px 0; }
.img-wrap img { border-radius: 14px; border: 1px solid var(--c-line); width: 100%; max-height: 520px; object-fit: cover; }
.img-wrap figcaption { font-size: .8rem; color: var(--c-muted); margin-top: 9px; text-align: center; }

.callout {
  border-radius: 13px; padding: 16px 18px; margin: 22px 0; font-size: .95rem;
  border: 1px solid; color: #dbe4f2;
}
.callout b { color: #fff; }
.callout--info { background: rgba(61, 123, 253, .1); border-color: rgba(61, 123, 253, .45); }
.callout--warn { background: rgba(225, 29, 58, .1); border-color: rgba(225, 29, 58, .5); }
.callout--ok { background: rgba(31, 190, 98, .1); border-color: rgba(31, 190, 98, .45); }

.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--c-line); border-radius: 13px; -webkit-overflow-scrolling: touch; }
table.terms { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .9rem; }
table.terms caption { caption-side: top; text-align: left; padding: 14px 16px; font-weight: 800; color: var(--c-white); background: var(--c-panel-2); border-bottom: 1px solid var(--c-line); }
table.terms th, table.terms td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
table.terms th { background: rgba(255, 255, 255, .04); color: var(--c-white); white-space: nowrap; }
table.terms td { color: #ccd5e5; }
table.terms tr:last-child td { border-bottom: 0; }

/* promo cards */
.promo-card {
  border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden;
  background: var(--c-panel); display: flex; flex-direction: column;
}
.promo-card__head { padding: 22px 24px; position: relative; }
.promo-card__head--red { background: linear-gradient(135deg, #571325, #2a0d17); }
.promo-card__head--gold { background: linear-gradient(135deg, #4d3a10, #2a2010); }
.promo-card__head--green { background: linear-gradient(135deg, #0f3d24, #0a2416); }
.promo-card__head--blue { background: linear-gradient(135deg, #16305c, #0d1b33); }
.promo-card__head h3 { margin: 0 0 6px; font-size: 1.15rem; }
.promo-card__head p { margin: 0; color: #d8dfeb; font-size: .88rem; }
.promo-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.promo-card__body dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: .88rem; }
.promo-card__body dt { color: var(--c-muted); white-space: nowrap; }
.promo-card__body dd { margin: 0; color: #d5deee; }
.promo-card__note { font-size: .78rem; color: var(--c-muted); margin: 0; }

/* ------------------------------------------------------------------ forms */
.form-panel {
  max-width: 460px; margin-inline: auto; background: var(--c-panel);
  border: 1px solid var(--c-line); border-radius: 20px; padding: clamp(24px, 5vw, 40px);
}
.form-panel--wide { max-width: 560px; }
.form-panel h1 { font-size: 1.6rem; }
.form-panel__title { font-size: 1.3rem; margin-bottom: .3em; }
.form-panel .field input { background: #0e121c; }
.form-note { font-size: .82rem; color: var(--c-muted); margin: 14px 0 0; }
.form-panel__alt { text-align: center; margin-top: 20px; font-size: .92rem; color: var(--c-muted); }
.form-alert { display: none; margin-top: 14px; }
.form-alert.is-visible { display: block; }

/* auth layout */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 56px); align-items: start; max-width: 1040px; margin-inline: auto; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact-cards { max-width: 860px; }

/* ------------------------------------------------------------------ search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 160; }
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop { position: absolute; inset: 0; background: rgba(6, 8, 13, .8); backdrop-filter: blur(6px); }
.search-box {
  position: relative; max-width: 680px; margin: clamp(70px, 14vh, 140px) auto 0;
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 18px;
  padding: 18px; box-shadow: var(--shadow); margin-inline: auto;
}
.search-box__row { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--c-line); padding-bottom: 12px; }
.search-box__row svg { width: 22px; height: 22px; color: var(--c-gold); flex: none; }
.search-box__row input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--c-text);
  font-size: 1.05rem; font-family: var(--font); outline: none; padding: 8px 0;
}
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 4px; }
.search-tags__label { font-size: .8rem; color: var(--c-muted); }
.search-results { list-style: none; margin: 10px 0 0; padding: 0; max-height: 46vh; overflow-y: auto; }
.search-results li { border-bottom: 1px solid rgba(42, 50, 69, .6); }
.search-results li:last-child { border-bottom: 0; }
.search-results a { display: block; padding: 13px 8px; border-radius: 10px; text-decoration: none !important; }
.search-results a:hover { background: rgba(255, 255, 255, .05); }
.search-results b { display: block; color: var(--c-gold); font-size: .95rem; margin-bottom: 3px; }
.search-results span { display: block; color: var(--c-muted); font-size: .82rem; }
.search-results .search-empty { padding: 16px 8px; color: var(--c-muted); font-size: .9rem; }

/* ------------------------------------------------------------------ footer */
.site-foot { border-top: 1px solid var(--c-line); background: #0a0d14; margin-top: 40px; }
.site-foot__grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 44px); padding: clamp(40px, 6vw, 64px) 0 30px;
}
@media (max-width: 900px) { .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-foot__grid { grid-template-columns: minmax(0, 1fr); } }
.foot-col h3 { font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-white); }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { color: var(--c-muted); font-size: .92rem; }
.foot-col a:hover { color: var(--c-gold); }
.foot-col--brand p { color: var(--c-muted); font-size: .9rem; }
.logo--foot { margin-bottom: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  border: 1px solid var(--c-line); color: var(--c-muted);
  border-radius: 8px; padding: 5px 10px; background: rgba(255, 255, 255, .03);
}
.site-foot__legal { border-top: 1px solid var(--c-line); padding: 20px 0 30px; }
.site-foot__legal p { color: #7f8aa1; font-size: .8rem; margin: 6px 0; }

/* ------------------------------------------------------------------ floatbar */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; justify-content: center; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.floatbar__in {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #1c2233, #101524);
  border: 1.5px solid rgba(246, 196, 83, .65);
  border-radius: 999px; padding: 8px 10px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .55), 0 0 22px rgba(246, 196, 83, .18);
}
.reels { display: flex; gap: 4px; margin: 0 2px; }
.reel {
  width: 30px; height: 30px; border-radius: 8px; background: #f4f6fb;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  border: 1px solid #c8cfdd; overflow: hidden;
}
.fb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 108px; padding: 11px 20px; border-radius: 999px;
  font-family: var(--font); font-weight: 900; font-size: .95rem; letter-spacing: .05em;
  text-decoration: none !important; transition: transform .15s ease, filter .2s ease;
}
.fb-btn:hover { transform: translateY(-2px); filter: brightness(1.08); text-decoration: none !important; }
.fb-btn--daftar {
  background: linear-gradient(180deg, #2ad375, var(--c-green) 55%, var(--c-green-d));
  color: #06220f;
  box-shadow: 0 6px 20px rgba(31, 190, 98, .45), inset 0 1px 0 rgba(255, 255, 255, .4);
  animation: pulseGreen 2.2s ease-in-out infinite;
}
.fb-btn--masuk {
  background: linear-gradient(180deg, #ffe08a, var(--c-gold) 55%, var(--c-gold-d));
  color: #241a04;
  box-shadow: 0 6px 20px rgba(246, 196, 83, .4), inset 0 1px 0 rgba(255, 255, 255, .45);
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 6px 20px rgba(31, 190, 98, .45), 0 0 0 0 rgba(31, 190, 98, .55), inset 0 1px 0 rgba(255, 255, 255, .4); }
  50% { box-shadow: 0 6px 20px rgba(31, 190, 98, .6), 0 0 0 9px rgba(31, 190, 98, 0), inset 0 1px 0 rgba(255, 255, 255, .4); }
}
.coin {
  position: absolute; bottom: 18px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, #f6c453 55%, #b8860b);
  border: 1.5px solid #d9a423;
  box-shadow: 0 0 8px rgba(246, 196, 83, .8);
  opacity: 0; pointer-events: none;
  animation: coinUp 2.6s ease-in infinite;
}
.coin::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px dashed rgba(120, 82, 10, .55); }
.coin--1 { left: 14%; animation-delay: 0s; }
.coin--2 { left: 30%; animation-delay: .55s; }
.coin--3 { left: 52%; animation-delay: 1.1s; }
.coin--4 { left: 70%; animation-delay: 1.65s; }
.coin--5 { left: 86%; animation-delay: 2.1s; }
@keyframes coinUp {
  0% { transform: translateY(0) scale(.6) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-92px) scale(1.05) rotate(200deg); opacity: 0; }
}
@media (max-width: 480px) {
  .fb-btn { min-width: 92px; padding: 10px 14px; font-size: .88rem; }
  .reel { width: 26px; height: 26px; font-size: .9rem; }
  .floatbar__in { gap: 7px; padding: 7px 9px; }
}
@media (max-width: 380px) {
  .floatbar { padding-inline: 8px; }
  .floatbar__in { gap: 6px; padding: 6px 8px; }
  .fb-btn { min-width: 86px; padding: 10px 10px; font-size: .84rem; letter-spacing: .02em; }
  .reel { width: 24px; height: 24px; font-size: .82rem; }
  .reels { gap: 3px; margin: 0; }
  .reel:last-child { display: none; }
}

/* ------------------------------------------------------------------ misc */
.section--tight { padding: clamp(30px, 4vw, 48px) 0; }
.link-more { font-weight: 700; font-size: .92rem; }
.divider { border: 0; border-top: 1px solid var(--c-line); margin: clamp(30px, 5vw, 50px) 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .floatbar, .site-head, .search-overlay, .crumbs { display: none !important; }
  body { background: #fff; color: #111; padding-bottom: 0; }
}
