/* Kestrel Arcade — Studio Portal & Subdomain Design System */
:root {
  --bg: #080a0f;
  --bg-elev: #0e121b;
  --bg-card: #121723;
  --bg-card-hover: #171e2e;
  --surface-glass: rgba(12, 16, 24, 0.84);
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --txt: #f1f5fb;
  --txt-sec: #9aa5ba;
  --txt-mut: #687389;
  --accent: #ff6b2b;
  --accent-soft: rgba(255, 107, 43, 0.14);
  --cyan: #38e8ff;
  --cyan-soft: rgba(56, 232, 255, 0.13);
  --green: #2ce08b;
  --amber: #ffbe3b;
  --game-accent: #ff6b2b;
  --game-secondary: #38e8ff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.52);
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --max-w: 1360px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* Network Topbar */
.net-bar {
  background: #05070b;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--txt-sec);
  position: relative;
  z-index: 60;
}

.net-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
}

.net-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.led-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  flex-shrink: 0;
}

.net-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.subdomain-jumper {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt-sec);
  max-width: 240px;
}

.subdomain-jumper:focus {
  outline: 1px solid var(--cyan);
}

.radar-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt);
  transition: border-color 0.2s, background 0.2s;
}

.radar-pill-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.radar-count {
  background: var(--accent);
  color: #090b10;
  font-weight: 700;
  border-radius: 99px;
  padding: 0 6px;
  font-size: 10.5px;
  line-height: 16px;
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 55;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #ff9e2c);
  display: grid;
  place-items: center;
  color: #080a0f;
  box-shadow: 0 6px 20px rgba(255, 107, 43, 0.32);
}

.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--txt-mut);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--txt-sec);
  transition: color 0.18s, background 0.18s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.055);
}

.main-nav a.active {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  color: var(--txt);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #090b10;
  box-shadow: 0 8px 24px rgba(255, 107, 43, 0.28);
}

.btn-primary:hover {
  background: #ff8047;
  box-shadow: 0 12px 30px rgba(255, 107, 43, 0.42);
}

.btn-game {
  background: var(--game-accent);
  color: #07090d;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}

.btn-game:hover {
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--txt);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

/* Hero Stage with Three.js Canvas */
.hero-stage {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 72px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.three-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 45%, rgba(8, 10, 15, 0.22) 0%, rgba(8, 10, 15, 0.85) 70%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.45) 0%, rgba(8, 10, 15, 0.96) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(56, 232, 255, 0.09);
  border: 1px solid rgba(56, 232, 255, 0.28);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: clamp(16.5px, 1.4vw, 19px);
  color: var(--txt-sec);
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--txt);
}

.metric-lbl {
  font-size: 12px;
  color: var(--txt-mut);
  line-height: 1.35;
}

/* Showreel Card */
.reel-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.reel-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #05070b;
}

.reel-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(8, 10, 15, 0.82);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt);
  backdrop-filter: blur(8px);
}

.reel-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  gap: 12px;
}

.reel-caption {
  font-size: 13px;
  color: var(--txt-sec);
}

.reel-caption strong {
  color: var(--txt);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.section-alt {
  background: #0b0e16;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-desc {
  color: var(--txt-sec);
  max-width: 620px;
  margin-top: 10px;
  font-size: 16px;
}

/* Filter Toolbar */
.filter-bar {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-sec);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: all 0.16s;
}

.chip:hover {
  color: var(--txt);
  border-color: var(--line-strong);
}

.chip.active {
  background: var(--accent);
  color: #090b10;
  border-color: var(--accent);
  font-weight: 600;
}

.filter-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.search-input,
.select-input {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 8px 13px;
  font-size: 13.5px;
  color: var(--txt);
}

.search-input {
  min-width: 230px;
}

.search-input:focus,
.select-input:focus {
  outline: none;
  border-color: var(--cyan);
}

/* 28-Game Card Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s, box-shadow 0.24s;
  position: relative;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #06080d;
  overflow: hidden;
}

.card-media img.card-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.card-media video.card-hover-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.game-card.playing-preview .card-hover-vid {
  opacity: 1;
}

.card-cover-thumb {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 52px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.65);
  z-index: 3;
}

.card-cover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-season-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(8, 10, 15, 0.84);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt);
  z-index: 3;
}

.card-trailer-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(8, 10, 15, 0.84);
  border: 1px solid var(--line-strong);
  color: var(--txt);
  display: grid;
  place-items: center;
  z-index: 4;
  transition: background 0.18s, transform 0.18s;
}

.card-trailer-btn:hover {
  background: var(--accent);
  color: #090b10;
  transform: scale(1.08);
}

.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-subdomain {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.card-tagline {
  font-size: 13.5px;
  color: var(--txt-sec);
  line-height: 1.48;
  margin-bottom: 14px;
  flex: 1;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--txt-mut);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-bottom: 12px;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.card-actions .btn-open {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.card-actions .btn-open:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #090b10;
}

.btn-radar-toggle {
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 12.5px;
  color: var(--txt-sec);
  transition: all 0.18s;
}

.btn-radar-toggle:hover {
  color: var(--txt);
  border-color: var(--txt-sec);
}

.btn-radar-toggle.tracked {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* Studio / Feature Split Cards */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--txt-sec);
  font-size: 14.5px;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 107, 43, 0.3);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.photo-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.photo-caption {
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--txt-mut);
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
}

/* Timeline */
.timeline {
  display: grid;
  gap: 20px;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  align-items: start;
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--txt-sec);
  font-size: 15px;
}

/* Roadmap Month Groups */
.roadmap-month {
  margin-bottom: 44px;
}

.roadmap-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.roadmap-month-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

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

.roadmap-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.roadmap-row:hover {
  border-color: var(--line-strong);
  transform: translateX(3px);
}

.roadmap-row img {
  width: 96px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.roadmap-date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
}

.roadmap-row h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  margin: 2px 0;
}

.roadmap-build {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt-mut);
}

/* Technology Sandbox & Live Diagnostic */
.sandbox-panel {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sandbox-viewport {
  position: relative;
  height: 400px;
  background: #05070b;
}

.sandbox-viewport canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.sandbox-hud {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(8, 10, 15, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  backdrop-filter: blur(8px);
}

.sandbox-controls {
  padding: 16px 22px;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

/* Subdomain Dedicated Game Microsite Layout */
.subdomain-hero {
  position: relative;
  padding: 56px 0 68px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.subdomain-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 38px;
  align-items: center;
}

.subdomain-cover-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72);
  background: #05070b;
}

.subdomain-cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.subdomain-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--game-secondary);
  margin-bottom: 16px;
}

.game-detail-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.trailer-showcase {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.trailer-showcase video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.screens-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.screen-thumb {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  cursor: zoom-in;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #05070b;
}

.screen-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.screen-thumb:hover img {
  transform: scale(1.05);
}

.features-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.feature-box h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  margin-bottom: 6px;
  color: var(--txt);
}

.feature-box p {
  font-size: 14px;
  color: var(--txt-sec);
}

.spec-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.spec-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.spec-list {
  display: grid;
  gap: 11px;
  font-size: 13.5px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.spec-row span:first-child {
  color: var(--txt-mut);
}

.spec-row span:last-child {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-align: right;
  color: var(--txt);
}

.devnote-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--game-accent);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin-top: 28px;
}

.devnote-box p {
  font-size: 14.5px;
  color: var(--txt-sec);
  font-style: italic;
}

.devnote-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt-mut);
  margin-top: 8px;
}

/* News & Careers Cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.news-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt-mut);
  margin-bottom: 12px;
}

.news-cat {
  color: var(--cyan);
  background: var(--cyan-soft);
  padding: 2px 8px;
  border-radius: 5px;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.news-card p {
  color: var(--txt-sec);
  font-size: 14.5px;
  flex: 1;
  margin-bottom: 16px;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--txt-sec);
}

.role-tags span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 6px;
}

/* Forms & Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.modal-dialog.modal-wide {
  max-width: 960px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--txt-sec);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.modal-close:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.06);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-sec);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 14.5px;
  color: var(--txt);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field-error {
  font-size: 12px;
  color: #ff5c6c;
  min-height: 16px;
}

.success-ticket {
  text-align: center;
  padding: 18px 8px;
}

.ticket-code {
  display: inline-block;
  margin: 14px 0;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #05070b;
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
  color: var(--txt-sec);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--txt);
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-links a:hover {
  color: var(--txt);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: var(--txt-mut);
}

/* Cookie Bar */
.cookie-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 410px;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  z-index: 90;
  display: none;
}

.cookie-toast.show {
  display: block;
}

.cookie-toast p {
  font-size: 13px;
  color: var(--txt-sec);
  margin-bottom: 12px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .game-card, .btn { transition: none; }
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .game-detail-grid {
    grid-template-columns: 1fr;
  }
  .three-col,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .games-grid,
  .roadmap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line-strong);
    flex-direction: column;
    padding: 16px 24px;
    align-items: stretch;
  }
  .main-nav.open {
    display: flex;
  }
  .burger-btn {
    display: inline-flex;
  }
  .subdomain-hero-grid {
    grid-template-columns: 180px 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .games-grid,
  .three-col,
  .news-grid,
  .roadmap-list,
  .features-grid-2x2,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .subdomain-hero-grid {
    grid-template-columns: 1fr;
  }
  .subdomain-cover-card {
    max-width: 220px;
  }
  .screens-row {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .role-card {
    flex-direction: column;
  }
  .net-bar-inner .subdomain-jumper {
    display: none;
  }
}


/* ==========================================================================
   Varied Subdomain Layouts, Custom Extra Sections & Legal Document Styles
   ========================================================================== */

/* Screenshot Count Variations */
.screens-count-1 {
  display: block;
  margin-bottom: 34px;
}
.screens-count-1 .screen-thumb {
  aspect-ratio: 16 / 9;
  max-height: 440px;
}

.screens-count-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 34px;
}

.screens-bento-3 {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 14px;
  margin-bottom: 34px;
}
.screens-bento-3 .bento-stack {
  display: grid;
  gap: 14px;
}

/* Layout: Cinema Lead */
.cinema-hero {
  position: relative;
  padding: 44px 0 56px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.cinema-top-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.cinema-stage-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: #000;
}
.cinema-stage-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 580px;
  object-fit: cover;
}

/* Layout: Dossier / Field Brief */
.dossier-header {
  position: relative;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.dossier-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 28px;
}
.dossier-cell {
  background: rgba(14, 18, 27, 0.92);
  padding: 14px 18px;
}
.dossier-cell span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt-mut);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.dossier-cell strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--txt);
}

/* Layout: Arena Competitive Split */
.arena-hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
}

/* Extra Section: Structured Data Tables (Roster / Scoring) */
.extra-block {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.extra-block h3 {
  font-family: var(--font-display);
  font-size: 21px;
  margin-bottom: 16px;
}
.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg-card);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.data-table th {
  padding: 12px 16px;
  background: var(--bg-elev);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--txt-mut);
  border-bottom: 1px solid var(--line-strong);
}
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--txt-sec);
  vertical-align: top;
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table td:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--txt);
  white-space: nowrap;
}
.data-table td:nth-child(2) {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--game-secondary);
  white-space: nowrap;
}

/* Extra Section: Co-op Crew Split */
.coop-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.coop-seat {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 20px 22px;
}
.coop-seat-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--game-accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.coop-seat h4 {
  font-family: var(--font-display);
  font-size: 17.5px;
  margin-bottom: 8px;
}
.coop-seat p {
  font-size: 14px;
  color: var(--txt-sec);
}

/* Extra Section: Build Changelog */
.changelog-list {
  display: grid;
  gap: 12px;
}
.changelog-entry {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}
.changelog-ver {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--game-secondary);
}
.changelog-ver span {
  display: block;
  color: var(--txt-mut);
  font-size: 11px;
  margin-top: 2px;
}

/* Extra Section: Sector / Track Cards */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 16px 18px;
}
.sector-card h4 {
  font-family: var(--font-display);
  font-size: 15.5px;
  margin-bottom: 6px;
  color: var(--txt);
}
.sector-card p {
  font-size: 13.5px;
  color: var(--txt-sec);
}

/* Extra Section: Expandable FAQ */
.faq-stack {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--game-accent);
  font-size: 18px;
}
.faq-item[open] summary::after {
  content: "-";
}
.faq-item p {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--txt-sec);
  font-size: 14px;
}

/* Telemetry Callout Boxes (Netcode / Audio) */
.telemetry-callout {
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 20px;
}
.telemetry-callout h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--game-secondary);
  margin-bottom: 10px;
}

/* Dutch / EU Legal Pages */
.legal-wrap {
  max-width: 880px;
  margin: 0 auto;
}
.legal-header-box {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 36px;
}
.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 34px 0 12px;
  color: var(--txt);
}
.legal-doc p,
.legal-doc li {
  color: var(--txt-sec);
  font-size: 15px;
  line-height: 1.7;
}
.legal-doc p {
  margin-bottom: 14px;
}
.legal-doc ul {
  padding-left: 20px;
  margin-bottom: 16px;
  display: grid;
  gap: 6px;
}

@media (max-width: 900px) {
  .arena-hero-split,
  .screens-bento-3,
  .screens-count-2,
  .coop-split {
    grid-template-columns: 1fr;
  }
  .dossier-strip {
    grid-template-columns: 1fr 1fr;
  }
  .changelog-entry {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
