/* =========================================================
   96M Gaming - Landing Page Styles
   ========================================================= */

:root {
  --bg: #0b0d14;
  --bg-alt: #121522;
  --surface: #1a1e2e;
  --surface-2: #232840;
  --border: #2c3250;
  --text: #e9ecf5;
  --text-muted: #9aa3bf;
  --gold: #f5c542;
  --gold-dark: #d9a520;
  --red: #e5384f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.25; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: 820px; }
.center { text-align: center; margin-top: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.6em 1.3em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 0.85em 1.8em; font-size: 1.05rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1300;
  box-shadow: 0 6px 20px rgba(245, 197, 66, 0.3);
}
.btn-gold:hover { box-shadow: 0 8px 28px rgba(245, 197, 66, 0.45); }

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #1a1300; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 13, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 13, 20, 0.97);
}

/* three columns: logo (left) | menu (centred) | buttons (right) */
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 2rem;
}
.header-inner > .logo { justify-self: start; }
.header-inner > .header-cta { justify-self: end; }

.logo {
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -1px;
  display: inline-flex;
  align-items: baseline;
}
.logo-mark { color: var(--gold); }
.logo-text { color: var(--text); }

.main-nav > ul { display: flex; align-items: center; gap: 2.1rem; }
.main-nav a {
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--text); }

.main-nav > ul > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0;
  white-space: nowrap;
}
/* thin gold underline that grows from the centre on hover / current page */
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.main-nav > ul > li > a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.header-cta .btn { padding: 0.55em 1.3em; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* ---------- Full-width banner hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 80px 0;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 28%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(11, 13, 20, 0.92) 30%, rgba(11, 13, 20, 0.55) 60%, rgba(11, 13, 20, 0.25) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 30%),
    radial-gradient(ellipse at 85% 15%, rgba(245, 197, 66, 0.18), transparent 50%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 197, 66, 0.1);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-lead {
  color: var(--text);
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-badges li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-badges img { width: 22px; height: 22px; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }

.section h2,
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
}
.section-title { text-align: center; }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.8rem;
}

/* ---------- What is 96M ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-copy p { color: var(--text-muted); }
.about-copy .about-lead { font-size: 1.08rem; color: var(--text); }
.about-copy h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.about-copy a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(245, 197, 66, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.about-copy a:hover { text-decoration-color: var(--gold); }

.facts-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.facts-card h3 { font-size: 1.15rem; color: var(--gold); margin-bottom: 0.8rem; }
.facts { margin: 0; }
.facts div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }
.facts dd { margin: 0; font-size: 0.93rem; font-weight: 500; }
.facts dd.todo { color: var(--red); font-style: italic; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-grid.three { margin-top: 2rem; }

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--gold); }
/* 3D icon tile (shared by feature + category cards) */
.feature-icon,
.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 35%, rgba(245, 197, 66, 0.22), rgba(245, 197, 66, 0.04) 70%);
  border: 1px solid rgba(245, 197, 66, 0.18);
}
.feature-icon img,
.category-icon img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease;
}
.feature:hover .feature-icon img,
.category:hover .category-icon img { transform: translateY(-4px) scale(1.08) rotate(-4deg); }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Categories ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.category {
  position: relative;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, border-color 0.2s;
}
.category .category-link { margin-top: auto; }
.category:hover { transform: translateY(-4px); border-color: var(--gold); }
.category-icon { width: 84px; height: 84px; }
.category-icon img { width: 62px; height: 62px; }
.category h3 { font-size: 1.3rem; }
.category p { color: var(--text-muted); font-size: 0.95rem; }
.category-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold);
}
.category-link:hover { text-decoration: underline; }

/* ---------- Tabs & Games ---------- */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.tab {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5em 1.3em;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.tab:hover { color: var(--text); }
.tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1300;
  font-weight: 600;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.game {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, opacity 0.3s;
}
.game:hover { transform: translateY(-4px); }
.game.is-hidden { display: none; }
.game h3 { font-size: 1rem; margin: 0.9rem 1rem 0.1rem; }
.game p { font-size: 0.85rem; color: var(--text-muted); margin: 0 1rem 1rem; }

.game-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.game-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.game:hover .game-thumb img { transform: scale(1.06); }
.game-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }

.game-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--red);
  color: #fff;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  z-index: 1;
}

/* ---------- Promotions ---------- */
.promo-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
  align-items: stretch;
}
.promo-feature {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.promo-feature img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.promo-layout .promo-grid { grid-template-columns: repeat(2, 1fr); }
.promo {
  background: linear-gradient(160deg, rgba(245, 197, 66, 0.12), var(--surface) 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.promo-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.promo h3 { font-size: 1.2rem; }
.promo p { color: var(--text-muted); font-size: 0.93rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.6rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1300;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }
.step strong { color: var(--gold); }

/* ---------- Payments ---------- */
.payment-wrap { display: grid; gap: 2rem; }
.payment-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}
.pay {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6em 1.2em;
  font-weight: 600;
  font-size: 0.92rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pay-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.pay-table th,
.pay-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.pay-table th {
  background: var(--surface-2);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}
.pay-table tbody tr:last-child td { border-bottom: 0; }
.pay-table tbody tr:hover { background: var(--surface); }

/* ---------- Download ---------- */
.download-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.download-copy p { color: var(--text-muted); font-size: 1.05rem; }

.check-list { margin: 1.4rem 0 2rem; display: grid; gap: 0.6rem; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.download-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.app-info { margin: 0 0 1.8rem; max-width: 480px; }

.install-steps { display: grid; gap: 0.85rem; counter-reset: install; }
.install-steps li {
  counter-increment: install;
  position: relative;
  padding-left: 2.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.install-steps li::before {
  content: counter(install);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #1a1300;
  font-size: 0.85rem;
  font-weight: 700;
}
.install-steps strong { color: var(--text); }

.install-note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(245, 197, 66, 0.06);
  color: var(--text-muted);
  font-size: 0.93rem;
}
.install-note strong { color: var(--gold); }

/* in-text links inside cards */
.feature p a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(245, 197, 66, 0.35);
  text-underline-offset: 3px;
}
.feature p a:hover { text-decoration-color: var(--gold); }
.faq p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Sub-pages (e.g. /download/)
   ========================================================= */
.page-hero {
  padding: 40px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 30%, rgba(245, 197, 66, 0.14), transparent 55%),
    radial-gradient(ellipse at 5% 100%, rgba(229, 56, 79, 0.1), transparent 50%),
    var(--bg);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
}
.page-hero .download-copy > p { font-size: 1.05rem; }

.breadcrumb { margin-bottom: 2rem; font-size: 0.88rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 0.5rem; color: var(--border); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--text); }

.main-nav a[aria-current="page"] { color: var(--gold); }

/* step-by-step guide: intro on the left, steps card on the right */
.guide {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.guide-intro p { color: var(--text-muted); margin-bottom: 1.6rem; }
.guide-badge {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  background: rgba(245, 197, 66, 0.1);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.guide-card .install-steps { gap: 1.3rem; }
.guide-card .install-steps li { font-size: 0.97rem; }
.guide-card .install-steps em { color: var(--text); font-style: normal; font-weight: 500; }

/* category page hero: copy on the left, facts card on the right */
.page-hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.page-lead { color: var(--text-muted); font-size: 1.08rem; max-width: 620px; }
.page-facts { position: relative; padding-top: 2.6rem; }
.page-facts h2 { font-size: 1.15rem; color: var(--gold); margin-bottom: 0.6rem; }
.page-facts-icon {
  position: absolute;
  top: -36px;
  left: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 35%, rgba(245, 197, 66, 0.28), var(--surface-2) 75%);
  border: 1px solid rgba(245, 197, 66, 0.3);
  box-shadow: var(--shadow);
}
.page-facts-icon img { width: 52px; height: 52px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }

.about-lead-text { color: var(--text-muted); font-size: 1.04rem; }
.terms-table { min-width: 0; }
.terms-table td:first-child { color: var(--gold); font-weight: 600; white-space: nowrap; }
.terms-table td { color: var(--text-muted); }
.facts-card-text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.guide-card a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.cta-band {
  padding: 60px 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(245, 197, 66, 0.16), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.3rem; }
.cta-band p { color: var(--text-muted); margin: 0; }
.cta-band .hero-actions { margin: 0; }

.sub-title { margin: 2.6rem 0 1rem; font-size: 1.15rem; text-align: center; }

/* ---------- Promotion pop-ups ---------- */
.promo-modal {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 197, 66, 0.08);
}
.promo-modal::backdrop { background: rgba(5, 6, 10, 0.78); backdrop-filter: blur(4px); }
.promo-modal:focus { outline: none; }
.promo-modal[open] { animation: modal-in 0.25s ease; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
body:has(dialog[open]) { overflow: hidden; }
.promo-modal-inner {
  position: relative;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 2rem 1.8rem 1.6rem;
  background: radial-gradient(ellipse at 100% 0%, rgba(245, 197, 66, 0.14), transparent 55%);
}
.promo-modal h3 { font-size: 1.5rem; margin: 0.2rem 0 0.5rem; }
.promo-modal h4 { font-size: 0.95rem; color: var(--gold); margin: 1.3rem 0 0.7rem; }
.modal-summary { color: var(--text-muted); margin-bottom: 0; }
.modal-steps { gap: 0.7rem; }
.modal-steps li { font-size: 0.92rem; }
.modal-terms { display: grid; gap: 0.5rem; margin: 0; }
.modal-terms li { color: var(--text-muted); font-size: 0.9rem; }
.modal-terms a,
.modal-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.modal-note {
  margin: 1.3rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.84rem;
}
.modal-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- VIP tiers (homepage band + VIP page) ---------- */
.tier-bronze   { --tier: #cd7f32; }
.tier-silver   { --tier: #c9ced8; }
.tier-gold     { --tier: #f5c542; }
.tier-platinum { --tier: #5ec8f2; }
.tier-diamond  { --tier: #c084fc; }

.vip-band {
  background:
    radial-gradient(ellipse at 15% 50%, rgba(245, 197, 66, 0.14), transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(192, 132, 252, 0.12), transparent 50%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vip-band-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.vip-band-copy p { color: var(--text-muted); margin-bottom: 1.6rem; }
.vip-tier-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}
.vip-tier-strip .tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.2rem 0.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--tier);
  border-radius: var(--radius);
  transition: transform 0.2s;
}
.vip-tier-strip .tier:hover { transform: translateY(-4px); }
.vip-tier-strip img { width: 48px; height: 48px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }
.vip-tier-strip strong { color: var(--tier); font-size: 0.98rem; }
.vip-tier-strip small { color: var(--text-muted); font-size: 0.78rem; line-height: 1.35; }

/* VIP page */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.2rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tier) 14%, var(--surface)), var(--surface) 45%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--tier);
  border-radius: var(--radius);
}
.tier-card img { width: 56px; height: 56px; margin-bottom: 0.7rem; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }
.tier-card h3 { color: var(--tier); font-size: 1.2rem; margin-bottom: 0.2rem; }
.tier-card .tier-tag { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 1rem; }
.tier-card ul { display: grid; gap: 0.5rem; }
.tier-card li { position: relative; padding-left: 1.3rem; color: var(--text); font-size: 0.86rem; }
.tier-card li::before { content: "✓"; position: absolute; left: 0; color: var(--tier); font-weight: 700; }
.tier-table th:not(:first-child),
.tier-table td:not(:first-child) { text-align: center; }
.tier-table th.tier { color: var(--tier); }
.tier-table td.yes { color: var(--gold); font-weight: 700; }
.tier-table td.no { color: var(--border); }

/* legal pages (terms, privacy) */
.legal-hero { padding-bottom: 50px; }
.legal-meta { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 1.4rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.legal-toc h2 { font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.legal-toc ol { display: grid; gap: 0.45rem; counter-reset: toc; }
.legal-toc li { counter-increment: toc; font-size: 0.88rem; }
.legal-toc a { color: var(--text-muted); display: flex; gap: 0.5rem; }
.legal-toc a::before { content: counter(toc) "."; color: var(--border); min-width: 1.3rem; }
.legal-toc a:hover { color: var(--gold); }
.legal-content { max-width: 760px; }
.legal-content section { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--border); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.legal-content h3 { font-size: 1.02rem; margin: 1.2rem 0 0.5rem; }
.legal-content p,
.legal-content li { color: var(--text-muted); font-size: 0.97rem; }
.legal-content ul { display: grid; gap: 0.45rem; margin: 0 0 1em; }
.legal-content ul li { position: relative; padding-left: 1.3rem; }
.legal-content ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-content .todo-block { margin: 0 0 2rem; }
.ph { color: var(--red); font-weight: 600; }   /* [placeholder] to fill in */

/* about page */
.todo-block {
  margin-top: 1.4rem;
  padding: 1.1rem 1.3rem;
  border: 1px dashed var(--red);
  border-radius: var(--radius-sm);
  background: rgba(229, 56, 79, 0.08);
  color: var(--text-muted);
  font-size: 0.93rem;
}
.todo-block strong { color: var(--red); }
.feature p.todo { color: var(--red); font-style: italic; }
.warning-list { display: grid; gap: 0.6rem; margin-top: 0.4rem; }
.warning-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
  font-size: 0.93rem;
}
.warning-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

/* live casino page */
.about-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-media img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; object-position: center 30%; }
.payout-table td:last-child { color: var(--text); font-weight: 600; }
.payout-table small { color: var(--text-muted); font-weight: 400; }
.facts-card-note { margin: 0.9rem 0 0; color: var(--text-muted); font-size: 0.82rem; }

/* sports page */
.esports-grid { grid-template-columns: repeat(4, 1fr); }
.esports-markets { margin: 2rem 0 0; text-align: center; color: var(--text-muted); }
.esports-markets strong { color: var(--gold); }
.check-list strong { color: var(--text); }
.odds-table-wrap { margin-top: 0.8rem; }
.odds-table { min-width: 0; }
.odds-table th,
.odds-table td { padding: 0.7rem; text-align: center; }

.trouble-grid .feature h3 { font-size: 1.05rem; }
.trouble-grid .feature em { color: var(--text); font-style: normal; }

/* ---------- Phone mockup (decorative app preview) ---------- */
.phone-wrap {
  position: relative;
  justify-self: center;
  padding: 10px 40px;
}
.phone-mock {
  position: relative;
  width: 270px;
  height: 556px;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(145deg, #3a4060, #12141d 40%, #05060a);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(245, 197, 66, 0.14);
  transform: rotate(-3deg);
  animation: float 7s ease-in-out infinite;
}
/* side buttons */
.phone-mock::before,
.phone-mock::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2a2f45;
}
.phone-mock::before { left: -3px; top: 110px; height: 48px; box-shadow: 0 64px 0 #2a2f45; }
.phone-mock::after { right: -3px; top: 150px; height: 76px; }

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-size: 10px;
  line-height: 1.3;
}
.app-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  border-radius: 20px;
  background: #000;
  z-index: 5;
}
.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 12px 22px 6px 26px;
  font-size: 11px;
  font-weight: 600;
}
.app-status-icons { display: flex; align-items: center; gap: 5px; }
.app-status-icons svg { height: 10px; width: auto; fill: currentColor; }

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 14px 8px;
}
.app-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.app-header-btns { display: flex; gap: 6px; }
.app-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 9.5px;
  font-weight: 600;
}
.app-pill.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: transparent;
  color: #1a1300;
}

.app-banner {
  position: relative;
  flex-shrink: 0;
  height: 118px;
  margin: 0 12px;
  border-radius: 14px;
  overflow: hidden;
}
.app-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.app-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 13, 20, 0.92), rgba(11, 13, 20, 0.35) 60%, transparent);
}
.app-banner-text {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.app-banner-text small {
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.app-banner-text strong { font-size: 16px; font-weight: 800; line-height: 1.1; margin-bottom: 5px; }
.app-dots {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  gap: 4px;
}
.app-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.4); }
.app-dots i.on { width: 14px; background: var(--gold); }

.app-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 12px 0;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
}
.app-tag {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 7.5px;
  font-weight: 700;
}

.app-cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 10px 10px 2px;
}
.app-cats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 8.5px;
  font-weight: 500;
}
.app-cats img {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid rgba(245, 197, 66, 0.15);
}
.app-cats .on { color: var(--gold); }
.app-cats .on img { border-color: var(--gold); background: rgba(245, 197, 66, 0.12); }

.app-section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 14px 6px;
  font-size: 11px;
  font-weight: 700;
}
.app-section-title small { color: var(--gold); font-size: 8.5px; font-weight: 600; }
.app-games {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 0 12px;
}
.app-game {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 62px;
  padding: 6px 7px;
  border-radius: 10px;
  overflow: hidden;
}
.app-game::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 65%);
}
.app-game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-game span { position: relative; z-index: 1; font-size: 8.5px; font-weight: 700; }

.app-tabbar {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  margin-top: auto;
  padding: 6px 6px 14px;
  background: rgba(18, 21, 34, 0.97);
  border-top: 1px solid var(--border);
}
.app-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 44px;
  color: var(--text-muted);
  font-size: 8px;
}
.app-tabbar span.on { color: var(--gold); }
.app-tabbar svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-tabbar .app-deposit { color: var(--text); }
.app-deposit b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: -22px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1300;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(245, 197, 66, 0.45);
}

/* floating feature chips next to the phone */
.phone-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: rgba(26, 30, 46, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.phone-chip img {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(245, 197, 66, 0.15);
}
.chip-1 { top: 210px; left: -84px; }
.chip-2 { bottom: 150px; right: -64px; animation-delay: -3s; }
#download { overflow: hidden; } /* keep the chips from causing sideways scroll */

/* ---------- Asia's top choice (photo + copy) ---------- */
.showcase-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.showcase-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 60px rgba(245, 197, 66, 0.12);
}
.showcase-photo img { width: 100%; height: 100%; object-fit: cover; }
.showcase-lead { color: var(--text-muted); font-size: 1.05rem; }
.showcase-copy .check-list a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(245, 197, 66, 0.35);
  text-underline-offset: 3px;
}
.showcase-copy .hero-actions { margin: 1.6rem 0 0; }

/* homepage closing section styled as the final call to action */
.final-cta {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(245, 197, 66, 0.16), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(229, 56, 79, 0.1), transparent 50%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
}
.final-cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.9rem; }
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.faq[open] { border-color: var(--gold); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.2s;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 1.3rem 1.2rem; color: var(--text-muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #07080d;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-note { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.8rem; max-width: 300px; }
.site-footer .footer-title { font-size: 1rem; font-weight: 600; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: 0.5rem; }
.site-footer ul a { color: var(--text-muted); font-size: 0.92rem; }
.site-footer ul a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.5rem 20px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom p { margin: 0; }
.age-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  padding: 0.1em 0.5em;
  margin-right: 0.4em;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #1a1300;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .main-nav > ul { gap: 1.5rem; }
  .header-inner { column-gap: 1.4rem; }
}
@media (max-width: 1040px) {
  .main-nav > ul { gap: 1.1rem; }
  .main-nav a { font-size: 0.88rem; }
  .header-cta .btn { padding: 0.5em 1.05em; font-size: 0.85rem; }
}

@media (max-width: 1024px) {
  .game-grid,
  .promo-grid,
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid,
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-layout { grid-template-columns: 1fr; }
  .promo-feature img { min-height: 0; max-height: 340px; }
}

@media (max-width: 860px) {
  .header-inner { display: flex; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 20px 1rem; }
  .main-nav > ul > li > a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }

  .main-nav > ul > li > a::after { display: none; }

  .hero { min-height: 440px; padding: 60px 0; }
  .hero-bg { object-position: 72% 24%; }
  .hero-overlay { background:
    linear-gradient(0deg, var(--bg) 4%, rgba(11, 13, 20, 0.7) 45%, rgba(11, 13, 20, 0.55) 100%),
    radial-gradient(ellipse at 85% 10%, rgba(245, 197, 66, 0.16), transparent 55%); }
  .about-inner,
  .legal-layout,
  .page-hero-inner,
  .guide,
  .download-inner,
  .showcase-inner { grid-template-columns: 1fr; }
  .showcase-photo { max-width: 360px; margin: 0 auto; width: 100%; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .feature-grid,
  .category-grid,
  .promo-grid,
  .promo-layout .promo-grid,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .phone-wrap { padding: 10px 0; }
  .phone-chip { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

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

@media (max-width: 860px) {
  .legal-toc { position: static; }
}

/* VIP responsive */
@media (max-width: 1100px) {
  .vip-band-inner { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-tier-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Download page: interactive Android install demo
   ========================================================= */
.guide-head { max-width: 720px; margin-bottom: 2.5rem; }
.guide-head p { color: var(--text-muted); }

.install-demo {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3.5rem;
  align-items: center;
}
.demo-steps { display: grid; gap: 0.8rem; }
.demo-step {
  display: flex;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.2rem;
  text-align: left;
  font: inherit;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.demo-step:hover { border-color: rgba(245, 197, 66, 0.5); }
.demo-step.is-active {
  border-color: var(--gold);
  background: linear-gradient(90deg, rgba(245, 197, 66, 0.1), var(--surface) 70%);
  transform: translateX(4px);
}
.demo-step .step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin: 0;
  font-size: 0.95rem;
  background: var(--surface-2);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.demo-step.is-active .step-num { background: var(--gold); color: #1a1300; }
.demo-step-text { font-size: 0.93rem; line-height: 1.55; }
.demo-step-text strong,
.demo-step-text em { color: var(--text); font-style: normal; }
.demo-step-text em { font-weight: 500; }

.demo-phone-col { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.phone-mock.flat { transform: none; animation: none; }
.demo-phone .phone-screen { position: relative; }

.demo-controls { display: flex; align-items: center; gap: 1rem; }
.demo-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.demo-arrow:hover { border-color: var(--gold); color: var(--gold); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--border); transition: width 0.25s, background 0.25s; }
.demo-dots i.on { width: 20px; background: var(--gold); }

/* --- the mock screens --- */
.demo-screen {
  position: absolute;
  inset: 40px 0 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.demo-screen.is-active { opacity: 1; transform: none; }
.ds-dim { background: rgba(0, 0, 0, 0.55); justify-content: flex-end; }
.ds-muted { color: var(--text-muted); font-size: 10px; margin: 0; }
.ds-muted.small { font-size: 9px; }
.ds-link { color: var(--gold); font-weight: 600; }

.ds-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 10px 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 9.5px;
  color: var(--text-muted);
}
.ds-lock { font-size: 8px; }
.ds-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  text-align: center;
}
.ds-logo { font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.ds-logo.big { font-size: 40px; }
.ds-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
}
.ds-btn.gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1300; }
.ds-btn.block { display: block; width: 100%; text-align: center; }
.ds-download-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 14px;
  padding: 9px 11px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 9.5px;
}
.ds-download-bar strong { display: block; font-size: 10px; }
.ds-download-bar small { color: var(--text-muted); font-size: 8.5px; }
.ds-download-bar .ds-link { margin-left: auto; }
.ds-file { font-size: 16px; }

.ds-settings-head { padding: 10px 16px 14px; font-size: 12px; font-weight: 600; }
.ds-settings-app { display: flex; align-items: center; gap: 10px; padding: 0 16px 14px; border-bottom: 1px solid var(--border); }
.ds-settings-app strong { display: block; font-size: 11px; }
.ds-settings-app small { color: var(--text-muted); font-size: 9px; }
.ds-app-dot {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #4285f4; color: #fff; font-weight: 700; font-size: 13px;
}
.ds-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 10px 0;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.ds-toggle { position: relative; width: 34px; height: 19px; border-radius: 999px; background: var(--border); }
.ds-toggle i { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: left 0.3s; }
.ds-toggle.on { background: var(--gold); }
.demo-screen.is-active .ds-toggle.on i { animation: toggle-on 0.5s 0.5s both; }
@keyframes toggle-on { from { left: 2px; } to { left: 17px; } }
.ds-toggle.on i { left: 17px; }
.ds-note { margin: 12px 18px 0; color: var(--text-muted); font-size: 9px; line-height: 1.5; }

.ds-sheet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 10px 16px;
  padding: 20px 16px 12px;
  border-radius: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  text-align: center;
}
.ds-app-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: 18px; font-weight: 800; letter-spacing: -0.5px;
}
.ds-sheet-title { font-size: 13px; }
.ds-success { color: #4ade80; font-size: 10.5px; font-weight: 600; margin: 0; }
.ds-sheet-actions { display: flex; justify-content: flex-end; gap: 6px; width: 100%; margin-top: 10px; }
.ds-text-btn { padding: 7px 12px; border-radius: 999px; font-size: 10.5px; font-weight: 600; color: var(--text-muted); }
.ds-text-btn.primary { color: var(--gold); }

.ds-login { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 0 22px 30px; text-align: center; }
.ds-field {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 10px;
  text-align: left;
}

/* pulsing "tap here" highlight on the element you press in each step */
.demo-screen.is-active .tap,
.demo-screen.is-active .tap-row { animation: tap-pulse 1.6s ease-out 0.4s infinite; }
@keyframes tap-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 197, 66, 0.65); }
  70%  { box-shadow: 0 0 0 10px rgba(245, 197, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 197, 66, 0); }
}

@media (max-width: 960px) {
  .install-demo { grid-template-columns: 1fr; gap: 2rem; }
  .demo-phone-col { order: -1; }
  .demo-step.is-active { transform: none; }
}

/* Android-style punch-hole camera on the install demo phone */
.demo-phone.android .app-island { width: 12px; height: 12px; top: 13px; border-radius: 50%; }

/* ---------- iPhone install demo (iOS screens) ---------- */
.install-demo.flip { grid-template-columns: auto 1fr; }
.install-demo.flip .demo-phone-col { order: -1; }

.ios-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 34px 18px 0;
  text-align: center;
}
.ios-skel { width: 100%; height: 46px; border-radius: 10px; background: var(--surface); }
.ios-skel.short { width: 70%; height: 30px; }
.ios-safari-bar {
  padding: 8px 10px 14px;
  background: rgba(26, 30, 46, 0.97);
  border-top: 1px solid var(--border);
}
.ios-url-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 10px;
  font-weight: 600;
}
.ios-aa { font-size: 9px; color: var(--text-muted); }
.ios-reload { color: var(--text-muted); }
.ios-toolbar { display: flex; justify-content: space-between; padding: 9px 6px 0; color: #0a84ff; }
.ios-toolbar span { display: flex; border-radius: 8px; padding: 2px; }
.ios-toolbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ios-sheet {
  margin-top: auto;
  padding: 14px 12px 18px;
  border-radius: 16px 16px 0 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.ios-sheet-head { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.ios-sheet-head strong { display: block; font-size: 11px; }
.ios-sheet-head small { color: var(--text-muted); font-size: 8.5px; }
.ds-app-icon.small { width: 34px; height: 34px; border-radius: 9px; font-size: 12px; }
.ios-sheet-apps { display: flex; gap: 12px; padding: 12px 4px; }
.ios-sheet-apps i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); opacity: 0.85; }
.ios-sheet-list { display: grid; gap: 1px; border-radius: 10px; overflow: hidden; background: var(--border); }
.ios-sheet-list span {
  display: flex;
  justify-content: space-between;
  padding: 9px 11px;
  background: var(--surface);
  font-size: 10px;
}
.ios-sheet-list b { color: var(--text-muted); font-weight: 400; }

.ios-add-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px 12px;
  font-size: 10px;
  border-bottom: 1px solid var(--border);
}
.ios-add-bar strong { font-size: 10.5px; }
.ios-plain { color: #0a84ff; }
.ios-add-bar .ds-link { padding: 3px 8px; border-radius: 999px; }
.ios-add-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 12px 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
}
.ios-add-fields { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.ios-add-name { padding-bottom: 5px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; }
.ios-add-fields small { color: var(--text-muted); font-size: 8.5px; }

.ios-home {
  justify-content: space-between;
  background: radial-gradient(circle at 30% 20%, #3b2a6b, transparent 60%), radial-gradient(circle at 80% 80%, #6b2a3b, transparent 55%), var(--bg);
}
.ios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; padding: 16px 14px 0; }
.ios-app { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ios-app i {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 60%, #000));
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
.ios-app small { font-size: 7.5px; color: #fff; opacity: 0.85; }
.ios-app.is-96m i { background: var(--bg); border: 1px solid rgba(245, 197, 66, 0.5); font-size: 13px; font-weight: 800; letter-spacing: -0.5px; }
.ios-dock {
  display: flex;
  justify-content: space-around;
  margin: 0 10px 14px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.ios-dock i { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); }

@media (max-width: 960px) {
  .install-demo.flip { grid-template-columns: 1fr; }
}

/* ---------- "Explore More at 96M" internal-link cards ---------- */
.related-band { border-top: 1px solid var(--border); }
.related-band .section-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 1.6rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 1rem; }
.related-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.related-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.related-card img { width: 40px; height: 40px; flex-shrink: 0; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4)); }
.related-card strong { display: block; font-size: 0.93rem; }
.related-card small { color: var(--text-muted); font-size: 0.8rem; }

.about-lead-text a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(245, 197, 66, 0.35); text-underline-offset: 3px; }
.guide-intro p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* 404 page */
.error-page { text-align: center; padding: 90px 0 100px; }
.error-code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; margin: 0 0 0.5rem; color: var(--gold); }
.error-page .page-lead { margin: 0 auto 1.6rem; }
.error-page .hero-actions { justify-content: center; margin-bottom: 2.5rem; }
.error-page .related-grid { text-align: left; }

/* Slots page: "bila slot cuci" myth-buster box */
.myth-box {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(160deg, rgba(245, 197, 66, 0.08), var(--surface) 60%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.myth-box h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.myth-box p { color: var(--text-muted); font-size: 0.97rem; }
.myth-box em { color: var(--text); }
.myth-box .check-list { margin: 1rem 0 0; }
