/* ==========================================================================
   Tante4d — tante4d.games
   Tema: kasino elegan (hitam · merah · emas · hijau · biru · putih)
   Responsif penuh, tanpa dependensi eksternal.
   ========================================================================== */

:root {
  --bg: #0b0d13;
  --bg2: #10131c;
  --card: #151926;
  --card2: #1a1f30;
  --line: rgba(255, 255, 255, 0.09);
  --red: #e6334a;
  --red2: #b01f36;
  --gold: #ffc531;
  --gold2: #f0a500;
  --green: #2fbf71;
  --blue: #4c8dff;
  --text: #f4f6fb;
  --muted: #9aa3b8;
  --radius: 16px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(230, 51, 74, 0.14), transparent 60%),
    radial-gradient(900px 460px at -10% 6%, rgba(255, 197, 49, 0.09), transparent 55%),
    var(--bg);
  padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

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

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

ul, ol { padding-left: 1.3rem; }

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

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

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none !important;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(180deg, #ffd764, var(--gold) 45%, var(--gold2));
  color: #171207;
  box-shadow: 0 6px 20px rgba(255, 197, 49, 0.32);
}
.btn--gold:hover { box-shadow: 0 10px 26px rgba(255, 197, 49, 0.45); }

.btn--red {
  background: linear-gradient(180deg, #f0475c, var(--red) 50%, var(--red2));
  color: #fff;
  box-shadow: 0 6px 20px rgba(230, 51, 74, 0.35);
}

.btn--green {
  background: linear-gradient(180deg, #46d389, var(--green) 55%, #1f9e5b);
  color: #06130b;
  box-shadow: 0 6px 20px rgba(47, 191, 113, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--sm { padding: 9px 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Strip usia ---------- */
.topstrip {
  background: linear-gradient(90deg, var(--red2), var(--red) 55%, var(--red2));
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
  color: #fff;
}
.topstrip .container {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  flex-wrap: wrap;
  padding-block: 5px;
}
.badge-18 {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #c0161f;
  font-weight: 900;
  font-size: 0.8rem;
  border: 2px solid rgba(0, 0, 0, 0.25);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(11, 13, 19, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.28rem;
  letter-spacing: 0.4px;
  color: var(--text) !important;
  text-decoration: none !important;
}
.brand svg { width: 38px; height: 38px; flex: none; }
.brand em { font-style: normal; color: var(--gold); }
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  line-height: 1;
}

.main-nav { display: flex; gap: 4px; margin-inline: auto; flex-wrap: wrap; }
.main-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 13px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.main-nav a.is-active { color: var(--gold); background: rgba(255, 197, 49, 0.1); }

.header-actions { display: flex; align-items: center; gap: 9px; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle { display: none; }

/* ---------- Ticker ---------- */
.ticker {
  background: linear-gradient(90deg, #171b28, #10131c);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-size: 0.84rem;
  color: var(--muted);
}
.ticker__label {
  float: left;
  z-index: 2;
  position: relative;
  background: linear-gradient(180deg, #ffd764, var(--gold2));
  color: #171207;
  font-weight: 900;
  padding: 7px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
}
.ticker__track {
  display: flex;
  gap: 44px;
  white-space: nowrap;
  padding-block: 8px;
  width: max-content;
  animation: t4marquee 36s linear infinite;
}
.ticker__track span b { color: var(--gold); font-weight: 800; }
.ticker__track span i { color: var(--green); font-style: normal; }
@keyframes t4marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 58px 0 64px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47, 191, 113, 0.12);
  border: 1px solid rgba(47, 191, 113, 0.4);
  color: var(--green);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.16;
  margin: 18px 0 14px;
  font-weight: 900;
  letter-spacing: -0.4px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, #ffe08a, var(--gold) 40%, #ff9d54 75%, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { color: var(--muted); font-size: 1.04rem; max-width: 54ch; }
.hero__cta { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 26px; }
.hero__note { margin-top: 14px; font-size: 0.8rem; color: var(--muted); }
.hero__note b { color: var(--gold); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
  max-width: 460px;
}
.hero__stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}
.hero__stat b {
  display: block;
  font-size: 1.22rem;
  color: var(--gold);
  font-weight: 900;
  line-height: 1.2;
}
.hero__stat span { font-size: 0.74rem; color: var(--muted); }

.hero__media { position: relative; }
.hero__media img {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 10 / 8.4;
  object-fit: cover;
  width: 100%;
}
.hero__tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.hero__tag--tl { top: 16px; left: -12px; color: var(--green); }
.hero__tag--br { bottom: 18px; right: -10px; color: var(--gold); }

/* ---------- Bagian umum ---------- */
.section { padding: 58px 0; }
.section--alt { background: var(--bg2); border-block: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.kicker--gold { color: var(--gold2); }
.section-head h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  margin: 0 0 10px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.3px;
}
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Kartu kategori ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none !important;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(255, 197, 49, 0.55); }
.cat-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.cat-card__body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-card__body h3 { margin: 0; font-size: 1.06rem; font-weight: 800; }
.cat-card__body p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.55; flex: 1; }
.cat-card__more { color: var(--gold); font-weight: 800; font-size: 0.85rem; }
.cat-card--red img { border-bottom: 3px solid var(--red); }
.cat-card--gold img { border-bottom: 3px solid var(--gold); }
.cat-card--green img { border-bottom: 3px solid var(--green); }
.cat-card--blue img { border-bottom: 3px solid var(--blue); }

/* ---------- Kartu keunggulan ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.adv-card {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
}
.adv-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  opacity: 0.85;
}
.adv-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 197, 49, 0.12);
  border: 1px solid rgba(255, 197, 49, 0.3);
  color: var(--gold);
  margin-bottom: 14px;
}
.adv-card__icon--green { background: rgba(47, 191, 113, 0.12); border-color: rgba(47, 191, 113, 0.35); color: var(--green); }
.adv-card__icon--blue { background: rgba(76, 141, 255, 0.12); border-color: rgba(76, 141, 255, 0.35); color: var(--blue); }
.adv-card__icon--red { background: rgba(230, 51, 74, 0.12); border-color: rgba(230, 51, 74, 0.4); color: var(--red); }
.adv-card h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 800; }
.adv-card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ---------- Promosi strip (beranda) ---------- */
.promo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promo-mini {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px dashed rgba(255, 197, 49, 0.45);
  border-radius: var(--radius);
  padding: 16px;
  text-decoration: none !important;
  color: var(--text);
  transition: background 0.15s;
}
.promo-mini:hover { background: var(--card2); }
.promo-mini__badge {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: linear-gradient(180deg, #ffd764, var(--gold2));
  color: #171207;
  font-weight: 900;
}
.promo-mini b { display: block; font-size: 0.95rem; }
.promo-mini span { color: var(--muted); font-size: 0.8rem; }

/* ---------- Kenapa memilih ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.why-item {
  display: flex;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px 18px;
}
.why-item__num {
  flex: none;
  font-weight: 900;
  font-size: 1.05rem;
  color: #171207;
  background: linear-gradient(180deg, #ffd764, var(--gold2));
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.why-item h3 { margin: 2px 0 6px; font-size: 0.99rem; font-weight: 800; }
.why-item p { margin: 0; color: var(--muted); font-size: 0.87rem; }

/* ---------- Mobile & pembayaran ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split__media img {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  width: 100%;
}
.check-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 0.93rem; }
.check-list li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47, 191, 113, 0.16);
  color: var(--green);
  border: 1px solid rgba(47, 191, 113, 0.45);
  font-size: 0.72rem;
  font-weight: 900;
}
.check-list li b { color: var(--text); }

.pay-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 700;
}
.pay-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.pay-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

/* ---------- Testimoni ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testi-card__stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }
.testi-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; flex: 1; }
.testi-card p b { color: var(--text); }
.testi-card__who { display: flex; align-items: center; gap: 10px; }
.testi-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.86rem;
  color: #171207;
  background: linear-gradient(180deg, #ffd764, var(--gold2));
}
.testi-card__who span { font-size: 0.8rem; color: var(--muted); display: block; line-height: 1.3; }
.testi-card__who b { font-size: 0.9rem; }
.testi-note { text-align: center; color: var(--muted); font-size: 0.78rem; margin-top: 18px; }

/* ---------- Akademi (jalur belajar) ---------- */
.academy {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(76, 141, 255, 0.12), transparent 60%),
    var(--bg2);
  border-block: 1px solid var(--line);
}
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: langkah;
}
.path-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 17px 18px;
  counter-increment: langkah;
}
.path-card::before {
  content: counter(langkah, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 15px;
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(255, 197, 49, 0.16);
}
.path-card h3 { margin: 8px 0 7px; font-size: 0.98rem; font-weight: 800; color: var(--gold); }
.path-card p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.path-card__icon { font-size: 1.35rem; }

/* ---------- Artikel prosa ---------- */
.prose { font-size: 1.0rem; color: #cdd3e1; }
.prose h2 {
  font-size: 1.42rem;
  font-weight: 900;
  margin: 34px 0 12px;
  line-height: 1.3;
  color: var(--text);
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}
.prose h3 { font-size: 1.12rem; font-weight: 800; margin: 24px 0 8px; color: var(--text); }
.prose p { margin: 0 0 15px; }
.prose ul, .prose ol { margin: 0 0 16px; color: #cdd3e1; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); }
.prose figure { margin: 24px 0; }
.prose figure img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
}
.prose figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 9px;
}
.note-box {
  background: rgba(76, 141, 255, 0.09);
  border: 1px solid rgba(76, 141, 255, 0.32);
  border-radius: 13px;
  padding: 15px 17px;
  font-size: 0.9rem;
  margin: 18px 0;
}
.note-box b { color: var(--blue); }
.warn-box {
  background: rgba(230, 51, 74, 0.09);
  border: 1px solid rgba(230, 51, 74, 0.36);
  border-radius: 13px;
  padding: 15px 17px;
  font-size: 0.9rem;
  margin: 18px 0;
}
.warn-box b { color: var(--red); }
.ok-box {
  background: rgba(47, 191, 113, 0.09);
  border: 1px solid rgba(47, 191, 113, 0.32);
  border-radius: 13px;
  padding: 15px 17px;
  font-size: 0.9rem;
  margin: 18px 0;
}
.ok-box b { color: var(--green); }

/* ---------- Tabel ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin: 20px 0;
  background: var(--card);
}
.t4-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.9rem; }
.t4-table th {
  background: var(--card2);
  text-align: left;
  padding: 12px 16px;
  font-weight: 800;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.t4-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.t4-table tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 11px; max-width: 860px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 52px 16px 19px;
  font-weight: 800;
  font-size: 0.97rem;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 197, 49, 0.13);
  color: var(--gold);
  font-weight: 900;
  transition: transform 0.18s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--gold); }
.faq-item__body { padding: 0 19px 18px; color: var(--muted); font-size: 0.92rem; }
.faq-item__body p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(230, 51, 74, 0.24), rgba(255, 197, 49, 0.14)),
    var(--card2);
  border: 1px solid rgba(255, 197, 49, 0.35);
  border-radius: 22px;
  padding: 42px 34px;
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 900;
}
.cta-band p { color: var(--muted); margin: 0 auto 22px; max-width: 62ch; }
.cta-band__row { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.cta-band__note { margin-top: 16px; font-size: 0.78rem; color: var(--muted); }

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted) !important;
  text-decoration: none !important;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.chip:hover { border-color: var(--gold); color: var(--gold) !important; transform: translateY(-1px); }
.chip--hot {
  background: rgba(230, 51, 74, 0.13);
  border-color: rgba(230, 51, 74, 0.42);
  color: #ff8b9b !important;
}
.tags-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 11px;
}

/* ---------- Breadcrumb & kepala halaman ---------- */
.page-head {
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(230, 51, 74, 0.13), transparent 62%),
    var(--bg2);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 30px;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: var(--muted);
}
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; color: var(--gold2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--text); font-weight: 700; }
.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.4px;
  max-width: 21ch;
}
.page-head .meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 0.82rem; }
.page-head .meta i { font-style: normal; margin-right: 5px; }

/* ---------- Layout konten + sidebar ---------- */
.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 38px;
  padding: 44px 0 58px;
  align-items: start;
}
.sidebar { position: sticky; top: 92px; display: grid; gap: 16px; }
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.side-card h3 { margin: 0 0 12px; font-size: 0.98rem; font-weight: 800; color: var(--gold); }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.side-card li a {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  line-height: 1.45;
}
.side-card li a::before { content: "▸"; color: var(--gold2); }
.side-card li a:hover { color: var(--gold); }
.side-card .btn { margin-top: 13px; }

.cover-figure { margin: 0 0 26px; }
.cover-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 21 / 9.5;
  object-fit: cover;
}
.cover-figure figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Kartu promosi (tiket) ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ticket {
  position: relative;
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, border-color 0.18s;
}
.ticket:hover { transform: translateY(-3px); border-color: rgba(255, 197, 49, 0.5); }
.ticket img { aspect-ratio: 21 / 10; object-fit: cover; width: 100%; }
.ticket__body { padding: 18px 19px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.ticket__badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(230, 51, 74, 0.14);
  border: 1px solid rgba(230, 51, 74, 0.45);
  color: #ff97a5;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.ticket__badge--green { background: rgba(47, 191, 113, 0.12); border-color: rgba(47, 191, 113, 0.42); color: #7fe0ac; }
.ticket__badge--gold { background: rgba(255, 197, 49, 0.12); border-color: rgba(255, 197, 49, 0.42); color: var(--gold); }
.ticket h3 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.ticket p { margin: 0; color: var(--muted); font-size: 0.87rem; flex: 1; }
.ticket__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.ticket__foot span { font-size: 0.76rem; color: var(--muted); }

/* ---------- Formulir auth ---------- */
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0 60px;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.auth-card h2 { margin: 0 0 6px; font-size: 1.4rem; font-weight: 900; }
.auth-card > p { color: var(--muted); font-size: 0.9rem; margin: 0 0 22px; }
.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}
.field label span { color: var(--red); }
.field input[type="text"],
.field input[type="password"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus { border-color: var(--gold); }
.field small { display: block; color: var(--muted); font-size: 0.74rem; margin-top: 5px; }
.check-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 16px 0;
}
.check-line input { margin-top: 4px; accent-color: var(--gold); }
.auth-alt { text-align: center; font-size: 0.86rem; color: var(--muted); margin-top: 18px; }
.auth-alt a { color: var(--gold); font-weight: 800; }
.auth-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.76rem;
  color: var(--muted);
}
.auth-side h2 { font-size: 1.5rem; font-weight: 900; margin: 0 0 12px; }
.auth-side p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Pencarian ---------- */
.searchbar { position: fixed; inset: 0; z-index: 220; display: none; }
.searchbar.is-open { display: block; }
.searchbar__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(4px);
}
.searchbar__panel {
  position: relative;
  width: min(720px, calc(100% - 2rem));
  margin: 9vh auto 0;
  background: var(--card);
  border: 1px solid rgba(255, 197, 49, 0.3);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  max-height: 78vh;
  overflow-y: auto;
}
.search-field { display: flex; gap: 10px; }
.search-field input {
  flex: 1;
  min-width: 0;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  padding: 13px 16px;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
}
.search-field input:focus { border-color: var(--gold); }
.searchbar .tags { margin-top: 18px; }
.search-results { margin-top: 18px; display: grid; gap: 10px; }
.search-empty { color: var(--muted); font-size: 0.88rem; }
.search-hit {
  display: block;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  text-decoration: none !important;
}
.search-hit:hover { border-color: var(--gold); }
.search-hit b { display: block; color: var(--text); font-size: 0.94rem; }
.search-hit span { font-size: 0.8rem; color: var(--muted); }
.search-hit em { font-style: normal; color: var(--gold2); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg2); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 46px 0 34px;
}
.footer-about p { color: var(--muted); font-size: 0.86rem; margin: 14px 0; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer h3 { font-size: 0.85rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); margin: 4px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer ul a { color: var(--muted); font-size: 0.88rem; text-decoration: none; }
.site-footer ul a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-legal p { color: var(--muted); font-size: 0.76rem; line-height: 1.65; margin: 0 0 10px; }
.footer-legal strong { color: #cdd3e1; }
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
}
.footer-copy .pay-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.footer-copy .pay-chips span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ---------- Float bar (slot + koin) ---------- */
.t4-float {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(11, 13, 19, 0) 0%, rgba(11, 13, 19, 0.88) 38%, #0b0d13 100%);
  pointer-events: none;
}
.t4-float__inner {
  pointer-events: auto;
  position: relative;
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(120deg, #7e1526, var(--red2) 40%, var(--red));
  border: 2px solid var(--gold);
  border-radius: 17px;
  padding: 8px 9px;
  box-shadow: 0 0 26px rgba(255, 197, 49, 0.3), 0 12px 30px rgba(0, 0, 0, 0.55);
}
.t4-reels { display: flex; gap: 5px; flex: none; }
.t4-reel {
  width: 30px;
  height: 38px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff8e1, #ffe9a8);
  border: 2px solid #8a6a00;
  box-shadow: inset 0 -6px 10px rgba(138, 106, 0, 0.35), inset 0 5px 8px rgba(255, 255, 255, 0.8);
  display: grid;
  place-items: start center;
}
.t4-reel__strip {
  font-size: 1.05rem;
  line-height: 38px;
  text-align: center;
  animation: t4reel 1.15s steps(4) infinite;
}
.t4-reel:nth-child(2) .t4-reel__strip { animation-duration: 1.45s; }
.t4-reel:nth-child(3) .t4-reel__strip { animation-duration: 0.95s; }
@keyframes t4reel {
  from { transform: translateY(0); }
  to { transform: translateY(-152px); }
}
.t4-float__btn {
  flex: 1;
  min-width: 0;
  text-align: center;
  border-radius: 11px;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.6px;
  padding: 12px 8px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  animation: t4glow 2.4s ease-in-out infinite;
}
.t4-float__btn--daftar {
  background: linear-gradient(180deg, #ffe08a, var(--gold) 45%, var(--gold2));
  color: #171207;
  box-shadow: 0 4px 14px rgba(255, 197, 49, 0.4);
}
.t4-float__btn--login {
  background: rgba(11, 13, 19, 0.82);
  color: var(--gold);
  border: 1.6px solid rgba(255, 197, 49, 0.75);
}
@keyframes t4glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.13); }
}
.t4-coin {
  position: absolute;
  top: -12px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff3c2, var(--gold) 58%, #a97c00);
  box-shadow: 0 0 8px rgba(255, 197, 49, 0.75);
  opacity: 0;
  pointer-events: none;
  animation: t4coin 2.6s linear infinite;
}
.t4-coin--1 { left: 9%; animation-delay: 0s; }
.t4-coin--2 { left: 26%; animation-delay: 0.7s; width: 11px; height: 11px; }
.t4-coin--3 { left: 52%; animation-delay: 1.3s; }
.t4-coin--4 { left: 71%; animation-delay: 0.4s; width: 12px; height: 12px; }
.t4-coin--5 { left: 88%; animation-delay: 1.8s; width: 10px; height: 10px; }
@keyframes t4coin {
  0% { transform: translateY(-8px) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(64px) rotate(340deg); opacity: 0; }
}

/* ---------- Menu seluler ---------- */
.mobile-menu {
  display: none;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
  padding: 12px 0 18px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 11px 16px;
  border-radius: 11px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none !important;
}
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.05); }
.mobile-menu__cta { display: grid; gap: 10px; margin-top: 14px; padding: 0 6px; }

/* ---------- Langkah / steps ---------- */
.steps { display: grid; gap: 14px; counter-reset: no; }
.step {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px;
}
.step__num {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, var(--red), var(--red2));
  counter-increment: no;
}
.step__num::before { content: counter(no); }
.step h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 0.89rem; }

/* ---------- Hero halaman kategori kecil ---------- */
.mini-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mini-hero__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.mini-hero__card b { display: block; font-size: 0.94rem; color: var(--gold); }
.mini-hero__card span { font-size: 0.78rem; color: var(--muted); line-height: 1.45; display: block; }

/* ============== Responsif ============== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .hero__media { max-width: 640px; }
  .hero__tag--tl { left: 10px; }
  .hero__tag--br { right: 10px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-strip { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 26px; }
  .why-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .section { padding: 42px 0; }
  .hero { padding: 38px 0 46px; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .hero__stat { padding: 10px 6px; }
  .hero__stat b { font-size: 1.02rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .mini-hero { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 32px 20px; }
  .prose h2 { font-size: 1.24rem; }
  .t4-float__btn { font-size: 0.92rem; padding: 11px 6px; }
  .t4-reel { width: 25px; height: 33px; }
  .t4-reel__strip { line-height: 33px; font-size: 0.92rem; }
  @keyframes t4reel { to { transform: translateY(-132px); } }
  .header-actions .btn--sm.btn--ghost { display: none; }
  .page-head h1 { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track, .t4-reel__strip, .t4-coin, .t4-float__btn { animation: none !important; }
  html { scroll-behavior: auto; }
}
