:root {
  --bg: #07090d;
  --bg-soft: #101621;
  --panel: #151d2b;
  --panel-bright: #1c283b;
  --text: #f3f6fb;
  --muted: #b5c0cf;
  --orange: #f47a20;
  --orange-dark: #b94f12;
  --blue: #7cc7e8;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: #ff9a4b;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 2px solid var(--orange);
  border-radius: 2px;
  object-fit: cover;
}

.brand-name,
h1,
h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-name {
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: 0.035em;
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  min-height: auto;
  padding: 54px 0 64px;
  text-align: center;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  justify-items: center;
}

.hero-copy {
  text-align: center;
}

.hero-copy .lede {
  margin-right: auto;
  margin-left: auto;
}

.hero-copy .hero-actions {
  justify-content: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-right: auto;
  margin-bottom: 34px;
  margin-left: auto;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  letter-spacing: 0.015em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 0.018em;
}

h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.15;
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button.primary {
  border-color: transparent;
  background: var(--orange);
  color: #170a02;
}

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

.button:hover {
  border-color: var(--orange);
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 920px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
}

.panel::before,
.history-section::before,
.cta::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(244, 122, 32, 0.18);
  content: "";
  pointer-events: none;
}

.hero-art img,
.hero-art iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  object-fit: cover;
}

.video-frame iframe {
  aspect-ratio: 16 / 9;
}

.panel,
.history-section,
.cta {
  position: relative;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
}

.perihelion-section {
  padding: clamp(28px, 5vw, 58px);
  background: var(--panel);
}

.perihelion-section p,
.history-copy p,
.cta p {
  color: var(--muted);
}

.game-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 38px;
}

.game-header img {
  width: 100%;
  border: 1px solid rgba(244, 122, 32, 0.34);
}

.game-header h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.briefing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: 24px;
  align-items: stretch;
}

.briefing-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
}

.briefing-main p {
  max-width: 620px;
  margin-bottom: 0;
}

.combat-loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(124, 199, 232, 0.26);
  background: rgba(255, 255, 255, 0.035);
}

.combat-loop div {
  padding: 24px;
  border-right: 1px solid rgba(124, 199, 232, 0.2);
}

.combat-loop div:last-child {
  border-right: 0;
}

.combat-loop span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.combat-loop p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.history-section {
  padding: clamp(28px, 5vw, 58px);
}

.history-copy {
  max-width: 820px;
}

.cta {
  padding: clamp(34px, 6vw, 72px);
  background: var(--panel-bright);
}

.cta h2 {
  max-width: 850px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero,
  .hero-body,
  .game-header,
  .briefing-grid {
    grid-template-columns: 1fr;
  }

  .game-header {
    align-items: start;
  }

  .game-header img {
    max-width: 340px;
  }

  .combat-loop {
    grid-template-columns: 1fr;
  }

  .combat-loop div {
    border-right: 0;
    border-bottom: 1px solid rgba(124, 199, 232, 0.2);
  }

  .combat-loop div:last-child {
    border-bottom: 0;
  }

  .combat-loop span {
    margin-bottom: 18px;
  }

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

  h1 {
    max-width: none;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1180px);
  }

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

  .button {
    width: 100%;
  }

}
