/* ==========================================================================
   $LONGBOY // PROJECT LUNAR SNOUT — WARM CARTOON NEO-BRUTALIST SYSTEM
   Warm, friendly, tactile retro-pop arcade aesthetic:
   - Soft Cream / Vanilla Milk background: #FAF5EB / #FFFDF8
   - Deep Crisp Ink outlines: 3px solid #141218
   - Tactile 3D Comic Block Drop Shadows: 5px 5px 0 #141218
   - Dynamic Brand Colors (Fresh & distinct from generic orange):
     * Electric Royal Cobalt: #3B50FF / #2F3EE0
     * Sunny Buttercup Gold: #FFD166 / #FFC300
     * Warm Candy Coral: #FF5252 / #FF6B6B
     * Fresh Mint Pistachio: #06D6A0 / #05B385
     * Retro Pastel Lavender: #C77DFF / #9D4EDD
   ========================================================================== */

:root {
  --bg-cream: #FAF5EB;
  --bg-cream-card: #FFFFFF;
  --bg-cream-alt: #F3ECE1;
  --bg-card-hover: #FFF9ED;

  --ink: #141218;
  --ink-light: #4A4654;
  --ink-dim: #7C7789;

  --blue: #3B50FF;
  --blue-dark: #2334D9;
  --blue-light: #EEF2FF;
  
  --yellow: #FFD166;
  --yellow-dark: #F5B700;
  --yellow-pale: #FFF7DF;

  --coral: #FF5252;
  --coral-pale: #FFE8E8;

  --mint: #06D6A0;
  --mint-pale: #E6FBF5;

  --purple: #9D4EDD;
  --purple-pale: #F5E8FF;

  --border-thick: 3px solid var(--ink);
  --border-heavy: 4px solid var(--ink);
  --border-thin: 2px solid var(--ink);

  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-md: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-flat: 1px 1px 0 var(--ink);

  --font-display: 'Fredoka', -apple-system, sans-serif;
  --font-head: 'Space Grotesk', -apple-system, sans-serif;
  --font-ui: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --ease-tactile: 0.14s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-family: var(--font-ui);
  background-color: var(--bg-cream);
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-cream);
  background-image: radial-gradient(rgba(20, 18, 24, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP ORBITAL TELEMETRY RIBBON
   ========================================================================== */
.orbital-ribbon {
  background: var(--blue);
  color: #FFFFFF;
  border-bottom: var(--border-thick);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  overflow: hidden;
}

.ribbon-inner {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
}

.ribbon-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding-right: 18px;
  border-right: 2px solid rgba(255, 255, 255, 0.25);
}

.pulse-lime {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px #FFFFFF;
  animation: pulseBeacon 1.2s ease-in-out infinite;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.ribbon-sep {
  opacity: 0.6;
}

.ribbon-scroll {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 16px;
}

.scroll-track {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeRibbon 32s linear infinite;
  letter-spacing: 0.05em;
  font-weight: 700;
}

@keyframes marqueeRibbon {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ribbon-status {
  padding-left: 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.25);
}

.status-pill-lime {
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   CYBER COMMAND NAVBAR (WARM RETRO-POP BRUTALISM)
   ========================================================================== */
.cyber-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 245, 235, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-thick);
  padding: 12px 24px;
}

.header-box {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-emblem {
  width: 46px;
  height: 46px;
  background: var(--yellow);
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transform: rotate(-3deg);
  transition: transform var(--ease-tactile);
}

.brand-link:hover .brand-emblem {
  transform: rotate(4deg) scale(1.08);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-code {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
}

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

.nav-btn {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: all var(--ease-tactile);
}

.nav-btn:hover {
  background: #FFFFFF;
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.nav-btn.active {
  background: var(--yellow-pale);
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

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

.cyber-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ease-tactile);
}

.cyber-pill:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-md);
}

.cyber-pill:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-flat);
}

.sfx-toggle {
  background: var(--purple-pale);
  color: var(--purple);
}

.ca-pill {
  background: #FFFFFF;
}

.ca-tag {
  color: var(--ink-dim);
}

.ca-val {
  color: var(--ink);
  font-weight: 900;
}

.badge-soon {
  background: var(--coral);
  color: #FFFFFF;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.x-link {
  background: #FFFFFF;
  color: var(--ink);
}

.btn-launch-lime {
  background: var(--blue);
  color: #FFFFFF;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 900;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--ease-tactile);
  display: inline-flex;
  align-items: center;
}

.btn-launch-lime:hover {
  background: var(--blue-dark);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

.btn-launch-lime:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-flat);
}

/* ==========================================================================
   HERO STAGE (WARM PLAYFUL THEATRE)
   ========================================================================== */
.hero-stage {
  padding: 70px 0 45px;
  position: relative;
  text-align: center;
}

.hero-center-container {
  max-width: 920px;
  margin: 0 auto;
}

.hero-chip-row {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.cyber-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.chip-dot {
  width: 10px;
  height: 10px;
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.chip-sep {
  color: var(--ink-dim);
}

.text-lime {
  color: var(--blue);
}

.neon-glow-lime {
  color: var(--blue);
  text-decoration: underline wavy var(--yellow) 4px;
}

.dot-violet {
  color: var(--coral);
}

.dot-lime {
  color: var(--yellow-dark);
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero-subtext {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-light);
  max-width: 720px;
  margin: 0 auto 34px;
  font-weight: 600;
}

.hero-subtext strong {
  color: var(--ink);
  font-weight: 800;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.btn-hero-lime {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--yellow);
  color: var(--ink);
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 900;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--ease-tactile);
}

.btn-hero-lime:hover {
  background: #FFE082;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn-hero-lime:active {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-sm);
}

.btn-hero-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--ease-tactile);
}

.btn-hero-glass:hover {
  background: var(--bg-cream-alt);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn-hero-glass:active {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-sm);
}

/* Hero Metrics Strip (Warm Cartoon Blocks) */
.flight-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #FFFFFF;
  border: var(--border-heavy);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  border-radius: var(--radius-lg);
}

.metric-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 12px;
  border-right: 2px dashed rgba(20, 18, 24, 0.15);
}

.metric-block:last-child {
  border-right: none;
}

.m-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.m-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.m-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-light);
  margin-top: 4px;
}

.text-cyan {
  color: var(--blue);
}

.text-pink {
  color: var(--coral);
}

.text-purple {
  color: var(--purple);
}

.text-white {
  color: var(--ink);
}

/* ==========================================================================
   MISSION CONTROL SECTION (3-COLUMN COCKPIT CONSOLE)
   ========================================================================== */
.mission-section {
  padding: 60px 0 80px;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 40px;
}

.section-tag-lime {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--ink);
  background: var(--yellow);
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-tag-violet {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--ink);
  background: var(--purple-pale);
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-caption {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.6;
  font-weight: 600;
}

/* Cockpit Grid */
.cockpit-console {
  display: grid;
  grid-template-columns: 290px 1fr 290px;
  gap: 22px;
  align-items: start;
}

.cockpit-panel {
  background: #FFFFFF;
  border: var(--border-heavy);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px dashed rgba(20, 18, 24, 0.2);
  margin-bottom: 16px;
}

.panel-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.panel-badge-live {
  background: var(--mint-pale);
  color: var(--mint);
  border: 2px solid var(--mint);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.panel-badge-cyan {
  background: var(--blue-light);
  color: var(--blue);
  border: 2px solid var(--blue);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

/* Atmospheric Radar Barometer */
.atmosphere-radar-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.atmo-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-cream-alt);
  border: 2px solid transparent;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  transition: all var(--ease-tactile);
}

.atmo-step.active {
  background: var(--yellow-pale);
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.atmo-step.active .atmo-name {
  color: var(--ink);
  font-weight: 900;
}

.atmo-icon {
  font-size: 1.4rem;
}

.atmo-meta {
  display: flex;
  flex-direction: column;
}

.atmo-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
}

.atmo-alt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-dim);
}

/* Sub-Cards inside Cockpit Panels */
.cockpit-sub-card {
  background: var(--bg-cream-alt);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  padding: 16px;
}

.sub-title {
  display: block;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.control-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0 var(--ink);
}

.c-key {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--blue);
}

.c-desc {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-light);
}

/* CENTER PANEL: FLIGHT ARENA (THE GAME VIEWPORT) */
.panel-center {
  background: #FFFFFF;
  border: var(--border-heavy);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  position: relative;
}

.flight-hud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: var(--yellow-pale);
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.hud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.h-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.h-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
}

/* Viewport Cabinet */
.viewport-cabinet {
  position: relative;
  width: 100%;
  height: 520px;
  background: #BEE3F8;
  border: var(--border-heavy);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 20px rgba(20, 18, 24, 0.15);
  overflow: hidden;
}

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

/* Supersonic Banner */
.sonic-boom-banner {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-60px);
  background: var(--coral);
  color: #FFFFFF;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 50;
  white-space: nowrap;
}

.sonic-boom-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Vertical Gauge */
.flight-gauge {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  width: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 40;
}

.f-pin-moon, .f-pin-earth {
  font-size: 1.2rem;
  filter: drop-shadow(1px 1px 0 var(--ink));
}

.f-track {
  position: relative;
  flex: 1;
  width: 10px;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  box-shadow: 1px 1px 0 var(--ink);
  border-radius: var(--radius-pill);
  margin: 6px 0;
}

.f-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--yellow);
  border-radius: var(--radius-pill);
  transition: height 0.1s linear;
}

.f-snout-marker {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, 50%);
  font-size: 1.3rem;
  transition: bottom 0.1s linear;
}

/* Overlay Card (Playful Warm Modal) */
.flight-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 24, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.flight-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.overlay-glass-card {
  max-width: 440px;
  width: 100%;
  background: #FFFFFF;
  border: var(--border-heavy);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
}

.overlay-graphic {
  font-size: 3.8rem;
  margin-bottom: 10px;
  animation: floatEmoji 2s ease-in-out infinite;
}

@keyframes floatEmoji {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.overlay-head {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}

.overlay-body {
  font-size: 0.96rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 600;
}

.overlay-btn-group {
  margin-bottom: 18px;
}

.btn-start-launch {
  width: 100%;
  background: var(--yellow);
  color: var(--ink);
  border: var(--border-heavy);
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 900;
  padding: 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--ease-tactile);
}

.btn-start-launch:hover {
  background: #FFE082;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn-start-launch:active {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-sm);
}

.record-badge {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink-dim);
}

.record-badge strong {
  color: var(--blue);
}

/* Cockpit Touchpad (Mobile) */
.cockpit-touchpad {
  display: none;
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  gap: 8px;
  z-index: 45;
}

.t-btn {
  flex: 1;
  background: #FFFFFF;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 12px 6px;
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
}

.t-btn.t-boost {
  background: var(--yellow);
}

/* RIGHT PANEL: MANIFEST */
.manifest-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.manifest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-cream-alt);
  border: 2px solid transparent;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  transition: all var(--ease-tactile);
}

.manifest-item:hover {
  background: #FFFFFF;
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  transform: translateX(-2px);
}

.manifest-item.hazard {
  background: var(--coral-pale);
}

.m-icon {
  font-size: 1.4rem;
}

.m-info {
  display: flex;
  flex-direction: column;
}

.m-name {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 900;
  color: var(--ink);
}

.m-effect {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-dim);
}

.black-box-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(20, 18, 24, 0.15);
}

.black-box-row:last-child {
  border-bottom: none;
}

.bb-lbl {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-dim);
}

.bb-val {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--ink);
}

/* ==========================================================================
   MISSION DOSSIER (LORE)
   ========================================================================== */
.dossier-section {
  padding: 80px 0;
  border-top: var(--border-thick);
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.dossier-card {
  background: #FFFFFF;
  border: var(--border-heavy);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all var(--ease-tactile);
}

.dossier-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--ink);
}

.dossier-card.card-glow-lime {
  background: var(--yellow-pale);
}

.dossier-stamp {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.dossier-h {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.dossier-p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-light);
  font-weight: 600;
}

/* ==========================================================================
   FLIGHT PAYLOAD (TOKENOMICS)
   ========================================================================== */
.payload-section {
  padding: 80px 0;
  border-top: var(--border-thick);
}

.payload-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.payload-card {
  background: #FFFFFF;
  border: var(--border-heavy);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all var(--ease-tactile);
}

.payload-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--ink);
}

.payload-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.p-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.p-badge {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 900;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.p-name {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.p-desc {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.5;
  font-weight: 600;
}

/* ==========================================================================
   DISPATCH BANNER (COMMUNITY CALL TO ACTION)
   ========================================================================== */
.dispatch-banner {
  padding: 50px 0 80px;
}

.dispatch-box {
  background: var(--blue);
  color: #FFFFFF;
  border: var(--border-heavy);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.dispatch-left {
  max-width: 600px;
}

.dispatch-tag {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

.dispatch-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.dispatch-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-weight: 600;
}

.dispatch-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
}

.btn-dispatch-x {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: var(--ink);
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--ease-tactile);
}

.btn-dispatch-x:hover {
  background: var(--yellow);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

.btn-dispatch-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--ease-tactile);
}

.btn-dispatch-play:hover {
  background: #FFE082;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   CYBER FOOTER
   ========================================================================== */
.cyber-footer {
  border-top: var(--border-thick);
  padding: 36px 0;
  background: #FFFFFF;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.f-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.f-disclaimer {
  font-size: 0.82rem;
  color: var(--ink-dim);
  max-width: 500px;
  line-height: 1.5;
  font-weight: 600;
}

.f-right {
  display: flex;
  gap: 20px;
}

.f-link {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--ease-tactile);
}

.f-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

/* Toast */
.cyber-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #FFFFFF;
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  pointer-events: none;
}

.cyber-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .cockpit-console {
    grid-template-columns: 1fr;
  }
  .panel-left, .panel-right {
    order: 2;
  }
  .panel-center {
    order: 1;
  }
  .payload-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dossier-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .center-nav {
    display: none;
  }
  .flight-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .metric-block:nth-child(2) {
    border-right: none;
  }
  .dispatch-box {
    flex-direction: column;
    padding: 30px 24px;
    text-align: center;
  }
  .dispatch-actions {
    width: 100%;
  }
  .cockpit-touchpad {
    display: flex;
  }
}
