@font-face {
  font-family: "Orbitron Nova";
  src: url("/fonts/orbitron-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani Nova";
  src: url("/fonts/rajdhani-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #05070c;
  --panel: #0b1017;
  --panel-2: #101521;
  --text: #f4fbff;
  --muted: #9db6c6;
  --cyan: #00e5ff;
  --magenta: #ff35d2;
  --amber: #ffc857;
  --green: #61ff92;
  --line: rgba(155, 239, 255, 0.22);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 229, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 85% 12%, rgba(255, 53, 210, 0.18), transparent 26rem),
    linear-gradient(180deg, #040507 0%, #080b11 44%, #05070c 100%);
  color: var(--text);
  font-family: "Rajdhani Nova", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(3, 5, 8, 0.88), rgba(3, 5, 8, 0.42));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 5, 8, 0.92);
  border-color: var(--line);
}

.brand,
.nav,
.header-cta {
  align-items: center;
}

.brand {
  display: inline-flex;
  gap: 12px;
  font-family: "Orbitron Nova", monospace;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  width: 18px;
  height: 18px;
  clip-path: polygon(50% 0, 100% 100%, 50% 76%, 0 100%);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.78);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  text-transform: uppercase;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  justify-content: center;
  min-width: 124px;
  padding: 10px 16px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: "Orbitron Nova", monospace;
  font-size: 13px;
  text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.1), 0 0 22px rgba(0, 229, 255, 0.16);
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 118px clamp(18px, 4vw, 56px) 0;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.96) 0%, rgba(5, 7, 12, 0.62) 42%, rgba(5, 7, 12, 0.26) 100%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.08) 0%, rgba(5, 7, 12, 0.56) 73%, var(--bg) 100%),
    url("/assets/hero-arena.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent 0%, black 22%, black 72%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
  padding-top: 6vh;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Orbitron Nova", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.94;
  max-width: 11ch;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.36);
}

h2 {
  font-size: clamp(34px, 4.8vw, 72px);
  line-height: 1;
}

h3 {
  font-size: 20px;
  color: var(--cyan);
}

.hero-copy p,
.section-copy p,
.fleet-copy p,
.section-heading p,
.final-cta p {
  color: var(--muted);
  max-width: 680px;
}

.hero-copy p {
  margin: 26px 0 0;
  font-size: clamp(21px, 2vw, 28px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-family: "Orbitron Nova", monospace;
  font-size: 14px;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #031015;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-color: transparent;
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.32);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-media {
  position: relative;
  border: 1px solid rgba(0, 229, 255, 0.38);
  background: #020406;
  box-shadow: var(--shadow), 0 0 54px rgba(255, 53, 210, 0.18);
}

.hero-media::before {
  content: "LIVE GAMEPLAY";
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 2;
  color: var(--amber);
  font-family: "Orbitron Nova", monospace;
  font-size: 12px;
}

.hero-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.proof-strip {
  max-width: 1440px;
  margin: clamp(28px, 5vh, 58px) auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 12, 0.72);
}

.proof-strip span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--text);
  font-family: "Orbitron Nova", monospace;
  font-size: clamp(12px, 1vw, 14px);
  text-align: center;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
}

.proof-strip span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(76px, 10vw, 140px) clamp(18px, 4vw, 56px);
}

.section-split,
.fleet {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.section-copy p,
.fleet-copy p,
.section-heading p {
  font-size: clamp(20px, 1.7vw, 25px);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
}

.feature-list li {
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.media-frame,
.combat-grid article,
.screen-main {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.combat-band {
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.05), rgba(255, 53, 210, 0.05)),
    #070910;
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto clamp(32px, 5vw, 64px);
  text-align: center;
}

.section-heading p {
  margin: 22px auto 0;
}

.combat-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.combat-grid article {
  padding: 12px;
}

.combat-grid img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.combat-grid h3,
.combat-grid p {
  padding-inline: 8px;
}

.combat-grid h3 {
  margin-top: 18px;
}

.combat-grid p {
  color: var(--muted);
  margin: 8px 0 8px;
}

.fleet {
  align-items: start;
}

.fleet-copy {
  position: sticky;
  top: 104px;
}

.fleet-copy h2 {
  font-size: clamp(32px, 4vw, 60px);
}

.fleet-copy .button {
  margin-top: 24px;
}

.fleet-stack {
  display: grid;
  gap: 18px;
}

.fleet-stack img,
.boss-wall img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel-2);
  box-shadow: var(--shadow);
}

.boss-wall {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 200, 87, 0.18), transparent 34rem),
    #05070c;
}

.boss-wall img {
  max-width: 1160px;
  margin: 0 auto;
}

.screenshots {
  max-width: 1320px;
  margin: 0 auto;
}

.screen-viewer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.screen-thumb {
  min-height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: 800 13px "Orbitron Nova", monospace;
  text-transform: uppercase;
  cursor: pointer;
}

.screen-thumb.is-active,
.screen-thumb:focus-visible {
  border-color: var(--cyan);
  color: var(--text);
  background: rgba(0, 229, 255, 0.12);
}

.screen-main {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.final-cta {
  margin: 0 clamp(18px, 4vw, 56px) clamp(34px, 5vw, 64px);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  border: 1px solid rgba(0, 229, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(255, 53, 210, 0.12)),
    #080c12;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  font-size: clamp(30px, 4vw, 58px);
}

footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer span:first-child {
  color: var(--text);
  font-family: "Orbitron Nova", monospace;
  text-transform: uppercase;
}

footer a {
  color: var(--cyan);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-grid,
  .section-split,
  .fleet {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .proof-strip,
  .combat-grid {
    grid-template-columns: 1fr;
  }

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

  .fleet-copy {
    position: static;
  }

  .final-cta,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .site-header {
    height: 64px;
    padding-inline: 14px;
  }

  .brand {
    font-size: 14px;
  }

  .header-cta {
    min-width: auto;
    padding-inline: 12px;
    font-size: 11px;
  }

  .hero-media::before {
    font-size: 10px;
  }

  .hero-actions,
  .screen-viewer {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .screen-viewer {
    display: grid;
  }
}

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