: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;
}

.logo-reveal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(239, 35, 60, 0.22), transparent 18rem),
    rgba(8, 9, 13, 0.92);
  animation: logo-reveal-shell 2.2s ease-out forwards;
}

.logo-reveal img {
  width: min(46vw, 420px);
  max-width: 78vw;
  filter:
    drop-shadow(0 36px 80px rgba(0,0,0,0.85))
    drop-shadow(0 0 42px rgba(239, 35, 60, 0.42));
  transform: translateY(1rem) scale(0.72);
  opacity: 0;
  animation: logo-reveal-mark 2.2s cubic-bezier(0.18, 0.8, 0.22, 1) forwards;
}

@keyframes logo-reveal-shell {
  0%, 58% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes logo-reveal-mark {
  0% {
    opacity: 0;
    transform: translateY(1.4rem) scale(0.72);
  }
  24% {
    opacity: 1;
  }
  58% {
    opacity: 1;
    transform: translateY(0) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translateY(-0.4rem) scale(1.34);
  }
}

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: 57px;
  height: 57px;
  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, 0.86fr) minmax(320px, 0.7fr);
  align-items: center;
  min-height: 92vh;
  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;
}

.hero-copy {
  z-index: 2;
}

.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);
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  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-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.hero-metrics span {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.48rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-metrics strong {
  color: var(--text);
}

.hero-mark {
  display: grid;
  place-items: center;
  min-height: 58vh;
  margin-right: clamp(-8rem, -7vw, -3rem);
  isolation: isolate;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: 7% 0 3% 14%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(239, 35, 60, 0.18), rgba(168, 215, 255, 0.06)),
    rgba(8, 9, 13, 0.32);
  transform: skewX(-8deg);
}

.hero-mark img {
  width: min(54vw, 78vh, 760px);
  max-width: none;
  transform: translateX(clamp(0rem, 3vw, 3rem)) scale(1.04);
  animation: hero-mark-settle 1.2s ease-out 1.2s both;
  filter:
    drop-shadow(0 34px 68px rgba(0,0,0,0.78))
    drop-shadow(0 0 54px rgba(239, 35, 60, 0.18));
}

@keyframes hero-mark-settle {
  from {
    opacity: 0.2;
    transform: translateX(clamp(0rem, 3vw, 3rem)) scale(1.18);
  }
  to {
    opacity: 1;
    transform: translateX(clamp(0rem, 3vw, 3rem)) scale(1.04);
  }
}

.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;
}

.clips-section {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 20%, rgba(168, 215, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, rgba(239, 35, 60, 0.08), rgba(8, 9, 13, 0.9)),
    #090b10;
}

.clip-stage {
  display: grid;
  gap: 1.25rem;
}

.clip-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 1rem;
  align-items: stretch;
  border: 1px solid var(--line);
  background: rgba(9, 11, 16, 0.86);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
}

.clip-preview-frame {
  position: relative;
  min-height: 420px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 9, 13, 0.78), rgba(8, 9, 13, 0.38)),
    #11151d;
}

.clip-preview-frame img,
.clip-preview-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.clip-preview-frame::after {
  content: "15 sec preview";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.4rem 0.65rem;
  background: rgba(8, 9, 13, 0.78);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.clip-preview-meta {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  padding: clamp(1rem, 2.2vw, 2rem);
}

.clip-preview-meta h3 {
  font-size: clamp(2rem, 4vw, 4.8rem);
}

.clip-kicker {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.clip-reel {
  position: relative;
  min-height: 260px;
  perspective: 1400px;
}

.clip-card {
  --clip-offset: 0;
  --clip-distance: 0;
  position: absolute;
  left: 50%;
  top: 0;
  display: grid;
  align-content: end;
  width: min(42vw, 360px);
  height: 220px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #11151d;
  color: var(--text);
  cursor: pointer;
  opacity: calc(1 - (var(--clip-distance) * 0.18));
  transform:
    translateX(calc(-50% + (var(--clip-offset) * 190px)))
    translateZ(calc((3 - var(--clip-distance)) * 28px))
    rotateY(calc(var(--clip-offset) * -18deg))
    scale(calc(1 - (var(--clip-distance) * 0.08)));
  transform-style: preserve-3d;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.clip-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08) brightness(0.78);
}

.clip-card span {
  position: relative;
  z-index: 1;
  min-height: 76px;
  display: grid;
  align-items: end;
  padding: 3rem 0.85rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(8, 9, 13, 0.94));
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.clip-card.is-active {
  z-index: 5;
  border-color: rgba(239, 35, 60, 0.72);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52), 0 0 40px rgba(239, 35, 60, 0.18);
}

.clip-card:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 4px;
}

.live-section {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(239, 35, 60, 0.1), rgba(168, 215, 255, 0.06)),
    #0a0c12;
}

.live-status-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(239, 35, 60, 0.12), rgba(255,255,255,0.035)),
    #0d1017;
}

.live-status-strip > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.65rem;
  align-items: center;
}

.live-status-strip strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.live-status-strip small {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.45;
}

.status-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(208, 167, 80, 0.48);
}

.status-dot.is-live {
  background: #48d16a;
  box-shadow: 0 0 20px rgba(72, 209, 106, 0.58);
}

.stream-platform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 1rem;
  align-items: start;
  min-height: 620px;
  border: 1px solid var(--line);
  background: #080a0f;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.stream-main {
  min-width: 0;
}

.stream-sidebar {
  display: grid;
  grid-template-rows: auto 1fr;
  align-self: stretch;
  min-height: 620px;
  border-left: 1px solid var(--line);
  background: rgba(10, 12, 18, 0.94);
}

.stream-sidebar-head {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.stream-sidebar-head span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stream-sidebar-head small {
  color: var(--muted);
  line-height: 1.4;
}

.stream-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid var(--line);
  background: #0d1017;
}

.stream-info h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.stream-info p:not(.eyebrow) {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.stream-avatar-large {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, var(--red), #11151d 62%, var(--ice));
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
}

.stream-frame {
  position: relative;
  min-height: 480px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 9, 13, 0.82), rgba(8, 9, 13, 0.46)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 84px),
    #11151d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.twitch-player,
.twitch-player iframe {
  width: 100%;
  height: 100%;
}

.twitch-player {
  opacity: 0;
  transition: opacity 220ms ease;
}

.stream-frame.is-live .twitch-player {
  opacity: 1;
}

.stream-standby {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  padding: clamp(1.25rem, 5vw, 4rem);
  background:
    linear-gradient(90deg, rgba(8, 9, 13, 0.98), rgba(8, 9, 13, 0.78) 58%, rgba(8, 9, 13, 0.42)),
    radial-gradient(circle at 78% 30%, rgba(239, 35, 60, 0.22), transparent 28rem);
}

.stream-frame.is-live .stream-standby {
  opacity: 0;
  pointer-events: none;
}

.stream-standby h3 {
  font-size: clamp(2.8rem, 7vw, 6.4rem);
}

.stream-standby p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.streamer-list {
  display: grid;
  align-content: start;
  gap: 0;
  max-height: 560px;
  overflow-y: auto;
}

.streamer-card {
  overflow: hidden;
  position: relative;
  min-height: 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    transparent;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.streamer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(239, 35, 60, 0.5), rgba(168, 215, 255, 0.2)) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.streamer-card:hover,
.streamer-card:focus-within,
.streamer-card.is-selected {
  opacity: 1;
  background-color: rgba(255,255,255,0.06);
}

.streamer-card.is-selected {
  border-left: 3px solid var(--red);
}

.streamer-card.is-selected .streamer-card-trigger::after {
  content: "PLAYING";
  color: var(--red);
}

.streamer-card:hover::before,
.streamer-card:focus-within::before,
.streamer-card.is-selected::before {
  opacity: 1;
}

.streamer-card-trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 0.9rem 1rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  outline: 0;
  position: relative;
  z-index: 1;
  text-align: left;
}

.streamer-card-trigger:focus-visible {
  box-shadow: inset 0 0 0 2px var(--ice);
}

.streamer-card-trigger::after {
  content: "WATCH";
  grid-column: 1 / -1;
  justify-self: end;
  align-self: end;
  margin-top: -0.6rem;
  color: var(--ice);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.streamer-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, var(--red), #11151d 62%, var(--ice));
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
}

.streamer-card strong,
.streamer-card small {
  display: block;
}

.streamer-card strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.22rem;
  line-height: 1;
  text-transform: uppercase;
}

.streamer-card small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.streamer-card > p {
  margin: 0;
  padding: 0 1rem 1rem calc(49px + 1.75rem);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.streamer-card-muted {
  opacity: 0.75;
}

.streamer-card-muted .button {
  margin: 0 1rem 1rem calc(49px + 1.75rem);
}

.schedule-section {
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, #0d1017, #090b10);
}

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

.hub-grid article {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 280px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(239, 35, 60, 0.1), rgba(168, 215, 255, 0.04)),
    var(--panel);
}

.hub-grid span {
  width: fit-content;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--ice);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  align-self: end;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration-color: var(--red);
  text-underline-offset: 0.3rem;
}

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

#games.section {
  padding-inline: 0;
  overflow-x: hidden;
}

#games .section-heading {
  padding-inline: 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;
}

#games .game-grid {
  display: flex;
  gap: 0;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

#games .game-card {
  flex: 0 0 33.333333vw;
  width: 33.333333vw;
  min-width: 0;
}

.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 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;
}

.join .join-actions {
  max-width: none;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

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: 46px;
  height: 46px;
  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;
  }

  .hero {
    min-height: auto;
  }

  .hero-mark {
    min-height: 360px;
    margin-right: 0;
  }

  .hero-mark img {
    width: min(82vw, 520px);
    transform: none;
  }

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

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

  #games .game-grid {
    display: grid;
  }

  #games .game-card {
    flex-basis: auto;
    width: auto;
  }
}

@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;
    min-height: 260px;
  }

  .hero-mark img {
    width: min(82vw, 340px);
  }

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

  .live-status-strip,
  .join {
    align-items: stretch;
    flex-direction: column;
  }

  .live-status-strip .button,
  .join-actions {
    justify-content: flex-start;
  }

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

  .clip-preview {
    grid-template-columns: 1fr;
  }

  .clip-preview-frame {
    min-height: 300px;
  }

  .clip-card {
    width: min(72vw, 320px);
    transform:
      translateX(calc(-50% + (var(--clip-offset) * 92px)))
      rotateY(calc(var(--clip-offset) * -12deg))
      scale(calc(1 - (var(--clip-distance) * 0.1)));
  }

  .stream-platform {
    grid-template-columns: 1fr;
  }

  .stream-sidebar {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stream-frame {
    min-height: 320px;
  }

  .streamer-list {
    grid-template-columns: 1fr;
  }

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

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

  footer p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-reveal {
    display: none;
  }

  .logo-reveal img,
  .hero-mark img,
  .clip-card {
    animation: none;
    transition: none;
  }
}
