/* Wingo Analyzer — ultra-premium landing with motion */

:root {
  --bg-top: #0e1118;
  --bg-mid: #080b12;
  --bg-bottom: #05070d;
  --surface: #12161f;
  --surface-elevated: #181e2a;
  --cyan: #22d3ee;
  --cyan-bright: #67e8f9;
  --violet: #a78bfa;
  --red-signal: #f87171;
  --green-signal: #4ade80;
  --text-primary: #f1f5f9;
  --text-secondary: #c4ceda;
  --text-muted: #8b9cb3;
  --border: #1e2635;
  --border-accent: rgba(34, 211, 238, 0.32);
  --glow: rgba(34, 211, 238, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1240px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --header-h: 76px;
  --phone-radius: 46px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 2.8vw, 17px);
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg-bottom);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

/* ——— Animated aurora background ——— */
.bg-aurora {
  position: fixed; inset: 0; z-index: -4; overflow: hidden; pointer-events: none;
}
.aurora {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5;
  will-change: transform;
}
.aurora-a {
  width: 55vw; height: 55vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(34,211,238,0.22), transparent 70%);
  top: -15%; left: 20%;
  animation: aurora-drift-a 18s var(--ease-in-out) infinite alternate;
}
.aurora-b {
  width: 45vw; height: 45vw; max-width: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.16), transparent 70%);
  top: 30%; right: -10%;
  animation: aurora-drift-b 22s var(--ease-in-out) infinite alternate;
}
.aurora-c {
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, rgba(8,145,178,0.12), transparent 70%);
  bottom: 5%; left: -5%;
  animation: aurora-drift-c 20s var(--ease-in-out) infinite alternate;
}

@keyframes aurora-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(8%, 12%) scale(1.08); }
}
@keyframes aurora-drift-b {
  from { transform: translate(0, 0); }
  to { transform: translate(-10%, 8%) scale(1.05); }
}
@keyframes aurora-drift-c {
  from { transform: translate(0, 0); }
  to { transform: translate(6%, -8%); }
}

.bg-shell {
  position: fixed; inset: 0; z-index: -3;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 40%, var(--bg-bottom) 100%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
  animation: grid-pulse 8s ease-in-out infinite alternate;
}
@keyframes grid-pulse {
  from { opacity: 0.6; }
  to { opacity: 1; }
}
.bg-noise {
  position: fixed; inset: 0; z-index: -1; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bg-vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 50% 40%, transparent 40%, rgba(5,7,13,0.7) 100%);
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s var(--ease-out); }
a:hover { color: var(--cyan-bright); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap {
  width: min(100% - clamp(24px, 5vw, 56px), var(--max));
  margin-inline: auto;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}

/* ——— Hero entrance (runs on load) ——— */
.hero-in {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  animation: hero-enter 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.08s + var(--i, 0) * 0.1s);
}
html.js body.is-loaded .hero-in {
  animation: hero-enter 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.08s + var(--i, 0) * 0.1s);
}
@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ——— Scroll reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 0.08s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .hero-in { opacity: 1; transform: none; filter: none; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ——— Header ——— */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(5,7,13,0.65);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease-out);
  transform: translateY(-100%);
  animation: header-slide 0.8s var(--ease-out) 0.15s forwards;
}
@keyframes header-slide {
  to { transform: translateY(0); }
}
.site-header.is-scrolled {
  border-bottom-color: rgba(34,211,238,0.08);
  background: rgba(5,7,13,0.92);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.03em; color: var(--text-primary); z-index: 210; }
.logo-mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: var(--cyan); background: rgba(34,211,238,0.08); border: 1px solid var(--border-accent); flex-shrink: 0; transition: box-shadow 0.3s; }
.logo:hover .logo-mark { box-shadow: 0 0 24px rgba(34,211,238,0.25); }
.logo-accent { font-weight: 800; background: linear-gradient(105deg, #2dd4bf, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 0; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); cursor: pointer; z-index: 210; }
.nav-toggle-bar { display: block; width: 22px; height: 2px; margin-inline: auto; background: var(--text-primary); border-radius: 2px; transition: transform 0.25s var(--ease-out), opacity 0.2s; }
body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-desktop { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.nav-desktop a:not(.nav-get-app) { color: var(--text-muted); font-size: 0.875rem; font-weight: 600; padding: 10px 16px; border-radius: 10px; transition: color 0.2s, background 0.2s; }
.nav-desktop a:not(.nav-get-app):hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

/* Nav “Get the app” — premium glass capsule with animated border */
.nav-get-app {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-left: 14px;
  padding: 7px 12px 7px 8px;
  border-radius: 100px;
  text-decoration: none;
  color: var(--text-primary) !important;
  background: linear-gradient(155deg, rgba(18,22,31,0.92), rgba(8,10,16,0.88));
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.32),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 1px 0 rgba(255,255,255,0.1) inset;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.4s;
}
.nav-get-app-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(45,212,191,0.85),
    rgba(34,211,238,0.65),
    rgba(167,139,250,0.55),
    rgba(34,211,238,0.75),
    rgba(45,212,191,0.85)
  );
  background-size: 260% 100%;
  animation: nav-get-app-border 5s ease-in-out infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
@keyframes nav-get-app-border {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.nav-get-app-shine {
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-18deg);
  animation: nav-get-app-shine 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes nav-get-app-shine {
  0%, 72%, 100% { left: -60%; opacity: 0; }
  78% { opacity: 1; }
  92% { left: 130%; opacity: 0; }
}
.nav-get-app::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 100% at 0% 50%, rgba(34,211,238,0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}
.nav-get-app:hover {
  transform: translateY(-3px) scale(1.02);
  color: #fff !important;
  box-shadow:
    0 18px 44px rgba(0,0,0,0.38),
    0 0 36px rgba(34,211,238,0.18),
    0 0 0 1px rgba(34,211,238,0.14) inset;
}
.nav-get-app:hover::after { opacity: 1; }
.nav-get-app:hover .nav-get-app-border { opacity: 1; animation-duration: 2.8s; }
.nav-get-app:hover .nav-get-app-label {
  background: linear-gradient(105deg, #e0f2fe, #22d3ee, #a78bfa);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-get-app:hover .nav-get-app-arrow { transform: translateX(3px); opacity: 1; color: var(--cyan); }
.nav-get-app:active { transform: scale(0.98); }

.nav-get-app-icon {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25), 0 0 20px rgba(34,211,238,0.08);
}
.nav-get-app-icon-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.25), transparent 70%);
  animation: nav-get-app-pulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes nav-get-app-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.95); }
  50% { opacity: 0.75; transform: scale(1.05); }
}
.nav-play-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.nav-get-app-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2px;
  text-align: left;
  line-height: 1.1;
  padding-right: 2px;
}
.nav-get-app-eyebrow {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,250,252,0.48);
}
.nav-get-app-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  transition: color 0.35s, background 0.35s;
}

.nav-get-app-tail {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.nav-get-app-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-get-app-stars {
  font-size: 0.48rem;
  letter-spacing: -0.06em;
  color: #fbbf24;
  opacity: 0.95;
}
.nav-get-app-arrow {
  color: rgba(248,250,252,0.45);
  transition: transform 0.3s var(--ease-spring), opacity 0.3s, color 0.3s;
}

.nav-get-app--block {
  margin-left: 0;
  width: 100%;
  margin-top: 18px;
  padding: 14px 16px 14px 14px;
  justify-content: flex-start;
  border-radius: 20px;
}
.nav-get-app--block .nav-get-app-icon { width: 44px; height: 44px; }
.nav-get-app--block .nav-play-logo { width: 22px; height: 22px; }
.nav-get-app--block .nav-get-app-label { font-size: 1.05rem; }
.nav-get-app--block .nav-get-app-tail {
  margin-left: auto;
  padding-left: 14px;
}

@media (max-width: 1100px) {
  .nav-get-app-tail { display: none; }
  .nav-get-app { padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-get-app-border,
  .nav-get-app-shine,
  .nav-get-app-icon-glow { animation: none; }
  .nav-get-app-shine { display: none; }
}

.nav-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 205;
  background: rgba(5,7,13,0.97); backdrop-filter: blur(24px);
  border-top: 1px solid rgba(30,38,53,0.8);
  padding: 16px 0 max(24px, env(safe-area-inset-bottom));
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  animation: panel-in 0.35s var(--ease-out);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.nav-panel-inner { display: flex; flex-direction: column; gap: 4px; }
.nav-panel-inner a:not(.nav-get-app) { color: var(--text-primary); font-weight: 600; font-size: 1.05rem; padding: 16px 18px; border-radius: 14px; }
.nav-panel-inner a:not(.nav-get-app):hover { background: rgba(255,255,255,0.05); }

@media (max-width: 900px) { .nav-toggle { display: flex; } .nav-desktop { display: none; } }
@media (min-width: 901px) { .nav-panel { display: none !important; } }

/* ——— Buttons ——— */
.btn-primary {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 14px; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.94rem;
  color: #041016; text-decoration: none;
  background: linear-gradient(105deg, #2dd4bf, var(--cyan), #0ea5e9);
  box-shadow: 0 14px 48px rgba(34,211,238,0.28), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: transform 0.2s var(--ease-out), filter 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.04); color: #041016; box-shadow: 0 20px 56px rgba(34,211,238,0.38); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary--lg { padding: 18px 36px; font-size: 1.02rem; }
.btn-icon { flex-shrink: 0; }

.btn-shine::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: btn-shine 4s var(--ease-in-out) infinite;
}
@keyframes btn-shine {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 26px; border-radius: 14px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 0.94rem;
  color: var(--text-primary); background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, background 0.25s, transform 0.15s, box-shadow 0.25s;
}
.btn-ghost--lg { padding: 18px 32px; font-size: 1rem; }
.btn-ghost:hover { border-color: var(--border-accent); background: rgba(34,211,238,0.06); box-shadow: 0 0 32px rgba(34,211,238,0.08); }
.btn-ghost:active { transform: scale(0.97); }

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 80px)) 0 clamp(64px, 10vw, 100px);
  min-height: min(100vh, 900px);
  min-height: min(100dvh, 900px);
  display: flex; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 72px); align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 12px; margin: 0 0 28px;
  border-radius: 100px; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
  border: 1px solid var(--border-accent);
  background: rgba(34,211,238,0.06);
  box-shadow: 0 0 40px rgba(34,211,238,0.08);
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 4.75rem); line-height: 1.0;
  letter-spacing: -0.045em; color: var(--text-primary); margin: 0 0 24px; max-width: 11ch;
}
.hero-title-gradient {
  display: block; margin-top: 0.06em;
  background: linear-gradient(105deg, #5eead4 0%, var(--cyan) 35%, #7dd3fc 60%, var(--violet) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradient-shift 6s ease-in-out infinite alternate;
}
@keyframes gradient-shift {
  from { background-position: 0% center; }
  to { background-position: 100% center; }
}

.hero-lead { font-size: clamp(1.02rem, 2.4vw, 1.18rem); max-width: 44ch; margin: 0 0 36px; line-height: 1.75; color: var(--text-secondary); }
.hero-game-rotator {
  display: inline-block; position: relative; vertical-align: bottom;
  min-width: 7.5ch; text-align: center;
}
.hero-game-name {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.05em; letter-spacing: -0.02em;
  background: linear-gradient(105deg, #fff 20%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-spring), filter 0.35s;
}
.hero-game-name.is-exit { opacity: 0; transform: translateY(8px) scale(0.92); filter: blur(3px); }
.hero-game-name.is-enter { animation: hero-game-in 0.5s var(--ease-spring) forwards; }
.hero-game-name[data-accent="red"] { background: linear-gradient(105deg, #fecaca, #ef4444); -webkit-background-clip: text; background-clip: text; }
.hero-game-name[data-accent="gold"] { background: linear-gradient(105deg, #fde68a, #f59e0b); -webkit-background-clip: text; background-clip: text; }
.hero-game-name[data-accent="tri"] { background: linear-gradient(105deg, #fca5a5, #fff, #86efac); -webkit-background-clip: text; background-clip: text; }
.hero-game-name[data-accent="cyan"] { background: linear-gradient(105deg, #a5f3fc, var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.hero-game-name[data-accent="green"] { background: linear-gradient(105deg, #bbf7d0, #22c55e); -webkit-background-clip: text; background-clip: text; }
.hero-game-name[data-accent="violet"] { background: linear-gradient(105deg, #ddd6fe, var(--violet)); -webkit-background-clip: text; background-clip: text; }
.hero-game-name[data-accent="blue"] { background: linear-gradient(105deg, #bfdbfe, #3b82f6); -webkit-background-clip: text; background-clip: text; }
.hero-game-name[data-accent="orange"] { background: linear-gradient(105deg, #fed7aa, #f97316); -webkit-background-clip: text; background-clip: text; }
@keyframes hero-game-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.9); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; align-items: stretch; }

/* Premium Google Play button */
.store-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 16px;
  border-radius: 18px; text-decoration: none;
  color: #f8fafc;
  background: linear-gradient(145deg, rgba(28,32,44,0.98), rgba(8,10,16,0.99));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    0 0 0 1px rgba(34,211,238,0.06) inset,
    0 1px 0 rgba(255,255,255,0.06) inset;
  transition: transform 0.25s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.store-btn::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(34,211,238,0.12), transparent 45%, rgba(167,139,250,0.08));
  opacity: 0; transition: opacity 0.35s;
}
.store-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(34,211,238,0.35);
  box-shadow: 0 28px 60px rgba(0,0,0,0.5), 0 0 40px rgba(34,211,238,0.12), 0 0 0 1px rgba(34,211,238,0.1) inset;
  color: #fff;
}
.store-btn:hover::before { opacity: 1; }
.store-btn:active { transform: scale(0.98); }
.store-btn--hero { min-width: min(100%, 320px); }
.store-btn--lg { padding: 14px 24px 14px 18px; gap: 16px; border-radius: 20px; }
.store-btn-icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 40px; height: 40px;
  background: transparent;
  box-shadow: none;
}
.store-btn--lg .store-btn-icon { width: 44px; height: 44px; }
.store-play-logo { display: block; width: 100%; height: 100%; }
.store-btn-copy { display: grid; gap: 2px; text-align: left; min-width: 0; }
.store-btn-eyebrow {
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(248,250,252,0.55);
}
.store-btn-title {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.05;
}
.store-btn--lg .store-btn-title { font-size: 1.28rem; }
.store-btn-rating {
  display: grid; gap: 2px; margin-left: auto; text-align: right;
  padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.08);
}
.store-btn-rating strong {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 800;
  color: #fbbf24; letter-spacing: -0.02em;
}
.store-rating-label { font-size: 0.58rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }
.store-stars { color: #fbbf24; font-size: 0.62rem; letter-spacing: 1px; line-height: 1; }

.btn-ghost--premium {
  border-radius: 18px;
  border-color: rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
}

.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding-top: 8px;
}
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.hero-trust-item strong { font-family: var(--font-display); font-size: 1rem; color: var(--text-primary); }
.hero-trust-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.08); }

/* Phone stack */
.hero-phones { perspective: 1200px; }
.phone-stage {
  position: relative; width: min(100%, 400px); height: min(680px, 75vh);
  margin-inline: auto; transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}
@media (min-width: 961px) { .phone-stage { margin-inline: 0 0; margin-left: auto; } }

.phone-ring {
  position: absolute; inset: 5% 0; margin: auto;
  width: 90%; height: 85%; border-radius: 50%;
  border: 1px solid rgba(34,211,238,0.12);
  animation: ring-pulse 4s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.04); opacity: 0.8; }
}

.phone { position: absolute; transition: transform 0.5s var(--ease-out); }
.phone--back { left: -6%; top: 10%; width: 70%; z-index: 1; transform: rotate(-10deg) scale(0.86); opacity: 0.5; filter: blur(1px); }
.phone--mid { right: -4%; top: 6%; width: 74%; z-index: 2; transform: rotate(8deg) scale(0.9); opacity: 0.72; }
.phone--front { left: 50%; top: 50%; width: 92%; z-index: 3; transform: translate(-50%, -50%); }

.phone--back.float-y { animation: float-y-back 6s var(--ease-in-out) infinite; }
.phone--mid.float-y { animation: float-y-mid 5.5s var(--ease-in-out) infinite; animation-delay: -1.5s; }
.phone--front.float-y { animation: float-y-front 5s var(--ease-in-out) infinite; }

@keyframes float-y-back {
  0%, 100% { transform: rotate(-10deg) scale(0.86) translateY(0); }
  50% { transform: rotate(-10deg) scale(0.86) translateY(-12px); }
}
@keyframes float-y-mid {
  0%, 100% { transform: rotate(8deg) scale(0.9) translateY(0); }
  50% { transform: rotate(8deg) scale(0.9) translateY(-14px); }
}
@keyframes float-y-front {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-18px); }
}

.phone-shell {
  position: relative; border-radius: var(--phone-radius); padding: 11px;
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(34,211,238,0.08) inset,
    0 50px 100px rgba(0,0,0,0.6),
    0 0 80px rgba(34,211,238,0.08);
}
.phone-shell--hero { animation: phone-glow 3s ease-in-out infinite alternate; }
@keyframes phone-glow {
  from { box-shadow: 0 0 0 1px rgba(34,211,238,0.08) inset, 0 50px 100px rgba(0,0,0,0.6), 0 0 60px rgba(34,211,238,0.06); }
  to { box-shadow: 0 0 0 1px rgba(34,211,238,0.15) inset, 0 50px 100px rgba(0,0,0,0.6), 0 0 100px rgba(34,211,238,0.14); }
}

.phone-shimmer {
  position: absolute; inset: 11px; border-radius: calc(var(--phone-radius) - 8px);
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
  animation: btn-shine 5s var(--ease-in-out) infinite;
  pointer-events: none; z-index: 2;
}
.phone-shell img {
  display: block; width: 100%; height: auto;
  border-radius: calc(var(--phone-radius) - 8px);
  border: 1px solid rgba(255,255,255,0.06);
}

.phone-screen-cycle {
  position: relative;
  border-radius: calc(var(--phone-radius) - 8px);
  overflow: hidden;
  aspect-ratio: 390 / 844;
}
.phone-screen-cycle__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border: none; border-radius: 0;
  opacity: 0; transform: scale(1.06);
  filter: blur(4px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 5.5s var(--ease-out),
    filter 0.85s var(--ease-out);
  will-change: opacity, transform, filter;
}
.phone-screen-cycle__img.is-active {
  opacity: 1; transform: scale(1); filter: blur(0);
  z-index: 1;
}
.phone-screen-cycle__img.is-leaving {
  opacity: 0; transform: scale(0.98); filter: blur(2px);
  z-index: 0;
  transition-duration: 0.65s;
}
.phone-screen-cycle--hero .phone-screen-cycle__img.is-active {
  animation: hero-screen-ken 5.5s var(--ease-out) forwards;
}
@keyframes hero-screen-ken {
  from { transform: scale(1.03) translateY(0); }
  to { transform: scale(1) translateY(-8px); }
}

.phone-badge {
  position: absolute; z-index: 10;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  background: rgba(18,22,31,0.92); border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  animation: badge-float 4s var(--ease-in-out) infinite;
}
.phone-badge--conf { top: 8%; left: -8%; color: var(--cyan); border-color: var(--border-accent); animation-delay: -1s; }
.phone-badge--live { bottom: 12%; right: -6%; color: var(--green-signal); animation-delay: -2s; }
.phone-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.phone-badge-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green-signal); animation: pulse-dot 1.5s ease-in-out infinite; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 42rem; margin-inline: auto; }
  .hero-title { max-width: none; }
  .hero-lead { max-width: none; margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .store-btn--hero { width: 100%; max-width: 360px; justify-content: center; margin-inline: auto; }
  .store-btn-rating { margin-left: auto; padding-left: 12px; }
  .phone--back { left: 0; }
  .phone--mid { right: 0; }
  .phone-badge--conf { left: 0; }
  .phone-badge--live { right: 0; }
}

/* ——— Supported games (premium showcase) ——— */
.games-section {
  padding: clamp(72px, 11vw, 108px) 0;
  border-top: 1px solid rgba(255,255,255,0.03);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,211,238,0.05), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(167,139,250,0.04), transparent 50%);
}

.games-showcase {
  position: relative; max-width: 920px; margin-inline: auto;
  --games-accent-glow: rgba(34,211,238,0.08);
  padding: clamp(36px, 6vw, 56px) clamp(20px, 4vw, 32px);
  border-radius: calc(var(--radius-lg) + 8px);
  background: linear-gradient(165deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  overflow: hidden;
}
.games-showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at 50% 0%, var(--games-accent-glow), transparent 50%);
  transition: background 0.7s ease;
}
.games-showcase.is-playing .games-orbit::before {
  opacity: 1;
}
.games-showcase-head {
  position: relative; text-align: center; margin-bottom: clamp(24px, 4vw, 32px);
}
.games-showcase-tagline {
  margin: 0; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 100px;
  font-family: var(--font-display); font-size: clamp(0.88rem, 2.2vw, 1.02rem);
  font-weight: 700; letter-spacing: -0.01em; color: var(--text-primary);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}
.games-showcase-tagline-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #ef4444, #22c55e, #a78bfa);
  box-shadow: 0 0 12px rgba(34,211,238,0.4);
  animation: pulse-dot 2s ease-in-out infinite;
}

.games-orbit {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.games-orbit::before {
  content: ""; position: absolute; inset: -20px; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(34,211,238,0.06), transparent 70%);
  transition: opacity 0.6s;
}
.game-pill {
  position: relative; padding: 11px 20px; border-radius: 100px;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  color: rgba(248,250,252,0.72); cursor: pointer;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  transition: color 0.3s, transform 0.35s var(--ease-spring), box-shadow 0.35s, border-color 0.35s;
  animation: game-pill-in 0.65s var(--ease-spring) backwards;
  animation-delay: calc(var(--pill-i, 0) * 0.06s + 0.08s);
}
.games-showcase.is-playing .game-pill:not(.is-active):not(.game-pill--more) {
  animation: game-pill-in 0.65s var(--ease-spring) backwards, game-pill-float 4s ease-in-out infinite;
  animation-delay: calc(var(--pill-i, 0) * 0.06s + 0.08s), calc(var(--pill-i, 0) * 0.35s);
}
@keyframes game-pill-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.game-pill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 70%);
  transition: opacity 0.35s;
}
.game-pill::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.14), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s;
}
.game-pill:hover { transform: translateY(-4px) scale(1.05); color: #fff; }
.game-pill:hover::after { opacity: 1; }
.game-pill.is-active {
  color: #fff; transform: translateY(-3px) scale(1.06);
  border-color: rgba(255,255,255,0.22);
  animation: game-pill-pop 0.55s var(--ease-spring), game-pill-glow 2.2s ease-in-out infinite !important;
}
.game-pill.is-active::before { opacity: 1; animation: game-pill-shimmer 2.4s ease-in-out infinite; }
@keyframes game-pill-shimmer {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}
@keyframes game-pill-pop {
  0% { transform: translateY(4px) scale(0.92); }
  55% { transform: translateY(-5px) scale(1.08); }
  100% { transform: translateY(-3px) scale(1.06); }
}
@keyframes game-pill-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}
.game-pill[data-accent="red"].is-active { background: linear-gradient(135deg, rgba(239,68,68,0.35), rgba(239,68,68,0.12)); box-shadow: 0 12px 32px rgba(239,68,68,0.2); }
.game-pill[data-accent="gold"].is-active { background: linear-gradient(135deg, rgba(245,158,11,0.35), rgba(245,158,11,0.1)); box-shadow: 0 12px 32px rgba(245,158,11,0.18); }
.game-pill[data-accent="tri"].is-active { background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(34,197,94,0.2)); box-shadow: 0 12px 32px rgba(167,139,250,0.15); }
.game-pill[data-accent="cyan"].is-active { background: linear-gradient(135deg, rgba(34,211,238,0.3), rgba(34,211,238,0.08)); box-shadow: 0 12px 32px rgba(34,211,238,0.2); }
.game-pill[data-accent="green"].is-active { background: linear-gradient(135deg, rgba(34,197,94,0.3), rgba(34,197,94,0.08)); box-shadow: 0 12px 32px rgba(34,197,94,0.18); }
.game-pill[data-accent="violet"].is-active { background: linear-gradient(135deg, rgba(167,139,250,0.35), rgba(167,139,250,0.1)); box-shadow: 0 12px 32px rgba(167,139,250,0.2); }
.game-pill[data-accent="blue"].is-active { background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(59,130,246,0.1)); box-shadow: 0 12px 32px rgba(59,130,246,0.18); }
.game-pill[data-accent="orange"].is-active { background: linear-gradient(135deg, rgba(249,115,22,0.35), rgba(249,115,22,0.1)); box-shadow: 0 12px 32px rgba(249,115,22,0.18); }
.game-pill--more {
  cursor: default; color: var(--cyan);
  border-color: rgba(34,211,238,0.2);
  background: rgba(34,211,238,0.05);
}
@keyframes game-pill-in {
  from { opacity: 0; transform: translateY(12px) scale(0.88); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.games-facts {
  display: grid; gap: 0; margin-top: clamp(40px, 6vw, 56px);
  max-width: 920px; margin-inline: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255,255,255,0.025), transparent);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
@media (min-width: 768px) {
  .games-facts { grid-template-columns: repeat(3, 1fr); }
}
.games-fact {
  display: flex; gap: 16px; align-items: flex-start;
  padding: clamp(24px, 4vw, 28px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
@media (min-width: 768px) {
  .games-fact { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.04); }
  .games-fact:last-child { border-right: none; }
}
.games-fact-icon {
  flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; font-size: 0.9rem;
  color: var(--cyan); background: rgba(34,211,238,0.08);
  box-shadow: 0 0 20px rgba(34,211,238,0.08);
}
.games-fact strong {
  display: block; font-family: var(--font-display); font-size: 0.95rem;
  font-weight: 700; color: var(--text-primary); margin-bottom: 6px; letter-spacing: -0.02em;
}
.games-fact p { margin: 0; font-size: 0.84rem; line-height: 1.65; color: var(--text-muted); }

/* ——— Gallery (auto carousel) ——— */
.gallery-section {
  padding: clamp(80px, 12vw, 120px) 0;
  border-top: 1px solid rgba(34,211,238,0.06);
  background: linear-gradient(180deg, rgba(34,211,238,0.025), transparent 40%);
  overflow: hidden;
}

.gallery-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: clamp(36px, 5vw, 52px);
}
.gallery-tab {
  position: relative; overflow: hidden;
  padding: 11px 22px; border-radius: 100px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700;
  color: var(--text-muted); background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07); cursor: pointer;
  transition: color 0.3s, border-color 0.3s, transform 0.2s var(--ease-out), box-shadow 0.3s;
}
.gallery-tab-text { position: relative; z-index: 2; }
.gallery-tab-fill {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, #2dd4bf, var(--cyan));
  transform: scaleX(0); transform-origin: left center;
  border-radius: inherit;
}
.gallery-tab.is-active {
  color: #041016; border-color: transparent;
  box-shadow: 0 8px 28px rgba(34,211,238,0.28);
  transform: translateY(-2px);
}
.gallery-tab.is-active .gallery-tab-fill {
  animation: gallery-tab-fill var(--gallery-duration, 5.2s) linear forwards;
}
.gallery-tab.is-active .gallery-tab-text { color: #041016; }
.gallery-tab:not(.is-active):hover { color: var(--text-primary); border-color: rgba(34,211,238,0.2); }
.gallery-tab:active { transform: scale(0.97); }

@keyframes gallery-tab-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.gallery-stage {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 72px); align-items: center;
}
.gallery-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 50%, rgba(34,211,238,0.16), transparent 55%);
  animation: gallery-glow-pulse 5s ease-in-out infinite alternate;
}
.gallery-glow--violet {
  background: radial-gradient(circle at 70% 60%, rgba(139,92,246,0.1), transparent 50%);
  animation-delay: -2.5s;
}
@keyframes gallery-glow-pulse {
  from { opacity: 0.5; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06); }
}

/* Phone column */
.gallery-phone-col {
  position: relative; display: flex; flex-direction: column; align-items: center;
  perspective: 1400px;
}
.gallery-orbit {
  position: absolute; border-radius: 50%; border: 1px solid rgba(34,211,238,0.08);
  pointer-events: none;
}
.gallery-orbit--a {
  width: min(420px, 95vw); height: min(420px, 95vw);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: gallery-orbit-spin 24s linear infinite;
}
.gallery-orbit--b {
  width: min(340px, 80vw); height: min(340px, 80vw);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-color: rgba(167,139,250,0.1);
  animation: gallery-orbit-spin 18s linear infinite reverse;
}
@keyframes gallery-orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.gallery-phone-float {
  position: relative; z-index: 2; width: 100%; max-width: 360px;
  animation: gallery-phone-float 6s var(--ease-in-out) infinite;
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
}
@keyframes gallery-phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-shell--gallery {
  position: relative; padding: 13px; border-radius: 52px;
  background: linear-gradient(165deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(34,211,238,0.06) inset,
    0 60px 120px rgba(0,0,0,0.55),
    0 0 80px rgba(34,211,238,0.08);
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
}
.phone-shell-border {
  position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(34,211,238,0.5), transparent 40%, transparent 60%, rgba(167,139,250,0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-rotate 8s linear infinite;
  pointer-events: none;
}
@keyframes border-rotate {
  from { filter: hue-rotate(0deg); opacity: 0.7; }
  to { filter: hue-rotate(30deg); opacity: 1; }
}

.gallery-viewport {
  position: relative; border-radius: 40px; overflow: hidden;
  background: #05070d;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.gallery-track {
  display: flex;
  transition: transform 0.9s var(--ease-spring);
  will-change: transform;
}
.gallery-track.is-spring { transition: transform 0.9s var(--ease-spring); }
.gallery-track.is-snappy { transition: transform 0.55s var(--ease-out); }

.gallery-slide {
  flex: 0 0 100%; margin: 0; overflow: hidden;
}
.gallery-slide img {
  display: block; width: 100%; height: auto;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out), filter 0.6s;
}
.gallery[data-active-index="0"] .gallery-slide:nth-child(1) img,
.gallery[data-active-index="1"] .gallery-slide:nth-child(2) img,
.gallery[data-active-index="2"] .gallery-slide:nth-child(3) img,
.gallery[data-active-index="3"] .gallery-slide:nth-child(4) img,
.gallery[data-active-index="4"] .gallery-slide:nth-child(5) img {
  animation: gallery-ken-burns var(--gallery-duration, 5.2s) var(--ease-out) forwards;
}
.gallery-slide:not(.is-entering) img {
  opacity: 0.92;
}
.gallery[data-active-index="0"] .gallery-slide:nth-child(1) img,
.gallery[data-active-index="1"] .gallery-slide:nth-child(2) img,
.gallery[data-active-index="2"] .gallery-slide:nth-child(3) img,
.gallery[data-active-index="3"] .gallery-slide:nth-child(4) img,
.gallery[data-active-index="4"] .gallery-slide:nth-child(5) img {
  opacity: 1;
}
.gallery-track.is-spring .gallery-slide.is-entering img {
  animation: gallery-slide-in 0.9s var(--ease-out) forwards;
}
@keyframes gallery-slide-in {
  from { opacity: 0.4; transform: scale(1.08); filter: blur(6px); }
  to { opacity: 1; transform: scale(1.01); filter: blur(0); }
}
@keyframes gallery-ken-burns {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.01) translateY(-6px); }
}

.gallery-scanline {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(34,211,238,0.04) 50%, transparent 100%);
  height: 40%; animation: gallery-scan 4s ease-in-out infinite;
  opacity: 0.6;
}
@keyframes gallery-scan {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(320%); }
}

.gallery-screen-chip {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-primary);
  background: rgba(8,10,16,0.88); border: 1px solid rgba(34,211,238,0.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  white-space: nowrap;
  animation: chip-pop 0.5s var(--ease-spring);
}
.gallery-screen-chip.is-changing { animation: chip-pop 0.5s var(--ease-spring); }
@keyframes chip-pop {
  0% { opacity: 0; transform: translateX(-50%) translateY(8px) scale(0.92); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
.gallery-screen-chip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-signal);
  box-shadow: 0 0 8px var(--green-signal);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

/* Progress dots */
.gallery-dots {
  display: flex; gap: 12px; margin-top: 28px; z-index: 2;
}
.gallery-dot {
  position: relative; width: 12px; height: 12px; padding: 0;
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,0.12);
  transition: transform 0.2s, background 0.3s;
}
.gallery-dot:hover { transform: scale(1.15); background: rgba(34,211,238,0.3); }
.gallery-dot.is-active { background: var(--cyan); box-shadow: 0 0 12px rgba(34,211,238,0.5); }
.gallery-dot-ring {
  position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(34,211,238,0.15);
  border-top-color: var(--cyan);
  opacity: 0;
}
.gallery-dot.is-active .gallery-dot-ring {
  opacity: 1;
  animation: dot-ring-spin var(--gallery-duration, 5.2s) linear forwards;
}
@keyframes dot-ring-spin {
  from { transform: rotate(-90deg); }
  to { transform: rotate(270deg); }
}

/* Copy panel */
.gallery-copy { position: relative; min-height: 280px; }
.gallery-panel {
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  filter: blur(8px);
  transition: none;
  position: absolute; inset: 0;
}
.gallery-panel.is-active {
  opacity: 1; visibility: visible; position: relative;
  animation: gallery-panel-in 0.65s var(--ease-out) forwards;
}
.gallery-panel.is-exiting {
  animation: gallery-panel-out 0.4s var(--ease-out) forwards;
}
@keyframes gallery-panel-in {
  from { opacity: 0; transform: translateY(24px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes gallery-panel-out {
  from { opacity: 1; transform: translateY(0); filter: blur(0); }
  to { opacity: 0; transform: translateY(-12px); filter: blur(6px); }
}

.gallery-panel-num {
  display: inline-block;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.16em; color: var(--cyan); margin-bottom: 14px;
}
.gallery-panel h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -0.035em;
  color: var(--text-primary); margin: 0 0 16px;
}
.gallery-panel p { margin: 0 0 24px; font-size: 1.05rem; line-height: 1.75; color: var(--text-secondary); }
.gallery-bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.gallery-bullets li {
  position: relative; padding-left: 24px;
  font-size: 0.94rem; font-weight: 600; color: var(--text-secondary);
  opacity: 0; transform: translateX(-8px);
  animation: bullet-in 0.5s var(--ease-out) forwards;
}
.gallery-bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px rgba(34,211,238,0.5);
}
.gallery-panel.is-active .gallery-bullets li:nth-child(1) { animation-delay: 0.15s; }
.gallery-panel.is-active .gallery-bullets li:nth-child(2) { animation-delay: 0.25s; }
.gallery-panel.is-active .gallery-bullets li:nth-child(3) { animation-delay: 0.35s; }
@keyframes bullet-in {
  to { opacity: 1; transform: translateX(0); }
}

/* Filmstrip */
.gallery-filmstrip {
  margin-top: clamp(40px, 6vw, 56px);
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.gallery-filmstrip-track {
  display: flex; gap: 14px; justify-content: center;
  transition: transform 0.7s var(--ease-spring);
}
.filmstrip-thumb {
  flex-shrink: 0; width: 72px; padding: 0; border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.06); background: none; cursor: pointer;
  opacity: 0.45; transform: scale(0.92);
  transition: opacity 0.4s, transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.filmstrip-thumb:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.filmstrip-thumb img { display: block; width: 100%; height: auto; pointer-events: none; }
.filmstrip-thumb.is-lit {
  opacity: 1; transform: scale(1.08);
  border-color: rgba(34,211,238,0.45);
  box-shadow: 0 8px 24px rgba(34,211,238,0.2);
}
.filmstrip-thumb.is-lit img {
  animation: filmstrip-thumb-pulse var(--gallery-duration, 5.2s) var(--ease-out) forwards;
}
@keyframes filmstrip-thumb-pulse {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

.gallery-hint {
  text-align: center; margin-top: 20px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
}

@media (max-width: 900px) {
  .gallery-stage { grid-template-columns: 1fr; text-align: center; }
  .gallery-copy { min-height: auto; margin-top: 8px; }
  .gallery-bullets { text-align: left; max-width: 340px; margin-inline: auto; }
  .gallery-filmstrip-track { justify-content: flex-start; padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track { transition: none; }
  .gallery-phone-float, .gallery-orbit, .gallery-scanline,
  .phone-shell-border, .gallery-tab-fill, .gallery-dot-ring { animation: none !important; }
  .gallery-slide img { animation: none !important; transform: none; }
  .phone-screen-cycle__img { transition: none; filter: none; transform: none; }
  .phone-screen-cycle--hero .phone-screen-cycle__img.is-active { animation: none; }
  .filmstrip-thumb.is-lit img { animation: none; }
}

/* ——— How it works (motion demo) ——— */
.how-motion {
  padding: clamp(80px, 12vw, 120px) 0;
  border-top: 1px solid rgba(34,211,238,0.06);
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(34,211,238,0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(139,92,246,0.05), transparent 50%);
}

.how-theater {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 56px);
}

.how-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 4px;
}

/* Open flow timeline — no step boxes */
.how-flow-spine {
  position: absolute;
  left: 19px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(239,68,68,0.2) 8%, rgba(34,211,238,0.18) 38%, rgba(74,222,128,0.16) 62%, rgba(167,139,250,0.18) 92%, transparent);
  overflow: hidden;
  pointer-events: none;
}
.how-flow-beam {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,0.9), transparent);
  filter: blur(0.5px);
  animation: how-flow-beam 10s ease-in-out infinite;
}
@keyframes how-flow-beam {
  0%, 100% { top: -80px; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.how-rail-step {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
  padding: clamp(22px, 3vw, 28px) 0 clamp(22px, 3vw, 28px) 8px;
  text-align: left;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring);
}
.how-rail-step + .how-rail-step {
  border-top: 1px solid rgba(255,255,255,0.04);
}
.how-rail-step:hover { transform: translateX(6px); }
.how-rail-step:hover .how-flow-node-ring {
  transform: scale(1.08);
  box-shadow: 0 0 22px var(--how-accent-glow, rgba(34,211,238,0.2));
}
.how-rail-step.is-active {
  background: transparent;
  box-shadow: none;
  border-color: rgba(255,255,255,0.04);
}
.how-rail-step.is-active .how-rail-body strong {
  background: var(--how-accent-gradient, linear-gradient(105deg, #fecaca, #ef4444));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.how-rail-step.is-active .how-flow-node-ring {
  border-style: solid;
  border-color: var(--how-accent-color, var(--cyan));
  box-shadow: 0 0 24px var(--how-accent-glow, rgba(34,211,238,0.25));
  animation: how-node-pulse 2.2s ease-in-out infinite;
}
@keyframes how-node-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.how-flow-node {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.how-flow-node-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,0.14);
  background: radial-gradient(circle at 35% 30%, var(--how-accent-glow, rgba(34,211,238,0.1)), transparent 68%);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.35s;
}
.how-rail-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--how-accent-color, var(--cyan));
  padding: 0;
}

.how-rail-step[data-how-accent="red"] {
  --how-accent-color: #f87171;
  --how-accent-glow: rgba(239,68,68,0.18);
  --how-accent-gradient: linear-gradient(105deg, #fecaca, #ef4444);
}
.how-rail-step[data-how-accent="cyan"] {
  --how-accent-color: #22d3ee;
  --how-accent-glow: rgba(34,211,238,0.18);
  --how-accent-gradient: linear-gradient(105deg, #a5f3fc, #22d3ee);
}
.how-rail-step[data-how-accent="green"] {
  --how-accent-color: #4ade80;
  --how-accent-glow: rgba(74,222,128,0.16);
  --how-accent-gradient: linear-gradient(105deg, #bbf7d0, #22c55e);
}
.how-rail-step[data-how-accent="violet"] {
  --how-accent-color: #a78bfa;
  --how-accent-glow: rgba(167,139,250,0.18);
  --how-accent-gradient: linear-gradient(105deg, #ddd6fe, #a78bfa);
}

.how-rail-body {
  display: grid;
  gap: 8px;
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}
.how-rail-body strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  transition: color 0.35s, background 0.35s;
}
.how-rail-body > span:not(.how-rail-bar) {
  font-size: 0.88rem;
  line-height: 1.68;
  color: var(--text-secondary);
}
.how-rail-bar {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: 4px;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
.how-rail-step.is-active .how-rail-bar { opacity: 1; }
.how-rail-fill {
  display: block; height: 100%; width: 0;
  background: var(--how-accent-gradient, linear-gradient(90deg, #2dd4bf, var(--cyan)));
  border-radius: inherit;
  box-shadow: 0 0 12px var(--how-accent-glow, rgba(34,211,238,0.3));
}
.how-rail-step.is-active .how-rail-fill {
  animation: how-rail-progress var(--how-step-duration, 5.5s) linear forwards;
}
@keyframes how-rail-progress {
  from { width: 0; }
  to { width: 100%; }
}

.how-device-col {
  position: relative; display: flex; flex-direction: column; align-items: center;
}
.how-device-glow {
  position: absolute; inset: -20% -10%; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(34,211,238,0.14), transparent 55%);
  animation: gallery-glow-pulse 6s ease-in-out infinite alternate;
}
.how-device-orbit {
  position: absolute; width: min(420px, 95%); aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(34,211,238,0.1);
  animation: gallery-orbit-spin 28s linear infinite;
  pointer-events: none;
}

.how-device {
  position: relative; z-index: 2; width: 100%; max-width: 340px;
  padding: 14px; border-radius: 44px;
  background: linear-gradient(165deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 50px 100px rgba(0,0,0,0.5), 0 0 60px rgba(34,211,238,0.06);
  animation: gallery-phone-float 7s var(--ease-in-out) infinite;
}
.how-device-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 26px; border-radius: 20px;
  background: #05070d; z-index: 5;
}

.how-mock {
  position: relative; border-radius: 32px; overflow: hidden;
  background: #05070d;
  width: 100%;
  aspect-ratio: 390 / 844;
  min-height: 680px;
}
@supports (aspect-ratio: 1) {
  .how-mock { min-height: 0; }
}
.how-theater.is-playing .how-mock {
  box-shadow: inset 0 0 0 1px rgba(34,211,238,0.08);
}

/* Floating colour orbs — Wingo Red / Green / Violet */
.how-colour-ambient {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.how-colour-orb {
  position: absolute; border-radius: 50%; filter: blur(28px); opacity: 0.22;
  animation: how-orb-drift 8s ease-in-out infinite;
}
.how-theater.is-playing .how-colour-orb { opacity: 0.32; }
.how-colour-orb--r {
  width: 120px; height: 120px; top: 18%; left: -10%;
  background: radial-gradient(circle, rgba(239,68,68,0.9), transparent 70%);
  animation-delay: 0s;
}
.how-colour-orb--g {
  width: 140px; height: 140px; top: 55%; right: -15%;
  background: radial-gradient(circle, rgba(34,197,94,0.85), transparent 70%);
  animation-delay: -2.5s;
}
.how-colour-orb--v {
  width: 100px; height: 100px; bottom: 8%; left: 20%;
  background: radial-gradient(circle, rgba(167,139,250,0.9), transparent 70%);
  animation-delay: -5s;
}
@keyframes how-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12px, -18px) scale(1.08); }
  66% { transform: translate(-8px, 10px) scale(0.94); }
}

.how-theater[data-how-phase="2"] .how-colour-orb--g,
.how-theater[data-how-phase="2"] .how-colour-orb--r { opacity: 0.45; animation-duration: 4s; }
.how-theater[data-how-phase="2"] .how-colour-orb--g { transform: scale(1.2); }

/* Single-frame scene stack */
.how-scene {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0; visibility: hidden;
  transform: scale(0.97) translateY(10px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-spring), visibility 0.65s;
  pointer-events: none;
}
.how-scene.is-active {
  opacity: 1; visibility: visible; transform: scale(1) translateY(0);
  pointer-events: auto;
}
.how-scene.is-entering {
  animation: how-scene-enter 0.75s var(--ease-spring) forwards;
}
@keyframes how-scene-enter {
  0% { opacity: 0; transform: scale(0.94) translateY(20px); filter: blur(4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}
.how-scene--club.is-exiting {
  opacity: 0; transform: scale(0.95) translateY(-16px);
  filter: blur(2px);
}

/* 91 CLUB scene */
.how-club-badge,
.how-analyzer-badge {
  position: absolute; top: 36px; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 100px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em;
  white-space: nowrap; backdrop-filter: blur(12px);
}
.how-club-badge {
  color: #fff; background: rgba(220, 38, 38, 0.88);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 24px rgba(220,38,38,0.35);
}
.how-club-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.how-analyzer-badge {
  color: var(--text-primary); background: rgba(8,10,16,0.92);
  border: 1px solid rgba(34,211,238,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.how-analyzer-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.how-club-screen-wrap {
  position: absolute; inset: 0; overflow: hidden;
}
.how-club-screen {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.how-club-tab-hit {
  position: absolute;
  top: 47.4%; left: 5.5%; width: 33%; height: 4.2%;
  border-radius: 8px; pointer-events: none; z-index: 5;
  background: rgba(34,211,238,0);
  border: 2px solid rgba(34,211,238,0);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.how-club-tab-hit.is-lit {
  background: rgba(34,211,238,0.22);
  border-color: rgba(34,211,238,0.55);
  box-shadow: 0 0 20px rgba(34,211,238,0.25);
}
.how-club-scan-col {
  position: absolute;
  top: 53%; left: 40%; width: 18%; height: 35%;
  border: 2px solid rgba(34,211,238,0);
  border-radius: 8px; pointer-events: none;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.how-theater[data-how-phase="0"] .how-club-scan-col {
  border-color: rgba(34,211,238,0.55);
  box-shadow: 0 0 20px rgba(34,211,238,0.25), inset 0 0 16px rgba(34,211,238,0.08);
  animation: how-col-pulse 2s ease-in-out infinite;
}
@keyframes how-col-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(34,211,238,0.2), inset 0 0 12px rgba(34,211,238,0.06); }
  50% { box-shadow: 0 0 28px rgba(34,211,238,0.4), inset 0 0 20px rgba(34,211,238,0.12); }
}

.how-club-rows {
  position: absolute; inset: 0; list-style: none; margin: 0; padding: 0;
  pointer-events: none;
}
.how-club-row {
  position: absolute;
  left: 40%; width: 18%;
  top: calc(53.8% + var(--row-i) * 3.48%);
  height: 3.15%;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.16s, transform 0.16s var(--ease-spring), background 0.16s, box-shadow 0.16s;
}
.how-club-row span {
  font-family: var(--font-display); font-size: clamp(0.9rem, 4vw, 1.1rem); font-weight: 800;
  color: transparent;
}
.how-club-row.is-lit {
  opacity: 1; transform: scale(1.04);
  background: rgba(34,211,238,0.22);
  box-shadow: 0 0 0 2px rgba(34,211,238,0.45), 0 4px 16px rgba(34,211,238,0.2);
  animation: how-row-flash 0.45s var(--ease-out);
}
.how-club-row.is-lit.is-colour-g {
  background: rgba(34,197,94,0.28);
  box-shadow: 0 0 0 2px rgba(34,197,94,0.55), 0 0 22px rgba(34,197,94,0.3);
}
.how-club-row.is-lit.is-colour-r {
  background: rgba(239,68,68,0.28);
  box-shadow: 0 0 0 2px rgba(239,68,68,0.55), 0 0 22px rgba(239,68,68,0.3);
}
.how-club-row.is-lit.is-colour-rv {
  background: linear-gradient(135deg, rgba(239,68,68,0.25), rgba(167,139,250,0.22));
  box-shadow: 0 0 0 2px rgba(239,68,68,0.45), 0 0 18px rgba(167,139,250,0.25);
}
.how-club-row.is-lit.is-colour-gv {
  background: linear-gradient(135deg, rgba(34,197,94,0.25), rgba(167,139,250,0.22));
  box-shadow: 0 0 0 2px rgba(34,197,94,0.45), 0 0 18px rgba(167,139,250,0.25);
}
@keyframes how-row-flash {
  0% { transform: scale(0.88); filter: brightness(1.4); }
  100% { transform: scale(1.04); filter: brightness(1); }
}
.how-club-row.is-lit span { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }

.how-scan-beam {
  position: absolute; z-index: 4;
  left: 38%; width: 22%; height: 3.6%;
  top: 53.8%;
  border-radius: 8px; pointer-events: none;
  background: linear-gradient(90deg,
    transparent,
    rgba(34,211,238,0.15) 20%,
    rgba(34,211,238,0.55) 50%,
    rgba(34,211,238,0.15) 80%,
    transparent);
  box-shadow: 0 0 24px rgba(34,211,238,0.35), inset 0 0 12px rgba(34,211,238,0.2);
  opacity: 0;
  transform: scaleX(0.6);
  transition: top 0.22s var(--ease-out), opacity 0.18s, transform 0.22s var(--ease-spring);
}
.how-scan-beam.is-active {
  opacity: 1; transform: scaleX(1);
  animation: how-beam-pulse 0.45s ease-in-out;
}
@keyframes how-beam-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}

.how-digit-strip {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 7;
  padding: 14px 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(5,7,13,0.92) 30%, rgba(5,7,13,0.98));
  transform: translateY(100%);
  transition: transform 0.55s var(--ease-spring);
}
.how-digit-strip.is-visible { transform: translateY(0); }
.how-digit-strip.is-complete {
  animation: how-strip-glow 0.8s var(--ease-out);
}
@keyframes how-strip-glow {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 -8px 32px rgba(34,211,238,0.2); }
}
.how-theater[data-how-phase="0"] .how-digit-strip {
  transform: translateY(0);
}
.how-digit-strip-label {
  display: block; margin-bottom: 6px;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan);
}
.how-digit-strip-seq {
  display: flex; flex-wrap: wrap; gap: 4px 6px; justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 4.5vw, 1.25rem); font-weight: 800;
  letter-spacing: 0.08em; color: var(--text-primary);
  min-height: 1.4em;
}
.how-strip-char {
  display: inline-block;
  animation: how-char-pop 0.4s var(--ease-spring) backwards;
  animation-delay: calc(var(--char-i, 0) * 0.04s);
}
@keyframes how-char-pop {
  0% { opacity: 0; transform: translateY(8px) scale(0.5); color: var(--cyan); }
  70% { transform: translateY(-2px) scale(1.12); }
  100% { opacity: 1; transform: translateY(0) scale(1); color: var(--text-primary); }
}

/* Analyzer scene */
.how-scene--analyzer {
  padding: 58px 14px 28px;
  background: linear-gradient(180deg, #0a0e16 0%, #05070d 100%);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.how-scene--analyzer::-webkit-scrollbar { display: none; }
.how-theater[data-how-phase="2"] .how-scene--analyzer,
.how-theater[data-how-phase="3"] .how-scene--analyzer {
  padding-top: 52px;
  padding-bottom: 32px;
}
.how-scene--analyzer .how-mock-card {
  position: relative; z-index: 2;
  margin-bottom: 4px;
}
.how-theater[data-how-phase="2"] .how-mock-label--gap,
.how-theater[data-how-phase="3"] .how-mock-label--gap {
  margin-top: 12px;
}
.how-theater[data-how-phase="2"] .how-mock-hint,
.how-theater[data-how-phase="3"] .how-mock-hint {
  margin-bottom: 8px;
}
.how-theater[data-how-phase="2"] .how-mock-chips,
.how-theater[data-how-phase="3"] .how-mock-chips {
  margin: 8px 0 10px;
  gap: 5px;
}
.how-theater[data-how-phase="2"] .how-chip,
.how-theater[data-how-phase="3"] .how-chip {
  padding: 4px 8px;
  font-size: 0.68rem;
}

.how-app-switch {
  position: absolute; top: 50%; left: 50%; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 100px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--text-primary);
  background: rgba(8,10,16,0.95); border: 1px solid rgba(34,211,238,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  transform: translate(-50%, -50%) scale(0.88); opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.45s var(--ease-spring);
}
.how-app-switch.is-visible {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
}
.how-app-switch-from { color: #fca5a5; }
.how-app-switch-to { color: var(--cyan); }
.how-app-switch svg { color: var(--cyan); flex-shrink: 0; }

.how-mock-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; padding-inline: 4px;
}
.how-mock-logo { font-family: var(--font-display); font-size: 0.82rem; font-weight: 800; color: var(--text-primary); }
.how-mock-session {
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.14em;
  color: var(--text-muted);
}

.how-mock-card {
  padding: 16px; border-radius: 18px;
  background: rgba(18,22,31,0.92);
  border: 1px solid rgba(34,211,238,0.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.how-mock-label {
  margin: 0 0 10px; text-align: center;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.14em;
  color: var(--text-muted); text-transform: uppercase;
}
.how-mock-label--gap { margin-top: 18px; }
.how-mock-hint {
  margin: -6px 0 12px; text-align: center;
  font-size: 0.68rem; font-weight: 600; color: var(--text-muted);
}

.how-mock-toggle {
  display: flex; gap: 4px; padding: 4px; border-radius: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.how-mock-algo {
  flex: 1; padding: 10px 8px; border-radius: 11px; text-align: center;
  font-size: 0.68rem; font-weight: 800; color: var(--text-muted);
  transition: color 0.3s, background 0.35s, box-shadow 0.35s, transform 0.2s;
}
.how-mock-algo.is-selected {
  color: #041016;
  background: linear-gradient(105deg, #2dd4bf, var(--cyan), #0ea5e9);
  box-shadow: 0 6px 20px rgba(34,211,238,0.28);
}
.how-mock-algo.is-tap { animation: how-tap-pop 0.45s var(--ease-spring); }
@keyframes how-tap-pop {
  0% { transform: scale(1); }
  40% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

.how-mock-field {
  position: relative; min-height: 52px; padding: 12px;
  border-radius: 12px; text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.how-mock-field.is-typing {
  animation: how-field-flash 0.35s var(--ease-out);
}
@keyframes how-field-flash {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,0.4); border-color: rgba(34,211,238,0.5); }
  100% { box-shadow: 0 0 0 3px rgba(34,211,238,0.08); border-color: rgba(34,211,238,0.35); }
}
.how-mock-digits.is-pop {
  animation: how-digit-pop 0.35s var(--ease-spring);
}
@keyframes how-digit-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); color: var(--cyan); }
  100% { transform: scale(1); }
}
.how-theater[data-how-phase="1"] .how-mock-field,
.how-theater[data-how-phase="2"] .how-mock-field,
.how-theater[data-how-phase="3"] .how-mock-field {
  border-color: rgba(34,211,238,0.35);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.08);
}
.how-mock-digits {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  letter-spacing: 0.28em; color: var(--text-primary);
}
.how-mock-caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 2px;
  vertical-align: text-bottom; background: var(--cyan);
  animation: how-caret-blink 1s step-end infinite;
}
.how-mock-caret.is-hidden { opacity: 0; animation: none; }
@keyframes how-caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.how-mock-chips {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  margin: 12px 0 14px; min-height: 34px;
}
.how-mock-chips .how-chip--empty { order: -1; }
.how-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 9px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 800; color: var(--text-primary);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  opacity: 0; transform: translateY(8px) scale(0.9);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
}
.how-chip b { font-size: 0.82rem; }
.how-chip em { font-size: 0.62rem; font-weight: 700; color: var(--text-muted); font-style: normal; }
.how-chip.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.how-chip.is-pop {
  animation: how-chip-pop 0.55s var(--ease-spring) backwards;
}
@keyframes how-chip-pop {
  0% { opacity: 0; transform: translateY(14px) scale(0.65); }
  55% { transform: translateY(-4px) scale(1.1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.how-chip.is-pop .dot { animation: how-dot-glow 0.7s ease-out 0.15s; }
@keyframes how-dot-glow {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.45); filter: brightness(1.5); box-shadow: 0 0 10px currentColor; }
}
.how-chip.is-latest {
  border-color: rgba(34,211,238,0.45);
  box-shadow: 0 0 14px rgba(34,211,238,0.2);
  animation: how-latest-pulse 1.8s ease-in-out infinite;
}
@keyframes how-latest-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(34,211,238,0.15); }
  50% { box-shadow: 0 0 18px rgba(34,211,238,0.35); }
}
.how-chip.is-shifted-out {
  opacity: 0; transform: scale(0.6) translateX(-12px);
  max-width: 0; padding: 0; margin: 0; border-width: 0; overflow: hidden;
}
.how-chip--empty {
  opacity: 0; transform: scale(0.85);
  border: 1.5px dashed rgba(34,211,238,0.45);
  background: rgba(34,211,238,0.06);
  color: var(--cyan);
  min-width: 36px;
}
.how-chip--empty b { color: var(--cyan); font-size: 0.9rem; }
.how-chip--empty.is-visible {
  opacity: 1; transform: scale(1);
}
.how-chip--empty.is-slot-pulse {
  animation: how-slot-pulse 1.2s ease-in-out infinite;
}
@keyframes how-slot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(34,211,238,0.12); }
}

.how-mock-card.is-shifted {
  animation: how-card-shift 0.7s var(--ease-spring);
}
@keyframes how-card-shift {
  0% { transform: translateX(0); }
  30% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}
.how-mock-card.is-shifted .how-chip:not(.how-chip--empty):not(.is-shifted-out) {
  animation: how-chip-slide-back 0.55s var(--ease-out) backwards;
  animation-delay: calc(var(--chip-i, 0) * 0.04s);
}
@keyframes how-chip-slide-back {
  from { transform: translateX(8px); opacity: 0.5; }
  to { transform: translateX(0); opacity: 1; }
}
.how-shift-banner {
  margin-top: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.28);
  display: grid; gap: 4px; text-align: center;
}
.how-shift-banner.is-visible {
  animation: how-result-in 0.55s var(--ease-out) forwards,
             how-shift-glow 2s ease-in-out infinite 0.6s;
}
@keyframes how-shift-glow {
  0%, 100% { border-color: rgba(34,211,238,0.28); }
  50% { border-color: rgba(34,211,238,0.55); box-shadow: 0 0 20px rgba(34,211,238,0.12); }
}
.how-shift-banner[hidden] { display: none !important; }
.how-shift-banner strong {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 800; color: var(--cyan);
}
.how-shift-banner span { font-size: 0.72rem; line-height: 1.45; color: var(--text-secondary); }

.how-mock-card.is-shifted .how-mock-digits {
  animation: how-digits-shift 0.65s var(--ease-out) forwards;
}
@keyframes how-digits-shift {
  from { letter-spacing: 0.28em; opacity: 0.6; }
  to { letter-spacing: 0.24em; opacity: 1; }
}

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot--r { background: #ef4444; }
.dot--g { background: #22c55e; }
.dot--v { background: #a78bfa; }

.how-mock-btn {
  position: relative; width: 100%; padding: 14px; border: none; border-radius: 14px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 800;
  color: rgba(4,16,22,0.45); cursor: default;
  background: rgba(255,255,255,0.06);
  transition: color 0.35s, background 0.35s, box-shadow 0.35s, transform 0.2s;
  overflow: hidden;
}
.how-mock-btn.is-ready {
  color: #041016; cursor: pointer;
  background: linear-gradient(105deg, #2dd4bf, var(--cyan), #0ea5e9);
  box-shadow: 0 8px 28px rgba(34,211,238,0.3);
  animation: how-btn-glow 2s ease-in-out infinite;
}
.how-mock-btn.is-tap { transform: scale(0.96); }
.how-mock-btn.is-loading { pointer-events: none; color: transparent; }
.how-mock-btn.is-loading .how-mock-btn-loader { opacity: 1; }
@keyframes how-btn-glow {
  0%, 100% { box-shadow: 0 8px 28px rgba(34,211,238,0.25); }
  50% { box-shadow: 0 8px 36px rgba(34,211,238,0.45); }
}
.how-mock-btn-loader {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity 0.2s;
}
.how-mock-btn-loader::after {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(4,16,22,0.15);
  border-top-color: #041016;
  animation: dot-ring-spin 0.7s linear infinite;
}

.how-mock-result {
  position: relative;
  margin-top: 12px; padding: 12px; border-radius: 14px;
  background: rgba(5,7,13,0.85); border: 1px solid rgba(34,197,94,0.2);
  scroll-margin-bottom: 24px;
  overflow: hidden;
}
.how-mock-result[hidden] { display: none !important; }
.how-mock-result.is-revealed {
  animation: how-result-in 0.75s var(--ease-spring) forwards;
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 32px rgba(34,197,94,0.15), inset 0 0 24px rgba(34,197,94,0.04);
}
.how-predict-burst {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.how-burst-particle {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  top: 30%; left: 50%; opacity: 0;
}
.how-mock-result.is-revealed .how-burst-particle {
  animation: how-burst-fly 0.9s var(--ease-out) forwards;
}
.how-burst-particle--g { background: #22c55e; --burst-x: -40px; --burst-y: -30px; animation-delay: 0.05s !important; }
.how-burst-particle--r { background: #ef4444; --burst-x: 35px; --burst-y: -25px; animation-delay: 0.1s !important; }
.how-burst-particle--v { background: #a78bfa; --burst-x: 0px; --burst-y: -45px; animation-delay: 0.15s !important; }
.how-burst-particle:nth-child(4) { --burst-x: -50px; --burst-y: 10px; animation-delay: 0.08s !important; }
.how-burst-particle:nth-child(5) { --burst-x: 45px; --burst-y: 15px; animation-delay: 0.12s !important; }
.how-burst-particle:nth-child(6) { --burst-x: 10px; --burst-y: 35px; animation-delay: 0.18s !important; }
@keyframes how-burst-fly {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) scale(0.3); }
}
.how-mock-result.is-revealed .how-result-badge {
  animation: how-badge-reveal 0.65s var(--ease-spring) 0.1s backwards;
}
@keyframes how-badge-reveal {
  0% { opacity: 0; transform: scale(0.5) rotate(-6deg); filter: blur(4px); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: blur(0); }
}
@keyframes how-result-in {
  from { opacity: 0; transform: translateY(16px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.how-result-badge {
  position: relative; z-index: 1;
  display: inline-block; padding: 5px 14px; border-radius: 8px;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.08em;
}
.how-result-badge--green {
  color: #bbf7d0; background: rgba(34,197,94,0.18); border: 1px solid rgba(34,197,94,0.35);
}
.how-result-badge--red {
  color: #fecaca; background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.35);
}
.how-mock-result.is-revealed .how-result-badge--green {
  box-shadow: 0 0 24px rgba(34,197,94,0.35);
  animation: how-green-glow 2s ease-in-out infinite 0.8s;
}
@keyframes how-green-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(34,197,94,0.25); }
  50% { box-shadow: 0 0 28px rgba(34,197,94,0.5); }
}
.how-result-meta, .how-result-rationale, .how-result-prompt,
.how-result-actions, .how-result-marked { position: relative; z-index: 1; }
.how-result-meta {
  display: flex; gap: 16px; margin: 8px 0 6px;
  font-size: 0.68rem; font-weight: 700; color: var(--text-secondary);
}
.how-result-meta strong { color: var(--cyan); font-size: 0.88rem; }
.how-result-rationale {
  margin: 0 0 6px; font-size: 0.68rem; line-height: 1.45; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.how-result-prompt {
  margin: 0 0 6px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-muted);
}
.how-result-actions { display: flex; gap: 8px; }
.how-result-actions[hidden] { display: none !important; }
.how-result-pill {
  flex: 1; padding: 10px 8px; border-radius: 10px; text-align: center;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.02em;
  color: var(--text-muted); background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s, background 0.22s, border-color 0.22s, color 0.22s;
}
.how-result-pill--win {
  color: #66bb6a; border-color: rgba(67,160,71,0.55);
  background: rgba(67,160,71,0.08);
}
.how-result-pill--loss {
  color: #ef5350; border-color: rgba(229,57,53,0.55);
  background: rgba(229,57,53,0.08);
}

.how-result-pill.is-tap { transform: scale(0.94); }
.how-result-pill--win.is-tap {
  box-shadow: 0 0 0 3px rgba(67,160,71,0.35);
  background: rgba(67,160,71,0.22);
  border-color: rgba(67,160,71,0.75);
}
.how-result-pill--loss.is-tap {
  box-shadow: 0 0 0 3px rgba(229,57,53,0.35);
}
.how-result-pill--win.is-selected {
  color: #81c784;
  border-color: rgba(67,160,71,0.85);
  background: rgba(67,160,71,0.28);
  box-shadow: 0 0 0 2px rgba(67,160,71,0.25);
}

.how-result-marked {
  margin-top: 2px;
  animation: how-marked-in 0.45s var(--ease-spring) forwards;
}
.how-result-marked[hidden] { display: none !important; }
@keyframes how-marked-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.how-result-marked-badge {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 10px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em;
}
.how-result-marked-badge--win {
  color: #66bb6a;
  background: rgba(67,160,71,0.2);
  border: 1px solid rgba(67,160,71,0.45);
}
.how-result-marked--loss .how-result-marked-badge {
  color: #ef5350;
  background: rgba(229,57,53,0.2);
  border: 1px solid rgba(229,57,53,0.45);
}

.how-finger {
  position: absolute; z-index: 60;
  width: 36px; height: 36px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.72);
  transform-origin: 70% 92%;
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-spring);
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45));
}
.how-finger.is-visible {
  opacity: 1;
  transform: scale(1);
}
.how-finger.is-tap {
  animation: how-finger-tap 0.55s var(--ease-out);
}
.how-finger.is-tap .how-finger-ripple {
  animation: how-finger-ripple 0.55s var(--ease-out) forwards;
}
@keyframes how-finger-tap {
  0% { transform: scale(1); }
  35% { transform: scale(0.82); }
  100% { transform: scale(1); }
}
.how-finger-ripple {
  position: absolute; left: 58%; top: 72%;
  width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%;
  border: 2px solid rgba(34,211,238,0.6);
  opacity: 0; transform: scale(0.4);
}
@keyframes how-finger-ripple {
  0% { opacity: 0.8; transform: scale(0.35); }
  100% { opacity: 0; transform: scale(1.8); }
}

.how-pointer {
  display: none;
}
.how-caption {
  margin-top: 20px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
}

.how-notes {
  display: grid; gap: 14px; margin-top: clamp(48px, 7vw, 64px);
}
@media (min-width: 768px) {
  .how-notes { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.4rem); color: var(--text-primary); margin: 0 0 16px; letter-spacing: -0.03em; }
.cta-band p { margin: 0 0 32px; max-width: 46ch; margin-inline: auto; color: var(--text-secondary); font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: stretch; }

.how-note {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 0 22px 20px;
  border-left: 2px solid rgba(34,211,238,0.2);
  background: transparent;
}
.how-note-icon {
  flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; font-size: 0.68rem; font-weight: 800;
  color: var(--cyan); background: rgba(34,211,238,0.08);
}
.how-note p { margin: 0; font-size: 0.88rem; line-height: 1.65; color: var(--text-secondary); }
.how-note strong { color: var(--text-primary); }

@media (max-width: 900px) {
  .how-theater { grid-template-columns: 1fr; }
  .how-rail { order: 2; }
  .how-device-col { order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .how-device, .how-device-orbit, .how-device-glow { animation: none !important; }
  .how-rail-fill, .how-mock-btn.is-ready, .how-mock-caret, .how-club-scan-col, .how-finger-ripple,
  .how-colour-orb, .how-chip.is-latest, .how-scan-beam, .how-result-badge--green { animation: none !important; }
  .how-scene.is-entering, .how-chip.is-pop, .how-strip-char, .how-burst-particle { animation: none !important; }
  .how-flow-beam, .how-flow-node-ring { animation: none !important; }
  .how-rail-fill { width: 100%; }
  .how-scene { transition: none; }
}

/* ——— Marquee ——— */
.marquee-section {
  border-block: 1px solid rgba(255,255,255,0.03);
  background: rgba(5,7,13,0.6);
  overflow: hidden; padding: 22px 0;
}
.marquee {
  display: flex; align-items: center; gap: 28px; width: max-content;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
}
.mq-game { transition: opacity 0.3s; }
.mq-game--red { color: #f87171; text-shadow: 0 0 24px rgba(248,113,113,0.25); }
.mq-game--gold { color: #fbbf24; text-shadow: 0 0 24px rgba(251,191,36,0.2); }
.mq-game--tri {
  background: linear-gradient(90deg, #f87171, #fff, #4ade80);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mq-game--cyan { color: var(--cyan); text-shadow: 0 0 24px rgba(34,211,238,0.25); }
.mq-game--green { color: #4ade80; text-shadow: 0 0 24px rgba(74,222,128,0.2); }
.mq-game--violet { color: var(--violet); text-shadow: 0 0 24px rgba(167,139,250,0.25); }
.mq-game--blue { color: #60a5fa; text-shadow: 0 0 24px rgba(96,165,250,0.2); }
.mq-game--orange { color: #fb923c; text-shadow: 0 0 24px rgba(251,146,60,0.2); }
.mq-dot { color: rgba(255,255,255,0.12); font-size: 0.5rem; }
.marquee--forward { animation: marquee 35s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ——— Manifesto ——— */
.manifesto {
  padding: clamp(80px, 12vw, 120px) 0;
  border-block: 1px solid rgba(255,255,255,0.04);
}
.manifesto-inner { text-align: center; max-width: 52rem; margin-inline: auto; }
.manifesto-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 24px; }
.manifesto-quote {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.08;
  letter-spacing: -0.04em; color: var(--text-primary); margin: 0;
}
.manifesto-shimmer {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), #a5f3fc, var(--violet), var(--cyan));
  background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradient-shift 5s ease-in-out infinite;
}
.manifesto-sub { margin: 24px 0 0; font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; }

/* ——— Sections ——— */
.section-features { padding: clamp(80px, 12vw, 120px) 0; }
.section-head { text-align: center; margin-bottom: clamp(48px, 7vw, 64px); }
.section-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.035em; color: var(--text-primary); margin: 0 0 18px; }
.section-sub { max-width: 54ch; margin: 0 auto; font-size: clamp(1rem, 2.2vw, 1.08rem); line-height: 1.75; color: var(--text-secondary); }

/* ——— Capability signal rail ——— */
.capability-rail {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  padding-left: clamp(52px, 8vw, 72px);
}
.capability-rail-spine {
  position: absolute;
  left: clamp(18px, 3vw, 26px);
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,0.15) 8%, rgba(167,139,250,0.12) 50%, rgba(34,211,238,0.08) 92%, transparent);
  overflow: hidden;
}
.capability-rail-beam {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,0.85), rgba(167,139,250,0.6), transparent);
  filter: blur(1px);
  animation: cap-beam-travel 8s ease-in-out infinite;
}
@keyframes cap-beam-travel {
  0%, 100% { top: -120px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.cap-signal {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(28px, 4vw, 40px) 0;
  animation: cap-signal-in 0.7s var(--ease-spring) backwards;
  animation-delay: calc(var(--cap-i, 0) * 0.08s + 0.1s);
}
.cap-signal + .cap-signal {
  border-top: 1px solid rgba(255,255,255,0.04);
}
.cap-signal--lead .cap-signal-content h3 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
}
@keyframes cap-signal-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.cap-signal-marker {
  position: relative;
  width: 48px;
  height: 48px;
  margin-top: 4px;
  flex-shrink: 0;
}
.cap-signal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--cap-ring, rgba(34,211,238,0.35));
  background: radial-gradient(circle at 50% 35%, var(--cap-glow, rgba(34,211,238,0.12)), transparent 70%);
  box-shadow: 0 0 24px var(--cap-glow, rgba(34,211,238,0.15));
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s;
}
.cap-signal-core {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  color: var(--cap-color, var(--cyan));
}
.cap-signal:hover .cap-signal-ring {
  transform: scale(1.12);
  box-shadow: 0 0 32px var(--cap-glow, rgba(34,211,238,0.25));
}
.cap-signal:hover .cap-signal-content h3 {
  background: var(--cap-gradient, linear-gradient(105deg, #a5f3fc, #22d3ee));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cap-signal-content {
  position: relative;
  min-width: 0;
}
.cap-signal-index {
  position: absolute;
  top: -8px;
  right: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(241,245,249,0.025);
  pointer-events: none;
  user-select: none;
}
.cap-signal-content h3 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0 0 10px;
  transition: color 0.35s, background 0.35s;
}
.cap-signal-content p {
  position: relative;
  margin: 0;
  max-width: 58ch;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.cap-signal-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
  margin-top: 16px !important;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.cap-signal-aside span:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
  color: rgba(255,255,255,0.2);
  font-weight: 400;
}
.cap-signal-aside span:first-child { color: #fca5a5; }
.cap-signal-aside span:nth-child(2) { color: #fde68a; }
.cap-signal-aside span:nth-child(3) { color: #67e8f9; }
.cap-signal-aside span:last-child { color: var(--cyan); }

.cap-signal[data-cap-accent="cyan"] {
  --cap-color: #22d3ee;
  --cap-glow: rgba(34,211,238,0.18);
  --cap-ring: rgba(34,211,238,0.4);
  --cap-gradient: linear-gradient(105deg, #a5f3fc, #22d3ee);
}
.cap-signal[data-cap-accent="violet"] {
  --cap-color: #a78bfa;
  --cap-glow: rgba(167,139,250,0.18);
  --cap-ring: rgba(167,139,250,0.4);
  --cap-gradient: linear-gradient(105deg, #ddd6fe, #a78bfa);
}
.cap-signal[data-cap-accent="green"] {
  --cap-color: #4ade80;
  --cap-glow: rgba(74,222,128,0.16);
  --cap-ring: rgba(74,222,128,0.38);
  --cap-gradient: linear-gradient(105deg, #bbf7d0, #22c55e);
}
.cap-signal[data-cap-accent="gold"] {
  --cap-color: #fbbf24;
  --cap-glow: rgba(251,191,36,0.16);
  --cap-ring: rgba(251,191,36,0.38);
  --cap-gradient: linear-gradient(105deg, #fde68a, #f59e0b);
}
.cap-signal[data-cap-accent="blue"] {
  --cap-color: #60a5fa;
  --cap-glow: rgba(96,165,250,0.16);
  --cap-ring: rgba(96,165,250,0.38);
  --cap-gradient: linear-gradient(105deg, #bfdbfe, #3b82f6);
}
.cap-signal[data-cap-accent="rose"] {
  --cap-color: #fb7185;
  --cap-glow: rgba(251,113,133,0.16);
  --cap-ring: rgba(251,113,133,0.38);
  --cap-gradient: linear-gradient(105deg, #fecdd3, #f43f5e);
}

@media (min-width: 768px) {
  .cap-signal:nth-of-type(even) .cap-signal-content {
    padding-right: clamp(24px, 5vw, 48px);
  }
  .cap-signal:nth-of-type(odd):not(.cap-signal--lead) .cap-signal-content {
    padding-left: clamp(8px, 2vw, 24px);
  }
}
@media (max-width: 520px) {
  .capability-rail { padding-left: 44px; }
  .capability-rail-spine { left: 14px; }
  .cap-signal { grid-template-columns: 40px 1fr; gap: 14px; }
  .cap-signal-marker { width: 40px; height: 40px; }
  .cap-signal-core { inset: 8px; }
  .cap-signal-core svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .capability-rail-beam { animation: none; opacity: 0.4; top: 30%; }
  .cap-signal { animation: none; }
}

/* Timeline */
.detail-section { margin-top: clamp(64px, 10vw, 96px); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
  .timeline::before {
    content: ""; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34,211,238,0.3), transparent);
    animation: timeline-line 2s var(--ease-out) forwards;
    transform-origin: left; transform: scaleX(0);
  }
}
@keyframes timeline-line { to { transform: scaleX(1); } }
.timeline-step {
  padding: 24px 20px; border-radius: var(--radius-md);
  background: rgba(18,22,31,0.8); border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.timeline-step:hover { border-color: rgba(34,211,238,0.2); transform: translateY(-3px); }
@media (min-width: 900px) { .timeline-step { text-align: center; padding-top: 56px; } }
.timeline-marker {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font-size: 0.85rem; font-weight: 700; color: var(--cyan);
  background: rgba(34,211,238,0.1); border: 1px solid var(--border-accent); margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(34,211,238,0.15);
}
@media (min-width: 900px) { .timeline-marker { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); margin-bottom: 0; } }
.timeline-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text-primary); margin: 0 0 8px; }
.timeline-body p { margin: 0; font-size: 0.88rem; line-height: 1.65; color: var(--text-secondary); }

/* ——— Trust constellation ——— */
.trust-constellation {
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(8px, 2vw, 16px) 0;
}
.trust-constellation-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 0);
  padding: clamp(24px, 4vw, 40px) 0;
}
@media (min-width: 768px) {
  .trust-constellation-frame {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    min-height: 420px;
  }
}

.trust-constellation-axis {
  display: none;
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 768px) {
  .trust-constellation-axis { display: block; }
  .trust-constellation-axis--h {
    top: 50%;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,211,238,0.2), rgba(167,139,250,0.15), rgba(34,211,238,0.2), transparent);
  }
  .trust-constellation-axis--v {
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(167,139,250,0.18), rgba(34,211,238,0.15), rgba(167,139,250,0.18), transparent);
  }
}

.trust-constellation-hub {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  place-items: center;
  color: var(--cyan);
}
@media (min-width: 768px) {
  .trust-constellation-hub { display: grid; }
}
.trust-constellation-hub-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34,211,238,0.25);
  background: radial-gradient(circle at 50% 35%, rgba(34,211,238,0.12), rgba(8,10,16,0.95) 70%);
  box-shadow: 0 0 28px rgba(34,211,238,0.15);
  animation: trust-hub-pulse 4s ease-in-out infinite;
}
@keyframes trust-hub-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}
.trust-constellation-hub svg {
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.trust-seal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
  animation: trust-seal-in 0.65s var(--ease-spring) backwards;
  animation-delay: calc(var(--trust-i, 0) * 0.1s + 0.12s);
  transition: transform 0.4s var(--ease-spring);
}
@media (min-width: 768px) {
  .trust-seal--tl { align-items: flex-end; text-align: right; padding-right: clamp(28px, 5vw, 48px); padding-bottom: clamp(28px, 4vw, 40px); }
  .trust-seal--tr { align-items: flex-start; text-align: left; padding-left: clamp(28px, 5vw, 48px); padding-bottom: clamp(28px, 4vw, 40px); }
  .trust-seal--bl { align-items: flex-end; text-align: right; padding-right: clamp(28px, 5vw, 48px); padding-top: clamp(28px, 4vw, 40px); }
  .trust-seal--br { align-items: flex-start; text-align: left; padding-left: clamp(28px, 5vw, 48px); padding-top: clamp(28px, 4vw, 40px); }
  .trust-seal--tl .trust-seal-glyph,
  .trust-seal--bl .trust-seal-glyph { margin-left: auto; }
}
.trust-seal:hover {
  transform: translateY(-3px);
}
.trust-seal:hover .trust-seal-ring {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 0 28px var(--trust-glow, rgba(34,211,238,0.2));
}
.trust-seal:hover h3 {
  color: var(--trust-color, var(--cyan));
}
@keyframes trust-seal-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.trust-seal-glyph {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--trust-color, var(--cyan));
}
.trust-seal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed var(--trust-ring, rgba(34,211,238,0.35));
  background: radial-gradient(circle at 30% 25%, var(--trust-glow, rgba(34,211,238,0.1)), transparent 65%);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s;
}
.trust-seal-glyph svg {
  position: absolute;
  inset: 0;
  margin: auto;
}

.trust-seal-body { max-width: 34ch; }
.trust-seal-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 8px;
  transition: color 0.35s;
}
.trust-seal-body h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--trust-gradient, linear-gradient(90deg, var(--trust-color, var(--cyan)), transparent));
  transition: width 0.4s var(--ease-out);
}
@media (min-width: 768px) {
  .trust-seal--tl .trust-seal-body h3::after,
  .trust-seal--bl .trust-seal-body h3::after {
    margin-left: auto;
    background: var(--trust-gradient, linear-gradient(270deg, var(--trust-color, var(--cyan)), transparent));
  }
}
.trust-seal:hover .trust-seal-body h3::after { width: 56px; }
.trust-seal-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.trust-seal[data-trust-accent="cyan"] {
  --trust-color: #22d3ee;
  --trust-glow: rgba(34,211,238,0.14);
  --trust-ring: rgba(34,211,238,0.4);
  --trust-gradient: linear-gradient(90deg, #22d3ee, transparent);
}
.trust-seal[data-trust-accent="violet"] {
  --trust-color: #a78bfa;
  --trust-glow: rgba(167,139,250,0.14);
  --trust-ring: rgba(167,139,250,0.4);
  --trust-gradient: linear-gradient(90deg, #a78bfa, transparent);
}
.trust-seal[data-trust-accent="green"] {
  --trust-color: #4ade80;
  --trust-glow: rgba(74,222,128,0.14);
  --trust-ring: rgba(74,222,128,0.38);
  --trust-gradient: linear-gradient(90deg, #4ade80, transparent);
}
.trust-seal[data-trust-accent="gold"] {
  --trust-color: #fbbf24;
  --trust-glow: rgba(251,191,36,0.14);
  --trust-ring: rgba(251,191,36,0.38);
  --trust-gradient: linear-gradient(90deg, #fbbf24, transparent);
}

@media (max-width: 767px) {
  .trust-seal {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .trust-seal:last-child { border-bottom: none; }
  .trust-seal-body { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .trust-constellation-hub-ring { animation: none; }
  .trust-seal { animation: none; }
}

/* CTA */
.cta-band {
  position: relative; margin-top: clamp(64px, 10vw, 96px);
  padding: clamp(52px, 8vw, 80px) clamp(28px, 5vw, 56px);
  border-radius: calc(var(--radius-lg) + 12px); text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,211,238,0.1), transparent 55%),
    linear-gradient(165deg, rgba(16,20,28,0.98), rgba(5,7,13,0.99));
  box-shadow: 0 40px 100px rgba(0,0,0,0.5); overflow: hidden;
}
.cta-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 14px; }
.cta-band-glow { position: absolute; inset: -50%; background: radial-gradient(circle at 50% 0%, rgba(34,211,238,0.12), transparent 45%); pointer-events: none; animation: gallery-glow-pulse 5s ease-in-out infinite alternate; }
.cta-band-beam {
  position: absolute; top: 0; left: 50%; width: 1px; height: 100%;
  background: linear-gradient(180deg, rgba(34,211,238,0.5), transparent);
  transform: translateX(-50%);
  animation: beam-pulse 3s ease-in-out infinite;
}
@keyframes beam-pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }
.cta-band-content { position: relative; }

/* FAQ */
.faq-section { margin-top: clamp(64px, 10vw, 96px); }
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border-radius: calc(var(--radius-md) + 4px); background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); overflow: hidden; transition: border-color 0.3s; }
.faq-item.is-open { border-color: rgba(34,211,238,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border: none; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--text-primary); text-align: left;
  transition: background 0.2s;
}
.faq-trigger:hover { background: rgba(255,255,255,0.02); }
.faq-chevron { flex-shrink: 0; color: var(--text-muted); transition: transform 0.35s var(--ease-spring); }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease-spring); }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel p { margin: 0; overflow: hidden; padding: 0 24px; font-size: 0.94rem; line-height: 1.75; color: var(--text-secondary); transition: padding 0.4s; }
.faq-item.is-open .faq-panel p { padding: 0 24px 22px; }

/* Footer */
.site-footer { padding: clamp(56px, 8vw, 80px) 0 0; border-top: 1px solid rgba(255,255,255,0.04); margin-top: clamp(56px, 8vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(28px, 5vw, 40px); padding-bottom: 40px; }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--text-primary); }
.footer-tagline { margin: 12px 0 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }
.footer-social {
  margin-top: 22px;
}
.footer-social-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-social-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #22d3ee, #e1306c, #1da1f2);
  box-shadow: 0 0 12px rgba(34,211,238,0.45);
  animation: footer-social-dot 3s ease-in-out infinite;
}
@keyframes footer-social-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}
.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 100px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 24px var(--social-shadow, rgba(0,0,0,0.25));
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, border-color 0.35s;
  animation: footer-social-in 0.6s var(--ease-spring) backwards;
}
.footer-social-pill:nth-child(1) { animation-delay: 0.05s; }
.footer-social-pill:nth-child(2) { animation-delay: 0.12s; }
.footer-social-pill:nth-child(3) { animation-delay: 0.19s; }
.footer-social-pill:nth-child(4) { animation-delay: 0.26s; }
@keyframes footer-social-in {
  from { opacity: 0; transform: translateY(10px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.footer-social-pill-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.22), transparent 45%, rgba(255,255,255,0.08));
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.footer-social-pill-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.footer-social-pill-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.footer-social-pill:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 16px 36px var(--social-shadow, rgba(0,0,0,0.35)), 0 0 28px var(--social-glow, rgba(255,255,255,0.15));
}
.footer-social-pill:active { transform: scale(0.98); }

.footer-social-pill--wa {
  background: linear-gradient(135deg, #3ddc84 0%, #25d366 45%, #128c7e 100%);
  --social-shadow: rgba(37,211,102,0.35);
  --social-glow: rgba(37,211,102,0.45);
}
.footer-social-pill--tg {
  background: linear-gradient(135deg, #54c7ff 0%, #229ed9 50%, #0088cc 100%);
  --social-shadow: rgba(34,158,217,0.35);
  --social-glow: rgba(84,199,255,0.45);
}
.footer-social-pill--ig {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 42%, #6228d7 100%);
  --social-shadow: rgba(238,42,123,0.32);
  --social-glow: rgba(238,42,123,0.4);
}
.footer-social-pill--x {
  background: linear-gradient(135deg, #4a5568 0%, #1a202c 55%, #000 100%);
  --social-shadow: rgba(0,0,0,0.45);
  --social-glow: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.12);
}

@media (max-width: 480px) {
  .footer-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .footer-social-pill {
    justify-content: flex-start;
    padding: 10px 14px 10px 10px;
  }
  .footer-social-pill-text { font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-social-pill,
  .footer-social-label-dot { animation: none; }
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-heading { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { color: var(--text-secondary); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan-bright); }
.footer-bottom {
  padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(30,38,53,0.7);
  text-align: center;
}
.footer-copy { margin: 0; font-size: 0.82rem; color: var(--text-muted); text-align: center; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand-block { grid-column: span 2; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand-block { grid-column: span 1; } }

/* Legal */
.legal-page { padding: 48px 0 96px; }
body.legal-standalone .legal-page { padding-top: max(32px, env(safe-area-inset-top)); padding-bottom: max(48px, env(safe-area-inset-bottom)); }
.legal-page h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.65rem, 4vw, 2.1rem); color: var(--text-primary); margin: 0 0 8px; letter-spacing: -0.03em; }
.legal-meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 40px; }
.legal-page h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text-primary); margin: 36px 0 12px; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page li { font-size: 0.98rem; margin: 0 0 14px; }
.legal-page ul { padding-left: 1.25rem; margin: 0 0 20px; }
.legal-page li { margin-bottom: 8px; }
.legal-note { margin-top: 48px; padding: 20px 22px; border-radius: var(--radius-md); border: 1px dashed var(--border); background: rgba(255,255,255,0.02); font-size: 0.88rem; color: var(--text-muted); }
