:root {
  --void: #04070d;
  --ink: #071018;
  --mist: #9eb6c9;
  --fog: #c8d7e4;
  --cyan: #3ee0ff;
  --cyan-dim: #1a8fb0;
  --ember: #ff8a4c;
  --glass: rgba(6, 16, 28, 0.55);
  --line: rgba(62, 224, 255, 0.22);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Sora", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--fog);
  background: var(--void);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.space-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

main,
footer {
  position: relative;
  z-index: 1;
}

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan);
  color: #001018;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Top bar —— */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.1rem, 3vw, 2.5rem);
  background: linear-gradient(to bottom, rgba(4, 7, 13, 0.92), rgba(4, 7, 13, 0));
  pointer-events: none;
}

.top a {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
}

.mark img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(62, 224, 255, 0.25);
}

.top nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mist);
}

.top nav a:hover {
  color: var(--cyan);
}

.nav-steam {
  color: var(--cyan) !important;
}

/* —— Hero: one composition —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  background: transparent;
}

.hero-copy {
  width: min(720px, 100%);
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 8vh, 5rem);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 40px rgba(62, 224, 255, 0.45),
    0 2px 24px rgba(0, 0, 0, 0.65);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--fog);
  max-width: 16ch;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  font-weight: 300;
  color: var(--mist);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* —— Steam CTA —— */
.steam-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.15rem 0.7rem 0.85rem;
  border-radius: 4px;
  background: linear-gradient(180deg, #1b2838 0%, #171a21 100%);
  border: 1px solid rgba(102, 192, 244, 0.35);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(102, 192, 244, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.steam-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 192, 244, 0.75);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(102, 192, 244, 0.22);
}

.steam-btn:active {
  transform: translateY(0);
}

.steam-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #fff;
}

.steam-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.steam-btn small {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #c7d5e0;
  text-transform: uppercase;
}

.steam-btn strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.steam-btn-lg {
  padding: 0.9rem 1.4rem 0.9rem 1rem;
}

.steam-btn-lg .steam-logo {
  width: 42px;
  height: 42px;
}

.steam-btn-lg strong {
  font-size: 1.3rem;
}

/* —— Content bands —— */
.band,
.features,
.final {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 5.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.band::before,
.final::before {
  content: "";
  position: absolute;
  inset: 12% -4% auto;
  height: 55%;
  z-index: -1;
  background: radial-gradient(ellipse at 30% 40%, rgba(62, 224, 255, 0.06), transparent 65%);
  pointer-events: none;
}

.band h2,
.final h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.band p,
.final p {
  margin: 0;
  max-width: 58ch;
  color: var(--mist);
  font-size: 1.05rem;
  font-weight: 300;
}

.band strong {
  color: var(--cyan);
  font-weight: 500;
}

.features {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent, rgba(62, 224, 255, 0.03), transparent);
}

@media (min-width: 760px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.features h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.features p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--mist);
}

.final {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.final p {
  margin-bottom: 0.5rem;
}

footer {
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.75rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(158, 182, 201, 0.7);
  font-size: 0.82rem;
}

footer p {
  margin: 0.25rem 0;
}

.fine {
  max-width: 46ch;
  margin-inline: auto !important;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(158, 182, 201, 0.45);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 560px) {
  .top nav a:not(.nav-steam) {
    display: none;
  }

  .hero-copy {
    align-self: end;
  }
}
