:root {
  color-scheme: dark;
  --black: #050608;
  --ink: #090d10;
  --steel: #10191d;
  --paper: #f2f3ec;
  --muted: #a9b1a8;
  --faint: rgba(242, 243, 236, 0.08);
  --line: rgba(152, 193, 184, 0.28);
  --oxide: #7db8a8;
  --cobalt: #4f82ff;
  --hazard: #f2c348;
  --rust: #a94132;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --display: "Arial Narrow", "Roboto Condensed", Impact, Haettenschweiler, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  --drift-x: 0px;
  --drift-y: 0px;
  background:
    linear-gradient(90deg, rgba(242, 195, 72, 0.05) 1px, transparent 1px) 0 0 / 94px 94px,
    linear-gradient(0deg, rgba(125, 184, 168, 0.05) 1px, transparent 1px) 0 0 / 94px 94px,
    radial-gradient(circle at 76% 8%, rgba(79, 130, 255, 0.18), transparent 30%),
    linear-gradient(110deg, #040506 0%, #091013 52%, #0d0908 100%);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 50%, transparent 50%) 0 0 / 100% 4px,
    radial-gradient(circle at 20% 86%, rgba(169, 65, 50, 0.16), transparent 28%);
  opacity: 0.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 10px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(5, 8, 9, 0.84);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(5, 8, 9, 0.96);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.48);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 195, 72, 0.45);
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(242, 195, 72, 0.06);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.3vw, 32px);
  color: #d6ded8;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a,
.site-footer a {
  outline-offset: 5px;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--hazard);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(242, 243, 236, 0.04);
  color: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #060809;
}

.hero-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.94) 0%, rgba(5, 6, 8, 0.76) 34%, rgba(5, 6, 8, 0.22) 74%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.18) 0%, rgba(5, 6, 8, 0.85) 100%),
    url("./assets/generated/hero-slice.png") center / cover;
  filter: saturate(0.9) contrast(1.08);
}

.hero::before,
.hero::after,
.section::before,
.download-card::before,
.choice-card::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 18px;
  border: 1px solid rgba(242, 243, 236, 0.11);
  clip-path: polygon(0 0, 31% 0, 31% 10px, 69% 10px, 69% 0, 100% 0, 100% 100%, 0 100%);
}

.hero::after {
  right: 0;
  bottom: 0;
  width: min(44vw, 520px);
  height: 64px;
  background: repeating-linear-gradient(90deg, var(--hazard) 0 16px, transparent 16px 31px);
  opacity: 0.52;
  transform: skewX(-22deg) translateX(34px);
}

.scan-rail {
  position: absolute;
  z-index: 2;
  top: 96px;
  bottom: 38px;
  left: 22px;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  width: 38px;
  border-left: 1px solid rgba(242, 195, 72, 0.42);
  color: var(--hazard);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scan-rail span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(242, 195, 72, 0.24);
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  min-height: 680px;
  align-items: end;
  padding: 94px 40px 56px 74px;
}

.hero-copy {
  max-width: 780px;
}

.signal {
  margin: 0 0 14px;
  color: var(--hazard);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(58px, 8.8vw, 118px);
  line-height: 0.82;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.74);
}

.hero-line {
  max-width: 620px;
  margin: 22px 0 0;
  color: #dbe3dd;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 650;
}

p {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.07), 0 12px 28px rgba(0, 0, 0, 0.36);
}

.btn-primary {
  border-color: rgba(242, 195, 72, 0.76);
  background: linear-gradient(180deg, rgba(128, 86, 20, 0.92), rgba(47, 27, 5, 0.96));
}

.btn-secondary {
  border-color: rgba(125, 184, 168, 0.76);
  background: linear-gradient(180deg, rgba(32, 79, 73, 0.94), rgba(9, 25, 24, 0.96));
}

.combat-slate {
  align-self: center;
  padding: 14px;
  border: 1px solid rgba(125, 184, 168, 0.44);
  background:
    linear-gradient(135deg, rgba(242, 243, 236, 0.09), transparent 32%),
    rgba(4, 9, 10, 0.82);
  box-shadow: var(--shadow);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.slate-top,
.battle-hud {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #eaf1ec;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slate-top strong {
  color: var(--hazard);
}

.slate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.slate-grid article {
  overflow: hidden;
  border: 1px solid rgba(125, 184, 168, 0.28);
  background: #071012;
}

.slate-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.slate-grid span {
  display: block;
  padding: 8px;
  color: var(--oxide);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.slate-meter {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.3fr;
  gap: 8px;
  margin-top: 12px;
}

.slate-meter i,
.slate-meter b {
  min-height: 32px;
  border: 1px solid rgba(242, 195, 72, 0.28);
  background: rgba(242, 195, 72, 0.08);
}

.slate-meter b {
  display: grid;
  place-items: center;
  color: var(--hazard);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  position: relative;
  display: grid;
  gap: 34px;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 58px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(242, 243, 236, 0.04), transparent 34%),
    rgba(6, 10, 11, 0.88);
}

.section::before {
  inset: 14px;
  border: 1px solid rgba(242, 243, 236, 0.055);
}

.section > * {
  position: relative;
  z-index: 2;
}

.section-copy h2 {
  max-width: 720px;
  color: #f8f8ef;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.92;
}

.section-copy p:not(.signal) {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: 17px;
}

.intro {
  grid-template-columns: 0.75fr 1.25fr;
  align-items: end;
}

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

.feature-grid article {
  min-height: 236px;
  padding: 20px;
  border: 1px solid rgba(125, 184, 168, 0.24);
  background:
    linear-gradient(180deg, rgba(125, 184, 168, 0.08), transparent),
    rgba(7, 13, 15, 0.88);
}

.feature-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid rgba(242, 195, 72, 0.46);
  color: var(--hazard);
  font-weight: 950;
}

.feature-grid h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 0.94;
}

.feature-grid p {
  margin: 14px 0 0;
  font-size: 14px;
}

.cards {
  padding-right: 0;
  padding-left: 0;
}

.cards-copy {
  padding: 0 clamp(18px, 5vw, 58px);
}

.pack-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 0;
  overflow-x: auto;
  padding: 10px clamp(18px, 5vw, 58px) 8px;
}

.pack-card {
  position: relative;
  min-width: 180px;
  overflow: hidden;
  border: 1px solid rgba(125, 184, 168, 0.26);
  background: #050809;
  transform: translateY(0);
  transition: transform 180ms ease, border-color 180ms ease;
}

.pack-card:hover,
.pack-card.focus {
  z-index: 3;
  border-color: rgba(242, 195, 72, 0.62);
  transform: translateY(-10px);
}

.pack-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.pack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.9));
}

.pack-card div {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  left: 12px;
}

.pack-card h3 {
  color: white;
  font-size: clamp(23px, 3vw, 38px);
  line-height: 0.86;
  text-shadow: 0 3px 14px #000;
}

.pack-card span {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 8px;
  border: 1px solid rgba(242, 195, 72, 0.48);
  color: var(--hazard);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.battle {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
}

.battle-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 184, 168, 0.28);
  box-shadow: var(--shadow);
}

.battle-frame img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.battle-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(79, 130, 255, 0.22), transparent 36%, rgba(169, 65, 50, 0.22)),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.52));
}

.battle-hud {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  left: 16px;
  align-items: center;
}

.battle-hud strong {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(242, 195, 72, 0.52);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: var(--hazard);
  font-size: 22px;
}

.battle-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.battle-list li {
  padding: 12px 14px;
  border-left: 4px solid var(--hazard);
  background: rgba(242, 243, 236, 0.045);
  color: #eef1ea;
  font-weight: 850;
}

.story {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: stretch;
}

.story-panel {
  overflow: hidden;
  border: 1px solid rgba(125, 184, 168, 0.25);
}

.story-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.choice-card,
.download-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(242, 195, 72, 0.34);
  background:
    linear-gradient(160deg, rgba(242, 195, 72, 0.12), transparent 36%),
    rgba(8, 12, 13, 0.92);
  box-shadow: var(--shadow);
}

.choice-card::before,
.download-card::before {
  inset: 9px;
  border: 1px solid rgba(242, 243, 236, 0.06);
}

.choice-card h2,
.download-card h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.9;
}

.choice-card p:not(.signal),
.download-card p:not(.signal) {
  margin: 18px 0 22px;
}

.choice-card button {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border: 1px solid rgba(125, 184, 168, 0.36);
  border-radius: 0;
  background: rgba(125, 184, 168, 0.08);
  color: #edf4ef;
  font-weight: 850;
  text-align: left;
  padding: 0 14px;
}

.choice-card button:hover {
  border-color: rgba(242, 195, 72, 0.56);
  color: var(--hazard);
}

.media-download {
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.media-grid button {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(125, 184, 168, 0.26);
  background: #050809;
  color: white;
  cursor: pointer;
}

.media-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 200ms ease;
}

.media-grid button:hover img {
  transform: scale(1.04);
}

.media-grid span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(242, 243, 236, 0.32);
  background: rgba(0, 0, 0, 0.58);
  color: var(--hazard);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.requirements {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}

.requirements div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(242, 243, 236, 0.1);
}

.requirements dt {
  color: var(--hazard);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.requirements dd {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(6, 10, 11, 0.88);
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.footer-identity {
  display: grid;
  gap: 10px;
}

.footer-identity p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 42px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.legal-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(125, 184, 168, 0.15), transparent 28%),
    #06080a;
}

.site-header.compact {
  position: static;
  width: min(960px, calc(100% - 32px));
  border-top: 0;
  box-shadow: none;
}

.site-nav.always {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-shell {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 80px;
}

.legal-shell h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.9;
}

.legal-shell h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 0.95;
}

.legal-shell p,
.legal-shell li {
  color: #b8c4c9;
  line-height: 1.7;
}

.legal-shell a {
  color: var(--hazard);
}

.legal-shell section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(125, 184, 168, 0.24);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--hazard);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.support-grid article {
  padding: 20px;
  border: 1px solid rgba(125, 184, 168, 0.24);
  background: rgba(10, 16, 20, 0.8);
}

body::after {
  content: "";
  position: fixed;
  inset: -22vh 0;
  z-index: 60;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0 42%, rgba(242, 195, 72, 0.18) 49%, transparent 56% 100%),
    radial-gradient(circle at calc(50% + var(--drift-x)) calc(18% + var(--drift-y)), rgba(79, 130, 255, 0.1), transparent 26%);
  mix-blend-mode: screen;
  opacity: 0.34;
  transform: translateY(-44vh);
  animation: page-scan 7.8s linear infinite;
}

.site-header {
  animation: drop-in 560ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.brand img {
  animation: icon-pulse 4.8s ease-in-out infinite;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--hazard);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  isolation: isolate;
}

.hero-art {
  transform: translate3d(calc(var(--drift-x) * -0.35), calc(var(--drift-y) * -0.28), 0) scale(1.035);
  transition: transform 120ms linear;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 0 42%, rgba(242, 195, 72, 0.16) 48%, transparent 54% 100%),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(125, 184, 168, 0.12) 70px 72px, transparent 72px 140px);
  mix-blend-mode: screen;
  opacity: 0.38;
  animation: hero-sweep 6.4s ease-in-out infinite;
}

.hero::after {
  animation: hazard-slide 3.6s linear infinite;
}

.scan-rail span {
  animation: rail-flash 4.2s ease-in-out infinite;
}

.scan-rail span:nth-child(2) {
  animation-delay: 0.45s;
}

.scan-rail span:nth-child(3) {
  animation-delay: 0.9s;
}

.hero-copy {
  animation: copy-boot 760ms cubic-bezier(0.16, 0.84, 0.2, 1) 140ms both;
}

.hero h1 {
  animation: title-glitch 4.8s steps(1, end) 1.1s infinite;
}

.btn {
  transform: translateY(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  color: #fff9d8;
  transform: translateY(-3px);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.1), 0 18px 38px rgba(0, 0, 0, 0.5);
}

.combat-slate {
  transform: translate3d(calc(var(--drift-x) * 0.16), calc(var(--drift-y) * 0.12), 0);
  animation: slate-boot 760ms cubic-bezier(0.16, 0.84, 0.2, 1) 320ms both, slate-float 6s ease-in-out 1.2s infinite;
  transition: transform 120ms linear;
}

.slate-grid article {
  transform: translateZ(0);
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.slate-grid article:hover {
  border-color: rgba(242, 195, 72, 0.66);
  filter: brightness(1.1);
  transform: translateY(-4px);
}

.slate-meter i {
  animation: meter-charge 2.2s ease-in-out infinite;
}

.slate-meter i:nth-child(2) {
  animation-delay: 0.24s;
}

.slate-meter i:nth-child(3) {
  animation-delay: 0.48s;
}

.motion-ready .section {
  opacity: 0.18;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.16, 0.84, 0.2, 1);
}

.motion-ready .section::before {
  transform: scaleX(0.82);
  transform-origin: left;
  transition: transform 760ms cubic-bezier(0.16, 0.84, 0.2, 1);
}

.motion-ready .section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .section.is-visible::before {
  transform: scaleX(1);
}

.feature-grid article {
  transform: translateY(0);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.feature-grid article:hover {
  border-color: rgba(242, 195, 72, 0.48);
  background:
    linear-gradient(180deg, rgba(242, 195, 72, 0.1), transparent),
    rgba(7, 13, 15, 0.92);
  transform: translateY(-6px);
}

.pack-card {
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pack-card:hover,
.pack-card.focus {
  transform: translateY(-10px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.54);
}

.pack-card img {
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.pack-card:hover img,
.pack-card.focus img {
  filter: saturate(1.08) contrast(1.08);
  transform: translateZ(18px) scale(1.06);
}

.pack-card div {
  transform: translateZ(24px);
}

.battle-frame {
  transform: translateZ(0);
}

.battle-frame img {
  transform: scale(1.018);
  transition: transform 220ms ease, filter 220ms ease;
}

.battle-frame:hover img {
  filter: saturate(1.04) contrast(1.08);
  transform: scale(1.045);
}

.battle-frame::after {
  animation: battle-scan 4.4s ease-in-out infinite;
}

.battle-hud strong {
  animation: vs-pulse 2.8s ease-in-out infinite;
}

.battle-list li {
  transition: background 180ms ease, transform 180ms ease;
}

.battle-list li:hover {
  background: rgba(242, 195, 72, 0.08);
  transform: translateX(6px);
}

.story-panel img {
  transform: scale(1.02);
  transition: transform 360ms ease;
}

.story-panel:hover img {
  transform: scale(1.06);
}

.choice-card,
.download-card {
  overflow: hidden;
}

.choice-card button {
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.choice-card button:hover {
  background: rgba(242, 195, 72, 0.08);
  transform: translateX(4px);
}

.media-grid span {
  transition: background 180ms ease, color 180ms ease;
}

.media-grid button:hover span {
  background: rgba(242, 195, 72, 0.18);
  color: #fff4bf;
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes copy-boot {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes slate-boot {
  from {
    opacity: 0;
    transform: translate3d(32px, 18px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(calc(var(--drift-x) * 0.16), calc(var(--drift-y) * 0.12), 0) scale(1);
  }
}

@keyframes slate-float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -10px;
  }
}

@keyframes hero-sweep {
  0%,
  58%,
  100% {
    transform: translateX(-80%);
    opacity: 0;
  }
  64% {
    opacity: 0.42;
  }
  78% {
    transform: translateX(72%);
    opacity: 0;
  }
}

@keyframes page-scan {
  from {
    transform: translateY(-44vh);
  }
  to {
    transform: translateY(44vh);
  }
}

@keyframes hazard-slide {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 94px 0;
  }
}

@keyframes rail-flash {
  0%,
  100% {
    color: rgba(242, 195, 72, 0.52);
  }
  45%,
  54% {
    color: #fff0a3;
    text-shadow: 0 0 18px rgba(242, 195, 72, 0.62);
  }
}

@keyframes icon-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(242, 195, 72, 0.06);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(242, 195, 72, 0.1), 0 0 28px rgba(242, 195, 72, 0.18);
  }
}

@keyframes title-glitch {
  0%,
  88%,
  100% {
    transform: translateX(0);
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.74);
  }
  90% {
    transform: translateX(2px);
    text-shadow: -3px 0 rgba(79, 130, 255, 0.46), 3px 0 rgba(169, 65, 50, 0.42), 0 6px 28px rgba(0, 0, 0, 0.74);
  }
  92% {
    transform: translateX(-2px);
  }
  94% {
    transform: translateX(0);
  }
}

@keyframes meter-charge {
  0%,
  100% {
    background: rgba(242, 195, 72, 0.06);
  }
  45%,
  58% {
    background: rgba(242, 195, 72, 0.34);
    box-shadow: 0 0 18px rgba(242, 195, 72, 0.18);
  }
}

@keyframes battle-scan {
  0%,
  100% {
    opacity: 0.92;
  }
  50% {
    opacity: 0.68;
  }
}

@keyframes vs-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

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

  .motion-ready .section {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 20px, 1220px);
  }

  .hero-grid,
  .intro,
  .battle,
  .story,
  .media-download,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .combat-slate {
    max-width: 390px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 10px 12px;
  }

  .brand span {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav:not(.always) {
    position: absolute;
    top: calc(100% + 8px);
    right: 10px;
    left: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    background: rgba(5, 8, 9, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav:not(.always) a {
    padding: 12px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .scan-rail,
  .combat-slate {
    display: none;
  }

  .hero-grid {
    padding: 92px 18px 58px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .button-row .btn {
    width: 100%;
  }

  .feature-grid,
  .media-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .battle-frame img {
    aspect-ratio: 4 / 3;
  }

  .battle-hud {
    display: none;
  }

  .story-panel img {
    min-height: 260px;
    aspect-ratio: 16 / 10;
  }

  .requirements div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .site-footer nav {
    display: grid;
    gap: 10px;
  }
}
