*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --bg: #05070d;
  --bg-2: #080b12;
  --panel: #101722;
  --panel-soft: rgba(16, 23, 34, 0.78);
  --ink: #fff8ef;
  --muted: #b9c1d4;
  --dim: #7e879c;
  --cyan: #35e4ff;
  --magenta: #ff4f9f;
  --gold: #ffc75a;
  --green: #6dff95;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(53, 228, 255, 0.42);
  --shadow: rgba(0, 0, 0, 0.46);
  --max: 1180px;
  --radius: 8px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg,
iframe {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #160b03;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

main [id] {
  scroll-margin-top: 84px;
}

main:focus {
  outline: none;
}

.section-wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: 28px;
}

.campaign-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 68px;
  padding: 10px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 13, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.brand-link,
.campaign-nav a,
.header-cta,
.btn,
.text-link,
.widget-fallback,
.community-link {
  text-decoration: none;
}

.header-cta,
.text-link,
.widget-fallback,
.community-link {
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.brand-link {
  justify-self: start;
  display: flex;
  width: fit-content;
  min-width: 0;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.brand-arrow {
  color: var(--cyan);
  font-size: 1.1rem;
  line-height: 1;
}

.brand-label {
  font-size: 14px;
}

.brand-link img {
  width: 34px;
  height: 34px;
  filter: invert(1);
}

.brand-link picture {
  display: block;
  flex: 0 0 auto;
}

.campaign-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.campaign-nav a:hover,
.brand-link:hover {
  color: var(--cyan);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 199, 90, 0.7);
  border-radius: var(--radius);
  color: #160b03;
  background: var(--gold);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(255, 199, 90, 0.24);
}

.hero {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #03050a;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.97) 0%, rgba(3, 5, 10, 0.86) 31%, rgba(3, 5, 10, 0.48) 59%, rgba(3, 5, 10, 0.18) 100%),
    linear-gradient(180deg, rgba(3, 5, 10, 0.4) 0%, rgba(3, 5, 10, 0.08) 56%, rgba(3, 5, 10, 0.9) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 46px 54px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 18px;
}

.hero-title img {
  width: min(520px, 100%);
  height: 128px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 26px rgba(53, 228, 255, 0.32));
}

.hero-subtitle {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.14;
}

.hero-proof {
  margin: 20px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-row.compact {
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.btn:hover,
.header-cta:hover,
.text-link:hover,
.widget-fallback:hover,
.community-link:hover {
  transform: translateY(-1px);
}

.btn-primary {
  border: 1px solid rgba(255, 199, 90, 0.85);
  color: #130b03;
  background: linear-gradient(180deg, #ffe39c 0%, var(--gold) 100%);
  box-shadow: 0 0 30px rgba(255, 199, 90, 0.24);
}

.btn-primary:hover {
  border-color: #fff2c4;
  box-shadow: 0 0 42px rgba(255, 199, 90, 0.36);
}

.btn-secondary {
  border: 1px solid rgba(53, 228, 255, 0.64);
  color: var(--cyan);
  background: rgba(5, 7, 13, 0.72);
  box-shadow: 0 0 28px rgba(53, 228, 255, 0.13);
}

.btn-secondary:hover {
  background: rgba(53, 228, 255, 0.12);
  border-color: var(--cyan);
}

.steam-section,
.gameplay-section,
.faq-section {
  padding-block: 78px;
  background: var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trailer-section,
.pilots-section {
  padding-block: 78px;
  background:
    linear-gradient(180deg, rgba(255, 79, 159, 0.06), transparent 28%),
    #070911;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.steam-grid,
.trailer-grid,
.pilots-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 40px;
  align-items: center;
}

.trailer-grid,
.pilots-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.section-copy h2,
.section-heading-row h2,
.final-inner h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.12;
}

.section-copy p,
.section-heading-row p,
.shot-card p,
.pilot-card p,
.final-inner p {
  color: var(--muted);
}

.section-copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 54ch;
}

.steam-widget-panel {
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(53, 228, 255, 0.12), rgba(255, 79, 159, 0.07)),
    var(--panel-soft);
  box-shadow: 0 24px 70px var(--shadow);
}

.steam-widget {
  width: 100%;
  max-width: 646px;
  height: 190px;
  margin-inline: auto;
  border: 0;
  border-radius: 4px;
  background: #000;
}

.widget-fallback {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
}

.trailer-shell,
.pilot-key-art,
.shot-card,
.pilot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 54px var(--shadow);
}

.trailer-shell {
  position: relative;
  aspect-ratio: 16 / 9;
}

.trailer-shell iframe,
.trailer-poster,
.trailer-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.trailer-poster img {
  object-fit: cover;
}

.trailer-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 5, 10, 0.68), rgba(3, 5, 10, 0.08));
  pointer-events: none;
}

.trailer-shell.has-video::after,
.trailer-shell.has-video .trailer-poster,
.trailer-shell.has-video .trailer-fallback {
  display: none;
}

.trailer-fallback {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 15px;
  border: 1px solid rgba(53, 228, 255, 0.56);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(5, 7, 13, 0.78);
  font-weight: 900;
  text-decoration: none;
}

.trailer-fallback svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--gold);
  font-weight: 900;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-heading-row p:last-child {
  max-width: 390px;
  margin: 0;
}

.feature-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.feature-facts div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 23, 34, 0.74);
}

.feature-facts strong,
.faq-item h3 {
  color: var(--ink);
}

.feature-facts strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.feature-facts span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

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

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

.shot-card h3,
.pilot-card h3 {
  margin: 14px 14px 4px;
  font-size: 18px;
  line-height: 1.2;
}

.shot-card p {
  margin: 0 14px 16px;
  font-size: 14px;
  line-height: 1.45;
}

.pilot-key-art {
  align-self: stretch;
}

.pilot-key-art img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.pilot-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pilot-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px;
}

.pilot-card img {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  object-fit: cover;
}

.pilot-card h3 {
  margin: 0 0 3px;
}

.pilot-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 40px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 23, 34, 0.74);
}

.faq-item h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.2;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: 92px;
  isolation: isolate;
  background: #04060c;
  text-align: center;
}

.final-bg,
.final-bg img {
  position: absolute;
  inset: 0;
}

.final-bg {
  z-index: -3;
}

.final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 6, 12, 0.96), rgba(4, 6, 12, 0.68), rgba(4, 6, 12, 0.96)),
    linear-gradient(180deg, rgba(4, 6, 12, 0.3), rgba(4, 6, 12, 0.92));
}

.final-inner {
  max-width: 820px;
}

.final-inner h2 {
  font-size: 40px;
}

.final-actions {
  justify-content: center;
}

.community-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 800;
}

.community-link:hover {
  color: var(--cyan);
}

.campaign-footer {
  padding: 24px;
  color: var(--dim);
  background: #03050a;
  text-align: center;
  font-size: 14px;
}

.campaign-footer p {
  margin: 0;
}

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

  .campaign-nav {
    gap: 16px;
  }

  .steam-grid,
  .trailer-grid,
  .pilots-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .trailer-grid .section-copy {
    order: -1;
  }

  .shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pilot-key-art img {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .section-wrap {
    padding-inline: 18px;
  }

  .campaign-header {
    min-height: 62px;
    padding-inline: 14px;
  }

  .campaign-nav {
    display: none;
  }

  .hero {
    min-height: 82vh;
    min-height: 82svh;
    align-items: end;
  }

  .hero-media img {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 5, 10, 0.18) 0%, rgba(3, 5, 10, 0.58) 42%, rgba(3, 5, 10, 0.97) 100%),
      linear-gradient(90deg, rgba(3, 5, 10, 0.58), rgba(3, 5, 10, 0.24));
  }

  .hero-inner {
    padding-block: 104px 36px;
  }

  .hero-title img {
    height: 92px;
  }

  .hero-subtitle {
    font-size: 25px;
  }

  .btn {
    width: 100%;
  }

  .steam-section,
  .trailer-section,
  .gameplay-section,
  .pilots-section,
  .faq-section {
    padding-block: 56px;
  }

  .section-copy h2,
  .section-heading-row h2 {
    font-size: 28px;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row p:last-child {
    margin-top: 12px;
  }

  .steam-widget-panel {
    padding: 10px;
  }

  .steam-widget {
    height: 190px;
  }

  .shot-grid {
    grid-template-columns: 1fr;
  }

  .feature-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pilot-card {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .pilot-card img {
    width: 62px;
    height: 62px;
  }

  .final-cta {
    padding-block: 68px;
  }

  .final-inner h2 {
    font-size: 30px;
  }
}

@media (max-width: 420px) {
  .brand-link {
    gap: 6px;
  }

  .brand-link img {
    width: 30px;
    height: 30px;
  }

  .brand-label {
    font-size: 12px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .eyebrow,
  .header-cta {
    font-size: 12px;
  }

  .trailer-fallback {
    left: 14px;
    right: 14px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
