*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --deep-black: #0a0a0c;
  --atlantic-dark: #0c1420;
  --atlantic-mid: #11263e;
  --steel: #6a7e94;
  --fog: #a0b0c0;
  --signal-amber: #d4a244;
  --signal-amber-dim: #a07830;
  --danger-red: #8b2020;
  --foam-white: #c8d0d8;
  --text-body: #b8c8d8;
  --text-bright: #d8e4ee;
  --nav-height: 64px;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--steel) var(--deep-black);
}
body {
  background: var(--deep-black);
  color: var(--text-body);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.7;
}
/* ═══════ GRAIN OVERLAY ═══════ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* ═══════ NAV ═══════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background 0.5s, box-shadow 0.5s;
}
nav.scrolled {
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(212, 162, 68, 0.15);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 6px;
  color: var(--signal-amber);
  text-decoration: none;
  position: relative;
  cursor: pointer;
}
.nav-logo span {
  color: var(--fog);
  font-size: 14px;
  letter-spacing: 3px;
  margin-left: 8px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fog);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
  cursor: pointer;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--signal-amber);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--signal-amber); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--signal-amber); }
.nav-links a.active::after { width: 100%; }
/* ═══════ PAGE TRANSITION ═══════ */
#page-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}
#page-content.transitioning {
  opacity: 0;
}
/* ═══════ HERO / SPLASH ═══════ */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(17,38,62,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(139,32,32,0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--deep-black) 0%, var(--atlantic-dark) 40%, #0e1e30 100%);
}
/* ═══════ HERO VIDEO ═══════ */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  z-index: 1;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.45) 0%, rgba(10,10,12,0.1) 40%, rgba(10,10,12,0.55) 100%),
    radial-gradient(ellipse 80% 50% at 50% 50%, transparent 40%, rgba(10,10,12,0.5) 100%);
}
/* push hero-bg behind video */
.hero-bg { z-index: 0; }
.ocean-layer { z-index: 3; }
.fog-layer { z-index: 4; }
.hero-content { z-index: 5; }
.scroll-indicator { z-index: 5; }
#home::before { z-index: 6; }

.ocean-layer {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  height: 30vh;
  opacity: 0.15;
}
.wave {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 40%,
    rgba(17,38,62,0.5) 45%,
    transparent 50%
  );
  animation: wave-drift 18s linear infinite;
}
.wave:nth-child(2) {
  opacity: 0.5;
  animation-duration: 25s;
  animation-direction: reverse;
  bottom: 10px;
}
.wave:nth-child(3) {
  opacity: 0.3;
  animation-duration: 30s;
  bottom: 20px;
}
@keyframes wave-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.fog-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 40% at 30% 60%, rgba(122,138,154,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 80% 30% at 70% 40%, rgba(122,138,154,0.05) 0%, transparent 60%);
  animation: fog-shift 20s ease-in-out infinite alternate;
}
@keyframes fog-shift {
  from { opacity: 0.6; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(20px); }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-subtitle-top {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--signal-amber-dim);
  margin-bottom: 16px;
  opacity: 0;
  animation: fade-up 1s 0.3s forwards;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 12vw, 160px);
  letter-spacing: 12px;
  color: var(--foam-white);
  line-height: 0.9;
  text-shadow:
    0 0 80px rgba(212,162,68,0.15),
    0 4px 20px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fade-up 1.2s 0.6s forwards, signal-flicker 8s 3s infinite;
}
.hero-title em {
  font-style: normal;
  color: var(--signal-amber);
  display: block;
  font-size: 0.45em;
  letter-spacing: 20px;
  margin-top: 4px;
}
.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal-amber), transparent);
  margin: 28px auto;
  opacity: 0;
  animation: fade-up 1s 1s forwards;
}
.hero-tagline {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--fog);
  max-width: 500px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fade-up 1s 1.2s forwards;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal-amber);
  text-decoration: none;
  border: 1px solid rgba(212,162,68,0.3);
  padding: 14px 36px;
  transition: all 0.4s;
  opacity: 0;
  animation: fade-up 1s 1.5s forwards;
  cursor: pointer;
}
.hero-cta:hover {
  background: rgba(212,162,68,0.1);
  border-color: var(--signal-amber);
  box-shadow: 0 0 30px rgba(212,162,68,0.15);
}
.hero-video-embed {
  opacity: 0;
  animation: fade-up 1s 1.5s forwards;
  border: 1px solid rgba(212,162,68,0.2);
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
  line-height: 0;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  position: relative;
}
.hero-video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-up 1s 2s forwards;
}
.scroll-indicator span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--steel);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--signal-amber-dim), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes signal-flicker {
  0%, 95%, 100% { opacity: 1; }
  96% { opacity: 0.7; }
  97% { opacity: 1; }
  98% { opacity: 0.8; }
}
/* ═══════ SECTION COMMON ═══════ */
.section {
  position: relative;
  min-height: 100vh;
  padding: 140px 48px 100px;
  display: flex;
  align-items: center;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--signal-amber-dim);
  margin-bottom: 12px;
}
.section-label::before {
  content: '// ';
  color: var(--steel);
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 4px;
  color: var(--foam-white);
  line-height: 1;
  margin-bottom: 32px;
}
.section-title .accent {
  color: var(--signal-amber);
}
.section-body {
  font-size: 17px;
  max-width: 660px;
  margin-bottom: 40px;
}
.section-body p + p {
  margin-top: 20px;
}
/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }
/* Section dividers */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,162,68,0.12) 20%, rgba(212,162,68,0.12) 80%, transparent);
}
/* ═══════ ABOUT ═══════ */
#about {
  min-height: unset;
  padding-bottom: 40px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(17,38,62,0.25) 0%, transparent 70%),
    var(--deep-black);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid rgba(212,162,68,0.12);
  overflow: hidden;
  background: var(--atlantic-dark);
}
.about-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 70%, rgba(139,32,32,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(17,38,62,0.4) 0%, transparent 50%),
    linear-gradient(135deg, var(--atlantic-dark) 0%, #0a1520 100%);
}
.about-visual-text {
  font-family: 'Special Elite', cursive;
  font-size: 14px;
  color: var(--signal-amber-dim);
  letter-spacing: 2px;
  opacity: 0.6;
}
.about-visual-coords {
  font-family: 'Share Tech Mono', monospace;
  font-size: 48px;
  color: var(--foam-white);
  letter-spacing: 4px;
  margin: 12px 0;
  text-shadow: 0 0 40px rgba(212,162,68,0.2);
}
.about-visual-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--steel);
  letter-spacing: 4px;
  text-transform: uppercase;
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212,162,68,0.06);
  margin: 12px;
  pointer-events: none;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.feature-item {
  padding: 20px;
  border-left: 1px solid rgba(212,162,68,0.2);
}
.feature-item h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--signal-amber);
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fog);
}
/* ═══════ TEAM ═══════ */
#team {
  min-height: unset;
  padding-top: 60px;
  background:
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(17,38,62,0.2) 0%, transparent 70%),
    var(--deep-black);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  grid-auto-rows: auto;
}
.team-card {
  position: relative;
  padding: 40px 28px 32px;
  border: 1px solid rgba(58,74,92,0.3);
  background: rgba(12,20,32,0.5);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.team-card:hover {
  border-color: rgba(212,162,68,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.team-card-rank {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal-amber-dim);
  margin-bottom: 8px;
}
.team-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--foam-white);
  margin-bottom: 4px;
}
.team-card-role {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--fog);
  margin-bottom: 16px;
}
.team-card-bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-body);
}
.team-card-link {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-amber-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.team-card:hover .team-card-link { color: var(--signal-amber); }
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--signal-amber-dim);
  transition: width 0.4s;
}
.team-card:hover::before {
  width: 80px;
  background: var(--signal-amber);
}
/* ═══════ PLAY ═══════ */
#play {
  background:
    radial-gradient(ellipse 70% 40% at 60% 50%, rgba(17,38,62,0.2) 0%, transparent 70%),
    var(--deep-black);
}
.play-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.play-link {
  color: var(--signal-amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,162,68,0.3);
  transition: border-color 0.3s, color 0.3s;
}
.play-link:hover {
  color: var(--foam-white);
  border-color: var(--foam-white);
}
.play-step {
  position: relative;
  padding: 48px 32px;
  background: rgba(12,20,32,0.4);
  border-top: 2px solid var(--steel);
  transition: border-color 0.4s, background 0.4s;
}
.play-step:hover {
  border-color: var(--signal-amber);
  background: rgba(17,38,62,0.3);
}
.play-step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: rgba(212,162,68,0.1);
  line-height: 1;
  margin-bottom: 16px;
}
.play-step h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--foam-white);
  margin-bottom: 12px;
}
.play-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fog);
}
.play-requirements {
  margin-top: 60px;
}
.play-requirements h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--signal-amber);
  margin-bottom: 28px;
}
.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.req-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid rgba(58,74,92,0.25);
  background: rgba(12,20,32,0.5);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  overflow: hidden;
}
.req-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--signal-amber-dim);
  transition: background 0.3s;
}
.req-item:hover {
  border-color: rgba(212,162,68,0.4);
  background: rgba(17,30,48,0.7);
  transform: translateY(-3px);
}
.req-item:hover::before {
  background: var(--signal-amber);
}
.req-item .req-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}
.req-item .req-icon {
  font-size: 28px;
  margin-bottom: 16px;
  opacity: 0.85;
}
.req-item .req-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--foam-white);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.req-item:hover .req-value {
  color: var(--signal-amber);
}
.req-item .req-desc {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--fog);
  line-height: 1.7;
  margin-top: auto;
}
.req-item .req-cta {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--signal-amber-dim);
  text-transform: uppercase;
  transition: color 0.3s;
}
.req-item:hover .req-cta {
  color: var(--signal-amber);
}
/* ═══════ DOWNLOADS ═══════ */
#downloads {
  background:
    radial-gradient(ellipse 50% 50% at 40% 40%, rgba(139,32,32,0.08) 0%, transparent 60%),
    var(--deep-black);
}
.downloads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.download-card {
  position: relative;
  padding: 36px;
  border: 1px solid rgba(58,74,92,0.2);
  background: rgba(12,20,32,0.4);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s;
  cursor: pointer;
  text-decoration: none;
}
.download-card:hover {
  border-color: var(--signal-amber);
  background: rgba(17,38,62,0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.download-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.download-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--foam-white);
}
.download-card-version {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--signal-amber);
  border: 1px solid rgba(212,162,68,0.3);
  padding: 3px 10px;
  letter-spacing: 2px;
}
.download-card-desc {
  font-size: 14px;
  color: var(--fog);
  line-height: 1.6;
}
.download-card-meta {
  display: flex;
  gap: 24px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(58,74,92,0.15);
}
.download-card-meta span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--steel);
  text-transform: uppercase;
}
.download-arrow {
  position: absolute;
  bottom: 36px;
  right: 36px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(212,162,68,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.download-card:hover .download-arrow {
  border-color: var(--signal-amber);
  background: rgba(212,162,68,0.1);
}
.download-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--signal-amber);
  fill: none;
  stroke-width: 2;
}
/* ═══════ WORKSHOP DOWNLOADS ═══════ */
#downloads {
  background:
    radial-gradient(ellipse 50% 50% at 40% 40%, rgba(139,32,32,0.06) 0%, transparent 60%),
    var(--deep-black);
}
.ws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.ws-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(58,74,92,0.2);
  background: rgba(12,20,32,0.5);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.3s;
}
.ws-card:hover {
  border-color: rgba(212,162,68,0.35);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}
.ws-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--atlantic-dark);
  position: relative;
}
.ws-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ws-card:hover .ws-thumb img { transform: scale(1.05); }
.ws-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      rgba(58,74,92,0.05) 18px,
      rgba(58,74,92,0.05) 36px
    ),
    linear-gradient(135deg, var(--atlantic-dark) 0%, #060c14 100%);
}
.ws-thumb-placeholder span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid rgba(58,74,92,0.3);
  padding: 5px 12px;
}
.ws-body {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.ws-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal-amber-dim);
}
.ws-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--foam-white);
  line-height: 1.1;
  transition: color 0.3s;
}
.ws-card:hover .ws-title { color: var(--signal-amber); }
.ws-desc {
  font-size: 12px;
  line-height: 1.65;
  color: var(--fog);
  flex: 1;
  margin-top: 4px;
}
.ws-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(58,74,92,0.15);
}
.ws-platform {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
}
.ws-arrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-amber-dim);
  transition: color 0.3s;
}
.ws-card:hover .ws-arrow { color: var(--signal-amber); }
.ws-browse {
  margin-top: 48px;
  padding: 36px 40px;
  border: 1px solid rgba(58,74,92,0.15);
  background: rgba(12,20,32,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ws-browse p {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--fog);
}
.ws-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-amber);
  text-decoration: none;
  border: 1px solid rgba(212,162,68,0.3);
  padding: 12px 28px;
  transition: all 0.3s;
}
.ws-browse-btn:hover {
  background: rgba(212,162,68,0.1);
  border-color: var(--signal-amber);
  box-shadow: 0 0 24px rgba(212,162,68,0.12);
}
@media (max-width: 900px) {
  .ws-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-browse { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .ws-grid { grid-template-columns: 1fr; }
}

/* ═══════ TOOLS ═══════ */
#tools {
  background:
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(17,38,62,0.2) 0%, transparent 70%),
    var(--deep-black);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.tool-card {
  padding: 40px 28px;
  background: rgba(12,20,32,0.4);
  border-bottom: 2px solid transparent;
  transition: all 0.4s;
}
.tool-card:hover {
  background: rgba(17,38,62,0.3);
  border-bottom-color: var(--signal-amber);
}
.tool-icon {
  font-family: 'Share Tech Mono', monospace;
  font-size: 24px;
  color: var(--signal-amber);
  margin-bottom: 16px;
  opacity: 0.7;
}
.tool-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--foam-white);
  margin-bottom: 10px;
}
.tool-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fog);
}
.tool-card .tool-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-amber-dim);
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}
.tool-card:hover .tool-link { color: var(--signal-amber); }
/* ═══════ FOOTER ═══════ */
footer {
  padding: 60px 48px 40px;
  border-top: 1px solid rgba(58,74,92,0.15);
  background: var(--deep-black);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 6px;
  color: var(--steel);
}
.footer-brand span {
  color: var(--signal-amber-dim);
}
.footer-note {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--steel);
  text-align: right;
}
.footer-note a {
  color: var(--fog);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-note a:hover { color: var(--signal-amber); }
/* ═══════ PLAYERS ═══════ */
#players {
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(17,38,62,0.2) 0%, transparent 70%),
    var(--deep-black);
}
.player-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.player-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(58,74,92,0.2);
  background: rgba(12,20,32,0.4);
  padding: 32px 24px 28px;
  transition: border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
}
.player-card:hover {
  border-color: rgba(212,162,68,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.player-portrait {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(17,38,62,0.6) 0%, transparent 60%),
    linear-gradient(135deg, var(--atlantic-dark) 0%, #080e18 100%);
  border: 1px solid rgba(58,74,92,0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.player-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.player-portrait-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.player-silhouette {
  width: 60%;
  height: 60%;
  opacity: 0.4;
}
.player-card:hover .player-portrait {
  border-color: rgba(212,162,68,0.3);
  background:
    radial-gradient(circle at 40% 35%, rgba(17,38,62,0.8) 0%, transparent 60%),
    linear-gradient(135deg, #0e1e30 0%, #080e18 100%);
}
.player-callsign {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 5px;
  color: var(--foam-white);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 40px rgba(212,162,68,0.1);
}
.player-role {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-amber-dim);
  margin-bottom: 16px;
}
.player-bio {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
}
@media (max-width: 1024px) {
  .player-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .player-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .player-card { padding: 24px 16px; }
}

/* ═══════ VEHICLE CARDS (ALLIES / AXIS) ═══════ */
#allies, #axis {
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(17,38,62,0.2) 0%, transparent 70%),
    var(--deep-black);
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.vehicle-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(58,74,92,0.2);
  background: rgba(12,20,32,0.4);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.vehicle-card:hover {
  border-color: rgba(212,162,68,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.vehicle-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: linear-gradient(135deg, var(--atlantic-dark) 0%, #060c14 100%);
  position: relative;
}
.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.vehicle-card:hover .vehicle-image img {
  transform: scale(1.03);
}
.vehicle-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(58,74,92,0.04) 20px,
      rgba(58,74,92,0.04) 40px
    ),
    linear-gradient(135deg, var(--atlantic-dark) 0%, #060c14 100%);
}
.vehicle-image-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid rgba(58,74,92,0.3);
  padding: 6px 14px;
}
.vehicle-details {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.vehicle-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--signal-amber-dim), transparent);
}
.vehicle-class {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal-amber-dim);
  margin-bottom: 6px;
}
.vehicle-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 4px;
  color: var(--foam-white);
  line-height: 1;
  margin-bottom: 20px;
}
.vehicle-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(58,74,92,0.15);
}
.vehicle-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
}
.stat-value {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--fog);
}
.vehicle-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-body);
}
@media (max-width: 900px) {
  .vehicle-grid { grid-template-columns: 1fr; }
}

/* ═══════ SYSTEMS ═══════ */
#systems {
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(17,38,62,0.2) 0%, transparent 70%),
    var(--deep-black);
}
.system-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 48px;
}
.system-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  border: 1px solid rgba(58,74,92,0.2);
  background: rgba(12,20,32,0.4);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.system-card:hover {
  border-color: rgba(212,162,68,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.system-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--atlantic-dark) 0%, #060c14 100%);
  position: relative;
  border-right: 1px solid rgba(58,74,92,0.15);
}
.system-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.system-card:hover .system-image img { transform: scale(1.04); }
.system-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(58,74,92,0.04) 20px,
      rgba(58,74,92,0.04) 40px
    ),
    linear-gradient(135deg, var(--atlantic-dark) 0%, #060c14 100%);
}
.system-image-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid rgba(58,74,92,0.3);
  padding: 6px 14px;
}
.system-info {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.system-info::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--signal-amber-dim);
  transition: background 0.4s;
}
.system-card:hover .system-info::before { background: var(--signal-amber); }
.system-designation {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal-amber-dim);
  margin-bottom: 8px;
}
.system-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 5px;
  color: var(--foam-white);
  line-height: 1;
  margin-bottom: 20px;
}
.system-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 580px;
}
@media (max-width: 900px) {
  .system-card { grid-template-columns: 1fr; }
  .system-image { aspect-ratio: 16 / 7; border-right: none; border-bottom: 1px solid rgba(58,74,92,0.15); }
  .system-info { padding: 28px 28px; }
  .system-info::before { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 3px; }
}

/* ═══════ WEAPONS ═══════ */
#weapons {
  min-height: unset;
  background:
    radial-gradient(ellipse 50% 40% at 50% 60%, rgba(139,32,32,0.06) 0%, transparent 60%),
    var(--deep-black);
}
.weapon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.weapon-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(58,74,92,0.2);
  background: rgba(12,20,32,0.4);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.weapon-card:hover {
  border-color: rgba(212,162,68,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.weapon-image {
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e14 0%, #060c14 100%);
  position: relative;
}
.weapon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.weapon-card:hover .weapon-image img { transform: scale(1.03); }
.weapon-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 30px,
      rgba(58,74,92,0.04) 30px,
      rgba(58,74,92,0.04) 60px
    ),
    linear-gradient(135deg, #0a0e14 0%, #060c14 100%);
}
.weapon-image-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid rgba(58,74,92,0.3);
  padding: 6px 14px;
}
.weapon-info {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  flex: 1;
}
.weapon-side {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.weapon-side--allied { color: #4a8a6a; }
.weapon-side--axis   { color: #8a4a4a; }
.weapon-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--foam-white);
  line-height: 1;
  margin-bottom: 16px;
}
.weapon-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(58,74,92,0.15);
}
.weapon-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.weapon-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-body);
}
@media (max-width: 900px) {
  .weapon-grid { grid-template-columns: 1fr; }
  .weapon-stats { grid-template-columns: 1fr 1fr; }
}

/* ═══════ SCANLINES ═══════ */
#home::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
}
/* ═══════ RESPONSIVE ═══════ */

/* ---- Tablet / small desktop ---- */
@media (max-width: 1100px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 9px; letter-spacing: 2px; }
  .play-steps { grid-template-columns: 1fr 1fr; }
  .ws-grid { grid-template-columns: 1fr 1fr; }
  .vehicle-grid { grid-template-columns: 1fr; }
}

/* ---- Tablet portrait / narrow ---- */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; scrollbar-width: none; }
  .nav-links a { font-size: 8px; letter-spacing: 1.5px; }
  .section { padding: 100px 24px 60px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .play-steps { grid-template-columns: 1fr 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .downloads-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .weapon-grid { grid-template-columns: 1fr; }
  .weapon-stats { grid-template-columns: 1fr 1fr; }
  .system-card { grid-template-columns: 1fr; }
  .system-image { aspect-ratio: 16 / 8; width: 100%; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-note { text-align: left; }
  .hero-video-embed { max-width: 100%; }
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  nav { padding: 0 16px; height: 50px; }
  .nav-logo { font-size: 18px; letter-spacing: 4px; }
  .nav-links { display: none; }
  .section { padding: 70px 16px 48px; }
  .hero-title { letter-spacing: 4px; }
  .hero-tagline { font-size: 14px; padding: 0 8px; }
  .hero-content { padding: 0 12px; }
  .hero-video-embed { max-width: 100%; }
  .section-title { font-size: clamp(32px, 8vw, 48px); letter-spacing: 2px; }
  .section-body { font-size: 15px; }
  .team-grid { grid-template-columns: 1fr; }
  .play-steps { grid-template-columns: 1fr; }
  .player-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .player-card { padding: 24px 16px; }
  .player-callsign { font-size: 22px; letter-spacing: 3px; }
  .player-portrait { width: 80px; height: 80px; }
  .ws-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .req-item { padding: 24px 20px; }
  .about-visual { display: none; }
  .weapon-stats { grid-template-columns: 1fr; }
  .system-card { grid-template-columns: 1fr; }
  .system-image { aspect-ratio: 16 / 8; width: 100%; }
  .footer-inner { padding: 24px 16px; }
  .update-bulletin { padding: 24px 20px; }
  .bulletin-body { font-size: 14px; }
  .bulletin-list li { font-size: 13px; }
}

/* ═══════ UPDATES PAGE ═══════ */
.update-feed {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.update-bulletin {
  border: 1px solid rgba(100, 130, 160, 0.25);
  background: rgba(12, 20, 32, 0.55);
  padding: 36px 40px;
  position: relative;
}
.update-bulletin::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--signal-amber), transparent);
}
.bulletin-header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.bulletin-date {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--fog);
  text-transform: uppercase;
  border: 1px solid rgba(100, 130, 160, 0.3);
  padding: 3px 10px;
  white-space: nowrap;
}
.bulletin-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  background: var(--signal-amber-dim);
  color: #f0d898;
  white-space: nowrap;
}
.bulletin-tag.tag-critical { background: rgba(139, 32, 32, 0.7); color: #f08080; }
.bulletin-tag.tag-fleet    { background: rgba(20, 60, 100, 0.8); color: #90c0e8; }
.bulletin-tag.tag-ops      { background: rgba(30, 80, 50, 0.8);  color: #90d8a0; }
.bulletin-tag.tag-intel    { background: rgba(60, 40, 100, 0.7); color: #c0a0f0; }
.bulletin-tag.tag-general  { background: rgba(50, 50, 50, 0.8);  color: #c0c0c0; }
.bulletin-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--text-bright);
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.3;
}
.bulletin-body {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}
.bulletin-body:last-child { margin-bottom: 0; }
.bulletin-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bulletin-list li {
  font-size: 14px;
  color: var(--text-body);
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}
.bulletin-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--signal-amber);
  font-size: 11px;
  top: 3px;
}
@media (max-width: 600px) {
  .update-bulletin { padding: 24px 20px; }
  .bulletin-body { font-size: 14px; }
  .bulletin-list li { font-size: 13px; }
  .bulletin-title { font-size: 18px; }
}

/* ═══════ FOTCH PAGE ═══════ */
.fotch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
a.fotch-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(100, 130, 160, 0.2);
  background: rgba(12, 20, 32, 0.5);
  padding: 24px 28px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
a.fotch-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--signal-amber), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
a.fotch-card:hover {
  border-color: rgba(212, 162, 68, 0.4);
  background: rgba(16, 28, 48, 0.7);
  transform: translateY(-2px);
}
a.fotch-card:hover::before {
  opacity: 1;
}
.fotch-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212, 162, 68, 0.35);
}
.fotch-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fotch-info {
  flex: 1;
  min-width: 0;
}
.fotch-name {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.fotch-desc {
  font-size: 13px;
  color: var(--fog);
  line-height: 1.6;
}
.fotch-arrow {
  font-size: 18px;
  color: var(--signal-amber);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
a.fotch-card:hover .fotch-arrow {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 900px) {
  .fotch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fotch-name { font-size: 14px; letter-spacing: 1px; }
  a.fotch-card { padding: 18px 20px; gap: 14px; }
}

/* ═══════ COMMANDS PAGE ═══════ */
.cmd-table {
  margin-top: 48px;
  border: 1px solid rgba(100, 130, 160, 0.2);
  background: rgba(12, 20, 32, 0.4);
  overflow: hidden;
}
.cmd-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: start;
  gap: 0;
  border-bottom: 1px solid rgba(100, 130, 160, 0.12);
  transition: background 0.15s;
}
.cmd-row:last-child { border-bottom: none; }
.cmd-row:hover { background: rgba(20, 35, 55, 0.6); }
.cmd-cell {
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.65;
}
.cmd-cell--syntax {
  border-right: 1px solid rgba(100, 130, 160, 0.12);
  background: rgba(8, 16, 28, 0.3);
}
.cmd-cell--syntax code {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--signal-amber);
  display: block;
  line-height: 1.8;
}
.cmd-cell--desc {
  color: var(--text-body);
}
.cmd-cell--desc code {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--fog);
  background: rgba(100, 130, 160, 0.1);
  padding: 1px 5px;
  border-radius: 2px;
}
.cmd-cell--tags {
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.cmd-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  white-space: nowrap;
}
.cmd-tag--general  { background: rgba(50,70,90,0.6);    color: #90b0c8; border: 1px solid rgba(90,120,150,0.3); }
.cmd-tag--admin    { background: rgba(100,50,20,0.6);   color: #e8a060; border: 1px solid rgba(180,100,40,0.3); }
.cmd-tag--combat   { background: rgba(100,20,20,0.6);   color: #e87070; border: 1px solid rgba(160,40,40,0.3); }
.cmd-tag--nav      { background: rgba(20,60,100,0.6);   color: #70b0e8; border: 1px solid rgba(40,90,150,0.3); }
.cmd-tag--axis     { background: rgba(60,50,10,0.6);    color: #d4c060; border: 1px solid rgba(140,120,30,0.3); }
@media (max-width: 900px) {
  .cmd-row { grid-template-columns: 1fr; }
  .cmd-cell--syntax {
    border-right: none;
    border-bottom: 1px solid rgba(100, 130, 160, 0.12);
    background: rgba(8, 16, 28, 0.5);
  }
  .cmd-cell--tags { padding: 0 20px 16px; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .cmd-cell { padding: 14px 16px; }
  .cmd-cell--syntax code { font-size: 12px; }
  .cmd-cell--desc { font-size: 13px; }
}
