:root {
  color-scheme: dark;
  --bg: #05070f;
  --ink: #f6f2e9;
  --muted: #b9c0ca;
  --line: rgba(218, 230, 244, 0.18);
  --panel: rgba(12, 16, 26, 0.78);
  --gold: #d9b45b;
  --blue: #69c8f0;
  --red: #d9434c;
  --violet: #8b4dff;
  --bone: #ddd7ca;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(5, 7, 15, 0.92), rgba(5, 7, 15, 0.22));
  backdrop-filter: blur(10px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  text-decoration: none;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(105, 200, 240, 0.68);
  animation: pulseMark 3.8s ease-in-out infinite;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

button {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 76px) 72px;
  isolation: isolate;
}

.hero img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 72% 50%;
  transform: scale(0.96);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 75% 42%, rgba(139, 77, 255, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(5, 7, 15, 0.94) 0%, rgba(5, 7, 15, 0.7) 36%, rgba(5, 7, 15, 0.18) 74%),
    linear-gradient(0deg, rgba(5, 7, 15, 0.98) 0%, rgba(5, 7, 15, 0.08) 30%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(3.8rem, 9.2vw, 8.4rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow: 0 0 38px rgba(105, 200, 240, 0.22);
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-text,
.section-copy p,
.boss-band p,
.feature-strip p,
.enemy-grid p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-text {
  max-width: 650px;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  border-radius: 6px;
  padding: 13px 18px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  background: var(--bone);
  color: #111018;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(5, 7, 15, 0.45);
}

.inline-action {
  display: inline-flex;
  margin-top: 22px;
}

.demo-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.demo-status span {
  border: 1px solid rgba(217, 180, 91, 0.38);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(12, 16, 26, 0.62);
  color: var(--bone);
  font-size: 0.82rem;
  font-weight: 800;
  animation: statusGlow 5s ease-in-out infinite;
}

.demo-status span:nth-child(2),
.enemy-grid article:nth-child(2) img {
  animation-delay: 0.5s;
}

.demo-status span:nth-child(3),
.enemy-grid article:nth-child(3) img {
  animation-delay: 1s;
}

.demo-status span:nth-child(4),
.enemy-grid article:nth-child(4) img {
  animation-delay: 1.5s;
}

.story-film-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1.54fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  min-height: 92vh;
  padding: 104px clamp(20px, 5vw, 76px) 84px;
  background:
    radial-gradient(circle at 76% 44%, rgba(139, 77, 255, 0.28), transparent 34%),
    radial-gradient(circle at 18% 22%, rgba(105, 200, 240, 0.14), transparent 28%),
    linear-gradient(135deg, #02030a, #10051c 46%, #03030a);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-film-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.65;
}

.story-film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.story-film-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 180, 91, 0.32);
  background: #010106;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62), 0 0 86px rgba(139, 77, 255, 0.18);
  isolation: isolate;
}

.story-film-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 18%, transparent 78%, rgba(0, 0, 0, 0.46)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
  opacity: 0.34;
}

.story-film-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  object-fit: contain;
  background: #010106;
  filter: saturate(1.08) contrast(1.08) brightness(0.88);
}

.story-film-frame figcaption {
  position: relative;
  z-index: 3;
  padding: 12px 14px;
  border-top: 1px solid rgba(217, 180, 91, 0.22);
  background: rgba(5, 7, 15, 0.86);
  color: var(--bone);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-film-glow {
  position: absolute;
  z-index: 1;
  inset: -30%;
  pointer-events: none;
  background:
    radial-gradient(circle at 48% 42%, rgba(139, 77, 255, 0.32), transparent 24%),
    linear-gradient(122deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 49%, transparent 56%);
  mix-blend-mode: screen;
  animation: lightSweep 6.4s ease-in-out infinite;
}

.trailer-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  min-height: 100vh;
  padding: 104px clamp(20px, 5vw, 76px) 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 36%, rgba(139, 77, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #02030a, #08020f 58%, #02030a);
}

.trailer-copy {
  position: relative;
  z-index: 4;
}

.trailer-copy p:not(.eyebrow) {
  min-height: 84px;
  color: var(--bone);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.55;
}

.trailer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 6px 0 22px;
  color: var(--muted);
}

.trailer-meta span {
  border: 1px solid rgba(217, 180, 91, 0.34);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trailer-meta strong {
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trailer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trailer-actions button {
  border: 1px solid rgba(139, 77, 255, 0.42);
  border-radius: 6px;
  padding: 12px 16px;
  background: rgba(9, 2, 20, 0.68);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.trailer-actions button:first-child {
  border-color: transparent;
  background: var(--bone);
  color: #111018;
}

.trailer-actions button:hover {
  transform: translateY(-1px);
}

.trailer-progress {
  width: min(520px, 100%);
  height: 4px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(246, 242, 233, 0.16);
}

.trailer-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--gold));
  transition: width 200ms linear;
}

.trailer-frame {
  position: relative;
  min-height: min(66vw, 650px);
  overflow: hidden;
  border: 1px solid rgba(139, 77, 255, 0.34);
  background: #03030a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.54), 0 0 70px rgba(139, 77, 255, 0.12);
}

.trailer-frame::after {
  content: "";
  position: absolute;
  z-index: 11;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 7%, transparent 93%, rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 2px, transparent 2px 9px);
  opacity: 0.22;
}

.trailer-frame::before {
  content: "";
  position: absolute;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.46), transparent 24%, transparent 74%, rgba(0, 0, 0, 0.42)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.34;
}

.trailer-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 420ms ease, transform 1600ms ease;
}

.trailer-shot.is-active {
  opacity: 1;
  transform: scale(1);
}

.trailer-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 60% 42%, transparent 0 24%, rgba(2, 3, 10, 0.28) 58%, rgba(2, 3, 10, 0.94) 100%),
    linear-gradient(90deg, rgba(2, 3, 10, 0.65), transparent 42%, rgba(2, 3, 10, 0.2));
}

.shot-bg,
.shot-video,
.shot-character,
.shot-enemy {
  position: absolute;
  display: block;
  max-width: none;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.68));
}

.shot-bg,
.shot-video {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: trailerZoom 9s ease-in-out infinite alternate;
}

.shot-video {
  z-index: 1;
  opacity: 0;
  filter: saturate(1.1) contrast(1.08) brightness(0.82);
}

.trailer-shot.is-active .shot-video {
  opacity: 0.92;
}

.shot-video + .shot-bg {
  opacity: 0.22;
  mix-blend-mode: screen;
}

.dimmed-bg {
  filter: saturate(0.9) contrast(1.08) brightness(0.52);
}

.shot-title {
  position: absolute;
  z-index: 12;
  left: clamp(18px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 44px);
  color: #fff8dc;
  font-size: clamp(1.5rem, 4.3vw, 4.8rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 0 30px rgba(139, 77, 255, 0.42);
  animation: titleSlam 4.8s ease-in-out infinite;
}

.film-light {
  position: absolute;
  z-index: 9;
  inset: -20%;
  background:
    radial-gradient(circle at 58% 42%, rgba(139, 77, 255, 0.38), transparent 24%),
    linear-gradient(125deg, transparent 0 42%, rgba(255, 255, 255, 0.1) 48%, transparent 56%);
  mix-blend-mode: screen;
  opacity: 0.68;
  animation: lightSweep 5.8s ease-in-out infinite;
}

.shot-queen .shot-bg {
  object-position: 50% 20%;
}

.shot-nyx {
  right: 12%;
  bottom: -11%;
  width: min(42vw, 520px);
  z-index: 8;
}

.victory-nyx {
  right: 23%;
  bottom: -8%;
  width: min(42vw, 540px);
  z-index: 8;
  animation: spriteFloat 4.2s ease-in-out infinite;
}

.shot-enemy {
  z-index: 7;
}

.shade-close {
  left: 34%;
  bottom: -12%;
  width: min(34vw, 430px);
  animation: threatPush 4.8s ease-in-out infinite;
}

.shade-pack-a {
  left: 8%;
  bottom: 8%;
  width: min(21vw, 260px);
  opacity: 0.7;
  animation: spriteFloat 4.2s ease-in-out infinite;
}

.shade-pack-b {
  right: 6%;
  top: 8%;
  width: min(19vw, 230px);
  opacity: 0.62;
  animation: spriteFloat 5s ease-in-out infinite reverse;
}

.shade-a {
  left: 10%;
  bottom: 9%;
  width: min(22vw, 260px);
}

.shade-b {
  right: 4%;
  top: 10%;
  width: min(18vw, 210px);
  opacity: 0.78;
}

.archer-shot {
  left: 10%;
  bottom: -1%;
  width: min(34vw, 420px);
  animation: threatPush 5.2s ease-in-out infinite;
}

.knight-shot {
  right: 8%;
  bottom: -7%;
  width: min(36vw, 460px);
  animation: threatPush 5.4s ease-in-out infinite;
}

.arrow-line,
.censer-smoke,
.impact-ring,
.boss-aura {
  position: absolute;
  z-index: 9;
  display: block;
  pointer-events: none;
}

.arrow-line {
  left: 30%;
  top: 34%;
  width: 42%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(105, 200, 240, 0.95), transparent);
  box-shadow: 0 0 28px rgba(105, 200, 240, 0.82);
  transform: rotate(-10deg);
  animation: arrowStrike 2.8s ease-in-out infinite;
}

.arrow-two {
  top: 52%;
  transform: rotate(9deg);
  animation-delay: 0.65s;
}

.censer-smoke {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 77, 255, 0.26), transparent 64%);
  filter: blur(8px);
  animation: smokeBloom 5.2s ease-in-out infinite;
}

.smoke-one {
  right: 14%;
  bottom: 10%;
}

.smoke-two {
  right: 28%;
  top: 14%;
  animation-delay: 1.2s;
}

.clash-nyx {
  left: 7%;
  bottom: -10%;
  width: min(37vw, 480px);
  z-index: 8;
  animation: clashSurge 3.8s ease-in-out infinite;
}

.clash-archer {
  right: 26%;
  bottom: 1%;
  width: min(25vw, 315px);
  opacity: 0.76;
}

.clash-knight {
  right: 3%;
  bottom: -9%;
  width: min(31vw, 380px);
}

.impact-ring {
  left: 48%;
  top: 47%;
  width: 250px;
  height: 250px;
  border: 2px solid rgba(217, 180, 91, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(139, 77, 255, 0.44);
  transform: translate(-50%, -50%);
  animation: ringPulse 2.8s ease-in-out infinite;
}

.boss-phlegyas {
  right: 4%;
  bottom: -13%;
  width: min(45vw, 560px);
  z-index: 8;
  animation: bossBreath 5.8s ease-in-out infinite;
}

.boss-nyx {
  left: 5%;
  bottom: -8%;
  width: min(34vw, 430px);
  z-index: 9;
  animation: spriteFloat 4.4s ease-in-out infinite;
}

.boss-aura {
  right: 8%;
  bottom: 5%;
  width: min(44vw, 560px);
  height: min(44vw, 560px);
  border: 2px solid rgba(217, 180, 91, 0.44);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(139, 77, 255, 0.24), 0 0 70px rgba(139, 77, 255, 0.2);
  animation: bossAuraPulse 3.4s ease-in-out infinite reverse;
}

.shot-slash {
  position: absolute;
  z-index: 11;
  left: 18%;
  right: 8%;
  top: 44%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(210, 160, 255, 0.98), transparent);
  box-shadow: 0 0 36px rgba(139, 77, 255, 0.9);
  transform: rotate(-18deg);
  animation: trailerSlash 2.2s ease-in-out infinite;
}

.fragment-sigil {
  position: absolute;
  z-index: 12;
  left: 50%;
  top: 16%;
  transform: translateX(-50%);
  border: 1px solid rgba(217, 180, 91, 0.55);
  padding: 12px 16px;
  background: rgba(5, 7, 15, 0.62);
  color: #fff4be;
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  box-shadow: 0 0 44px rgba(139, 77, 255, 0.28);
}

.intro-band,
.run-demo-band,
.fragment-band,
.enemies {
  padding: 92px clamp(20px, 5vw, 76px);
}

.intro-band {
  background: #070a12;
}

.section-copy {
  max-width: 980px;
  margin-bottom: 34px;
}

.demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.wide-visual {
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wide-visual img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
}

.playtest-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(139, 77, 255, 0.16), rgba(12, 16, 26, 0.86)),
    var(--panel);
}

.playtest-card ol {
  display: grid;
  gap: 14px;
  padding-left: 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.run-demo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 7, 15, 0.98), rgba(18, 7, 30, 0.82)),
    #070a12;
}

.run-demo-band p {
  color: var(--muted);
  line-height: 1.65;
}

.run-card {
  border: 1px solid rgba(139, 77, 255, 0.34);
  border-radius: 8px;
  padding: 24px;
  background: rgba(12, 16, 26, 0.78);
  box-shadow: 0 0 50px rgba(139, 77, 255, 0.12);
}

.run-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 900;
}

.run-card code {
  display: block;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: #05070f;
  color: var(--bone);
  font-size: 0.95rem;
}

.download-action {
  display: inline-flex;
  justify-content: center;
  margin-top: 16px;
  box-shadow: 0 0 32px rgba(217, 180, 91, 0.16);
}

.run-card ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b111d;
}

.feature-strip article {
  min-height: 220px;
  padding: 34px clamp(20px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip span {
  color: var(--gold);
  font-weight: 900;
}

.fragment-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 28%, rgba(139, 77, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #05070f, #12071e 48%, #070a12);
}

.fragment-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.fragment-lines {
  display: grid;
  gap: 10px;
  border-left: 2px solid var(--violet);
  padding-left: 24px;
}

.fragment-lines p {
  margin: 0;
  color: var(--bone);
  font-size: clamp(1.25rem, 2.5vw, 2.4rem);
  font-weight: 900;
  animation: fragmentPulse 4.8s ease-in-out infinite;
}

.fragment-lines p:nth-child(2) {
  animation-delay: 0.7s;
}

.fragment-lines p:nth-child(3) {
  animation-delay: 1.4s;
}

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

.enemy-grid article {
  min-height: 265px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.enemy-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 77, 255, 0.55);
  background: rgba(18, 20, 34, 0.92);
}

.enemy-grid img {
  width: 100%;
  height: 190px;
  margin-bottom: 20px;
  object-fit: contain;
  object-position: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(139, 77, 255, 0.22), transparent 34%),
    #080a12;
  animation: spriteFloat 4.6s ease-in-out infinite;
}

.boss-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 0 clamp(20px, 5vw, 76px) 92px;
  background: #05070f;
}

.boss-band img {
  width: 100%;
  min-height: 360px;
  max-height: 620px;
  object-fit: cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .feature-strip,
  .enemy-grid,
  .demo-panel,
  .run-demo-band,
  .story-film-band,
  .fragment-band,
  .boss-band {
    grid-template-columns: 1fr;
  }

  .feature-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 88vh;
  }

  .story-film-band {
    min-height: auto;
  }

  .story-film-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  nav a {
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 156px;
  }

  .trailer-stage {
    padding-top: 148px;
  }

  .trailer-frame {
    min-height: 470px;
  }

  .shot-nyx,
  .victory-nyx {
    right: -12%;
    width: 78vw;
  }

  .shade-a,
  .shade-b,
  .archer-shot,
  .knight-shot {
    opacity: 0.64;
  }

  .actions a {
    width: 100%;
    text-align: center;
  }

  footer {
    flex-direction: column;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(0.96) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1) translate3d(-1%, -0.6%, 0);
  }
}

@keyframes pulseMark {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(105, 200, 240, 0.52);
  }
  50% {
    box-shadow: 0 0 32px rgba(139, 77, 255, 0.78);
  }
}

@keyframes statusGlow {
  0%,
  100% {
    border-color: rgba(217, 180, 91, 0.28);
    transform: translateY(0);
  }
  50% {
    border-color: rgba(139, 77, 255, 0.58);
    transform: translateY(-2px);
  }
}

@keyframes spriteFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes trailerZoom {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.6%, -1.2%, 0);
  }
}

@keyframes trailerSlash {
  0%,
  38%,
  100% {
    opacity: 0;
    transform: rotate(-18deg) scaleX(0);
  }
  44% {
    opacity: 1;
    transform: rotate(-18deg) scaleX(1);
  }
  52% {
    opacity: 0;
    transform: rotate(-18deg) scaleX(0.18);
  }
}

@keyframes fragmentPulse {
  0%,
  100% {
    color: var(--bone);
    text-shadow: 0 0 0 rgba(139, 77, 255, 0);
  }
  50% {
    color: #ffffff;
    text-shadow: 0 0 24px rgba(139, 77, 255, 0.48);
  }
}

@keyframes titleSlam {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  16%,
  88% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0.35;
    transform: translateY(-4px);
  }
}

@keyframes lightSweep {
  0%,
  100% {
    transform: translateX(-12%) rotate(0deg);
    opacity: 0.36;
  }
  50% {
    transform: translateX(8%) rotate(4deg);
    opacity: 0.8;
  }
}

@keyframes threatPush {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.05) translate3d(2%, -1%, 0);
  }
}

@keyframes arrowStrike {
  0%,
  28%,
  100% {
    opacity: 0;
    transform: translateX(-28%) rotate(-10deg) scaleX(0.2);
  }
  38%,
  52% {
    opacity: 1;
    transform: translateX(18%) rotate(-10deg) scaleX(1);
  }
}

@keyframes smokeBloom {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.8) translateY(20px);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.2) translateY(-16px);
  }
}

@keyframes clashSurge {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }
  50% {
    transform: translateX(8%) scale(1.03);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(0.78);
  }
  45% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes bossBreath {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.04) translateY(-8px);
  }
}

@keyframes bossAuraPulse {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.82);
  }
  45% {
    opacity: 0.72;
    transform: scale(1.08);
  }
}

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