/* Sum Quest : Bubble Edition — feuille de style du site */

@font-face {
  font-family: 'Permanent Marker';
  src: url('../fonts/PermanentMarker-Regular.ttf') format('truetype');
  font-display: swap;
}

:root {
  --navy-900: #060C18;
  --navy-800: #091628;
  --navy-700: #0B1C30;
  --ink: #F2F6FC;
  --ink-soft: rgba(242, 246, 252, 0.72);
  --ink-faint: rgba(242, 246, 252, 0.5);

  --teal: #1DE9B6;
  --teal-dark: #16A085;
  --blue: #45B7FF;
  --blue-dark: #1E6FC4;
  --pink: #FF6B9D;
  --pink-dark: #C43D6E;
  --purple: #C39BFF;
  --purple-dark: #8B5CF6;
  --gold: #FFD166;
  --gold-dark: #F59F00;
  --cyan: #00E5CC;
  --cyan-dark: #00A896;
  --coral: #FF6348;
  --coral-dark: #C7401E;

  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);

  --font-display: 'Permanent Marker', cursive;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { line-height: 1.15; }

.container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section { padding: 80px 0; position: relative; z-index: 2; overflow: clip; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; position: relative; z-index: 2; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.5px; }
.section-head p { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* Halos d'ambiance propres à chaque section */
.section-glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ---------- animations globales ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-26px) translateX(10px) scale(1.03); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(22px) translateX(-14px) scale(0.97); }
}
@keyframes pulseGlow { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes drift {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-120vh) translateX(40px); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes bumpNum {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

/* ---------- reveal au scroll ---------- */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.rv-pop {
  opacity: 0;
  transform: scale(0.55);
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--d, 0s);
}
.rv.in, .rv-pop.in { opacity: 1; transform: none; }

/* ---------- bulles ambiantes flottantes ---------- */
.bubble-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.bubble-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  pointer-events: none;
}
.bubble-rising {
  position: absolute;
  bottom: -140px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.16), rgba(255,255,255,0.02) 70%);
  animation: drift linear infinite;
  pointer-events: none;
}

/* ---------- nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.is-scrolled {
  padding: 10px 0;
  background: rgba(6, 12, 24, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07), 0 12px 30px rgba(0,0,0,0.35);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 38px; height: 38px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand span {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--glass-bg); color: var(--ink); }
.nav-cta {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  width: 42px; height: 42px;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
}

/* ---------- boutons bulle ---------- */
.btn-bubble {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-bubble:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, var(--teal), var(--blue));
  color: #06131F;
  box-shadow: 0 10px 30px rgba(69,183,255,0.35);
}
.btn-store {
  background: linear-gradient(160deg, #2a3448, #171f30);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--ink);
}
.btn-store .store-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--teal), var(--teal-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.btn-store[aria-disabled="true"] {
  cursor: default;
  opacity: 0.85;
}
.btn-store[aria-disabled="true"]:hover { transform: none; }

/* ---------- hero ---------- */
.hero {
  padding: 40px 0 80px;
  position: relative;
  overflow: clip;
}
.hero .container {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-copy { flex: 1 1 480px; min-width: 300px; max-width: 560px; position: relative; z-index: 3; }
.pill-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(29,233,182,0.12);
  border: 1px solid rgba(29,233,182,0.3);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
}
.hero-copy h1 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 1;
}
.hero-copy h1 .w1 {
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
  transform: rotate(-2deg);
}
.hero-copy h1 .w2 {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
  transform: rotate(1.5deg);
}
.hero-copy .subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(19px, 3vw, 27px);
  color: var(--ink-soft);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-copy p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 22px;
}

/* Ticker de calcul séquentiel animé */
.calc-ticker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 46px;
  margin: 0 0 26px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--glass-border);
}
.calc-ticker .tk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
}
.calc-ticker .tk.on { animation: popIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.calc-ticker .tk-op {
  min-width: 40px; height: 40px;
  padding: 0 10px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.calc-ticker .tk-arrow { color: var(--ink-faint); font-size: 14px; }
.calc-ticker .tk-total {
  font-weight: 800;
  font-size: 21px;
  color: var(--ink);
  min-width: 34px;
}
.calc-ticker .tk-total.bump { animation: bumpNum 0.35s ease; }
.calc-ticker .tk-target {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--gold);
  background: rgba(255,209,102,0.12);
  border: 1px dashed rgba(255,209,102,0.45);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.btn-ghost {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--ink);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}
.hero-stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-stat .dot { width: 8px; height: 8px; border-radius: 50%; }

/* Bulles opérateurs flottantes du hero (parallaxe souris) */
.float-b {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}
.float-b i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.35);
  border-radius: 50%;
  box-shadow: inset 0 -6px 14px rgba(0,0,0,0.18), inset 0 6px 10px rgba(255,255,255,0.28), 0 14px 30px rgba(0,0,0,0.35);
  animation: bob var(--bob, 5s) ease-in-out infinite;
  animation-delay: var(--bd, 0s);
}

/* ---------- mockup téléphone du hero ---------- */
.phone-wrap {
  --ph-w: 296px;
  position: relative;
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  perspective: 1400px;
  perspective-origin: 60% 40%;
  z-index: 2;
  padding: 26px 34px 40px;
}

/* halo coloré derrière l'appareil */
.phone-glow {
  position: absolute;
  width: 380px; height: 380px;
  top: 46%; left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69,183,255,0.30), rgba(69,183,255,0) 70%);
  animation: pulseGlow 4s ease-in-out infinite;
  pointer-events: none;
}
.phone-halo {
  position: absolute;
  inset: 6% -6%;
  border-radius: 50% 50% 46% 46% / 40%;
  background:
    radial-gradient(52% 40% at 22% 24%, rgba(29,233,182,0.20), transparent 70%),
    radial-gradient(48% 42% at 82% 72%, rgba(255,107,157,0.18), transparent 70%),
    radial-gradient(60% 50% at 60% 20%, rgba(195,155,255,0.16), transparent 72%);
  filter: blur(28px);
  opacity: 0.9;
  animation: haloDrift 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes haloDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-14px, 16px, 0) scale(1.06); }
}

/* scène 3D : l'appareil et les pastilles partagent le même espace */
.phone-stage {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 4deg));
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}
.phone-stage.is-tilting { transition: none; }

/* châssis */
.phone {
  position: relative;
  width: var(--ph-w);
  height: calc(var(--ph-w) * 2.07);
  border-radius: 48px;
  padding: 11px;
  background:
    linear-gradient(148deg,
      #6C86AD 0%, #2A3E5C 12%, #14243B 34%,
      #0C1728 52%, #223755 72%, #46608A 86%, #0D1A2C 100%);
  box-shadow:
    0 46px 90px -24px rgba(0, 0, 0, 0.72),
    0 14px 34px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px rgba(255, 255, 255, 0.14);
}
/* liseré noir entre le métal et la dalle */
.phone::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 43px;
  background: #04070E;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* tranches / boutons physiques */
.phone-key {
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #5A7396 0%, #22344F 50%, #101E32 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.phone-key-silent { left: -3px; top: 116px; height: 26px; }
.phone-key-up     { left: -3px; top: 160px; height: 52px; }
.phone-key-down   { left: -3px; top: 224px; height: 52px; }
.phone-key-power  { right: -3px; top: 186px; height: 76px; }

/* dalle */
.phone-screen {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  border-radius: 37px;
  overflow: hidden;
  /* teinte du haut de la capture : la bande de safe-area se fond dedans */
  background: #B9EDE1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
/* la capture est décalée sous le poinçon photo, et débordée en bas
   pour rogner la barre d'interface du jeu */
.phone-screen img {
  position: absolute;
  top: 22px; left: 0; right: 0;
  width: 100%;
  height: calc(100% - 22px);
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* fondu du bas de capture vers le noir + vignettage */
.screen-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(3, 6, 13, 0.97) 0%,
    rgba(3, 6, 13, 0.92) 7%,
    rgba(3, 6, 13, 0.55) 13%,
    rgba(3, 6, 13, 0) 22%);
  box-shadow: inset 0 0 46px rgba(0, 0, 0, 0.38);
}
/* reflet vitré qui balaie la dalle */
.screen-glare {
  position: absolute;
  top: -30%; bottom: -30%; left: -60%;
  width: 55%;
  pointer-events: none;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.13) 42%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.05) 60%,
    rgba(255, 255, 255, 0) 100%);
  transform: rotate(12deg);
  animation: glareSweep 7.5s ease-in-out infinite;
}
@keyframes glareSweep {
  0%, 62%  { transform: translateX(0) rotate(12deg); }
  92%, 100% { transform: translateX(320%) rotate(12deg); }
}
/* barre d'accueil iOS-like */
.screen-home {
  position: absolute;
  left: 50%; bottom: 9px;
  translate: -50% 0;
  width: 92px; height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
/* poinçon photo façon Android */
.phone-cam {
  position: absolute;
  z-index: 2;
  top: 21px; left: 50%;
  translate: -50% 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #1D3F5E, #04070E 66%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 0 2.5px rgba(150, 210, 255, 0.09);
}

/* ombre portée au sol */
.phone-floor {
  position: absolute;
  bottom: 10px; left: 50%;
  translate: -50% 0;
  width: calc(var(--ph-w) * 0.92);
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}

/* pastilles de gameplay en lévitation devant l'appareil */
.phone-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px 9px 9px;
  border-radius: 18px;
  white-space: nowrap;
  background: linear-gradient(150deg, rgba(17, 34, 56, 0.92), rgba(7, 16, 29, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: chipFloat var(--cbob, 6s) ease-in-out infinite;
  animation-delay: var(--cd, 0s);
}
.chip-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  box-shadow:
    inset 0 -5px 10px rgba(0, 0, 0, 0.2),
    inset 0 5px 8px rgba(255, 255, 255, 0.35),
    0 6px 14px rgba(0, 0, 0, 0.35);
}
.chip-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 11px;
  color: var(--ink-faint);
}
.chip-txt b {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.chip-target { top: 46%; left: -48px; --cbob: 6.4s; }
.chip-combo  { bottom: 12%; right: -24px; --cbob: 5.4s; --cd: -2.1s; }
@keyframes chipFloat {
  0%, 100% { transform: translate3d(0, 0, 74px); }
  50%      { transform: translate3d(0, -10px, 74px); }
}

/* icône de l'app posée sur le coin bas gauche */
.phone-badge {
  position: absolute;
  z-index: 5;
  bottom: -16px; left: -24px;
  width: 78px; height: 78px;
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  animation: badgeFloat 6.8s ease-in-out infinite;
}
.phone-badge img {
  width: 100%; height: 100%;
  border-radius: 19px;
  display: block;
}
@keyframes badgeFloat {
  0%, 100% { transform: translate3d(0, 0, 96px); }
  50%      { transform: translate3d(0, -9px, 96px); }
}

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.025);
  transform: rotate(-1.1deg) scale(1.03);
  margin: 10px 0 30px;
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marqueeMove 36s linear infinite;
  padding: 13px 0;
}
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-inner .mq {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 1px;
  white-space: nowrap;
  color: var(--ink-faint);
}
.marquee-inner .mq b { color: var(--teal); font-weight: 400; }
.marquee-inner .mq .mq-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--pink), var(--pink-dark));
  flex-shrink: 0;
}
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* ---------- cards / blobs ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 18px 44px rgba(0,0,0,0.3);
}
.card .card-ghost {
  position: absolute;
  right: -14px; bottom: -26px;
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.card:hover .card-ghost { transform: rotate(-8deg) scale(1.1); opacity: 0.1; }
.card-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px;
  margin-bottom: 18px;
  box-shadow: inset 0 -5px 10px rgba(0,0,0,0.2), inset 0 5px 8px rgba(255,255,255,0.25);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .card-icon { transform: translateY(-4px) rotate(-7deg) scale(1.08); }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- comment jouer : étapes + démo jouable ---------- */
.howto-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: center;
}
.howto-steps { flex: 1 1 380px; min-width: 300px; max-width: 520px; }
.howto-step {
  display: flex;
  gap: 18px;
  position: relative;
  padding-bottom: 30px;
}
.howto-step:last-child { padding-bottom: 0; }
.howto-step::before {
  content: '';
  position: absolute;
  left: 23px; top: 52px; bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.22) 0 4px, transparent 4px 10px);
}
.howto-step:last-child::before { display: none; }
.step-num {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  box-shadow: inset 0 -5px 10px rgba(0,0,0,0.2), inset 0 5px 8px rgba(255,255,255,0.25);
}
.howto-step h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 800; }
.howto-step p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* Démo jouable */
.demo-shell {
  flex: 0 1 400px;
  min-width: 310px;
  position: relative;
  background: linear-gradient(160deg, #DFF7F0, #CBEFE4);
  border: 6px solid #16273F;
  border-radius: 36px;
  padding: 22px 20px 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  color: #14344A;
  overflow: hidden;
}
.demo-tag {
  position: absolute;
  top: 16px; right: -38px;
  transform: rotate(38deg);
  background: linear-gradient(90deg, var(--pink), var(--pink-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 44px;
  pointer-events: none;
  z-index: 5;
}
.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  padding-right: 52px; /* laisse la place au ruban "JOUABLE" dans le coin */
}
.demo-target {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #14344A;
  background: rgba(255,255,255,0.65);
  border: 2px solid #14344A22;
  padding: 8px 14px;
  border-radius: 999px;
}
.demo-target b { font-size: 17px; color: var(--coral-dark); }
.demo-reset {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 17px;
  color: #fff;
  background: radial-gradient(circle at 32% 28%, #FFA94D, #E8590C);
  box-shadow: 0 4px 12px rgba(232,89,12,0.4);
  transition: transform 0.2s ease;
}
.demo-reset:hover { transform: rotate(-180deg) scale(1.08); }
.demo-total {
  text-align: center;
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1.1;
  color: #14344A;
  transition: color 0.2s ease;
}
.demo-total.bump { animation: bumpNum 0.35s ease; }
.demo-total.is-win { color: #0CA678; }
.demo-total.is-lose { color: #E03131; }
.demo-chain {
  text-align: center;
  min-height: 22px;
  font-size: 14px;
  font-weight: 700;
  color: #14344A99;
  margin-bottom: 8px;
}
.demo-arena {
  position: relative;
  height: 290px;
}
.demo-bubble {
  position: absolute;
  width: var(--s, 74px);
  height: var(--s, 74px);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-family: var(--font-body);
  box-shadow: inset 0 -8px 16px rgba(0,0,0,0.22), inset 0 8px 12px rgba(255,255,255,0.35), 0 10px 22px rgba(20,52,74,0.28);
  animation: bob var(--bob, 4.5s) ease-in-out infinite;
  animation-delay: var(--bd, 0s);
  transition: transform 0.15s ease;
}
.demo-bubble:hover { transform: scale(1.09); }
.demo-bubble.popped {
  animation: demoPop 0.35s ease forwards;
  pointer-events: none;
}
@keyframes demoPop {
  40% { transform: scale(1.35); opacity: 0.9; }
  100% { transform: scale(0); opacity: 0; }
}
.demo-msg {
  position: absolute;
  inset: auto 0 20px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 26px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.8);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 4;
}
.demo-msg.show { opacity: 1; transform: none; }
.demo-msg.win { color: #0CA678; }
.demo-msg.lose { color: #E03131; }
.demo-confetti {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
  animation: confettiFly 0.9s ease-out forwards;
}
@keyframes confettiFly {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--cx), var(--cy)) scale(0.3); opacity: 0; }
}

/* ---------- mini-jeux : stickers ---------- */
.stickers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.sticker {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  padding: 30px 22px;
  text-align: center;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
}
.sticker:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
  box-shadow: 0 22px 50px rgba(0,0,0,0.35);
  z-index: 2;
}
.sticker .orb {
  width: 74px; height: 74px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
  box-shadow: inset 0 -9px 18px rgba(0,0,0,0.25), inset 0 9px 14px rgba(255,255,255,0.32), 0 14px 30px rgba(0,0,0,0.35);
  animation: bob var(--bob, 5s) ease-in-out infinite;
  animation-delay: var(--bd, 0s);
}
.sticker h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 800; }
.sticker p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.sticker .badge-lock {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--ink-faint);
}

/* ---------- galerie de captures : carrousel ---------- */
.shots-outer { position: relative; }
.shots-track {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 26px 8vw 40px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.shots-track::-webkit-scrollbar { display: none; }
.shot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  scroll-snap-align: center;
}
.shot-phone {
  width: 210px; height: 424px;
  border-radius: 32px;
  background: linear-gradient(160deg, #10233C, #0A1626);
  border: 5px solid #16273F;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 10px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.shot-item:hover .shot-phone { transform: rotate(0deg) scale(1.04); }
.shot-phone .notch { width: 44px; height: 5px; border-radius: 4px; background: rgba(255,255,255,0.15); margin: 0 auto 8px; }
.shot-screen { width: 100%; height: calc(100% - 13px); border-radius: 20px; overflow: hidden; }
.shot-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.shot-caption { font-size: 14px; font-weight: 700; color: var(--ink-soft); text-align: center; }
.shot-caption span { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.shots-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.shots-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.shots-btn:hover { background: rgba(255,255,255,0.1); transform: scale(1.08); }

/* ---------- roadmap des mondes ---------- */
.roadmap {
  position: relative;
  height: 1280px;
  max-width: 1050px;
  margin: 0 auto;
}
.roadmap-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.roadmap-svg .rm-path {
  fill: none;
  stroke: rgba(242,246,252,0.38);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 0.1 16;
}
.roadmap-planet {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
  animation: floatY 11s ease-in-out infinite;
}
.world-node {
  position: absolute;
  /* le centre du nœud ne peut pas sortir du cadre, même sur petit écran */
  left: clamp(115px, var(--x), calc(100% - 115px));
  top: var(--y);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  /* stretch (et non center) : les enfants sans largeur propre (labels, texte)
     prennent la largeur du nœud et peuvent retomber à la ligne. Le cercle,
     lui, garde sa taille explicite et reste donc rond malgré le stretch. */
  align-items: stretch;
  gap: 13px;
  width: 230px;
  text-align: center;
  z-index: 2;
}
.world-node .world-circle,
.world-node .world-mini { align-self: center; }
.world-circle {
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 38px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  box-shadow: inset 0 -10px 20px rgba(0,0,0,0.25), inset 0 10px 16px rgba(255,255,255,0.3), 0 0 34px var(--halo, rgba(255,255,255,0.25)), 0 16px 36px rgba(0,0,0,0.4);
  animation: bob var(--bob, 6s) ease-in-out infinite;
  animation-delay: var(--bd, 0s);
}
.world-circle.is-infinite {
  background: transparent;
  border: 3px dashed rgba(242,246,252,0.45);
  box-shadow: 0 0 30px rgba(242,246,252,0.12);
  animation: spinSlow 16s linear infinite;
}
.world-label {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.3px;
}
.world-tag {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-faint);
  margin-top: -6px;
}
.world-mini {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--ink-faint);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- multijoueur / rétention highlight box ---------- */
.feature-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.feature-highlight-copy { flex: 1 1 380px; min-width: 280px; position: relative; z-index: 1; }
.feature-highlight-visual { flex: 1 1 320px; min-width: 260px; display: flex; justify-content: center; position: relative; z-index: 1; }
.feature-highlight h3 { margin: 0 0 14px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.feature-highlight p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; margin: 0 0 12px; }
.feature-list { list-style: none; margin: 18px 0 0; padding: 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--ink-soft); margin-bottom: 10px;
}
.feature-list li .check {
  width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--teal), var(--teal-dark));
  color: #06131F; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

.duel-mock {
  width: 100%; max-width: 300px;
  background: linear-gradient(160deg, #10233C, #0A1626);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 22px;
  position: relative;
}
.duel-vs {
  position: absolute;
  top: -16px; right: -16px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--gold), var(--gold-dark));
  color: #402C00;
  font-family: var(--font-display);
  font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(245,159,0,0.4);
  animation: wiggle 2.6s ease-in-out infinite;
}
.duel-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.duel-row + .duel-row { border-top: 1px solid rgba(255,255,255,0.08); }
.duel-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: white; flex-shrink: 0;
}
.duel-bar-track { flex: 1; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.duel-bar-fill {
  height: 100%; border-radius: 999px;
  width: 0;
  transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0.2s);
}
.duel-mock.play .duel-bar-fill { width: var(--w); }
.duel-code {
  margin-top: 16px; text-align: center;
  font-family: 'SF Mono', 'Courier New', monospace;
  letter-spacing: 6px; font-size: 20px; font-weight: 700;
  color: var(--teal);
  background: rgba(29,233,182,0.08);
  border: 1px dashed rgba(29,233,182,0.4);
  border-radius: 12px; padding: 10px;
  min-height: 44px;
}
.streak-days { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.streak-day {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  border: 2px dashed rgba(242,246,252,0.4);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.duel-mock.play .streak-day.done {
  border-color: transparent;
  background: radial-gradient(circle at 32% 28%, var(--teal), var(--teal-dark));
  transition-delay: var(--d, 0s);
}
.duel-mock.play .streak-day.gift {
  border-color: transparent;
  background: radial-gradient(circle at 32% 28%, var(--gold), var(--gold-dark));
  color: #402C00;
  transition-delay: var(--d, 0s);
  transform: scale(1.15);
}
.mission-line { font-size: 14px; }
.mission-line.todo { opacity: 0.5; }

/* ---------- gratuit / hors-ligne blocks ---------- */
.dual-highlight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}
.free-block {
  background: linear-gradient(160deg, rgba(29,233,182,0.10), rgba(69,183,255,0.06));
  border: 1px solid rgba(29,233,182,0.25);
  border-radius: 32px;
  padding: 46px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.free-block:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(0,0,0,0.3); }
.free-block.tint-blue {
  background: linear-gradient(160deg, rgba(69,183,255,0.10), rgba(29,233,182,0.05));
  border-color: rgba(69,183,255,0.28);
}
.free-block .card-icon { margin: 0 auto 20px; }
.free-block .card-icon svg { width: 24px; height: 24px; }
.free-block h3 { margin: 0 0 14px; font-size: clamp(20px, 2.6vw, 25px); font-weight: 800; }
.free-block p { margin: 0 auto; max-width: 400px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.free-mini-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: auto; padding-top: 26px;
}
.free-mini-list span {
  font-size: 12.5px; font-weight: 700;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 13px; border-radius: 999px;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[data-open="true"] { border-color: rgba(29,233,182,0.35); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: none; border: none;
  color: var(--ink);
  font-size: 16px; font-weight: 700;
  text-align: left;
  padding: 20px 22px;
  cursor: pointer;
  font-family: inherit;
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: transform 0.25s ease;
}
.faq-item[data-open="true"] .plus { transform: rotate(45deg); background: linear-gradient(90deg, var(--teal), var(--blue)); color: #06131F; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer-inner { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.faq-item[data-open="true"] .faq-answer { max-height: 400px; }

/* ---------- CTA final ---------- */
.cta-final {
  text-align: center;
  padding: 70px 0 110px;
  position: relative;
}
.cta-final h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 52px);
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-final > .container > p { margin: 0 0 30px; font-size: 16px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 36px 0;
  position: relative; z-index: 2;
}
.site-footer .container {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 26px; height: 26px; border-radius: 8px; }
.footer-brand span { font-size: 14px; color: var(--ink-faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer-links a { text-decoration: none; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }

/* ---------- legal pages ---------- */
.legal-page { padding: 20px 0 90px; }
.legal-header { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.legal-header .eyebrow { color: var(--teal); text-align: center; }
.legal-header h1 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.legal-header .updated { font-size: 13px; color: var(--ink-faint); }
.legal-body {
  max-width: 780px; margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 44px;
}
.legal-body h2 { font-size: 19px; font-weight: 800; margin: 34px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.legal-body ul { padding-left: 20px; }
.legal-body a { color: var(--teal); text-decoration: underline; }
.legal-body strong { color: var(--ink); }
.legal-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--gold);
  background: rgba(255, 209, 102, 0.08);
  border: 1px dashed rgba(255, 209, 102, 0.4);
  border-radius: 14px;
  padding: 14px 18px;
}

/* ---------- responsive ---------- */
@media (min-width: 860px) {
  .hero-copy { text-align: left; }
  .hero-copy .pill-badge, .hero-actions, .hero-stats { justify-content: flex-start; }
  .calc-ticker { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav.nav-open { background: rgba(6, 12, 24, 0.92); }
  .site-nav.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 68px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-800);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 10px;
    gap: 2px;
    z-index: 30;
  }
  .site-nav.nav-open .nav-links a { padding: 12px 16px; }
  .stickers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .phone-wrap { --ph-w: 270px; }
}
@media (max-width: 760px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .dual-highlight { grid-template-columns: 1fr; }
  .stickers { grid-template-columns: 1fr; }
  .sticker { transform: rotate(0deg); }
  .legal-body { padding: 30px 22px; }
  .phone-stage { transform: none; }
  .phone-wrap { --ph-w: 250px; padding: 18px 10px 32px; }
  .phone-chip { display: none; }
  .phone-badge { bottom: -12px; left: -14px; width: 62px; height: 62px; border-radius: 18px; }
  .phone-badge img { border-radius: 15px; }
  .float-b { display: none; }
  .roadmap { height: 1520px; }
  .world-node { width: 190px; left: clamp(95px, var(--x), calc(100% - 95px)) !important; }
  .world-circle { width: 80px; height: 80px; font-size: 32px; }
  .shots-track { padding: 20px 12vw 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .bubble-ambient, .bubble-rising, .phone-glow, .phone-halo, .float-b i, .demo-bubble,
  .world-circle, .sticker .orb, .duel-vs, .marquee-inner,
  .screen-glare, .phone-chip, .phone-badge {
    animation: none !important;
  }
  .phone-chip { transform: translate3d(0, 0, 74px); }
  .phone-badge { transform: translate3d(0, 0, 96px); }
  .screen-glare { opacity: 0.35; }
  .rv, .rv-pop { opacity: 1 !important; transform: none !important; transition: none !important; }
  .phone-stage { transform: none; }
  html { scroll-behavior: auto; }
}
