:root {
  --bg: #080a17;
  --bg-soft: #0e1124;
  --panel: rgba(18, 21, 45, 0.72);
  --panel-solid: #14182f;
  --text: #f7f7ff;
  --muted: #a8abc4;
  --primary: #8b5cf6;
  --primary-2: #b76cff;
  --cyan: #4de6ff;
  --green: #59f2bd;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 4%, rgba(139, 92, 246, 0.16), transparent 28rem),
    radial-gradient(circle at 4% 34%, rgba(77, 230, 255, 0.08), transparent 24rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: -80px;
  padding: 10px 16px;
  border-radius: 12px;
  background: white;
  color: #111;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.ambient {
  position: fixed;
  z-index: -3;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .13;
  pointer-events: none;
}
.ambient-one { right: -20rem; top: 28rem; background: var(--primary); }
.ambient-two { left: -24rem; bottom: 8rem; background: var(--cyan); }
.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: min(calc(100% - 32px), var(--max));
  height: 72px;
  margin: 16px auto 0;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 10, 23, 0.76);
  box-shadow: 0 12px 42px rgba(0, 0, 0, .2);
  backdrop-filter: blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: white;
  box-shadow: 0 8px 22px rgba(139, 92, 246, .35);
}
.nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; }
.nav a, .header-cta { transition: color .2s ease, background .2s ease, transform .2s ease; }
.nav a:hover { color: white; }
.header-cta {
  padding: 9px 17px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  font-size: 14px;
  font-weight: 700;
}
.header-cta:hover { background: rgba(255, 255, 255, .11); transform: translateY(-1px); }

.section-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.hero {
  min-height: 720px;
  padding: 96px 0 90px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 64px;
  align-items: center;
}
.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #cfc3ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.hero h1 {
  margin: 24px 0 20px;
  max-width: 680px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg, #fff 0%, #c9bdff 35%, #62e5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead { max-width: 620px; margin: 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 35px rgba(139, 92, 246, .25), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.button-primary:hover { box-shadow: 0 22px 46px rgba(139, 92, 246, .36), inset 0 1px 0 rgba(255, 255, 255, .25); }
.button-ghost { border-color: var(--line); background: rgba(255, 255, 255, .04); }
.button-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.button-icon { font-size: 20px; line-height: 1; }
.button-full { width: 100%; }
.hero-meta { margin-top: 38px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.hero-meta span { display: inline-flex; gap: 7px; align-items: baseline; }
.hero-meta b { color: white; font-size: 17px; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.preview-card {
  position: relative;
  z-index: 3;
  width: min(100%, 430px);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(27, 31, 62, .94), rgba(12, 15, 33, .92));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotate(2deg);
}
.preview-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(177, 126, 255, .7), transparent 32%, transparent 70%, rgba(77, 230, 255, .35));
  opacity: .38;
}
.preview-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.preview-topline > div { display: grid; gap: 3px; }
.preview-topline strong { font-size: 20px; }
.preview-kicker { color: var(--muted); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.live-dot { padding: 5px 10px; border-radius: 999px; background: rgba(89, 242, 189, .1); color: var(--green); font-size: 11px; font-weight: 800; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.mini-card {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 17px;
  background: linear-gradient(145deg, #242848, #171a34);
  color: #777eaa;
  font-size: 25px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 20px rgba(0, 0, 0, .15);
}
.mini-card-open { background: linear-gradient(145deg, rgba(139, 92, 246, .35), rgba(77, 230, 255, .11)); color: white; }
.preview-progress { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.preview-progress > div:first-child { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.preview-progress strong { color: white; }
.progress-track { height: 7px; margin-top: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress-track span { display: block; width: 75%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.orbit { position: absolute; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; }
.orbit-one { width: 480px; height: 480px; animation: rotate 26s linear infinite; }
.orbit-one::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; top: 70px; left: 38px; background: var(--cyan); box-shadow: 0 0 22px var(--cyan); }
.orbit-two { width: 360px; height: 360px; border-style: dashed; animation: rotateReverse 18s linear infinite; }
.floating-pill {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(18, 21, 45, .8);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
  backdrop-filter: blur(15px);
  font-size: 13px;
  font-weight: 800;
}
.floating-pill span { color: #ffd86b; }
.pill-score { top: 72px; right: 0; animation: float 4s ease-in-out infinite; }
.pill-time { bottom: 66px; left: 4px; animation: float 4s ease-in-out .8s infinite; }
.pill-time span { color: var(--cyan); }

.proof-strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .018); }
.proof-inner { width: min(calc(100% - 40px), var(--max)); min-height: 70px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #c3c6da; font-size: 13px; font-weight: 700; }
.proof-inner i { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px var(--primary); }

.how { padding: 120px 0; }
.section-heading { max-width: 650px; margin-bottom: 46px; }
.section-heading h2, .game-copy h2, .feature-copy h2, .final-cta h2 {
  margin: 13px 0 15px;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.section-heading p, .game-copy > p, .feature-copy > p, .final-cta > p { margin: 0; color: var(--muted); font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
  position: relative;
  min-height: 290px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .018));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.step-card:hover { transform: translateY(-7px); border-color: rgba(139, 92, 246, .4); background: linear-gradient(145deg, rgba(139, 92, 246, .12), rgba(255, 255, 255, .018)); }
.step-number { position: absolute; right: 25px; top: 19px; color: rgba(255, 255, 255, .09); font-size: 42px; font-weight: 900; }
.step-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 46px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 17px; background: rgba(139, 92, 246, .13); color: #d9d1ff; font-size: 25px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.step-card:nth-child(2) .step-icon { background: rgba(77, 230, 255, .09); color: var(--cyan); }
.step-card:nth-child(3) .step-icon { background: rgba(255, 216, 107, .09); color: #ffd86b; }
.step-card h3 { margin: 0 0 9px; font-size: 21px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }

.game-section { padding: 110px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(139, 92, 246, .055), rgba(77, 230, 255, .018)); }
.game-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; }
.game-copy h2 { max-width: 480px; }
.game-copy > p { max-width: 470px; }
.tip-card { display: flex; gap: 14px; max-width: 460px; margin-top: 28px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255, 255, 255, .035); }
.tip-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 216, 107, .1); }
.tip-card strong { font-size: 13px; }
.tip-card p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.game-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 30px;
  background: rgba(14, 17, 36, .83);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(18px);
}
.game-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.game-panel-head > div { display: grid; gap: 2px; }
.game-overline { color: var(--muted); font-size: 10px; letter-spacing: .15em; }
.game-panel-head strong { font-size: 19px; }
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  font-size: 21px;
  transition: transform .2s ease, background .2s ease;
}
.icon-button:hover { transform: rotate(-40deg); background: rgba(255, 255, 255, .08); }
.scoreboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 14px; }
.score-item { padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255, 255, 255, .06); border-radius: 13px; background: rgba(255, 255, 255, .03); }
.score-item span { color: var(--muted); font-size: 11px; }
.score-item strong, .score-item strong span { color: white; font-size: 15px; }
.game-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; perspective: 900px; }
.memory-card {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .48s cubic-bezier(.2, .72, .2, 1), filter .2s ease;
}
.memory-card:hover:not(.is-flipped):not(.is-matched) { filter: brightness(1.2); }
.memory-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.memory-card.is-flipped, .memory-card.is-matched { transform: rotateY(180deg); }
.card-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.card-back {
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 30% 20%, rgba(139, 92, 246, .24), transparent 40%),
    linear-gradient(145deg, #252a50, #171b36);
  color: #8c91bd;
  font-size: clamp(17px, 2.5vw, 26px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 9px 18px rgba(0, 0, 0, .16);
}
.card-front {
  transform: rotateY(180deg);
  border: 1px solid rgba(139, 92, 246, .35);
  background: linear-gradient(145deg, rgba(139, 92, 246, .34), rgba(77, 230, 255, .12));
  font-size: clamp(25px, 4vw, 38px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 25px rgba(139, 92, 246, .1);
}
.memory-card.is-matched .card-front { border-color: rgba(89, 242, 189, .65); background: linear-gradient(145deg, rgba(89, 242, 189, .21), rgba(77, 230, 255, .12)); animation: matched .48s ease; }
.game-status { min-height: 20px; margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 12px; }

.features { padding: 120px 0; }
.feature-highlight { min-height: 440px; padding: 56px 64px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(139, 92, 246, .11), rgba(77, 230, 255, .035) 55%, rgba(255, 255, 255, .025)); overflow: hidden; }
.feature-copy { max-width: 560px; }
.feature-list { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; color: #d7d9e7; font-size: 14px; }
.feature-list span { display: flex; align-items: center; gap: 9px; }
.feature-list i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(89, 242, 189, .11); color: var(--green); font-style: normal; font-size: 11px; }
.brain-graphic { position: relative; min-height: 300px; display: grid; place-items: center; }
.brain-core { position: relative; z-index: 3; width: 150px; height: 150px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .12); border-radius: 45px; background: linear-gradient(145deg, rgba(139, 92, 246, .4), rgba(77, 230, 255, .14)); box-shadow: 0 30px 70px rgba(80, 47, 180, .3), inset 0 1px 0 rgba(255, 255, 255, .18); font-size: 70px; transform: rotate(-5deg); animation: float 5s ease-in-out infinite; }
.ring { position: absolute; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; }
.ring-a { width: 260px; height: 260px; animation: rotate 18s linear infinite; }
.ring-b { width: 205px; height: 205px; border-style: dashed; animation: rotateReverse 13s linear infinite; }
.spark { position: absolute; color: var(--cyan); text-shadow: 0 0 16px var(--cyan); animation: pulse 2.2s ease-in-out infinite; }
.spark-one { top: 20%; right: 17%; font-size: 22px; }
.spark-two { bottom: 17%; left: 19%; color: #cbbdff; animation-delay: .7s; }
.spark-three { top: 14%; left: 27%; font-size: 11px; animation-delay: 1.1s; }

.final-cta { position: relative; margin-bottom: 120px; padding: 80px 30px; overflow: hidden; border: 1px solid rgba(139, 92, 246, .28); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(139, 92, 246, .16), rgba(77, 230, 255, .05)); text-align: center; }
.final-cta h2 { max-width: 780px; margin-inline: auto; }
.final-cta > p { max-width: 600px; margin: 0 auto 28px; }
.cta-glow { position: absolute; width: 300px; height: 300px; left: 50%; top: 100%; transform: translate(-50%, -50%); border-radius: 50%; background: var(--primary); filter: blur(100px); opacity: .22; }

.site-footer { width: min(calc(100% - 40px), var(--max)); min-height: 110px; margin: 0 auto; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer .brand { color: white; font-size: 14px; }
.site-footer .brand-mark { width: 28px; height: 28px; border-radius: 9px; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 12, .78); backdrop-filter: blur(10px); }
.modal-card { position: relative; z-index: 2; width: min(100%, 430px); padding: 38px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 28px; background: linear-gradient(145deg, #1b1f3d, #101329); box-shadow: var(--shadow); text-align: center; animation: modalIn .38s cubic-bezier(.2, .8, .2, 1); }
.modal-close { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .06); cursor: pointer; color: var(--muted); font-size: 22px; }
.result-badge { width: 76px; height: 76px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 23px; background: linear-gradient(145deg, rgba(255, 216, 107, .2), rgba(139, 92, 246, .18)); font-size: 38px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.modal-kicker { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.modal-card h2 { margin: 8px 0 8px; font-size: 28px; letter-spacing: -.035em; }
.result-stars { margin: 5px 0 22px; color: #ffd86b; font-size: 30px; letter-spacing: 6px; text-shadow: 0 0 22px rgba(255, 216, 107, .35); }
.result-stats { margin-bottom: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.result-stats div { padding: 14px; display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .035); }
.result-stats span { color: var(--muted); font-size: 11px; }
.result-stats strong { font-size: 18px; }
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti-piece { position: absolute; z-index: 4; top: -20px; width: 9px; height: 16px; border-radius: 3px; background: var(--piece-color); animation: confettiFall var(--fall-time) linear forwards; transform: rotate(var(--rotation)); }
body.modal-open { overflow: hidden; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes rotateReverse { to { transform: rotate(-360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes matched { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes modalIn { from { opacity: 0; transform: scale(.9) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes confettiFall { to { top: 110%; transform: translateX(var(--drift)) rotate(calc(var(--rotation) + 720deg)); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 78px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { min-height: 500px; }
  .game-layout { grid-template-columns: 1fr; gap: 48px; }
  .game-copy { text-align: center; }
  .game-copy h2, .game-copy > p, .tip-card { margin-inline: auto; }
  .feature-highlight { grid-template-columns: 1fr; gap: 25px; }
  .brain-graphic { order: -1; min-height: 260px; }
}

@media (max-width: 720px) {
  .site-header { width: calc(100% - 24px); height: 64px; margin-top: 10px; border-radius: 17px; }
  .nav { display: none; }
  .header-cta { padding: 8px 13px; }
  .section-shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: auto; padding: 72px 0 74px; gap: 45px; }
  .hero h1 { font-size: clamp(42px, 13.5vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 150px; }
  .hero-meta { justify-content: center; gap: 17px; }
  .hero-visual { min-height: 410px; }
  .preview-card { width: min(92%, 390px); padding: 18px; border-radius: 24px; transform: rotate(1deg); }
  .orbit-one { width: 360px; height: 360px; }
  .orbit-two { width: 280px; height: 280px; }
  .pill-score { top: 24px; right: 0; }
  .pill-time { left: 0; bottom: 22px; }
  .proof-inner { justify-content: center; flex-wrap: wrap; padding: 17px 0; }
  .proof-inner i:nth-of-type(2) { display: none; }
  .how, .features { padding: 86px 0; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: 230px; }
  .step-icon { margin-bottom: 28px; }
  .game-section { padding: 82px 0; }
  .game-panel { padding: 16px; border-radius: 24px; }
  .game-board { gap: 7px; }
  .memory-card { border-radius: 13px; }
  .score-item { padding: 9px 10px; display: grid; gap: 1px; text-align: center; }
  .feature-highlight { padding: 35px 22px; }
  .feature-list { grid-template-columns: 1fr; }
  .final-cta { margin-bottom: 84px; padding: 62px 20px; }
  .site-footer { flex-direction: column; justify-content: center; text-align: center; gap: 8px; padding: 35px 0; }
}

@media (max-width: 420px) {
  .brand > span:last-child { font-size: 14px; }
  .hero h1 { font-size: 42px; }
  .floating-pill { padding: 8px 11px; font-size: 11px; }
  .preview-grid { gap: 8px; }
  .mini-card { border-radius: 14px; }
  .game-panel-head { margin-bottom: 12px; }
  .card-front { font-size: 26px; }
  .modal-card { padding: 34px 20px 24px; }
}

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