:root {
  color-scheme: dark;
  --bg: #08090d;
  --panel: #10131a;
  --panel-2: #171b24;
  --text: #f4f7fb;
  --muted: #aab3c2;
  --line: rgba(255, 255, 255, 0.12);
  --red: #ef233c;
  --red-dark: #9e0e1d;
  --ice: #a8d7ff;
  --steel: #6f7f91;
  --gold: #d0a750;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(239, 35, 60, 0.2), transparent 32rem),
    radial-gradient(circle at 85% 15%, rgba(100, 154, 255, 0.16), transparent 30rem),
    linear-gradient(180deg, #07080b 0%, #0c0e13 45%, #090a0e 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  background: rgba(8, 9, 13, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 380px);
  align-items: center;
  min-height: 86vh;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(8, 9, 13, 0.98) 0%, rgba(8, 9, 13, 0.78) 44%, rgba(8, 9, 13, 0.92) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 90px);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 8% -10% auto auto;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(35deg);
  background: linear-gradient(135deg, rgba(239, 35, 60, 0.2), rgba(168, 215, 255, 0.07));
}

.hero-copy,
.hero-mark {
  position: relative;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 0.94;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  font-size: clamp(4rem, 11vw, 9.5rem);
}

h2 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

h3 {
  font-size: 2rem;
}

.lead {
  max-width: 660px;
  margin: 1.4rem 0 0;
  color: #d8deea;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions,
.join {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--line);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.button.primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 14px 50px rgba(239, 35, 60, 0.24);
}

.button.secondary {
  background: rgba(255,255,255,0.05);
}

.hero-actions {
  margin-top: 2rem;
}

.hero-mark {
  display: grid;
  place-items: center;
}

.hero-mark img {
  width: min(100%, 340px);
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.68));
}

.ticker {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 1rem clamp(1rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: #0c0e13;
}

.ticker span {
  flex: 0 0 auto;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading p:last-child,
.legacy > p,
.join p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.game-grid,
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.game-card,
.ops-grid article {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8,9,13,0.08), rgba(8,9,13,0.48) 38%, rgba(8,9,13,0.96) 78%);
  pointer-events: none;
}

.game-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -45px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,255,255,0.16);
  transform: rotate(45deg);
}

.game-card.gv { background: linear-gradient(150deg, #16130f, #50341d 56%, #121417); }
.game-card.bf6 { background: linear-gradient(150deg, #10161c, #33424b 56%, #111318); }
.game-card.tww3 { background: linear-gradient(150deg, #171018, #5b1720 56%, #111318); }

.game-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 58%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.92;
  filter: saturate(1.08) contrast(1.08);
}

.game-code {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin-bottom: 13rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(8,9,13,0.56);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.game-card h3,
.game-card p,
.game-card ul {
  position: relative;
  z-index: 2;
}

.game-card p {
  color: #d4d9e4;
  line-height: 1.65;
}

.game-card ul {
  display: grid;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.game-card li::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--red);
  font-weight: 900;
}

.legacy {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(300px, 1fr) minmax(250px, 0.65fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(239,35,60,0.1), rgba(255,255,255,0.03), rgba(168,215,255,0.08));
}

.stats {
  display: grid;
  gap: 0.75rem;
}

.stats div {
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(8,9,13,0.55);
}

.stats strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  line-height: 0.9;
}

.stats span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.operations .section-heading {
  grid-template-columns: 1fr;
}

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

.ops-grid article {
  min-height: 240px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
}

.ops-grid span {
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
}

.ops-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.join {
  justify-content: space-between;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
  background: #0e1118;
  border-top: 1px solid var(--line);
}

.join div {
  max-width: 780px;
}

footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem clamp(1rem, 5vw, 5rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

footer span {
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
}

footer p {
  margin-left: auto;
}

@media (max-width: 1050px) {
  .hero,
  .section-heading,
  .legacy {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-mark {
    justify-content: start;
    margin-top: 2rem;
  }

  .hero-mark img {
    width: 210px;
  }

  .game-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 430px;
  }

  .game-code {
    margin-bottom: 11rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer p {
    margin: 0;
  }
}
