/* ==========================================================================
   Mega888 Vibes: "Crown Chip" landing page
   Tokens are sampled from the real hero photo (fog #F6F4FA -> jewel indigo,
   gold from the crown and the 888 reel). Gold is the ONLY accent.
   ========================================================================== */

:root {
  --fog: #F6F4FA;
  --paper: #F6F4FA;
  --paper-2: #ECE8F8;
  --white: #FFFFFF;
  --ink: #14113A;
  --ink-2: #2C2866;
  --muted: #57537C;
  --line: #D9D4EE;

  --night: #0D0930;
  --night-2: #171052;
  --night-line: rgba(255, 255, 255, .14);
  --night-text: #EFECFC;
  --night-muted: #B0ABD9;

  --gold: #FFB21E;
  --gold-hi: #FFC84F;
  --wa: #25D366;
  --tg: #229ED9;

  --f-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'Martian Mono', ui-monospace, 'Cascadia Mono', monospace;

  --gut: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }

.wrap { width: min(calc(1180px + var(--gut) * 2), 100%); padding-inline: var(--gut); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.night :focus-visible, .drawer :focus-visible, .stage :focus-visible, .gold-block :focus-visible { outline-color: var(--gold); }
.gold-block :focus-visible { outline-color: var(--ink); }

/* ---------- type ---------- */
.h2 {
  font: 800 clamp(2rem, 4.6vw, 3.7rem)/1.02 var(--f-display);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h3 { font: 700 clamp(1.3rem, 2vw, 1.6rem)/1.15 var(--f-display); letter-spacing: -.02em; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.24rem); line-height: 1.6; color: var(--ink-2); }
.night .lead { color: var(--night-muted); }
.night .h2 { color: #fff; }
.fine { font-size: .95rem; color: var(--night-muted); max-width: 52ch; }
.tlink {
  font-weight: 700; text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: .2em; text-underline-offset: .18em;
  transition: background-color .2s;
}
.tlink:hover { background: var(--gold); }
.ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-fill { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 1.5rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 700 1rem/1.1 var(--f-body); text-decoration: none; text-align: center;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn::after { /* sheen: transform only */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 32%, rgba(255, 255, 255, .5) 50%, transparent 68%);
  transform: translateX(-130%);
}
.btn:hover::after { transform: translateX(130%); transition: transform .7s var(--ease); }
.btn-lg { min-height: 58px; padding: 0 1.9rem; font-size: 1.05rem; }
.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: .95rem; }

.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55); }
.btn-primary:hover { background: var(--gold-hi); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20, 17, 58, .28); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }

.btn-pill { background: #fff; color: var(--ink); border-color: var(--line); padding: 0 1.3rem 0 1.1rem; }
.btn-pill:hover { border-color: var(--ink); }
.btn-wa .ic { color: var(--wa); }
.btn-tg .ic { color: var(--tg); }
.night .btn-pill, .on-night .btn-pill { background: rgba(255, 255, 255, .08); color: #fff; border-color: var(--night-line); }
.night .btn-pill:hover, .on-night .btn-pill:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

.only-desktop { display: none; }
@media (min-width: 900px) { .only-desktop { display: inline-flex; } .only-mobile { display: none; } }

/* ---------- header: pill nav ---------- */
.site-header { position: fixed; inset: 12px 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.nav-pill {
  pointer-events: auto; position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 6px;
  width: min(1120px, 100%); padding: 8px 8px 8px 18px;
  border: 1px solid rgba(20, 17, 58, .1); border-radius: 999px;
}
.nav-pill::before { /* blur lives here so it can't trap fixed descendants */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .5);
  transition: background-color .3s;
}
.site-header.scrolled .nav-pill::before { background: rgba(255, 255, 255, .92); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; height: 38px; width: auto; }
.nav-links { display: none; margin-left: auto; gap: 2px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 999px; font-weight: 600; font-size: .96rem; text-decoration: none;
  transition: background-color .2s;
}
.nav-links a:hover { background: rgba(20, 17, 58, .07); }
.nav-cta { display: none; }
.menu-btn {
  width: 44px; height: 44px; margin-left: auto; padding: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink);
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; margin-left: 8px; }
  .nav-pill > .menu-btn { display: none; }
}

/* mobile menu: sibling of <header>, full-screen */
.drawer {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
  background: var(--night); color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.drawer.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-top img { height: 38px; width: auto; }
.drawer .menu-btn { background: rgba(255, 255, 255, .1); border-color: var(--night-line); color: #fff; }
.drawer-links { margin-top: 28px; }
.drawer-links a {
  display: flex; align-items: center; min-height: 60px; text-decoration: none;
  font: 700 2rem/1 var(--f-display); letter-spacing: -.03em;
  border-bottom: 1px solid var(--night-line);
}
.drawer-cta { margin-top: auto; display: grid; gap: 14px; }
.drawer-cta .btn-primary { min-height: 56px; }
@media (min-width: 900px) { .drawer { display: none; } }
html.nav-open { overflow: hidden; }

/* ---------- hero (archetype H: centred badge, photo pressed underneath) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding: clamp(104px, 9.6vw, 136px) 0 31.5vw;
  background: var(--fog);
}
.hero-art { position: absolute; inset: auto 0 0; z-index: -1; overflow: hidden; }
.hero-art img {
  display: block; width: 100%; height: auto; will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
}
.hero-art::after { /* melt into the next (night) section */
  content: ""; position: absolute; inset: auto 0 0; height: 22%;
  background: linear-gradient(to bottom, transparent, var(--night));
}
@media (max-width: 899px) {
  .hero { padding: 108px 0 54vw; }
  .hero-art { inset: auto auto 0 -31.7%; width: 190%; }
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 14px;
  border: 1px solid rgba(20, 17, 58, .12); border-radius: 999px;
  background: rgba(255, 255, 255, .7); font-weight: 600; font-size: .92rem; text-decoration: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s;
}
.hero-badge:hover { background: #fff; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 178, 30, .28); }
.hero-title {
  margin: 20px 0 18px;
  font: 800 clamp(2.25rem, 6.9vw, 5.9rem)/.96 var(--f-display);
  letter-spacing: -.045em; text-wrap: balance;
}
.hero-title .ln { display: inline-block; }
.hl { position: relative; z-index: 0; background: none; color: inherit; }
.hl::before { /* highlighter block that "draws" in on load */
  content: ""; position: absolute; z-index: -1; inset: .1em -.12em .0 -.12em;
  background: var(--gold); border-radius: .14em;
  transform: rotate(-1.2deg) scaleX(var(--hl, 1)); transform-origin: left center;
}
.hero-lead { max-width: 68ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.hero-cta .btn-primary { flex: 1 1 100%; min-height: 56px; }
@media (min-width: 900px) { .hero-cta .btn-primary { flex: none; } }
.hero-facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 22px;
  font-size: .92rem; font-weight: 600; color: var(--ink-2);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ic { color: var(--ink); stroke-width: 2.6; }
@media (max-width: 899px) { .hero-facts { display: none; } }
/* keep the words for screen readers, drop them visually on phones so the pills fit one row */
@media (max-width: 599px) {
  .vh-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-badge { font-size: .88rem; }
}

/* ---------- download (night) ---------- */
.night { background: var(--night); color: var(--night-text); }
.download { padding: clamp(28px, 4vw, 56px) 0 clamp(130px, 14vw, 190px); }
.dl-grid { display: grid; gap: clamp(36px, 6vw, 90px); align-items: center; }
@media (min-width: 900px) { .dl-grid { grid-template-columns: 1.15fr .85fr; } }
.dl-copy > * + * { margin-top: 18px; }
.dl-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 440px; margin-top: 30px !important; }

.receipt {
  position: relative; padding: 26px; border-radius: 26px;
  background: var(--paper); color: var(--ink);
  transform: rotate(-1.6deg);
  box-shadow: 0 40px 60px -34px rgba(0, 0, 0, .7);
}
.receipt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.receipt-title { font: 800 1.7rem/1 var(--f-display); letter-spacing: -.03em; }
.stamp {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: var(--gold); font: 500 .78rem/1 var(--f-mono);
}
.receipt-rows { position: relative; margin-top: 20px; border-top: 2px dashed var(--line); }
.receipt-rows::before, .receipt-rows::after {
  content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--night);
}
.receipt-rows::before { left: -38px; }
.receipt-rows::after { right: -38px; }
.receipt-rows div { display: flex; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.receipt-rows dt { font: 400 .78rem/1.5 var(--f-mono); color: var(--muted); }
.receipt-rows dd { font-weight: 700; font-size: .98rem; text-align: right; }
.receipt-foot { margin-top: 16px; font-size: .9rem; color: var(--muted); }

/* ---------- light sheets ---------- */
.sheet { background: var(--paper); padding: clamp(72px, 10vw, 136px) 0; }
.what { position: relative; z-index: 2; margin-top: -48px; border-radius: 44px 44px 0 0; }
.what-grid { display: grid; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (min-width: 900px) { .what-grid { grid-template-columns: 1fr 1fr; } }
.what-copy > * + * { margin-top: 18px; }
.what-copy .h3 { margin-top: 34px; }
.what-copy p { color: var(--ink-2); }

.device { position: relative; }
.device-body {
  position: relative; padding: 12px; border-radius: 34px; background: #0B0924;
  box-shadow: 0 44px 60px -34px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .5);
  transform: rotate(-1.8deg);
}
.device-body::before { content: ""; position: absolute; left: 5px; top: 50%; width: 4px; height: 38px; border-radius: 2px; background: #2A2650; transform: translateY(-50%); }
.device-screen { border-radius: 24px; overflow: hidden; aspect-ratio: 960 / 544; background: #000; }
.device-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.device-chip {
  position: absolute; left: -10px; bottom: -20px; padding: 12px 18px; border-radius: 16px;
  background: var(--gold); font-weight: 700; box-shadow: 0 16px 28px -16px rgba(0, 0, 0, .6);
}
.device-chip strong { font: 800 1.5rem/1 var(--f-display); letter-spacing: -.03em; margin-right: 4px; }

.glance { display: grid; grid-template-columns: 1fr; margin-top: clamp(64px, 8vw, 104px); border-top: 1.5px solid var(--ink); }
.glance div { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.glance dt { font: 400 .78rem/1.5 var(--f-mono); color: var(--muted); }
.glance dd { margin-top: 4px; font-weight: 700; font-size: 1.08rem; line-height: 1.4; }
@media (min-width: 620px) {
  .glance { grid-template-columns: repeat(2, 1fr); }
  .glance div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
}
@media (min-width: 980px) {
  .glance { grid-template-columns: repeat(3, 1fr); }
  .glance div:nth-child(even) { padding-left: 0; border-left: 0; }
  .glance div:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
}

/* ---------- vibes (signature: the Vibe Deck) ---------- */
.vibes { background: var(--paper-2); padding: clamp(72px, 10vw, 136px) 0; }
.vibes-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.vibes-head .lead { margin-top: 18px; }
.vibes-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .vibes-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; } }

.vibe-list { display: flex; flex-direction: column; gap: 6px; }
.vibe-tab {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  width: 100%; min-height: 64px; padding: 10px 16px 10px 12px; text-align: left;
  border: 1.5px solid transparent; border-radius: 22px; background: transparent;
  transition: background-color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.vibe-tab:hover { background: rgba(255, 255, 255, .6); }
.vibe-tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: 0 16px 30px -22px rgba(0, 0, 0, .6); transform: translateX(6px); }
.vibe-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: background-color .25s; }
.vibe-tab[aria-selected="true"] .vibe-ic { background: var(--gold); }
.vibe-txt { display: flex; flex-direction: column; min-width: 0; }
.vibe-name { font: 700 1.1rem/1.2 var(--f-display); letter-spacing: -.02em; }
.vibe-feel { font-size: .9rem; line-height: 1.35; color: var(--muted); }
.vibe-go { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.vibe-tab[aria-selected="true"] .vibe-go { opacity: 1; transform: none; }

@media (max-width: 899px) {
  .vibe-list {
    flex-direction: row; gap: 8px; overflow-x: auto; padding: 4px var(--gut) 12px; margin-inline: calc(var(--gut) * -1);
    scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); scrollbar-width: none;
  }
  .vibe-list::-webkit-scrollbar { display: none; }
  .vibe-tab { flex: 0 0 auto; width: auto; grid-template-columns: 40px auto; min-height: 56px; padding: 8px 18px 8px 8px; border-color: var(--line); background: rgba(255, 255, 255, .6); scroll-snap-align: start; }
  .vibe-tab[aria-selected="true"] { transform: none; }
  .vibe-ic { width: 40px; height: 40px; }
  .vibe-feel, .vibe-go { display: none; }
  .vibe-name { font-size: 1rem; white-space: nowrap; }
}

.stage {
  position: relative; overflow: hidden; border-radius: 36px;
  background-color: var(--night);
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.6px);
  background-size: 22px 22px;
  color: var(--night-text);
  min-height: 500px; display: flex; flex-direction: column;
}
.deck { position: relative; height: clamp(250px, 32vw, 340px); margin: clamp(18px, 3vw, 36px) 16px 0; perspective: 1100px; }
.deck-inner { position: absolute; inset: 0; transform-style: preserve-3d; }
.deck-card {
  position: absolute; left: 50%; top: 50%;
  width: clamp(150px, 40%, 300px); aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .2);
  background: var(--night-2); box-shadow: 0 28px 44px -16px rgba(0, 0, 0, .7);
  will-change: transform;
}
.deck-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.deck-card.is-off { opacity: 0; pointer-events: none; }
.stage-cap { margin-top: auto; padding: 8px clamp(22px, 3vw, 36px) clamp(24px, 3vw, 34px); }
.stage-name { font: 700 clamp(1.5rem, 2.6vw, 2.15rem)/1.1 var(--f-display); letter-spacing: -.03em; color: #fff; }
.stage-feel { margin-top: 6px; color: var(--night-muted); }
.stage-games { margin: 10px 0 18px; font: 400 .78rem/1.6 var(--f-mono); color: var(--night-text); opacity: .8; }
.vibes-foot { margin-top: 36px; color: var(--ink-2); line-height: 2.7; }
.vibes-foot .btn { vertical-align: middle; margin: 0 4px; }

/* ---------- test ID (the one bold colour block) ---------- */
.gold-block {
  position: relative; overflow: hidden; border-radius: 44px; background: var(--gold); color: var(--ink);
  display: grid; align-items: end;
}
.gold-copy { padding: clamp(30px, 5vw, 72px); }
.gold-copy .h2 { max-width: 18ch; }
.gold-copy p { margin-top: 18px; max-width: 54ch; }
.ticket-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.ticket-row li { padding: 8px 14px; border: 1.5px dashed rgba(20, 17, 58, .6); border-radius: 10px; font: 500 .8rem/1.2 var(--f-mono); }
.gold-img { display: block; width: 100%; height: auto; margin-top: -6px; }
@media (min-width: 900px) {
  .gold-block { grid-template-columns: 1.05fr .95fr; }
  .gold-img { width: 69%; max-width: none; margin: 0 -18% 0 0; align-self: end; }
}

/* ---------- login ---------- */
.login { background: var(--paper-2); padding: clamp(72px, 10vw, 136px) 0; }
.login-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.login-head .lead { margin-top: 14px; }
.login-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .login-grid { grid-template-columns: 1.2fr 1fr; } .card-main { grid-row: span 2; align-self: start; } }
.card { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.card > * + * { margin-top: 16px; }
.card p { color: var(--ink-2); }
.steps { display: grid; gap: 12px; margin: 20px 0 24px; }
.steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.1rem; line-height: 1.35; }
.step-n { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); font: 800 1.15rem/1 var(--f-display); }
.card .pill-row { margin-top: 22px; }
.safe { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--paper-2); font-weight: 600; color: var(--ink) !important; }
.safe .ic { margin-top: 2px; }
.card-warn { background: var(--ink); border-color: var(--ink); }
.card-warn .h3 { color: #fff; }
.card-warn p { color: var(--night-muted); }
.card-warn .warn-line { color: var(--gold); font-weight: 700; font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .7fr 1.3fr; gap: 90px; } }
.faq-list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 68px; padding: 14px 0; cursor: pointer; list-style: none;
  font: 600 clamp(1.1rem, 1.8vw, 1.3rem)/1.25 var(--f-display); letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .35s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 44px 22px 0; color: var(--ink-2); animation: faq-in .4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- footer ---------- */
.site-footer { padding: clamp(64px, 8vw, 104px) 0 40px; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.7fr 1fr; gap: 48px; } }
.foot-brand img { display: block; height: 48px; width: auto; }
.foot-brand p { margin: 18px 0 22px; max-width: 40ch; color: var(--night-muted); }
.foot-col h3 { margin-bottom: 8px; font: 700 .95rem/1.2 var(--f-body); color: #fff; }
.site-footer .foot-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--night-muted); text-decoration: none; transition: color .2s; }
.site-footer .foot-col a:hover { color: var(--gold); }
.foot-base { display: flex; gap: 20px; align-items: flex-start; margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--night-line); }
.age { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); font: 800 1rem/1 var(--f-display); }
.foot-legal { display: grid; gap: 6px; font-size: .92rem; color: var(--night-muted); }
.foot-legal .copy { margin-top: 6px; opacity: .8; }
@media (max-width: 899px) { .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); } }

/* ---------- mobile sticky bar ---------- */
.sticky-bar {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateY(150%); transition: transform .45s var(--ease);
}
.sticky-bar.visible { transform: none; }
.sticky-bar .btn { width: 100%; min-height: 56px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7); }
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* ---------- match-my-vibe dialog ---------- */
.quiz {
  position: fixed; padding: 0; border: 0; border-radius: 32px; width: min(580px, calc(100% - 24px));
  background: var(--paper); color: var(--ink); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7);
}
.quiz[open] { animation: quiz-in .4s var(--ease); }
.quiz::backdrop { background: rgba(13, 9, 48, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes quiz-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.quiz-x { position: absolute; top: 14px; right: 14px; margin: 0; }
.quiz-body { padding: clamp(24px, 4vw, 40px); }
.quiz-prog { display: flex; gap: 6px; margin: 0 56px 22px 0; }
.quiz-prog i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: background-color .3s; }
.quiz-prog i.on { background: var(--ink); }
.quiz-q { font: 800 clamp(1.5rem, 3.4vw, 2rem)/1.08 var(--f-display); letter-spacing: -.03em; }
.quiz-opts { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 520px) { .quiz-opts.two { grid-template-columns: 1fr 1fr; } }
.quiz-opt {
  min-height: 56px; padding: 12px 18px; text-align: left; font-weight: 600;
  border: 1.5px solid var(--line); border-radius: 18px; background: #fff;
  transition: transform .2s var(--ease), border-color .2s, background-color .2s;
}
.quiz-opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.quiz-result img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; margin-bottom: 20px; }
.quiz-result p { margin-top: 8px; color: var(--ink-2); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- motion plumbing ---------- */
@keyframes show { to { opacity: 1; transform: none; } }

.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .hero [data-h] { opacity: 0; }
.js .hero-title .ln { opacity: 0; }
.js .hero-title { --hl: 0; }

/* fail-safe: if script.js never runs, reveal everything after 3s */
html:not([data-ready]) .rv, html:not([data-ready]) .hero [data-h], html:not([data-ready]) .hero-title .ln { animation: show .01s 3s forwards; }
html:not([data-ready]) .hero-title { animation: show-hl .01s 3s forwards; }
@keyframes show-hl { to { --hl: 1; } }
html:not([data-ready]) .hl::before { animation: hl-in .01s 3s forwards; transform: rotate(-1.2deg) scaleX(0); }
@keyframes hl-in { to { transform: rotate(-1.2deg) scaleX(1); } }

/* no GSAP / reduced motion: everything at rest */
.no-anim .rv, .no-anim .hero [data-h], .no-anim .hero-title .ln { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim .hero-title { --hl: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Inner page: /download-app/
   ========================================================================== */
.sub-hero { padding: clamp(112px, 11vw, 150px) 0 clamp(56px, 7vw, 96px); background: var(--fog); overflow: clip; }
.sub-hero-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .sub-hero-grid { grid-template-columns: 1.05fr .95fr; } }
.sub-hero-copy > * + * { margin-top: 20px; }
.sub-hero-copy .hero-badge { display: inline-flex; }
.sub-title { font: 800 clamp(2.3rem, 5.6vw, 4.6rem)/.98 var(--f-display); letter-spacing: -.04em; text-wrap: balance; }
.sub-title .hl::before { transform: rotate(-1.2deg); }
.sub-cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.sub-cta .btn { flex: 1 1 240px; }
@media (min-width: 900px) { .sub-cta .btn { flex: 0 1 auto; } }

.vcheck { padding: clamp(72px, 9vw, 120px) 0 clamp(96px, 11vw, 150px); }
.match { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.match li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--gold); color: var(--gold); font: 500 .82rem/1 var(--f-mono); }
.match li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.vcheck .fine { margin-top: 18px; }
.vcheck .dl-actions { flex-direction: row; flex-wrap: wrap; max-width: none; }
.vcheck .dl-actions .btn { flex: 1 1 240px; }
.receipt-rows dd { line-height: 1.45; }

.plat-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .plat-grid { grid-template-columns: .8fr 1.2fr; } .plat-head { position: sticky; top: 110px; } }
.plat-head > * + * { margin-top: 18px; }
.plat-body > * + * { margin-top: 22px; }
.platform { padding-top: clamp(64px, 8vw, 110px); }

.stepper { counter-reset: s; display: grid; gap: 10px; }
.stepper li { counter-increment: s; display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
.stepper .step-n::before { content: counter(s); }
.stepper b { font-weight: 800; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; font-weight: 600; }
.note-warn { background: var(--ink); color: #fff; }
.note-warn .ic { color: var(--gold); margin-top: 2px; }

.ios { background: var(--night); color: var(--night-text); padding: clamp(72px, 10vw, 128px) 0; }
.ios .h2 { color: #fff; }
.ios .lead { color: var(--night-muted); }
.ios-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.ios-head .lead { margin-top: 16px; }
.parts { display: grid; gap: 18px; }
@media (min-width: 900px) { .parts { grid-template-columns: 1fr 1fr; } }
.part { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: 32px; background: rgba(255, 255, 255, .06); border: 1px solid var(--night-line); }
.part .h3 { color: #fff; }
.part p:not(.part-n) { color: var(--night-muted); }
.part .btn { align-self: flex-start; margin-top: auto; }
.part-n { font: 500 .8rem/1 var(--f-mono); color: var(--gold); }
.part .stepper li { background: rgba(255, 255, 255, .08); border-color: var(--night-line); color: #fff; }
.part .stepper .step-n { background: var(--gold); color: var(--ink); }
.part .tlink { color: #fff; }
.support { margin-top: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; border: 1.5px dashed rgba(255, 255, 255, .3); }
.support > * + * { margin-top: 10px; }
.support p { color: var(--night-muted); }
.support .h3 { color: #fff; }

.old { background: var(--paper); }
.old-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .old-grid { grid-template-columns: .8fr 1.2fr; } .old-head { position: sticky; top: 110px; } }
.old-head .lead { margin-top: 16px; }
.vers { display: grid; gap: 14px; }
.ver { position: relative; padding: 24px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.ver > * + * { margin-top: 8px; }
.ver p { color: var(--ink-2); }
.ver-now { background: var(--gold); border-color: var(--gold); }
.ver-now p { color: var(--ink); }
.ver-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 .75rem/1 var(--f-mono); }
.ver-list { background: transparent; border-style: dashed; }

.update { background: var(--paper-2); padding: clamp(72px, 10vw, 128px) 0; }
.up-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .up-grid { grid-template-columns: .9fr 1.1fr; } }
.up-grid header .lead { margin-top: 16px; }
.up-grid p { margin-top: 20px; color: var(--ink-2); }
.sub-title .hl { display: inline-block; white-space: nowrap; }

/* ==========================================================================
   Inner page: /game/
   ========================================================================== */
:root:has(body[data-page="game"]) { scroll-padding-top: 150px; }
.g-hero { padding-bottom: clamp(72px, 8vw, 110px); }
.g-hero .sub-title { font-size: clamp(2.2rem, 5.2vw, 4.3rem); }
.g-hero .lead { font-size: clamp(1rem, 1.25vw, 1.12rem); }
.fan3 { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; }
.fcard { position: absolute; width: 66%; border-radius: 22px; overflow: hidden; border: 1px solid rgba(20, 17, 58, .14); background: var(--night); box-shadow: 0 34px 46px -26px rgba(0, 0, 0, .55); transition: transform .5s var(--ease); }
.fcard img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fcard.f1 { left: 0; top: 4%; transform: rotate(-8deg); }
.fcard.f2 { left: 17%; top: 26%; z-index: 3; transform: rotate(2deg); }
.fcard.f3 { right: 0; top: 50%; z-index: 2; transform: rotate(9deg); }
.fcard:hover { transform: rotate(0) scale(1.04); z-index: 5; }

.vjump { position: sticky; top: 84px; z-index: 30; padding: 8px 0; pointer-events: none; }
.vjump-in { display: flex; gap: 8px; overflow-x: auto; pointer-events: auto; scrollbar-width: none; scroll-padding-inline: var(--gut); padding-block: 4px; }
.vjump-in::-webkit-scrollbar { display: none; }
.vchip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: background-color .25s, border-color .25s; }
.vchip:hover { border-color: var(--ink); }
.vchip.on { background: var(--gold); border-color: var(--gold); }

/* picker */
.picker-sec { padding: clamp(40px, 6vw, 72px) 0; margin-top: -60px; padding-top: clamp(92px, 9vw, 120px); }
.picker { margin-inline: auto; padding: clamp(24px, 4vw, 48px); border-radius: 36px; background-color: var(--night-2); background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.6px); background-size: 22px 22px; border: 1px solid var(--night-line); }
.picker-head { display: grid; gap: 6px; margin-bottom: 26px; }
.picker-head .h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.picker-sub { color: var(--night-muted); }
.pbar { display: flex; gap: 6px; margin-top: 12px; max-width: 220px; }
.pbar i { flex: 1; height: 5px; border-radius: 3px; background: var(--night-line); transition: background-color .35s; }
.pbar i.on { background: var(--gold); }
.pq, .presult { display: none; }
.pq.active, .presult.active { display: block; animation: pfade .4s var(--ease); }
@keyframes pfade { from { opacity: 0; transform: translateY(8px); } }
.pq-title { font: 700 clamp(1.25rem, 2.2vw, 1.6rem)/1.2 var(--f-display); letter-spacing: -.02em; color: #fff; margin-bottom: 16px; }
.popts { display: flex; flex-wrap: wrap; gap: 10px; }
.popt { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--night-line); background: rgba(255, 255, 255, .06); color: #fff; font: 600 1rem/1 var(--f-body); transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.popt:hover { border-color: #fff; transform: translateY(-2px); }
.popt[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.ppicks { display: grid; gap: 12px; margin-bottom: 22px; }
@media (min-width: 640px) { .ppicks { grid-template-columns: 1fr 1fr; } }
.ppick { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, .07); border: 1px solid var(--night-line); color: var(--night-muted); text-decoration: none; font-size: .95rem; transition: border-color .25s, transform .25s var(--ease); }
.ppick:hover { border-color: var(--gold); transform: translateY(-3px); }
.ppick img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ppick span { padding: 14px 18px 18px; }
.ppick b { display: block; margin-bottom: 2px; color: #fff; font: 700 1.15rem/1.2 var(--f-display); }
.pactions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.plink { min-height: 44px; padding: 0 10px; background: none; border: 0; color: var(--night-muted); text-decoration: underline; }

/* starter row */
.starter { padding: clamp(56px, 7vw, 88px) 0 0; }
.starter-row { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 760px) { .starter-row { grid-template-columns: repeat(3, 1fr); } }
.scard { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); transition: transform .3s var(--ease), border-color .3s; }
.scard:hover { transform: translateY(-4px); border-color: var(--ink); }
.scard img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.scard span { padding: 16px 20px 20px; font-size: .98rem; }
.scard b { display: block; color: var(--ink); font: 700 1.25rem/1.2 var(--f-display); letter-spacing: -.02em; margin-bottom: 2px; }

/* vibe sections */
.vsec { padding: clamp(64px, 8vw, 104px) 0; background: var(--paper); }
.vsec.alt { background: var(--paper-2); }
.vsec-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: clamp(24px, 4vw, 40px); position: relative; padding-bottom: 18px; }
.vsec-head .vibe-ic { flex: none; width: 56px; height: 56px; background: var(--gold); }
.vsec-head .h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
.vsec-tag { margin-top: 10px; max-width: 70ch; color: var(--ink-2); }
.vsec-tag b { color: var(--ink); }
.vsec-head::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.vsec.spotlight .vsec-head::after { transform: scaleX(1); }
.also { margin-top: 18px; color: var(--muted); }

.gcards { display: grid; gap: 16px; }
@media (min-width: 640px) { .gcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gcards { grid-template-columns: repeat(3, 1fr); } .gcards.g4, .gcards.g2 { grid-template-columns: repeat(2, 1fr); } .gcards.g1 { grid-template-columns: 1fr; } }
.gcards.g1 { grid-template-columns: 1fr; }
.gcard { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -28px rgba(0, 0, 0, .5); }
.gcard.picked { box-shadow: 0 0 0 3px var(--gold), 0 26px 40px -28px rgba(0, 0, 0, .5); }
.gcard-art { aspect-ratio: 16 / 10; background: var(--night); overflow: hidden; }
.gcard-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gcard:hover .gcard-art img { transform: scale(1.05); }
.gcard-art.is-logo img { object-fit: contain; padding: 10px; }
.gcard-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.gcard-body h3 { font: 700 1.45rem/1.15 var(--f-display); letter-spacing: -.025em; }
.gcard-body p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 500 .76rem/1.2 var(--f-mono); }
.chips li.pace { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 760px) {
  .gcards.g1 .gcard.is-wide { flex-direction: row; }
  .gcards.g1 .gcard.is-wide .gcard-art { flex: 0 0 52%; aspect-ratio: auto; min-height: 320px; }
  .gcards.g1 .gcard.is-wide .gcard-body { justify-content: center; padding: clamp(28px, 4vw, 56px); }
  .gcards.g1 .gcard.is-wide h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
}

/* jackpot band */
.night-sec { background: var(--night); color: var(--night-text); }
.night-sec .h2 { color: #fff; }
.night-sec .vsec-tag { color: var(--night-muted); }
.night-sec .vsec-tag b { color: #fff; }
.info3 { display: grid; gap: 16px; }
@media (min-width: 900px) { .info3 { grid-template-columns: repeat(3, 1fr); } }
.icard { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 34px); border-radius: 28px; background: rgba(255, 255, 255, .06); border: 1px solid var(--night-line); }
.icard h3 { font: 700 1.35rem/1.2 var(--f-display); letter-spacing: -.02em; color: #fff; }
.icard p { color: var(--night-muted); }
.icard a:not(.btn) { color: #fff; text-decoration-color: var(--gold); text-underline-offset: .2em; font-weight: 600; }
.icard .pill-row { margin-top: auto; padding-top: 6px; }

/* RTP */
.rtp-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .rtp-grid { grid-template-columns: .85fr 1.15fr; } }
.rtp-copy > * + * { margin-top: 16px; }
.rtp-copy p { color: var(--ink-2); }
.rtp-table { padding: clamp(16px, 2.4vw, 28px); border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }
.rtp-table table { width: 100%; border-collapse: collapse; min-width: 480px; }
.rtp-table th, .rtp-table td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.rtp-table thead th { font: 500 .76rem/1.2 var(--f-mono); color: var(--muted); }
.rtp-table tbody th { font: 700 1.05rem/1.3 var(--f-display); letter-spacing: -.01em; }
.rtp-table td:nth-child(2) { font: 500 1rem/1.3 var(--f-mono); }
.rtp-table tbody tr:last-child > * { border-bottom: 0; }
.table-note { margin-top: 12px; padding: 0 12px; color: var(--muted); font-size: .95rem; }

/* tips */
.tips-sec { padding-block: clamp(56px, 7vw, 96px); }
.tips-block { grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .tips-block { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.tips-block .gold-copy .h2 { max-width: 12ch; }
.tips-list { display: grid; gap: 10px; padding: 0 clamp(20px, 3vw, 40px) clamp(24px, 3vw, 40px); }
@media (min-width: 900px) { .tips-list { padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0; } }
.tips-list li { padding: 18px 22px; border-radius: 20px; background: rgba(255, 255, 255, .55); line-height: 1.5; }
.tips-list b { font-weight: 800; }

/* closer */
.closer { padding: clamp(64px, 8vw, 104px) 0; text-align: center; }
.closer-in > * + * { margin-top: 18px; }
.closer .lead { max-width: 60ch; margin-inline: auto; }
.closer .tlink { color: #fff; }
.closer-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 10px; }
.closer-actions .btn { flex: 1 1 240px; max-width: 320px; }
.rtp-grid { grid-template-columns: minmax(0, 1fr); } .rtp-grid > * { min-width: 0; } @media (min-width: 900px) { .rtp-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.vjump { top: 76px; padding-top: 10px; background: linear-gradient(to bottom, rgba(246, 244, 250, .97) 72%, rgba(246, 244, 250, 0)); } .vchip { background: rgba(255, 255, 255, .97); }
.tips-cta { grid-column: 1 / -1; display: grid; gap: 18px; align-items: center; margin: 0 clamp(20px, 3vw, 40px) clamp(24px, 3vw, 40px); padding-top: clamp(22px, 3vw, 32px); border-top: 2px dashed rgba(20, 17, 58, .35); }
@media (min-width: 900px) { .tips-cta { grid-template-columns: 1.2fr 1fr; margin: 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); } }
.tips-cta-copy p { margin-top: 8px; }
.tips-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tips-cta-actions .btn { flex: 1 1 220px; }
.gold-block .tlink { text-decoration-color: var(--ink); }
.gold-block .tlink:hover { background: rgba(255, 255, 255, .55); }
@media (min-width: 900px) { .tips-cta { grid-template-columns: 1fr auto; } .tips-cta-actions .btn { flex: 0 0 auto; white-space: nowrap; } }

/* ==========================================================================
   Inner page: /test-id/
   ========================================================================== */
.t-hero .sub-title { font-size: clamp(2.2rem, 5.2vw, 4.3rem); }
.t-photo { margin: 0; border-radius: 36px; background-color: var(--night); background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.6px); background-size: 22px 22px; overflow: hidden; box-shadow: 0 40px 56px -34px rgba(0, 0, 0, .6); }
.t-photo img { display: block; width: 100%; height: auto; margin-top: clamp(18px, 3vw, 36px); }
.t-photo figcaption { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 clamp(18px, 3vw, 28px) clamp(18px, 3vw, 26px); margin-top: -4px; }
.t-photo figcaption span { padding: 7px 14px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .45); color: #fff; font: 500 .78rem/1.2 var(--f-mono); }
.t-hero .sub-cta .btn { flex: 1 1 260px; }
@media (min-width: 900px) { .t-hero .sub-cta .btn { flex: 0 1 auto; } }

.why-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.why-head .lead { margin-top: 16px; }
.why { padding-top: clamp(64px, 8vw, 110px); }
.why3 { display: grid; gap: 16px; }
@media (min-width: 900px) { .why3 { grid-template-columns: repeat(3, 1fr); } }
.wcard { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.wcard .vibe-ic { width: 52px; height: 52px; background: var(--gold); margin-bottom: 6px; }
.wcard p { color: var(--ink-2); }
.why-note { margin-top: 26px; max-width: 62ch; padding: 18px 22px; border-radius: 20px; background: var(--paper-2); font-weight: 600; }

.getid { padding: clamp(72px, 9vw, 120px) 0; }
.getid-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .getid-grid { grid-template-columns: 1fr 1fr; } }
.getid-copy > * + * { margin-top: 18px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; background: var(--paper); color: var(--ink); max-width: 460px; }
.pair div { padding: 18px 20px; }
.pair div + div { border-left: 2px dashed var(--line); }
.pair span { display: block; font: 400 .76rem/1.4 var(--f-mono); color: var(--muted); }
.pair b { display: block; margin-top: 4px; font: 800 1.15rem/1.2 var(--f-display); letter-spacing: -.02em; }
.getid-steps > * + * { margin-top: 16px; }
.getid .h3 { color: #fff; }
.getid .stepper li { background: rgba(255, 255, 255, .08); border-color: var(--night-line); color: #fff; }
.getid .stepper .step-n { background: var(--gold); color: var(--ink); }
.getid .tlink { color: #fff; }
.send { display: grid; gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 84px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--night-line); align-items: start; }
@media (min-width: 900px) { .send { grid-template-columns: .9fr 1.1fr; } }
.send-copy > * + * { margin-top: 14px; }
.send-copy p { color: var(--night-muted); }
.send-box { padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: rgba(255, 255, 255, .07); border: 1px solid var(--night-line); }
.msg { margin: 0; padding: 22px 24px; border-radius: 20px 20px 20px 6px; background: var(--paper); color: var(--ink); font: 600 1.15rem/1.5 var(--f-body); }
.send-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.send-actions .pill-row { margin-left: auto; }

.shared { padding-top: clamp(64px, 8vw, 104px); }
.shared-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .shared-grid { grid-template-columns: 1fr 1fr; } }
.kind > * + * { margin-top: 12px; }
.kind > p { color: var(--ink-2); }
.kind3 { display: grid; gap: 10px; margin-top: 18px !important; }
.kind3 li { padding: 16px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); line-height: 1.5; }

.alt-bg { background: var(--paper-2); }
.lt-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .lt-grid { grid-template-columns: 1.1fr .9fr; } }
.lt-grid .stepper { margin-top: 24px; }
.space-demo { display: flex; align-items: center; gap: 12px; margin-top: 8px; font: 500 1rem/1 var(--f-mono); }
.space-demo span { color: var(--muted); font-size: .76rem; }
.space-demo i { font-style: normal; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--paper); }
.space-demo em { display: inline-block; width: 1ch; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--gold); border-radius: 2px; }

.demo-sub { margin-bottom: 18px; }
.try4 { display: grid; gap: 14px; }
@media (min-width: 640px) { .try4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .try4 { grid-template-columns: repeat(4, 1fr); } }
.try4 .scard img.contain { object-fit: contain; background: var(--night); padding: 6px; }
.demo-more { margin-top: 26px; color: var(--ink-2); }

.cmp-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .cmp-grid { grid-template-columns: .8fr 1.2fr; } }
.cmp-grid { grid-template-columns: minmax(0, 1fr); }
.cmp-grid > * { min-width: 0; }
@media (min-width: 900px) { .cmp-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.cmp-grid p { margin-top: 16px; color: var(--ink-2); }
.cmp-table table { min-width: 420px; }
.cmp-table thead th { color: var(--ink); font: 700 1.05rem/1.2 var(--f-display); }
.cmp-table tbody td { color: var(--ink-2); }
.cmp-table tbody td:nth-child(2) { font: inherit; }
.cmp-table tbody td:last-child { font-weight: 700; color: var(--ink); }

/* phone-in-hands.webp is now a portrait poster (720x1080): keep it a sensible size */
.gold-img { width: min(76%, 340px); max-width: none; height: auto; margin: clamp(8px, 3vw, 24px) auto 0; align-self: end; }
@media (min-width: 900px) { .gold-img { width: min(84%, 400px); margin: 32px auto -70px; } }
.t-photo img { width: min(100%, 360px); margin-inline: auto; }
.t-photo img { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); margin-bottom: -2px; }

/* ==========================================================================
   Inner page: /terms-and-conditions/  (content is rendered from terms-data.js)
   ========================================================================== */
:root:has(body[data-page="terms"]) { scroll-padding-top: 110px; }
.read-progress { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 4px; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

.legal-hero { padding: clamp(112px, 11vw, 150px) 0 clamp(36px, 5vw, 56px); background: var(--fog); }
.legal-hero .sub-title { font-size: clamp(2.2rem, 5.4vw, 4.2rem); max-width: 16ch; }
.legal-hero .lead { margin-top: 18px; max-width: 58ch; }
.updated { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.updated span { font: 400 .76rem/1 var(--f-mono); color: var(--muted); }
.legal-hero .note { margin-top: 18px; }

.legal { padding: 0 0 clamp(72px, 9vw, 120px); background: var(--fog); }
.t-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 0 28px; }
.t-search { position: relative; display: flex; align-items: center; flex: 1 1 320px; max-width: 520px; }
.t-search > .ic { position: absolute; left: 18px; color: var(--muted); pointer-events: none; }
.t-search input { width: 100%; min-height: 52px; padding: 0 48px 0 50px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 500 1rem/1 var(--f-body); }
.t-search input::placeholder { color: var(--muted); }
.t-search input:focus-visible { outline-offset: 2px; border-color: var(--ink); }
.t-search input::-webkit-search-cancel-button { display: none; }
.t-clear { position: absolute; right: 6px; width: 40px; height: 40px; display: none; place-items: center; border: 0; border-radius: 50%; background: transparent; }
.t-search input:not(:placeholder-shown) ~ .t-clear { display: grid; }
.t-status { color: var(--muted); font-weight: 600; font-size: .95rem; min-height: 1.4em; }

.legal-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .legal-grid { grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); } }
.toc-wrap { position: sticky; top: 96px; z-index: 5; }
@media (max-width: 979px) { .toc-wrap { position: static; } }
.toc { display: none; }
@media (min-width: 980px) { .toc { display: block; padding: 22px 20px; border-radius: 24px; background: #fff; border: 1px solid var(--line); max-height: calc(100vh - 130px); overflow: auto; } .toc-m { display: none; } }
.toc-title { margin-bottom: 8px; font: 500 .76rem/1 var(--f-mono); color: var(--muted); }
.toc ul, .toc-m ul { display: grid; gap: 2px; }
.toc a, .toc-m a { display: flex; align-items: center; min-height: 40px; padding: 4px 12px; border-radius: 12px; font-weight: 600; font-size: .95rem; line-height: 1.3; text-decoration: none; color: var(--ink-2); transition: background-color .2s, color .2s; }
.toc a:hover, .toc-m a:hover { background: var(--paper-2); }
.toc a[aria-current="true"], .toc-m a[aria-current="true"] { background: var(--gold); color: var(--ink); }
.toc-m { border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.toc-m summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px; font-weight: 700; cursor: pointer; list-style: none; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary::after { content: "+"; font: 700 1.4rem/1 var(--f-display); }
.toc-m[open] summary::after { content: "–"; }
.toc-m ul { padding: 0 10px 12px; }

.legal-doc { max-width: 760px; }
.tsec { padding: clamp(26px, 3.4vw, 40px) 0; border-top: 1px solid var(--line); }
.tsec:first-of-type { border-top: 1.5px solid var(--ink); }
.tsec[hidden] { display: none; }
.tsec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tsec h2 { font: 800 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--f-display); letter-spacing: -.03em; }
.tsec h2:focus-visible { outline-offset: 6px; }
.age-badge { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); font: 800 1.15rem/1 var(--f-display); }
.anchor-btn { position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font: 700 1.2rem/1 var(--f-display); opacity: 0; transition: opacity .2s, background-color .2s; }
.tsec:hover .anchor-btn, .anchor-btn:focus-visible, .anchor-btn[data-state] { opacity: 1; }
@media (hover: none) { .anchor-btn { opacity: .55; } }
.anchor-btn:hover { background: var(--paper-2); }
.anchor-ok { position: absolute; display: none; color: var(--ink); }
.anchor-btn[data-state="copied"] { background: var(--gold); color: var(--ink); }
.anchor-btn[data-state="copied"] .anchor-ok { display: block; }
.anchor-btn[data-state="copied"] .anchor-hash { visibility: hidden; }
.tpara { color: var(--ink-2); font-size: 1.08rem; line-height: 1.7; }
.tpara + .tpara, .tpara + .tcallout, .tcallout + .tpara { margin-top: 16px; }
.tcallout { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 20px 22px; border-radius: 22px; background: var(--ink); color: #fff; }
.tcallout .ic { color: var(--gold); margin-top: 2px; }
.tcallout-text { font-weight: 700; font-size: 1.1rem; line-height: 1.5; }
.tactions { margin-top: 20px; }
.legal mark { background: var(--gold); color: var(--ink); border-radius: 4px; padding: 0 2px; }
.legal-empty { padding: 28px 0; font-weight: 600; color: var(--ink-2); }

@media print {
  .site-header, .drawer, .read-progress, .t-tools, .toc-wrap, .site-footer, .tactions, .anchor-btn { display: none !important; }
  body, .legal-hero, .legal { background: #fff; }
  .legal-hero { padding-top: 0; }
  .tcallout { background: none; color: #000; border: 1.5px solid #000; }
  .tcallout .ic { color: #000; }
}
.toc a, .toc-m a { min-height: 44px; }

.t-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; max-width: 880px; }
.t-highlights[hidden] { display: none; }
.t-highlights li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.t-highlights .ic { color: var(--ink); stroke-width: 2.6; }
.sticky-bar { transform: none; } /* always on screen */

/* WhatsApp / Telegram buttons: filled with the brand colours (ink text keeps >= 4.5:1 contrast) */
.btn.btn-pill.btn-wa { background: var(--wa); border-color: var(--wa); color: var(--ink); }
.btn.btn-pill.btn-tg { background: var(--tg); border-color: var(--tg); color: var(--ink); }
.btn.btn-pill.btn-wa:hover { background: #3BE07D; border-color: #3BE07D; }
.btn.btn-pill.btn-tg:hover { background: #3DB1EA; border-color: #3DB1EA; }
.btn.btn-pill.btn-wa .ic, .btn.btn-pill.btn-tg .ic { color: var(--ink); }
