:root {
  --bg:   #02050a;
  --ink:  #f4f8ff;
  --muted: #8ea2b7;
  --cyan:  #20d6a5;
  --blue:  #3478ff;
  --red:   #ff4050;
  --line:  rgba(122, 168, 198, 0.18);
  --x: 0px;
  --y: 0px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at calc(52% + var(--x)) calc(48% + var(--y)), rgba(32, 214, 165, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 30%, transparent 72%, rgba(0, 0, 0, 0.5)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 5px);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 31%, rgba(32, 214, 165, 0.1) 31.05% 31.16%, transparent 31.28%),
    linear-gradient(153deg, transparent 0 72%, rgba(52, 120, 255, 0.08) 72.05% 72.16%, transparent 72.28%);
  mix-blend-mode: screen;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

/* ===== Ambient orbs ===== */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient span {
  position: absolute;
  width: 56vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.3;
  animation: float-glow 18s ease-in-out infinite alternate;
}

.ambient span:nth-child(1) {
  left: 32%;
  top: 8%;
  background: radial-gradient(circle, rgba(32, 214, 165, 0.26), rgba(32, 214, 165, 0.07) 36%, transparent 70%);
}

.ambient span:nth-child(2) {
  right: -20%;
  top: 38%;
  background: radial-gradient(circle, rgba(52, 120, 255, 0.16), rgba(52, 120, 255, 0.05) 40%, transparent 72%);
  animation-duration: 24s;
}

.ambient span:nth-child(3) {
  left: -24%;
  bottom: -14%;
  background: radial-gradient(circle, rgba(32, 214, 165, 0.12), rgba(255, 64, 80, 0.05) 40%, transparent 74%);
  animation-duration: 21s;
}

.wake {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(32, 214, 165, 0.22) 48%, transparent 50%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  animation: wake 820ms steps(2, end);
}

/* ===== Header ===== */
.chrome {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(2, 5, 10, 0.88), transparent);
}

.brand,
.chrome nav a,
.play,
.ghost,
.download-list a {
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.chrome nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(218, 229, 240, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chrome nav a:hover { color: #fff; }

.mini-play {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(32, 214, 165, 0.44);
  background:
    linear-gradient(135deg, rgba(32, 214, 165, 0.2), rgba(52, 120, 255, 0.07)),
    rgba(5, 16, 25, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 28px rgba(32, 214, 165, 0.1);
  transition: border-color 160ms, box-shadow 160ms;
}

.mini-play:hover {
  border-color: rgba(32, 214, 165, 0.72);
  box-shadow: 0 0 38px rgba(32, 214, 165, 0.2);
}

/* ===== Scene base ===== */
main { position: relative; z-index: 5; }

.scene {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.eyebrow {
  display: block;
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

/* ===== Buttons ===== */
.play,
.ghost {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.play:hover, .ghost:hover { transform: translateY(-3px); }

.play {
  min-width: 178px;
  color: #fff;
  border: 1px solid rgba(32, 214, 165, 0.56);
  background:
    linear-gradient(135deg, rgba(32, 214, 165, 0.26), rgba(52, 120, 255, 0.1) 52%, rgba(255, 64, 80, 0.07)),
    rgba(5, 16, 25, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 40px rgba(32, 214, 165, 0.14);
}

.play:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 56px rgba(32, 214, 165, 0.26);
}

.ghost {
  min-width: 150px;
  color: #dce6f0;
  border: 1px solid rgba(116, 156, 190, 0.4);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(32, 214, 165, 0.04)),
    rgba(5, 13, 20, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ghost:hover {
  border-color: rgba(116, 156, 190, 0.7);
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  padding: 80px clamp(14px, 3.5vw, 48px) 28px;
}

.hero-title {
  position: relative;
  z-index: 6;
  align-self: start;
  transform: translate3d(calc(var(--x) * 0.1), calc(var(--y) * 0.1), 0);
}

h1 {
  white-space: nowrap;
  font-size: clamp(48px, 10.5vw, 128px);
  line-height: 0.78;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title strong {
  display: block;
  margin-top: clamp(8px, 1.4vw, 16px);
  font-size: clamp(22px, 3.8vw, 52px);
  line-height: 0.94;
  font-weight: 900;
}

.real-map {
  position: relative;
  z-index: 3;
  align-self: center;
  width: min(1260px, 106vw);
  height: min(40vh, 400px);
  margin: 0 auto;
  transform: translate3d(calc(var(--x) * -0.18), calc(var(--y) * -0.18), 0);
}

.real-map svg { width: 100%; height: 100%; overflow: visible; }

.russia-real {
  fill: rgba(12, 48, 49, 0.36);
  stroke: rgba(32, 214, 165, 0.84);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 16px rgba(32, 214, 165, 0.16));
}

.route {
  fill: none;
  stroke-width: 3;
  stroke-dasharray: 12 15;
  vector-effect: non-scaling-stroke;
  animation: route-flow 8.6s linear infinite;
}

.route.white { stroke: rgba(188, 218, 236, 0.55); }
.route.red   { stroke: rgba(255, 64, 80, 0.7); animation-duration: 5.8s; }
.route.blue  { stroke: rgba(112, 174, 209, 0.4); animation-duration: 11s; }

.nodes circle {
  fill: #07131d;
  stroke: #b4c7d8;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  animation: node-blink 3.8s ease-in-out infinite;
}

.nodes .hot { stroke: var(--red); }
.nodes circle:nth-child(2) { animation-delay: -0.7s; }
.nodes circle:nth-child(3) { animation-delay: -1.4s; }
.nodes circle:nth-child(4) { animation-delay: -2.1s; }
.nodes circle:nth-child(5) { animation-delay: -2.8s; }

.map-logo {
  position: absolute;
  z-index: 4;
  left: 52%;
  top: 49%;
  width: clamp(88px, 9.5vw, 150px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.56));
  animation: logo-drift 4.8s ease-in-out infinite alternate;
}

.hero-actions {
  position: relative;
  z-index: 7;
  width: min(410px, 100%);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-self: end;
}

.scroll-mark {
  position: absolute;
  z-index: 7;
  right: clamp(18px, 4vw, 56px);
  bottom: 28px;
  color: rgba(220, 233, 245, 0.55);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ===== Mechanics ===== */
.mechs-scene {
  min-height: auto;
  padding: 56px clamp(18px, 4vw, 56px) 48px;
}

.mechs-intro {
  margin-bottom: 16px;
}

.mechs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.mech-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0 clamp(12px, 1.8vw, 24px);
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 200ms ease;
}

.mech-item:nth-child(2n) { border-right: none; }
.mech-item:nth-child(3),
.mech-item:nth-child(4) { border-bottom: none; }

.mech-item:hover {
  background: rgba(32, 214, 165, 0.03);
}

.mech-num {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--cyan);
  opacity: 0.7;
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}

.mech-name {
  font-size: clamp(15px, 1.7vw, 22px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 5px;
}

.mech-tag {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.65;
  margin-bottom: 6px;
}

.mech-desc {
  color: rgba(220, 232, 244, 0.6);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  line-height: 1.4;
  max-width: 400px;
}

/* ===== Mechanic mini-visuals ===== */
.mech-vis {
  display: none;
}

/* Dot grid — map */
.vis-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 140px;
}

.vis-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(32, 214, 165, 0.1);
  border: 1px solid rgba(32, 214, 165, 0.22);
}

.vis-dots span.on {
  background: rgba(32, 214, 165, 0.55);
  border-color: rgba(32, 214, 165, 0.9);
  box-shadow: 0 0 9px rgba(32, 214, 165, 0.45);
  animation: dot-pulse 3s ease-in-out infinite;
}

.vis-dots span.on:nth-child(2n+1) { animation-delay: -1.4s; }
.vis-dots span.on:nth-child(3n+1) { animation-delay: -0.7s; }

/* Law graph */
.vis-graph {
  width: 100%;
  max-width: 148px;
  height: auto;
  overflow: visible;
}

/* Resource bars */
.vis-bars {
  display: flex;
  gap: 12px;
  height: 80px;
  align-items: flex-end;
  width: 100%;
  max-width: 140px;
}

.vb {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  gap: 6px;
}

.vb div {
  width: 100%;
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(122, 168, 198, 0.08);
  border: 1px solid rgba(122, 168, 198, 0.14);
  position: relative;
  overflow: hidden;
}

.vb div::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: inherit;
}

.vb-c div::after {
  height: 76%;
  background: rgba(32, 214, 165, 0.75);
  box-shadow: 0 0 14px rgba(32, 214, 165, 0.35);
  animation: bar-c 4s ease-in-out infinite alternate;
}

.vb-t div::after {
  height: 21%;
  background: rgba(255, 64, 80, 0.8);
  box-shadow: 0 0 14px rgba(255, 64, 80, 0.35);
  animation: bar-t 5s ease-in-out infinite alternate;
}

.vb-v div::after {
  height: 56%;
  background: rgba(52, 120, 255, 0.75);
  box-shadow: 0 0 14px rgba(52, 120, 255, 0.3);
  animation: bar-v 3.5s ease-in-out infinite alternate;
}

.vb span {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(142, 162, 183, 0.6);
  white-space: nowrap;
}

/* Protest lanes */
.vis-lanes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 148px;
}

.vl {
  position: relative;
  height: 20px;
  border-radius: 3px;
  background: rgba(255, 64, 80, 0.05);
  border: 1px solid rgba(255, 64, 80, 0.16);
  overflow: hidden;
}

.vl span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 64, 80, 0.82);
  box-shadow: 0 0 8px rgba(255, 64, 80, 0.4);
  animation: march 2.4s linear infinite;
}

.vl-b { animation-delay: -1s !important; }
.vl-c { animation-delay: -0.5s !important; }

/* ===== Twitch ===== */
.twitch-scene {
  display: grid;
  grid-template-columns: minmax(380px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
  padding: 96px clamp(18px, 4vw, 56px) 80px;
  min-height: auto;
}

.twitch-copy h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.twitch-copy p {
  color: rgba(224, 236, 246, 0.66);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 800;
  line-height: 1.4;
  max-width: 400px;
  margin-bottom: 28px;
}

.twitch-cta {
  min-width: auto;
  padding: 0 24px;
  min-height: 48px;
  font-size: 12px;
}

/* Chat mock */
.chat-wrap {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(122, 168, 198, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 56%),
    rgba(4, 12, 20, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(122, 168, 198, 0.12);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(218, 229, 240, 0.55);
}

.chat-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 64, 80, 0.6);
  animation: dot-pulse 1.8s ease-in-out infinite;
}

.chat-feed {
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.chat-msg {
  font-size: 13px;
  font-weight: 700;
  color: rgba(220, 232, 244, 0.72);
  line-height: 1.3;
  animation: chat-in 0.3s ease both;
}

.chat-msg b {
  color: var(--cyan);
  font-weight: 900;
  margin-right: 4px;
}

.chat-vote {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(32, 214, 165, 0.08);
  border: 1px solid rgba(32, 214, 165, 0.24);
  color: rgba(32, 214, 165, 0.9);
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-msg:nth-child(1) { animation-delay: 0.1s; }
.chat-msg:nth-child(2) { animation-delay: 0.25s; }
.chat-msg:nth-child(3) { animation-delay: 0.4s; }
.chat-msg:nth-child(4) { animation-delay: 0.55s; }
.chat-msg:nth-child(5) { animation-delay: 0.7s; }
.chat-msg:nth-child(6) { animation-delay: 0.85s; }
.chat-msg:nth-child(7) { animation-delay: 1s; }

/* ===== Download ===== */
.download-scene {
  display: block;
  padding: 72px clamp(18px, 4vw, 56px) 64px;
  min-height: auto;
}

.dl-copy {
  margin-bottom: 32px;
}

.dl-copy h2 {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dl-copy p {
  color: rgba(224, 236, 246, 0.55);
  font-size: 14px;
  font-weight: 800;
}

.download-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.download-list a {
  position: relative;
  min-height: 154px;
  display: grid;
  align-content: end;
  gap: 9px;
  padding: 20px;
  color: var(--ink);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(122, 168, 198, 0.2);
  background:
    radial-gradient(circle at 50% 16%, rgba(32, 214, 165, 0.16), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 56%),
    rgba(4, 13, 20, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 44px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.download-list a::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(32, 214, 165, 0.46);
  box-shadow: inset 0 0 20px rgba(32, 214, 165, 0.12);
}

.download-list a::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 22px;
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.52;
}

.download-list a:hover {
  transform: translateY(-5px);
  border-color: rgba(32, 214, 165, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 22px 56px rgba(0, 0, 0, 0.28),
    0 0 40px rgba(32, 214, 165, 0.08);
}

.download-list span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.download-list b {
  font-size: clamp(17px, 1.8vw, 26px);
  line-height: 1.04;
  font-weight: 900;
}

/* ===== Final ===== */
.final-scene {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 24px;
  padding: 80px clamp(18px, 4vw, 56px);
}

.final-scene h2 {
  font-size: clamp(52px, 10vw, 140px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
}

.final-play { margin-top: 4px; }

.disclaimer {
  color: rgba(142, 162, 183, 0.48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  max-width: 420px;
  line-height: 1.5;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(122, 168, 198, 0.1);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(218, 229, 240, 0.45);
}

.site-footer a { color: rgba(218, 229, 240, 0.55); transition: color 160ms; }
.site-footer a:hover { color: var(--ink); }

/* ===== Animations ===== */
@keyframes wake {
  0%, 18%, 38% { opacity: 0.4; transform: translateX(-18px); }
  9%, 27%      { opacity: 0.07; transform: translateX(16px); }
  100%         { opacity: 0; transform: none; }
}

@keyframes float-glow {
  from { transform: translate3d(-2vw, -1vh, 0) scale(0.93); }
  to   { transform: translate3d(3vw, 2vh, 0) scale(1.07); }
}

@keyframes route-flow { to { stroke-dashoffset: -180; } }

@keyframes node-blink {
  0%, 100% { opacity: 0.68; r: 11; }
  50%      { opacity: 1;    r: 14; }
}

@keyframes logo-drift {
  from { transform: translate(-50%, -50%) scale(0.97); }
  to   { transform: translate(-50%, -52%) scale(1.03); }
}

@keyframes dot-pulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

@keyframes bar-c {
  from { height: 72%; }
  to   { height: 84%; }
}

@keyframes bar-t {
  from { height: 17%; }
  to   { height: 26%; }
}

@keyframes bar-v {
  from { height: 50%; }
  to   { height: 64%; }
}

@keyframes march {
  from { left: 110%; }
  to   { left: -12%; }
}

@keyframes chat-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

@keyframes reveal-in {
  from { opacity: 0; translate: 0 22px; }
  to   { opacity: 1; translate: 0 0; }
}

/* ===== Scroll reveal ===== */
.motion-ready .scene.is-visible .hero-title,
.motion-ready .scene.is-visible .hero-actions,
.motion-ready .scene.is-visible .real-map,
.motion-ready .scene.is-visible .mechs-intro,
.motion-ready .scene.is-visible .mechs-list,
.motion-ready .scene.is-visible .twitch-copy,
.motion-ready .scene.is-visible .chat-wrap,
.motion-ready .scene.is-visible .dl-copy,
.motion-ready .scene.is-visible .download-list,
.motion-ready .scene.is-visible .final-play {
  animation: reveal-in 520ms ease both;
}

.motion-ready .scene.is-visible .real-map,
.motion-ready .scene.is-visible .mechs-list,
.motion-ready .scene.is-visible .chat-wrap,
.motion-ready .scene.is-visible .download-list {
  animation-delay: 80ms;
}

.motion-ready .scene.is-visible .final-play { animation-delay: 60ms; }

/* ===== Responsive: tablet ≤ 900px ===== */
@media (max-width: 900px) {
  .chrome nav a:not(.mini-play) { display: none; }

  h1 { font-size: clamp(44px, 13.5vw, 76px); }

  .hero-title strong { font-size: clamp(22px, 8vw, 40px); }

  .real-map {
    width: 180vw;
    min-width: 0;
    max-width: none;
    height: 48vh;
    margin-left: -42vw;
  }

  .map-logo { width: 96px; }

  .hero-actions {
    display: grid;
    width: 100%;
    max-width: 100%;
  }

  .play, .ghost { width: 100%; }

  .scroll-mark { right: auto; left: 18px; }

  .mechs-scene {
    padding: 88px 18px 64px;
  }

  .mechs-list {
    grid-template-columns: 1fr;
  }

  .mech-item {
    grid-template-columns: 36px 1fr;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .mech-item:nth-child(3) { border-bottom: 1px solid var(--line); }
  .mech-item:nth-child(4) { border-bottom: none; }

  .twitch-scene {
    grid-template-columns: 1fr;
    padding: 80px 18px 64px;
  }

  .twitch-copy p { max-width: none; }

  .download-scene {
    grid-template-columns: 1fr;
    padding: 72px 18px 64px;
  }

  .download-list {
    grid-template-columns: 1fr;
  }

  .download-list a {
    min-height: 100px;
    border-radius: 18px;
    padding: 16px 52px 16px 16px;
  }

  .final-scene { min-height: 72vh; }
}

/* ===== Responsive: mobile ≤ 520px ===== */
@media (max-width: 520px) {
  .chrome { height: 64px; padding: 0 18px; }

  .brand { font-size: 15px; gap: 9px; }
  .brand img { width: 18px; height: 18px; }

  .mini-play { min-height: 36px; padding: 0 13px; font-size: 11px; }

  .eyebrow { font-size: 10px; letter-spacing: 0.24em; }

  .mechs-intro h2 { font-size: clamp(32px, 10vw, 52px); }

  .mech-name { font-size: clamp(18px, 5.5vw, 26px); }

  .chat-wrap { display: none; }

  .twitch-copy h2 { font-size: clamp(34px, 10vw, 54px); }

  .download-list b { font-size: 17px; }

  .site-footer { flex-direction: column; gap: 8px; text-align: center; }
}

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