:root {
  --lime: #bfff00;
  --lime-hot: #d7ff43;
  --ice: #e9fbff;
  --ice-blue: #9deaff;
  --red: #7a0f1c;
  --black: #030506;
  --glass: rgba(8, 14, 15, 0.66);
  --line: rgba(233, 251, 255, 0.24);
  --mx: 0;
  --my: 0;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: #000;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, #111b19 0%, #030505 58%, #000 100%);
  color: var(--ice);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.055;
  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='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-frame {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  min-height: 620px;
  max-width: 1920px;
  max-height: 1080px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
  box-shadow: 0 0 90px rgba(191, 255, 0, 0.08);
}

.scene-art,
.scene-shade,
.speed-wash,
.scanlines,
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-art {
  z-index: -6;
  object-fit: cover;
  object-position: center;
  opacity: 0.64;
  transform: scale(1.04) translate(calc(var(--mx) * -7px), calc(var(--my) * -5px));
  filter: saturate(1.15) contrast(1.04) brightness(0.84);
  transition: transform 240ms ease-out;
}

.scene-shade {
  z-index: -5;
  background:
    linear-gradient(90deg, rgba(1, 3, 4, 0.98) 0%, rgba(2, 6, 7, 0.94) 22%, rgba(2, 6, 7, 0.54) 49%, rgba(2, 5, 6, 0.15) 100%),
    radial-gradient(circle at 73% 52%, rgba(191, 255, 0, 0.19), transparent 29%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 23%, transparent 72%, rgba(0, 0, 0, 0.82));
}

.speed-wash {
  z-index: -4;
  opacity: 0.34;
  background: repeating-linear-gradient(
    168deg,
    transparent 0,
    transparent 72px,
    rgba(191, 255, 0, 0.07) 73px,
    transparent 75px
  );
  mask-image: linear-gradient(90deg, transparent, #000 54%, #000);
  animation: speed-drift 8s linear infinite;
}

.scanlines {
  z-index: 10;
  pointer-events: none;
  opacity: 0.08;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(232, 252, 255, 0.24) 4px
  );
}

#particleCanvas {
  z-index: -2;
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: clamp(72px, 8.8vh, 96px);
  padding: 0 clamp(30px, 4vw, 76px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08));
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 13px;
  color: var(--ice);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(191, 255, 0, 0.58);
  border-radius: 50%;
  background: rgba(191, 255, 0, 0.08);
  box-shadow: inset 0 0 20px rgba(191, 255, 0, 0.14), 0 0 28px rgba(191, 255, 0, 0.1);
}

.brand-mark img {
  width: 47px;
  height: 47px;
  object-fit: contain;
}

.brand-word {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(0.76rem, 0.88vw, 1.02rem);
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.brand-word span {
  color: var(--lime);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid rgba(191, 255, 0, 0.24);
  border-radius: 999px;
  color: rgba(233, 251, 255, 0.68);
  background: rgba(0, 0, 0, 0.34);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.68rem, 0.62vw, 0.79rem);
  letter-spacing: 0.08em;
}

.status-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 15px var(--lime);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.top-actions {
  display: flex;
  justify-self: end;
  gap: 9px;
}

.nav-link {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(233, 251, 255, 0.26);
  border-radius: 3px;
  color: var(--ice);
  background: rgba(0, 0, 0, 0.28);
  font-size: clamp(0.72rem, 0.67vw, 0.84rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #050704;
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 28px rgba(191, 255, 0, 0.28);
  transform: translateY(-2px);
  outline: none;
}

.nav-link--hot {
  color: var(--lime);
  border-color: rgba(191, 255, 0, 0.62);
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(520px, 0.96fr) minmax(480px, 1.04fr);
  height: calc(100% - clamp(72px, 8.8vh, 96px) - clamp(44px, 5.2vh, 60px));
  padding: clamp(34px, 4.7vh, 56px) clamp(30px, 4vw, 76px) clamp(24px, 3.4vh, 40px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  max-width: 770px;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  width: min(100%, 650px);
  gap: 14px;
  margin-bottom: clamp(12px, 1.5vh, 20px);
  color: rgba(233, 251, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.68rem, 0.69vw, 0.84rem);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.eyebrow span:first-child {
  color: var(--lime);
}

.eyebrow-rule {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(191, 255, 0, 0.66), transparent);
}

.hero-title {
  margin: 0;
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(4.1rem, 7.35vw, 8.6rem);
  font-weight: 950;
  line-height: 0.72;
  letter-spacing: -0.068em;
  text-transform: uppercase;
}

.title-line {
  display: block;
  width: fit-content;
  transform-origin: left center;
}

.title-line--solid {
  color: var(--ice);
  text-shadow: 0 0 36px rgba(157, 234, 255, 0.22);
}

.title-line--lime {
  color: var(--lime);
  filter: drop-shadow(0 0 25px rgba(191, 255, 0, 0.28));
}

.title-line--outline {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.12vw, 3px) rgba(233, 251, 255, 0.76);
  text-stroke: clamp(1px, 0.12vw, 3px) rgba(233, 251, 255, 0.76);
}

.hero-intro {
  margin: clamp(17px, 2.5vh, 30px) 0 0;
  color: rgba(233, 251, 255, 0.82);
  font-size: clamp(1rem, 1.15vw, 1.38rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(17px, 2.5vh, 29px);
}

.ca-button {
  position: relative;
  display: inline-flex;
  min-width: 205px;
  max-width: min(100%, 520px);
  min-height: 56px;
  align-items: center;
  gap: 9px;
  padding: 0 14px 0 19px;
  overflow: hidden;
  border: 1px solid var(--lime);
  border-radius: 3px;
  color: #060903;
  background: var(--lime);
  box-shadow: 0 0 34px rgba(191, 255, 0, 0.2);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

#caValue {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.56) 47%, transparent 72%);
  content: "";
  transform: translateX(-130%);
  transition: transform 550ms ease;
}

.ca-button:hover::before {
  transform: translateX(130%);
}

.ca-button:hover,
.ca-button:focus-visible {
  background: var(--lime-hot);
  box-shadow: 0 0 45px rgba(191, 255, 0, 0.38);
  outline: none;
  transform: translateY(-2px) rotate(-0.4deg);
}

.ca-button:active {
  transform: translateY(1px) scale(0.985);
}

.ca-label {
  opacity: 0.5;
}

.copy-icon {
  display: grid;
  width: 32px;
  height: 32px;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 2px;
}

.copy-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.copy-hint {
  color: rgba(233, 251, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.lore-card {
  position: relative;
  width: min(100%, 655px);
  margin-top: clamp(18px, 2.8vh, 33px);
  padding: clamp(16px, 1.6vw, 23px) clamp(17px, 1.8vw, 26px);
  overflow: hidden;
  border: 1px solid rgba(233, 251, 255, 0.18);
  border-left: 3px solid var(--lime);
  background: linear-gradient(120deg, rgba(6, 12, 13, 0.84), rgba(6, 11, 12, 0.52));
  backdrop-filter: blur(14px);
}

.lore-card::after {
  position: absolute;
  top: -70px;
  right: -80px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(191, 255, 0, 0.3);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 60px rgba(191, 255, 0, 0.08);
}

.lore-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.67rem, 0.62vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.13em;
}

.lore-heading span:last-child {
  color: rgba(233, 251, 255, 0.33);
}

.lore-card p {
  margin: 0;
  color: rgba(233, 251, 255, 0.72);
  font-size: clamp(0.83rem, 0.82vw, 1rem);
  line-height: 1.58;
}

.spec-grid {
  display: grid;
  width: min(100%, 655px);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: clamp(12px, 1.7vh, 20px) 0 0;
  border: 1px solid rgba(233, 251, 255, 0.13);
  background: rgba(233, 251, 255, 0.13);
}

.spec-grid div {
  min-width: 0;
  padding: 11px 15px;
  background: rgba(2, 6, 7, 0.82);
}

.spec-grid dt {
  color: rgba(233, 251, 255, 0.38);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.58rem, 0.55vw, 0.67rem);
  letter-spacing: 0.11em;
}

.spec-grid dd {
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--ice);
  font-size: clamp(0.7rem, 0.7vw, 0.84rem);
  font-weight: 850;
  letter-spacing: 0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.character-stage {
  position: relative;
  z-index: 2;
  min-width: 0;
  height: 100%;
  cursor: pointer;
  perspective: 1100px;
  outline: none;
  user-select: none;
}

.character-stage::before,
.character-stage::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.character-stage::before {
  top: 17%;
  left: 20%;
  width: 69%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 255, 0, 0.22), rgba(191, 255, 0, 0.035) 46%, transparent 71%);
  filter: blur(5px);
  animation: aura-breathe 4.6s ease-in-out infinite;
}

.character-stage::after {
  top: 41%;
  right: -5%;
  width: 76%;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  box-shadow: 0 -74px 0 rgba(233, 251, 255, 0.48), 0 74px 0 rgba(191, 255, 0, 0.44);
  transform: translateX(15%);
}

.character-stage:focus-visible {
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px var(--lime);
}

.character-tilt {
  position: absolute;
  inset: 1% 1% 1% -3%;
  display: grid;
  place-items: center;
  transform: rotateX(calc(var(--my) * -2.6deg)) rotateY(calc(var(--mx) * 4deg));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.character-sprite {
  position: relative;
  z-index: 2;
  display: block;
  width: min(88%, 720px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(222, 248, 255, 0.56))
    drop-shadow(0 0 38px rgba(191, 255, 0, 0.18));
  animation: character-float 5.4s ease-in-out infinite;
  transform-origin: 51% 72%;
  will-change: transform, filter;
}

.character-stage:hover .character-sprite {
  filter:
    drop-shadow(0 0 18px rgba(222, 248, 255, 0.75))
    drop-shadow(0 0 60px rgba(191, 255, 0, 0.27));
}

.character-aura {
  position: absolute;
  z-index: -1;
  top: 18%;
  left: 28%;
  width: 56%;
  aspect-ratio: 1;
  border: 1px solid rgba(191, 255, 0, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 90px rgba(191, 255, 0, 0.14),
    inset 0 0 60px rgba(157, 234, 255, 0.08);
}

.character-shadow {
  position: absolute;
  z-index: -1;
  right: 13%;
  bottom: 2.5%;
  width: 66%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(191, 255, 0, 0.37), rgba(191, 255, 0, 0.03) 56%, transparent 72%);
  filter: blur(9px);
  animation: shadow-pulse 5.4s ease-in-out infinite;
}

.orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 53%;
  aspect-ratio: 1;
  border: 1px solid rgba(233, 251, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(69deg);
}

.orbit::after {
  position: absolute;
  top: -4px;
  left: 49%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
  content: "";
}

.orbit--outer {
  width: 79%;
  animation: orbit-spin 10s linear infinite;
}

.orbit--inner {
  width: 55%;
  opacity: 0.56;
  animation: orbit-spin-reverse 7s linear infinite;
}

.speed-tag {
  position: absolute;
  z-index: 4;
  padding: 7px 10px;
  border: 1px solid rgba(191, 255, 0, 0.35);
  color: var(--lime);
  background: rgba(2, 5, 6, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.59rem, 0.55vw, 0.68rem);
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

.speed-tag--one {
  top: 20%;
  left: 8%;
  transform: rotate(-5deg);
  animation: tag-float 4.2s ease-in-out infinite;
}

.speed-tag--two {
  right: 3%;
  bottom: 25%;
  color: var(--ice-blue);
  border-color: rgba(157, 234, 255, 0.35);
  transform: rotate(4deg);
  animation: tag-float 4.2s 1.1s ease-in-out infinite;
}

.helmet-readout {
  position: absolute;
  z-index: 4;
  top: 15%;
  right: 3%;
  display: grid;
  min-width: 112px;
  gap: 4px;
  padding: 8px 11px;
  border-right: 2px solid #bb2638;
  color: rgba(233, 251, 255, 0.45);
  background: linear-gradient(90deg, transparent, rgba(70, 4, 14, 0.36));
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.56rem, 0.5vw, 0.65rem);
  letter-spacing: 0.1em;
  text-align: right;
}

.helmet-readout b {
  color: #ff6375;
  font-size: 0.88rem;
}

.character-prompt {
  position: absolute;
  right: 6%;
  bottom: 0;
  margin: 0;
  color: rgba(233, 251, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.61rem, 0.57vw, 0.72rem);
  letter-spacing: 0.1em;
}

.character-stage.is-boosting::after {
  opacity: 1;
  animation: line-boost 720ms ease-out both;
}

.character-stage.is-boosting .character-sprite {
  animation: character-boost 780ms cubic-bezier(0.2, 0.75, 0.15, 1) both;
}

.character-stage.is-boosting .orbit--outer {
  animation-duration: 780ms;
}

.ticker {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(44px, 5.2vh, 60px);
  overflow: hidden;
  border-top: 1px solid rgba(191, 255, 0, 0.38);
  color: #050704;
  background: var(--lime);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(0.85rem, 1.08vw, 1.25rem);
  line-height: clamp(44px, 5.2vh, 60px);
  letter-spacing: 0.045em;
  white-space: nowrap;
  transform: rotate(-0.2deg) scale(1.01);
}

.ticker-track {
  display: inline-flex;
  min-width: max-content;
  animation: ticker-move 22s linear infinite;
}

.ticker-track span {
  display: inline-block;
}

.toast {
  position: fixed;
  z-index: 50;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid rgba(191, 255, 0, 0.62);
  border-radius: 3px;
  color: var(--ice);
  background: rgba(3, 7, 7, 0.9);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(191, 255, 0, 0.13);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 13px var(--lime);
}

.reveal {
  opacity: 0;
  animation: reveal-up 720ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.reveal--1 { animation-delay: 80ms; }
.reveal--2 { animation-delay: 160ms; }
.reveal--3 { animation-delay: 260ms; }
.reveal--4 { animation-delay: 350ms; }
.reveal--5 { animation-delay: 440ms; }
.reveal--6 { animation-delay: 520ms; }
.reveal--character { animation-delay: 250ms; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.72); }
}

@keyframes character-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.55deg); }
  48% { transform: translate3d(0, -13px, 0) rotate(0.7deg); }
}

@keyframes shadow-pulse {
  0%, 100% { opacity: 0.62; transform: scaleX(1); }
  48% { opacity: 0.36; transform: scaleX(0.84); }
}

@keyframes aura-breathe {
  0%, 100% { opacity: 0.72; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotateX(69deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(69deg) rotateZ(360deg); }
}

@keyframes orbit-spin-reverse {
  from { transform: translate(-50%, -50%) rotateX(69deg) rotateZ(360deg); }
  to { transform: translate(-50%, -50%) rotateX(69deg) rotateZ(0deg); }
}

@keyframes tag-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes ticker-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes speed-drift {
  from { transform: translateX(-4%); }
  to { transform: translateX(4%); }
}

@keyframes character-boost {
  0% { transform: translate3d(0, 0, 0) scale(1); filter: brightness(1); }
  18% { transform: translate3d(-26px, 2px, 0) scale(0.98, 1.02) rotate(-2deg); }
  43% { transform: translate3d(48px, -8px, 0) scale(1.045, 0.97) rotate(1.8deg); filter: brightness(1.55); }
  68% { transform: translate3d(-7px, -2px, 0) scale(1.01); }
  100% { transform: translate3d(0, 0, 0) scale(1); filter: brightness(1); }
}

@keyframes line-boost {
  0% { opacity: 0; transform: translateX(-35%) scaleX(0.1); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateX(35%) scaleX(1.25); }
}

@media (max-width: 1120px) {
  body {
    overflow: auto;
  }

  .site-frame {
    width: 100%;
    height: auto;
    min-height: 100svh;
    max-height: none;
    aspect-ratio: auto;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .status-pill {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.92fr;
    height: auto;
    min-height: calc(100svh - 118px);
  }

  .hero-title {
    font-size: clamp(3.9rem, 9.5vw, 6.6rem);
  }
}

@media (max-width: 780px) {
  .topbar {
    height: 68px;
    padding: 0 18px;
  }

  .brand-word {
    display: none;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
  }

  .top-actions {
    gap: 6px;
  }

  .nav-link {
    min-height: 40px;
    padding: 0 11px;
    font-size: 0.66rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 36px 20px 92px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-title {
    font-size: clamp(3.8rem, 19vw, 6rem);
    line-height: 0.75;
  }

  .eyebrow span:last-child,
  .eyebrow-rule,
  .copy-hint {
    display: none;
  }

  .character-stage {
    min-height: 610px;
    margin-top: 12px;
  }

  .character-tilt {
    inset: 0;
  }

  .character-sprite {
    width: min(100%, 600px);
  }

  .speed-tag--one { left: 1%; }
  .speed-tag--two { right: 1%; }
  .helmet-readout { right: 0; }

  .character-prompt {
    right: auto;
    bottom: 7px;
    left: 50%;
    width: max-content;
    transform: translateX(-50%);
  }

  .scene-shade {
    background:
      linear-gradient(180deg, rgba(1, 3, 4, 0.9), rgba(2, 6, 7, 0.7) 52%, rgba(1, 3, 4, 0.68)),
      radial-gradient(circle at 50% 72%, rgba(191, 255, 0, 0.17), transparent 28%);
  }

  .ticker {
    position: fixed;
  }
}

@media (max-width: 460px) {
  .nav-link:first-child {
    width: 41px;
    padding: 0;
    font-size: 0;
  }

  .nav-link:first-child svg {
    width: 17px;
    height: 17px;
  }

  .spec-grid div {
    padding: 10px 8px;
  }

  .spec-grid dd {
    font-size: 0.62rem;
  }

  .lore-card p {
    font-size: 0.86rem;
  }

  .character-stage {
    min-height: 520px;
  }
}

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