/* Solvara Prime Star System - Main Stylesheet */
:root {
  /* Core Colors from Design System */
  --core-mint: #89CFC0;
  --core-copper: #D8A48F;
  --core-navy: #0F3460;
  --core-black: #0A0A0A;
  --core-offwhite: #F5F5F5;
  --core-gray: #333333;
  
  /* Extended Palette */
  --palette-charcoal: #292929;
  --palette-rust: #B46060;
  --palette-darkgreen: #2B4141;
  
  /* Legacy mappings */
  --primary: #89CFC0;
  --secondary: #D8A48F; /* Changed to copper */
  --tertiary: #2B4141;
  --background: #0A0A0A; /* Using design system black */
  --background-glow: rgba(43, 65, 65, 0.3);
  --grid: rgba(137, 207, 192, 0.08);
  --grid-highlight: rgba(137, 207, 192, 0.15);
  --text: #F5F5F5; /* Changed to offwhite */
  --text-glow: 0 0 8px rgba(137, 207, 192, 0.7);
  --star-color: #e0e6ff;
  --star-glow: rgba(222, 230, 255, 0.8);
  --star-core: rgba(255, 255, 255, 0.95);
  --galaxy-color: #89CFC0;
  --galaxy-glow: rgba(137, 207, 192, 0.3);
  --nebula-color-1: rgba(137, 207, 192, 0.01);
  --nebula-color-2: rgba(216, 164, 143, 0.01); /* Changed to copper tint */
  --nebula-color-3: rgba(15, 52, 96, 0.01);
  --dust-color-1: rgba(255, 255, 255, 0.02);
  --dust-color-2: rgba(137, 207, 192, 0.02);
  --anomaly-glow: rgba(137, 207, 192, 0.2);
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Courier New', monospace;
  background-color: var(--core-black);
  color: var(--core-offwhite);
  height: 100vh;
  scroll-behavior: smooth;
}

html {
  overflow-y: auto;
  scroll-padding-top: 80px;
}

.hero-page {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.screen {
  position: relative;
  height: 100vh;
  width: 100vw;
  background: #000000;
  background-image:
    /* Bright stars */
    radial-gradient(2px 2px at 10% 15%, white, transparent),
    radial-gradient(1px 1px at 22% 8%, #fff9e6, transparent),
    radial-gradient(2px 2px at 35% 25%, white, transparent),
    radial-gradient(1px 1px at 48% 12%, #e6f3ff, transparent),
    radial-gradient(3px 3px at 62% 35%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 75% 45%, white, transparent),
    radial-gradient(2px 2px at 88% 20%, #fff9e6, transparent),
    radial-gradient(1px 1px at 95% 55%, white, transparent),
    radial-gradient(2px 2px at 15% 65%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 28% 75%, white, transparent),
    radial-gradient(3px 3px at 42% 88%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 55% 92%, white, transparent),
    radial-gradient(2px 2px at 68% 78%, #fff9e6, transparent),
    radial-gradient(1px 1px at 82% 85%, white, transparent),
    radial-gradient(2px 2px at 92% 72%, #e6f3ff, transparent),
    /* Medium stars */
    radial-gradient(1px 1px at 5% 40%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 18% 30%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 30% 50%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 45% 70%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 58% 60%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 85% 30%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 97% 65%, rgba(255, 255, 255, 0.7), transparent),
    /* Dim stars */
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 25% 35%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 38% 48%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 52% 58%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 65% 68%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 78% 82%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 90% 95%, rgba(255, 255, 255, 0.4), transparent),
    /* Nebula clouds with navy blue tints */
    radial-gradient(ellipse 600px 300px at 20% 40%, rgba(30, 42, 58, 0.15), transparent),
    radial-gradient(ellipse 500px 400px at 70% 60%, rgba(36, 52, 71, 0.12), transparent),
    radial-gradient(ellipse 700px 350px at 90% 20%, rgba(26, 38, 55, 0.1), transparent),
    radial-gradient(ellipse 400px 600px at 10% 80%, rgba(46, 66, 91, 0.08), transparent),
    /* Galaxy glow */
    radial-gradient(ellipse 800px 200px at 50% 80%, rgba(255, 255, 255, 0.03), transparent);
  overflow: hidden;
}

/* Dense star field layer with active twinkling */
.screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 3% 7%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 8% 13%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 14% 19%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 19% 26%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 24% 32%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 29% 38%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 34% 44%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 39% 51%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 44% 57%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 49% 63%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 54% 69%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 59% 76%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 64% 82%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 69% 88%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 74% 94%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 79% 11%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 84% 17%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 89% 23%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 94% 29%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 99% 36%, rgba(255, 255, 255, 0.6), transparent);
  z-index: 1;
  animation: intense-twinkle 1.5s linear infinite;
}

/* Cosmic Elements */
.cosmic-dust {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    /* Fewer, more subtle stars */
    radial-gradient(2px 2px at 10% 10%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 90% 90%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 50% 50%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 30% 70%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 70% 30%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 5% 45%, rgba(255, 250, 205, 0.6), transparent),
    radial-gradient(1px 1px at 95% 55%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 40% 15%, rgba(173, 216, 230, 0.7), transparent),
    radial-gradient(1px 1px at 60% 85%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 80% 65%, rgba(255, 255, 255, 0.7), transparent);
  opacity: 0.9;
  animation: cosmic-drift 90s linear infinite;
}

.galaxy-swirl {
  position: absolute;
  width: 1000px;
  height: 800px;
  top: 10%;
  right: -300px;
  background: 
    radial-gradient(ellipse at 30% 40%, rgba(147, 39, 143, 0.03) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 60%, rgba(39, 62, 147, 0.02) 10%, transparent 50%),
    radial-gradient(ellipse at center, rgba(255, 105, 180, 0.015) 0%, transparent 70%);
  transform: rotate(25deg);
  filter: blur(3px);
  animation: galaxy-rotation 120s linear infinite;
  mix-blend-mode: screen;
}

.nebula-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: nebula-pulse 20s ease-in-out infinite;
  mix-blend-mode: screen;
}

.nebula-1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, 
    rgba(30, 42, 58, 0.08) 0%, 
    rgba(46, 66, 91, 0.05) 50%, 
    transparent 100%);
  bottom: 20%;
  left: -100px;
}

.nebula-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, 
    rgba(36, 52, 71, 0.06) 0%, 
    rgba(26, 38, 55, 0.03) 50%, 
    transparent 100%);
  top: 30%;
  right: 10%;
  animation-delay: -10s;
}

.asteroid {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #8a8a8a;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

.asteroid-1 {
  top: 40%;
  left: 10%;
  animation: asteroid-drift 30s linear infinite;
}

.asteroid-2 {
  top: 60%;
  right: 20%;
  animation: asteroid-drift 45s linear infinite reverse;
}

@keyframes cosmic-drift {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-50px) translateY(-30px); }
}

@keyframes galaxy-rotation {
  0% { transform: rotate(25deg) scale(1); }
  50% { transform: rotate(205deg) scale(1.1); }
  100% { transform: rotate(385deg) scale(1); }
}

@keyframes nebula-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Deep Space Elements */
.deep-space-galaxy {
  position: absolute;
  width: 1600px;
  height: 1600px;
  top: -40%;
  left: -30%;
  background: 
    radial-gradient(circle at 40% 40%, rgba(147, 39, 143, 0.025) 0%, transparent 30%),
    radial-gradient(circle at 60% 60%, rgba(39, 62, 147, 0.02) 0%, transparent 35%),
    radial-gradient(circle at center, rgba(255, 20, 147, 0.01) 0%, transparent 50%);
  transform: rotate(-45deg);
  filter: blur(12px);
  animation: slow-spin 500s linear infinite;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 0.3;
}

.galaxy-swirl-2 {
  position: absolute;
  width: 1000px;
  height: 800px;
  bottom: 0%;
  left: -300px;
  background: 
    radial-gradient(ellipse at 40% 30%, rgba(30, 144, 255, 0.02) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 70%, rgba(255, 105, 180, 0.015) 0%, transparent 50%);
  transform: rotate(-30deg);
  filter: blur(7px);
  animation: galaxy-rotation 250s linear infinite reverse;
  mix-blend-mode: screen;
  opacity: 0.4;
}

.star-cluster {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 30%;
  right: 5%;
  background: 
    radial-gradient(4px 4px at 40% 40%, white, transparent),
    radial-gradient(3px 3px at 45% 35%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(4px 4px at 35% 45%, rgba(255, 250, 205, 1), transparent),
    radial-gradient(3px 3px at 50% 50%, white, transparent),
    radial-gradient(4px 4px at 55% 45%, rgba(255, 255, 255, 1), transparent),
    radial-gradient(3px 3px at 45% 55%, rgba(173, 216, 230, 0.95), transparent),
    radial-gradient(4px 4px at 60% 40%, rgba(255, 250, 205, 0.95), transparent),
    radial-gradient(3px 3px at 40% 60%, white, transparent),
    radial-gradient(4px 4px at 30% 50%, rgba(255, 228, 196, 0.9), transparent),
    radial-gradient(3px 3px at 65% 55%, white, transparent),
    radial-gradient(4px 4px at 52% 38%, rgba(255, 192, 203, 0.9), transparent),
    radial-gradient(3px 3px at 43% 62%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(circle at center, rgba(135, 206, 235, 0.05) 0%, transparent 60%);
  animation: cluster-twinkle 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes slow-spin {
  from { transform: rotate(-45deg); }
  to { transform: rotate(315deg); }
}

@keyframes cluster-twinkle {
  0%, 100% { 
    opacity: 0.9; 
    transform: scale(1);
    filter: brightness(1);
  }
  50% { 
    opacity: 1; 
    transform: scale(1.1);
    filter: brightness(1.2);
  }
}

@keyframes asteroid-drift {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(200px) translateY(-100px); }
}

@keyframes intense-twinkle {
  0%, 100% { opacity: 1; }
  10% { opacity: 0.3; }
  20% { opacity: 0.9; }
  30% { opacity: 0.4; }
  40% { opacity: 1; }
  50% { opacity: 0.5; }
  60% { opacity: 0.95; }
  70% { opacity: 0.35; }
  80% { opacity: 0.85; }
  90% { opacity: 0.6; }
}

/* Enhanced shooting stars */
.shooting-star-4 {
  top: 15%;
  left: 60%;
  animation-delay: 7s;
  animation-duration: 4s;
}

.shooting-star-5 {
  top: 80%;
  left: 10%;
  animation-delay: 9s;
  animation-duration: 5.5s;
}

/* Add twinkling stars overlay - more prominent */
.screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 7% 15%, white, transparent),
    radial-gradient(1px 1px at 23% 28%, white, transparent),
    radial-gradient(2px 2px at 41% 55%, white, transparent),
    radial-gradient(1px 1px at 67% 73%, white, transparent),
    radial-gradient(2px 2px at 83% 41%, white, transparent);
  animation: rapid-twinkle 0.8s linear infinite;
  opacity: 0;
  z-index: 2;
}

@keyframes rapid-twinkle {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.7; }
}

/* Extra twinkling layer */
.cosmic-dust::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 15% 25%, white, transparent),
    radial-gradient(1px 1px at 85% 15%, white, transparent),
    radial-gradient(2px 2px at 65% 45%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 35% 75%, white, transparent),
    radial-gradient(3px 3px at 90% 65%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 25% 85%, white, transparent),
    radial-gradient(2px 2px at 55% 20%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 45% 95%, white, transparent),
    radial-gradient(2px 2px at 12% 42%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 78% 38%, white, transparent),
    radial-gradient(3px 3px at 92% 82%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 5% 68%, white, transparent),
    radial-gradient(2px 2px at 48% 12%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 72% 58%, white, transparent),
    radial-gradient(2px 2px at 38% 88%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 62% 5%, white, transparent),
    radial-gradient(3px 3px at 28% 35%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 82% 72%, white, transparent),
    radial-gradient(2px 2px at 18% 92%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 58% 28%, white, transparent),
    radial-gradient(2px 2px at 8% 18%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 95% 48%, white, transparent),
    radial-gradient(3px 3px at 42% 62%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 68% 95%, white, transparent),
    radial-gradient(2px 2px at 22% 8%, rgba(255, 255, 255, 0.9), transparent);
  animation: star-shimmer 3s ease-in-out infinite;
  z-index: 1;
  opacity: 1;
}

@keyframes nebula-drift {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 2% 1%;
  }
  50% {
    background-position: 1% 2%;
  }
  75% {
    background-position: -1% 1%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 10;
  animation: scanline 10s linear infinite;
}

@keyframes scanline {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100vh);
  }
}

.crt-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 
    inset 0 0 100px rgba(0, 255, 255, 0.2),
    inset 0 0 40px rgba(0, 0, 20, 0.4);
  background-image: 
    linear-gradient(175deg, rgba(0, 255, 255, 0.03) 0%, transparent 40%),
    radial-gradient(ellipse at top, rgba(100, 220, 255, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 9;
  animation: crt-flicker 8s infinite alternate;
  opacity: 0.95;
}

@keyframes crt-flicker {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.97; }
  75% { opacity: 0.93; }
  82% { opacity: 0.95; }
  85% { opacity: 0.9; }
  87% { opacity: 0.95; }
}

.grid-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(20, 1fr);
}

.grid-line {
  border: 0.5px solid var(--grid);
  transition: border-color 3s ease-in-out;
}

.grid-line:nth-child(7n+1):hover,
.grid-line:nth-child(13n+3):hover {
  border-color: var(--grid-highlight);
  transition: border-color 0.2s ease-in-out;
}

@keyframes grid-pulse {
  0%, 100% {
    border-color: var(--grid);
  }
  50% {
    border-color: var(--grid-highlight);
  }
}

.coordinates-display {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(137, 207, 192, 0.3);
  padding: 10px;
  font-size: 12px;
  color: rgba(137, 207, 192, 0.6);
  z-index: 10000;
  display: none; /* Hidden for now */
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.coordinates-title {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 5px;
}

/* Navigation Instructions */
.nav-instructions {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background-color: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(137, 207, 192, 0.3);
  padding: 15px 20px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  z-index: 100;
  color: var(--core-offwhite);
  display: none;
}

.nav-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: none;
  color: var(--core-mint);
  font-size: 20px;
  line-height: 20px;
  width: 20px;
  height: 20px;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.nav-close:hover {
  opacity: 1;
}

.nav-title {
  color: var(--core-mint);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-align: center;
  opacity: 0.8;
  width: 100%;
}

.nav-keys {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: 10px 0;
}

.key-row-top {
  display: flex;
  justify-content: center;
  margin-bottom: 3px;
}

.key-row-bottom {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.key {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: rgba(137, 207, 192, 0.1);
  border: 1px solid var(--core-mint);
  color: var(--core-mint);
  font-size: 11px;
  font-weight: bold;
  border-radius: 3px;
}


.nav-hint {
  margin-top: 10px;
  font-size: 9px;
  color: var(--core-mint);
  opacity: 0.5;
  text-align: center;
  letter-spacing: 1px;
}

/* Hide on mobile */
@media (max-width: 768px) {
  .nav-instructions {
    display: none;
  }
}

.location-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 18px;
  color: var(--primary);
  text-shadow: 0 0 5px var(--primary);
  z-index: 5;
}

.axis-labels {
  position: absolute;
  pointer-events: none;
  color: var(--grid-highlight);
  font-size: 12px;
  opacity: 0.7;
}

.x-labels {
  bottom: 5px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.y-labels {
  top: 0;
  bottom: 0;
  left: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0;
}

/* Orbital paths */
.orbital-path {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--grid-highlight);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: orbit-pulse 15s infinite alternate ease-in-out;
}

@keyframes orbit-pulse {
  0%, 100% {
    border-color: var(--grid-highlight);
    opacity: 0.8;
  }
  50% {
    border-color: rgba(100, 180, 255, 0.2);
    opacity: 0.5;
  }
}

.orbit-inner {
  border-color: rgba(46, 134, 222, 0.3);
  width: 400px;
  height: 320px;
  transform: translate(-50%, -50%) rotate(15deg);
}

.orbit-mid {
  border-color: rgba(126, 87, 194, 0.3);
  width: 680px;
  height: 560px;
  transform: translate(-50%, -50%) rotate(-10deg);
}

.orbit-outer {
  border-color: rgba(211, 47, 47, 0.3);
  width: 900px;
  height: 720px;
  transform: translate(-50%, -50%) rotate(25deg);
}

.planet-label {
  display: none !important; /* Force hiding of all planet labels */
}

.star-label {
  position: absolute;
  color: var(--primary);
  font-size: 14px;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
  display: none !important; /* Force hide the star label */
  text-shadow: 0 0 5px var(--primary);
  top: 30%;
  left: 70%;
  opacity: 0 !important; /* Additional measure to hide it */
  visibility: hidden !important; /* Triple ensure it's hidden */
}

.star {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at center, 
    rgba(255, 255, 255, 0.95) 15%, /* Whiter core for white dwarf */
    rgba(240, 248, 255, 0.7) 45%, /* Pale blue-white */
    rgba(224, 230, 255, 0.5) 75%,
    rgba(220, 225, 235, 0.3) 90%);
  box-shadow: 
    0 0 25px rgba(224, 230, 255, 0.7), 
    0 0 50px rgba(200, 210, 255, 0.5),
    0 0 90px rgba(100, 140, 255, 0.2); /* More glow, but still dormant */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px; /* Back to original size */
  height: 65px;
  z-index: 3;
  cursor: pointer;
  animation: pulse-dormant-star 8s infinite ease-in-out; /* Slower pulse */
  filter: blur(0.4px);
}

/* Star logo removed - using hero-logo instead */

.star::before {
  content: "";
  position: absolute;
  width: 130%;
  height: 130%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  background: linear-gradient(90deg, transparent 35%, rgba(224, 230, 255, 0.4) 50%, transparent 65%);
  border-radius: 50%;
  opacity: 0.15;
  animation: dormant-flare 25s infinite linear; /* Compromise on rotation speed */
  pointer-events: none;
}

.star::after {
  content: "";
  position: absolute;
  width: 85px;
  height: 85px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 0 15px 5px rgba(224, 230, 255, 0.1);
  opacity: 0.4;
  animation: dormant-corona-pulse 10s infinite alternate ease-in-out; /* Slightly faster pulse */
}

@keyframes dormant-flare {
  0% { transform: translate(-50%, -50%) rotate(0deg); opacity: 0.1; }
  25% { opacity: 0.15; }
  50% { opacity: 0.08; }
  75% { opacity: 0.12; }
  100% { transform: translate(-50%, -50%) rotate(360deg); opacity: 0.1; }
}

@keyframes dormant-corona-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  25% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.35; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.45; }
  75% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.4; }
}

@keyframes pulse-dormant-star {
  0%, 30%, 70%, 100% {
    box-shadow: 
      0 0 25px rgba(224, 230, 255, 0.7), 
      0 0 50px rgba(200, 210, 255, 0.5),
      0 0 90px rgba(100, 140, 255, 0.2);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.85;
  }
  5%, 35%, 65%, 95% {
    box-shadow: 
      0 0 28px rgba(224, 230, 255, 0.75), 
      0 0 55px rgba(200, 210, 255, 0.55),
      0 0 95px rgba(100, 140, 255, 0.25);
    transform: translate(-50%, -50%) scale(1.01);
    opacity: 0.9;
  }
  50% {
    box-shadow: 
      0 0 32px rgba(224, 230, 255, 0.8), 
      0 0 60px rgba(200, 210, 255, 0.6),
      0 0 100px rgba(100, 140, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.02);
    opacity: 0.95;
  }
}

.planet {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 0 13px currentColor, 0 0 20px rgba(0, 0, 0, 0.6);
  animation: planet-pulse 6s infinite alternate;
  z-index: 3;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.planet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(255, 255, 255, 0.3) 0%, 
    transparent 40%);
  opacity: 0.4;
  z-index: 2;
  pointer-events: none;
}

.planet::after {
  content: "";
  position: absolute;
  top: -25%;
  left: -25%;
  right: -25%;
  bottom: -25%;
  border-radius: 50%;
  background: transparent;
  border: 1px solid currentColor;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease-out, transform 0.5s ease-out;
  pointer-events: none;
}

.planet:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 20px currentColor, 0 0 30px rgba(255, 255, 255, 0.2);
  z-index: 5;
}

.planet:hover::after {
  opacity: 0.2;
  transform: scale(1) rotate(15deg);
  animation: atmosphere-spin 10s linear infinite;
}

@keyframes atmosphere-spin {
  0% {
    transform: scale(1) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

@keyframes planet-pulse {
  0%, 90% {
    box-shadow: 0 0 13px currentColor, 0 0 20px rgba(0, 0, 0, 0.6);
  }
  95% {
    box-shadow: 0 0 15px currentColor, 0 0 25px rgba(0, 0, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 18px currentColor, 0 0 30px rgba(0, 0, 0, 0.4);
  }
}

.planet-volcanic {
  width: 23px;  /* 18px + 30% */
  height: 23px; /* 18px + 30% */
  background-color: #d32f2f;
  color: #d32f2f;
  border: 1px solid #ff5252;
}

.planet-rocky {
  width: 26px;  /* 20px + 30% */
  height: 26px; /* 20px + 30% */
  background-color: #d4ba6a; /* Golden flora */
  color: #9c81ba; /* Lavender skies */
  border: 1px solid #e6d4a3;
  box-shadow: 0 0 13px #9c81ba, 0 0 20px rgba(0, 0, 0, 0.6);
}

.planet-water {
  width: 31px;  /* 24px + 30% */
  height: 31px; /* 24px + 30% */
  background-color: #009688;
  color: #009688;
  border: 1px solid #4db6ac;
}

.planet-home {
  width: 39px;  /* 30px + 30% */
  height: 39px; /* 30px + 30% */
  background-color: #0d47a1;
  color: #0d47a1;
  border: 1px solid #1565c0;
  box-shadow: 0 0 15px rgba(13, 71, 161, 0.6);
}

/* Size for mid and outer sector planets */
.planet.sector2 {
  width: 26px;  /* Similar to rocky planet */
  height: 26px;
  background-color: #7e57c2;
  color: #7e57c2;
  border: 1px solid #9575cd;
  display: none; /* Hide sector2 planets (Krios, Nexus) */
}

.planet.sector3 {
  width: 29px;  /* Slightly larger than mid sector planets */
  height: 29px;
  background-color: #d32f2f;
  color: #d32f2f;
  border: 1px solid #ef5350;
  display: none; /* Hide sector3 planets (Terminus, Void Station) */
}

.station-container {
  position: absolute;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 7;
  top: 50%;
  left: 50%;
  margin-top: -150px;
  transform-origin: center;
  animation: orbit-station 30s linear infinite;
  opacity: 0.7;
}

.station {
  width: 40px;
  height: 40px;
  position: relative;
  animation: station-hover 8s infinite ease-in-out;
}

@keyframes orbit-station {
  0% {
    transform: rotate(0deg) translateX(150px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(150px) rotate(-360deg);
  }
}

@keyframes station-hover {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.station-core {
  position: absolute;
  width: 19px;
  height: 19px;
  background-color: #5C7B7C;
  border: 1px solid #89CFC0;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(137, 207, 192, 0.5);
  z-index: 3;
  overflow: hidden;
}

.station-core::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, 
    rgba(255, 255, 255, 0.4) 0%, 
    transparent 60%);
  opacity: 0.7;
}

.station-core::after {
  content: "";
  position: absolute;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(0, 255, 255, 0.5) 50%,
    transparent 100%);
  top: 50%;
  left: 0;
  transform-origin: center;
  animation: core-scan 3s infinite linear;
}

@keyframes core-scan {
  0% {
    transform: translateY(-50%) scaleX(0.5) translateX(-100%);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-50%) scaleX(0.5) translateX(200%);
    opacity: 0;
  }
}

.station-ring {
  position: absolute;
  width: 40px;
  height: 13px;
  background-color: transparent;
  border: 1px solid #89CFC0;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(137, 207, 192, 0.3);
  animation: ring-rotate 30s infinite linear;
}

@keyframes ring-rotate {
  0% {
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg);
  }
}

.station-tower {
  position: absolute;
  width: 3px;
  height: 16px;
  background-color: #89CFC0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -150%);
  box-shadow: 0 0 3px rgba(137, 207, 192, 0.3);
}

.station-tower-top {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #5C7B7C;
  border: 1px solid #89CFC0;
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.station-tower-top::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: rgba(137, 207, 192, 0.8);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(137, 207, 192, 0.5);
  animation: beacon-pulse 2s infinite alternate;
}

@keyframes beacon-pulse {
  0% {
    opacity: 0.7;
    box-shadow: 0 0 3px rgba(0, 255, 255, 0.5);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
  }
}

.fragment {
  position: absolute;
  width: 1px;
  height: 1px;
  background-color: rgba(137, 207, 192, 0.05);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: twinkle 12s infinite alternate;
  z-index: 2;
  opacity: 0.02;
  box-shadow: none;
}

/* Space dust particles - different layers for parallax effect */
.screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, var(--dust-color-1) 0%, transparent 1px),
    radial-gradient(circle at 40% 70%, var(--dust-color-2) 0%, transparent 1px),
    radial-gradient(circle at 65% 35%, var(--dust-color-1) 0%, transparent 1px),
    radial-gradient(circle at 85% 65%, var(--dust-color-2) 0%, transparent 1px),
    radial-gradient(circle at 25% 55%, var(--dust-color-1) 0%, transparent 1px),
    radial-gradient(circle at 75% 15%, var(--dust-color-2) 0%, transparent 1px),
    radial-gradient(circle at 10% 85%, var(--dust-color-1) 0%, transparent 1px),
    radial-gradient(circle at 95% 45%, var(--dust-color-1) 0%, transparent 1px);
  background-size: 200% 200%;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
  animation: dust-drift 160s infinite linear;
}

@keyframes dust-drift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Comets */
.comet {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  z-index: 2;
  box-shadow: 0 0 4px white;
}

.comet::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 3px;
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(135, 206, 235, 0.4) 30%, rgba(135, 206, 235, 0.2) 60%, transparent 100%);
  transform: translateY(-50%) scaleY(2);
  filter: blur(2px);
  transform-origin: right center;
}

.comet-1 {
  top: 25%;
  animation: comet-fly 18s linear infinite;
}

.comet-2 {
  top: 65%;
  animation: comet-fly 25s linear infinite;
  animation-delay: 9s;
}

@keyframes comet-fly {
  0% {
    transform: translateX(-200px) translateY(0) rotate(-45deg);
    opacity: 0;
  }
  5% {
    opacity: 0.6;
  }
  95% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(calc(100vw + 200px)) translateY(100px) rotate(-45deg);
    opacity: 0;
  }
}

/* Shooting Stars */
.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: linear-gradient(45deg, transparent, #89CFC0, white);
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
  animation: shooting-star 8s infinite ease-out;
}

.shooting-star::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, white, rgba(137, 207, 192, 0.6), transparent);
  transform: translateX(-100%);
  opacity: 0.8;
}

@keyframes shooting-star {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(45deg);
  }
  2% {
    opacity: 0.8;
  }
  15% {
    opacity: 0.8;
  }
  20% {
    opacity: 0;
    transform: translate(600px, 600px) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: translate(600px, 600px) rotate(45deg);
  }
}

.shooting-star-2 {
  top: 10%;
  left: 85%;
  animation-delay: 8s;
  animation-duration: 20s;
}

.shooting-star-3 {
  top: 70%;
  left: 5%;
  animation-delay: 15s;
  animation-duration: 25s;
}

/* Anomaly effect */
.grid-container::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  top: 25%;
  right: 35%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--anomaly-glow) 0%, transparent 70%);
  opacity: 0;
  animation: anomaly-pulse 15s infinite alternate;
  pointer-events: none;
  z-index: 1;
  filter: blur(5px);
}

@keyframes anomaly-pulse {
  0%, 15%, 85%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  40%, 60% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

@keyframes twinkle {
  0% {
    opacity: 0.01;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.03;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0.01;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes star-shimmer {
  0% {
    opacity: 1;
    filter: brightness(1.5) contrast(1.2);
  }
  10% {
    opacity: 0.2;
    filter: brightness(2) contrast(1.5);
  }
  20% {
    opacity: 0.8;
    filter: brightness(1) contrast(1);
  }
  30% {
    opacity: 0.1;
    filter: brightness(2.5) contrast(2);
  }
  40% {
    opacity: 0.9;
    filter: brightness(1.2) contrast(1.1);
  }
  50% {
    opacity: 0.3;
    filter: brightness(1.8) contrast(1.3);
  }
  60% {
    opacity: 1;
    filter: brightness(1.1) contrast(1);
  }
  70% {
    opacity: 0.15;
    filter: brightness(2.2) contrast(1.8);
  }
  80% {
    opacity: 0.7;
    filter: brightness(1.3) contrast(1.2);
  }
  90% {
    opacity: 0.4;
    filter: brightness(1.7) contrast(1.4);
  }
  100% {
    opacity: 1;
    filter: brightness(1.5) contrast(1.2);
  }
}

.player {
  position: fixed;
  width: 21px;
  height: 29px;
  z-index: 9999;
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 4px rgba(64, 224, 208, 0.7));
}

.player::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 16px;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at top,
    rgba(0, 255, 255, 0.7) 0%,
    rgba(0, 100, 255, 0.3) 40%,
    transparent 80%
  );
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
  animation: thrust-flicker 0.5s infinite alternate ease-in-out;
  z-index: -1;
}

@keyframes thrust-flicker {
  0%, 100% {
    opacity: 0.7;
    height: 16px;
  }
  40% {
    opacity: 0.5;
    height: 10px;
  }
  60% {
    opacity: 0.8;
    height: 20px;
  }
}

.rocket-body {
  position: absolute;
  width: 13px;
  height: 21px;
  background-color: #adb5bd;
  border-radius: 6px 6px 0 0;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #6c757d;
  box-shadow: 0 0 5px rgba(64, 224, 208, 0.4);
}

.rocket-nose {
  position: absolute;
  width: 8px;
  height: 9px;
  background-color: #9fafca;
  border-radius: 50% 50% 0 0;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #6c757d;
  z-index: 2;
}

.rocket-window {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #111;
  border-radius: 50%;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #6c757d;
  z-index: 2;
}

.rocket-fin-left {
  position: absolute;
  width: 6px;
  height: 8px;
  background-color: #9fafca;
  bottom: 0;
  left: -4px;
  transform: skewY(35deg);
  border: 1px solid #6c757d;
  z-index: 1;
}

.rocket-fin-right {
  position: absolute;
  width: 6px;
  height: 8px;
  background-color: #9fafca;
  bottom: 0;
  right: -4px;
  transform: skewY(-35deg);
  border: 1px solid #6c757d;
  z-index: 1;
}

.rocket-exhaust {
  position: absolute;
  width: 8px;
  height: 2px;
  background-color: #555;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  z-index: 1;
}

.sector-label {
  position: absolute;
  font-size: 14px;
  color: var(--primary);
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 0 5px var(--primary);
  z-index: 2;
}

.tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  display: none;
  z-index: 6;
  max-width: 200px;
}

/* Grid Background */
.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(137, 207, 192, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 207, 192, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.25;
  z-index: 1;
}

/* Navigation Menu */
.nav-menu {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 35px;
  z-index: 10001;
}

.nav-link {
  color: #89CFC0;
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.nav-link:hover {
  opacity: 1;
  text-shadow: 0 0 10px rgba(137, 207, 192, 0.6);
}

.nav-boost {
  border: 1px solid #89CFC0;
  padding: 8px 16px;
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 800px;
}

.hero-logo {
  width: 200px;
  height: 200px;
  margin-bottom: 40px;
  filter: drop-shadow(0 0 30px rgba(245, 245, 245, 0.8)) 
          drop-shadow(0 0 60px rgba(245, 245, 245, 0.5))
          drop-shadow(0 0 90px rgba(245, 245, 245, 0.3))
          drop-shadow(0 0 120px rgba(245, 245, 245, 0.2));
  animation: logo-pulse 4s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 30px rgba(245, 245, 245, 0.8)) 
            drop-shadow(0 0 60px rgba(245, 245, 245, 0.5))
            drop-shadow(0 0 90px rgba(245, 245, 245, 0.3))
            drop-shadow(0 0 120px rgba(245, 245, 245, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(245, 245, 245, 0.9)) 
            drop-shadow(0 0 80px rgba(245, 245, 245, 0.6))
            drop-shadow(0 0 110px rgba(245, 245, 245, 0.4))
            drop-shadow(0 0 150px rgba(245, 245, 245, 0.25));
  }
}

.main-header {
  font-size: 48px;
  color: #F5F5F5;
  margin: 0 0 20px 0;
  font-family: 'Courier New', monospace;
  letter-spacing: 4px;
  text-shadow: 0 0 10px rgba(245, 245, 245, 0.2);
  animation: crt-flicker 3s infinite;
}

@keyframes crt-flicker {
  0%, 92.9%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(245, 245, 245, 0.2);
    filter: blur(0);
    transform: translateX(0);
  }
  93% {
    opacity: 0.3;
    text-shadow: none;
    filter: blur(3px);
    transform: translateX(-2px);
  }
  93.5% {
    opacity: 0.1;
    text-shadow: 0 0 30px white;
    filter: blur(5px);
    transform: translateX(2px);
  }
  94% {
    opacity: 0.4;
    text-shadow: -2px 0 rgba(255, 0, 0, 0.5), 2px 0 rgba(0, 255, 255, 0.5);
    filter: blur(1px);
    transform: translateX(-1px);
  }
  94.5% {
    opacity: 0.8;
    text-shadow: 0 0 15px rgba(245, 245, 245, 0.4);
    filter: blur(0.5px);
    transform: translateX(0);
  }
  95% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(245, 245, 245, 0.2);
    filter: blur(0);
    transform: translateX(0);
  }
}

@keyframes crt-glitch {
  0% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    text-shadow: 0 0 10px rgba(245, 245, 245, 0.2);
  }
  5% {
    opacity: 0.8;
    transform: translateY(-50%) translateX(-2px) scaleY(1.02);
    text-shadow: 
      -3px 0 #89CFC0,
      3px 0 rgba(255, 0, 255, 0.5),
      0 0 15px rgba(245, 245, 245, 0.4);
  }
  10% {
    opacity: 0.6;
    transform: translateY(-50%) translateX(2px) scaleY(0.98);
    text-shadow: 
      2px 0 rgba(0, 255, 255, 0.7),
      -2px 0 rgba(255, 0, 255, 0.5),
      0 0 20px rgba(137, 207, 192, 0.6);
  }
  15% {
    opacity: 0.4;
    transform: translateY(-50%) translateX(-1px);
    filter: blur(1px);
  }
  20% {
    opacity: 0.2;
    transform: translateY(-50%) translateX(1px);
    filter: blur(2px);
  }
  25% {
    opacity: 0;
    transform: translateY(-50%) translateX(0);
    filter: blur(0);
  }
  30% {
    opacity: 0;
  }
  35% {
    opacity: 0.1;
    transform: translateY(-50%) translateX(-1px);
    text-shadow: 
      1px 0 #89CFC0,
      -1px 0 rgba(255, 0, 255, 0.3),
      0 0 25px rgba(137, 207, 192, 0.8);
  }
  40% {
    opacity: 0.3;
    transform: translateY(-50%) translateX(1px);
    filter: blur(1px);
  }
  45% {
    opacity: 0.5;
    transform: translateY(-50%) translateX(-2px) scaleY(1.01);
    filter: blur(0);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-50%) translateX(0);
    text-shadow: 0 0 10px rgba(245, 245, 245, 0.2);
  }
  55% {
    opacity: 0.9;
    transform: translateY(-50%) translateX(1px);
  }
  60% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    text-shadow: 0 0 10px rgba(245, 245, 245, 0.2);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    text-shadow: 0 0 10px rgba(245, 245, 245, 0.2);
  }
}

/* Flickering text effect */
.flicker-text {
  display: inline-block;
  position: relative;
  color: #F5F5F5;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(137, 207, 192, 0.2);
}

.flicker-text.glitching {
  animation: crt-flicker 0.3s linear;
  position: relative;
}

@keyframes crt-flicker {
  0% {
    opacity: 1;
    filter: brightness(1);
  }
  5% {
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.2);
  }
  10% {
    opacity: 0.95;
    filter: brightness(0.9) contrast(1.1);
  }
  15% {
    opacity: 0.3;
    filter: brightness(1.3) contrast(1.3);
    text-shadow: 
      0 0 3px rgba(137, 207, 192, 0.8),
      0 0 10px rgba(245, 245, 245, 0.3);
  }
  20% {
    opacity: 0.8;
    filter: brightness(0.8) contrast(1.2);
  }
  25% {
    opacity: 0.2;
    filter: brightness(1.5) contrast(1.4);
  }
  30% {
    opacity: 0.9;
    filter: brightness(0.95) contrast(1.1);
  }
  35% {
    opacity: 0.1;
    filter: brightness(2) contrast(1.5);
    text-shadow: 
      0 0 5px rgba(137, 207, 192, 1),
      0 0 15px rgba(245, 245, 245, 0.5);
  }
  40% {
    opacity: 0.6;
    filter: brightness(1.2) contrast(1.2);
  }
  45% {
    opacity: 0.05;
    filter: brightness(2.5) contrast(2);
  }
  50% {
    opacity: 0;
    filter: brightness(3) contrast(2);
  }
  55% {
    opacity: 0.1;
    filter: brightness(2) contrast(1.5);
  }
  60% {
    opacity: 0.4;
    filter: brightness(1.3) contrast(1.3);
  }
  65% {
    opacity: 0.2;
    filter: brightness(1.8) contrast(1.4);
  }
  70% {
    opacity: 0.7;
    filter: brightness(1.1) contrast(1.1);
  }
  75% {
    opacity: 0.3;
    filter: brightness(1.4) contrast(1.2);
  }
  80% {
    opacity: 0.85;
    filter: brightness(0.95) contrast(1.05);
  }
  85% {
    opacity: 0.5;
    filter: brightness(1.2) contrast(1.1);
  }
  90% {
    opacity: 0.9;
    filter: brightness(1.05) contrast(1.02);
  }
  95% {
    opacity: 0.95;
    filter: brightness(1) contrast(1);
  }
  100% {
    opacity: 1;
    filter: brightness(1) contrast(1);
    text-shadow: 
      0 2px 4px rgba(0, 0, 0, 0.8),
      0 0 15px rgba(137, 207, 192, 0.2);
  }
}

/* Static noise effect during switch */
.flicker-text::before {
  content: attr(data-current);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  color: rgba(137, 207, 192, 0.8);
  text-shadow: 0 0 30px rgba(137, 207, 192, 0.6);
}

.flicker-text.glitching::before {
  animation: static-noise 0.4s linear;
}

@keyframes static-noise {
  0%, 100% {
    opacity: 0;
  }
  20% {
    opacity: 0.1;
    transform: translateX(1px);
  }
  25% {
    opacity: 0.3;
    transform: translateX(-1px);
    filter: blur(0.5px);
  }
  30% {
    opacity: 0.2;
    transform: translateX(0.5px);
  }
  50% {
    opacity: 0.4;
    transform: translateX(0);
    filter: blur(1px);
  }
  70% {
    opacity: 0.1;
    transform: translateX(-0.5px);
  }
}

@keyframes subtle-flicker {
  0%, 100% {
    opacity: 0;
  }
  5% {
    opacity: 0.05;
  }
  10% {
    opacity: 0;
  }
  55% {
    opacity: 0.03;
  }
  56% {
    opacity: 0;
  }
  85% {
    opacity: 0.04;
  }
  86% {
    opacity: 0;
  }
}

/* Signal Section */
.signal-section {
  margin: 30px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.signal-label {
  font-size: 12px;
  color: #B5C4B1;
  font-family: 'Courier New', monospace;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
}

.signal-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  background: rgba(41, 41, 41, 0.3);
  border: 1px solid rgba(137, 207, 192, 0.2);
  border-radius: 4px;
}

.track-name {
  font-size: 14px;
  color: #F5F5F5;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.signal-btn {
  padding: 8px 16px;
  background: transparent;
  color: #89CFC0;
  border: 1px solid rgba(137, 207, 192, 0.4);
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.signal-btn:hover {
  background: rgba(137, 207, 192, 0.1);
  border-color: #89CFC0;
  color: #89CFC0;
  box-shadow: 0 0 10px rgba(137, 207, 192, 0.3);
  transform: translateY(-1px);
}

.signal-btn.playing {
  background: rgba(137, 207, 192, 0.15);
  border-color: #89CFC0;
  color: #89CFC0;
  animation: pulse-playing 2s ease-in-out infinite;
}

@keyframes pulse-playing {
  0%, 100% {
    box-shadow: 0 0 10px rgba(137, 207, 192, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(137, 207, 192, 0.5);
  }
}

/* Newsletter Modal */
.newsletter-btn {
  margin-top: 40px;
  padding: 18px 36px;
  background: rgba(137, 207, 192, 0.1);
  border: 2px solid #89CFC0;
  box-shadow: 0 0 20px rgba(137, 207, 192, 0.4);
  border-radius: 4px;
  color: #89CFC0;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: rgba(137, 207, 192, 0.25);
  border-color: #a5e6d6;
  box-shadow: 0 0 30px rgba(137, 207, 192, 0.7);
  transform: translateY(-1px);
}

/* Receive Transmissions button (lore section - no effects) */
.receive-transmissions-btn {
  padding: 15px 34px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.receive-transmissions-btn:hover {
  background: rgba(15, 52, 96, 0.8) !important;
  transform: translateY(-1px);
}

.newsletter-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20000;
}

.popup-content {
  position: relative;
  padding: 30px 25px;
  background: rgba(41, 41, 41, 0.95);
  border: 1px solid rgba(137, 207, 192, 0.3);
  border-radius: 4px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  min-height: 360px;
  max-height: 420px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #89CFC0;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: #B5C4B1;
}

.popup-header {
  font-size: 20px;
  color: #89CFC0;
  margin: 0 0 10px 0;
  font-weight: bold;
  letter-spacing: 2px;
}

.popup-subheader {
  font-size: 13px;
  color: #B5C4B1;
  font-family: 'Courier New', monospace;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.popup-form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Bio Section */
.bio-section {
  min-height: 100vh;
  padding: 100px 40px 80px;
  background: #000000;
  position: relative;
  overflow: hidden;
  background-image:
    /* Extra bright stars - matching other sections */
    radial-gradient(3px 3px at 5% 8%, white, transparent),
    radial-gradient(2px 2px at 8% 12%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 12% 5%, #fff9e6, transparent),
    radial-gradient(2px 2px at 16% 28%, #fff9e6, transparent),
    radial-gradient(1px 1px at 20% 15%, white, transparent),
    radial-gradient(3px 3px at 25% 18%, white, transparent),
    radial-gradient(2px 2px at 29% 35%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 33% 42%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 38% 22%, white, transparent),
    radial-gradient(4px 4px at 45% 25%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 49% 38%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 56% 38%, white, transparent),
    radial-gradient(2px 2px at 60% 28%, #fff9e6, transparent),
    radial-gradient(3px 3px at 67% 15%, #fff9e6, transparent),
    radial-gradient(1px 1px at 71% 45%, white, transparent),
    radial-gradient(2px 2px at 78% 32%, white, transparent),
    radial-gradient(1px 1px at 82% 52%, #e6f3ff, transparent),
    radial-gradient(3px 3px at 86% 48%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 90% 20%, white, transparent),
    radial-gradient(2px 2px at 92% 65%, white, transparent),
    radial-gradient(1px 1px at 95% 75%, #fff9e6, transparent),
    /* Lower section stars */
    radial-gradient(2px 2px at 7% 72%, white, transparent),
    radial-gradient(1px 1px at 14% 85%, #e6f3ff, transparent),
    radial-gradient(3px 3px at 22% 78%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 28% 92%, white, transparent),
    radial-gradient(2px 2px at 35% 83%, #fff9e6, transparent),
    radial-gradient(1px 1px at 42% 88%, white, transparent),
    radial-gradient(2px 2px at 48% 76%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 55% 91%, #e6f3ff, transparent),
    radial-gradient(3px 3px at 62% 82%, white, transparent),
    radial-gradient(1px 1px at 68% 87%, #fff9e6, transparent),
    radial-gradient(2px 2px at 75% 73%, white, transparent),
    radial-gradient(1px 1px at 81% 89%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 88% 77%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 94% 84%, white, transparent),
    /* Medium brightness stars */
    radial-gradient(1px 1px at 3% 28%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 9% 45%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 15% 56%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 23% 39%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 31% 62%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 40% 51%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 47% 68%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 54% 42%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 63% 59%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 70% 74%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 77% 36%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 84% 55%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 91% 41%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 96% 69%, rgba(255, 255, 255, 0.7), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-top: 1px solid rgba(137, 207, 192, 0.05);
}

.bio-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Bio page cosmic elements */
.cosmic-dust-bio {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 5% 15%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 95% 85%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 45% 55%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 25% 75%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 75% 25%, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0.6;
  animation: cosmic-drift 50s linear infinite reverse;
  z-index: 1;
}

.galaxy-swirl-bio {
  position: absolute;
  width: 900px;
  height: 700px;
  bottom: 10%;
  left: -300px;
  background: radial-gradient(ellipse at center, 
    rgba(39, 62, 147, 0.045) 0%, 
    rgba(147, 39, 143, 0.027) 30%, 
    transparent 70%);
  transform: rotate(-35deg);
  animation: galaxy-rotation 150s linear infinite reverse;
  z-index: 1;
}

.nebula-3 {
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, 
    rgba(46, 66, 91, 0.18) 0%, 
    rgba(30, 42, 58, 0.08) 50%, 
    transparent 100%);
  top: 10%;
  right: -150px;
  animation-delay: -5s;
}

.nebula-4 {
  width: 450px;
  height: 450px;
  background: radial-gradient(ellipse at center, 
    rgba(39, 147, 98, 0.108) 0%, 
    rgba(39, 147, 98, 0.036) 50%, 
    transparent 100%);
  bottom: 15%;
  left: 20%;
  animation-delay: -15s;
}

.asteroid-3 {
  top: 20%;
  left: 30%;
  animation: asteroid-drift 35s linear infinite;
}

.asteroid-4 {
  top: 70%;
  right: 15%;
  animation: asteroid-drift 40s linear infinite reverse;
  animation-delay: -10s;
}

.asteroid-5 {
  top: 50%;
  left: 60%;
  animation: asteroid-drift 55s linear infinite;
  animation-delay: -20s;
  width: 2px;
  height: 2px;
}

/* Bio page shooting stars */
.shooting-star-bio-1 {
  top: 25%;
  left: 70%;
  animation-delay: 1.2s;
  animation-duration: 6.3s;
}

.shooting-star-bio-2 {
  top: 60%;
  left: 20%;
  animation-delay: 4s;
  animation-duration: 7.5s;
}

.shooting-star-bio-3 {
  top: 85%;
  left: 50%;
  animation-delay: 7s;
  animation-duration: 5.2s;
}

/* Music section shooting stars */
.shooting-star-music-1 {
  top: 20%;
  left: 80%;
  animation-delay: 2.3s;
  animation-duration: 6.9s;
}

.shooting-star-music-2 {
  top: 65%;
  left: 15%;
  animation-delay: 5.8s;
  animation-duration: 5.7s;
}

.shooting-star-music-3 {
  top: 45%;
  left: 60%;
  animation-delay: 9.2s;
  animation-duration: 8s;
}

/* Gear section shooting stars */
.shooting-star-gear-1 {
  top: 30%;
  left: 75%;
  animation-delay: 1.7s;
  animation-duration: 6.3s;
}

.shooting-star-gear-2 {
  top: 70%;
  left: 25%;
  animation-delay: 4.6s;
  animation-duration: 7.5s;
}

.shooting-star-gear-3 {
  top: 50%;
  left: 90%;
  animation-delay: 8s;
  animation-duration: 4.6s;
}

/* Contact section shooting stars */
.shooting-star-contact-1 {
  top: 15%;
  left: 70%;
  animation-delay: 3.5s;
  animation-duration: 8s;
}

.shooting-star-contact-2 {
  top: 60%;
  left: 30%;
  animation-delay: 6.9s;
  animation-duration: 6.3s;
}

.shooting-star-contact-3 {
  top: 80%;
  left: 85%;
  animation-delay: 10.3s;
  animation-duration: 6.9s;
}

/* Bio section twinkling overlay */
.bio-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 28% 35%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 42% 52%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 58% 68%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 72% 82%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 88% 22%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 15% 75%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 65% 45%, rgba(255, 255, 255, 0.8), transparent);
  animation: intense-twinkle 1.8s linear infinite;
  z-index: 2;
}

.bio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 18% 32%, white, transparent),
    radial-gradient(1px 1px at 52% 68%, white, transparent),
    radial-gradient(2px 2px at 75% 45%, white, transparent),
    radial-gradient(1px 1px at 35% 85%, white, transparent);
  animation: rapid-twinkle 0.9s linear infinite;
  opacity: 0;
  z-index: 3;
}

/* Schematic Booklet */
.schematic-booklet {
  background: rgba(41, 41, 41, 0.3);
  border: 1px solid rgba(137, 207, 192, 0.3);
  border-radius: 4px;
  padding: 30px;
  font-family: 'Courier New', monospace;
}

.booklet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(137, 207, 192, 0.2);
}

.booklet-title {
  color: #89CFC0;
  font-size: 14px;
  letter-spacing: 2px;
}

.page-indicator {
  color: #B5C4B1;
  font-size: 12px;
  letter-spacing: 1px;
}

.booklet-page {
  min-height: 400px;
}

.page-title {
  color: #89CFC0;
  font-size: 18px;
  margin: 0 0 20px 0;
  letter-spacing: 1px;
  font-weight: normal;
}

.schematic-content {
  color: #F5F5F5;
}

.data-row {
  display: flex;
  margin-bottom: 12px;
  font-size: 13px;
}

.label {
  color: #B5C4B1;
  margin-right: 10px;
  min-width: 140px;
}

.value {
  color: #F5F5F5;
}

.separator {
  height: 1px;
  background: rgba(137, 207, 192, 0.2);
  margin: 20px 0;
}

.bio-text {
  font-size: 13px;
  line-height: 1.8;
  color: #F5F5F5;
}

.skill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.skill-item {
  font-size: 13px;
  color: #F5F5F5;
}

.log-entry {
  display: flex;
  margin-bottom: 12px;
  font-size: 13px;
}

.year {
  color: #89CFC0;
  margin-right: 20px;
  min-width: 50px;
}

.entry {
  color: #F5F5F5;
}

/* Navigation */
.booklet-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(137, 207, 192, 0.2);
}

.nav-btn {
  background: none;
  border: 1px solid #89CFC0;
  color: #89CFC0;
  padding: 8px 16px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(137, 207, 192, 0.1);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.page-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(137, 207, 192, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #89CFC0;
}

/* Bio Logo */
.bio-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bio-logo-container::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle at center,
    transparent 30%,
    rgba(137, 207, 192, 0.05) 50%,
    transparent 70%
  );
  animation: cosmic-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

.bio-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Image Browser Window */
.image-browser {
  background: #1a1a1a;
  border: 1px solid rgba(137, 207, 192, 0.2);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
}
.image-content {
  background: #0a0a0a;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
}
.bio-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 4px;
  transition: opacity 0.3s;
}
.image-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}
.image-nav-btn {
  background: transparent;
  border: 1px solid rgba(137, 207, 192, 0.3);
  color: #89CFC0;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', monospace;
}
.image-nav-btn:hover {
  background: rgba(137, 207, 192, 0.1);
  border-color: rgba(137, 207, 192, 0.5);
}
.image-dots {
  display: flex;
  gap: 8px;
}
.img-dot {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(137, 207, 192, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
.img-dot.active {
  background: #89CFC0;
  box-shadow: 0 0 5px rgba(137, 207, 192, 0.5);
}

.monitor-bezel {
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #1f1f1f 100%);
  border: 3px solid #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 
    0 0 50px rgba(0, 0, 0, 0.8),
    inset 0 2px 5px rgba(255, 255, 255, 0.1),
    inset 0 -2px 5px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(137, 207, 192, 0.1);
  position: relative;
}

.monitor-label {
  position: absolute;
  top: 8px;
  left: 20px;
  color: #89CFC0;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  opacity: 0.8;
}

.monitor-id {
  position: absolute;
  top: 8px;
  right: 20px;
  color: #B5C4B1;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  opacity: 0.7;
}

.monitor-screen {
  width: 100%;
  aspect-ratio: 4/3;
  background: #0a0f0a;
  border: 2px solid #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 
    inset 0 0 80px rgba(0, 0, 0, 0.8),
    inset 0 0 40px rgba(137, 207, 192, 0.1);
  margin-top: 15px;
}

.screen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at center, 
      transparent 0%, 
      rgba(0, 0, 0, 0.4) 100%);
  z-index: 4;
  pointer-events: none;
}

.screen-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) contrast(1.2) saturate(0.8);
  opacity: 0.95;
  animation: crt-flicker 10s infinite;
  transition: opacity 0.3s ease-in-out;
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 255, 0, 0.03) 2px,
      rgba(0, 255, 0, 0.03) 4px
    );
  z-index: 3;
  pointer-events: none;
  animation: scanline-move 8s linear infinite;
}

.scanlines::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.05) 2px,
      rgba(0, 0, 0, 0.05) 4px
    );
}

.monitor-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  padding: 10px;
  background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
  border-radius: 4px;
}

.control-btn {
  width: 30px;
  height: 25px;
  background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  color: #89CFC0;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  font-family: 'Courier New', monospace;
}

.control-btn:hover {
  background: linear-gradient(135deg, #4a4a4a, #3a3a3a);
  color: #B5C4B1;
}

.control-btn:active {
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(1px);
}

.control-light {
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
  border: 1px solid #1a1a1a;
  margin-left: auto;
}

.control-light.active {
  background: #89CFC0;
  box-shadow: 0 0 10px #89CFC0;
  animation: signal-blink 2s infinite;
}

.control-label {
  color: #5a5a5a;
  font-size: 9px;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  margin-right: 10px;
}

.monitor-vents {
  position: absolute;
  bottom: 10px;
  right: 20px;
  display: flex;
  gap: 3px;
}

.monitor-vents span {
  width: 2px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 1px;
}

.monitor-stand {
  width: 80px;
  height: 40px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  margin: -2px auto 0;
  clip-path: polygon(20% 0%, 80% 0%, 90% 100%, 10% 100%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

@keyframes monitor-float {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  25% { transform: translateY(-6px) rotate(-0.5deg); }
  50% { transform: translateY(3px) rotate(0.3deg); }
  75% { transform: translateY(-3px) rotate(-0.3deg); }
}

@keyframes crt-flicker {
  0%, 100% { 
    opacity: 0.95; 
    filter: brightness(0.9) contrast(1.2) saturate(0.8); 
  }
  94% { 
    opacity: 0.95; 
    filter: brightness(0.9) contrast(1.2) saturate(0.8); 
  }
  95% { 
    opacity: 0.92; 
    filter: brightness(0.85) contrast(1.15) saturate(0.75); 
  }
  96% { 
    opacity: 0.96; 
    filter: brightness(0.95) contrast(1.25) saturate(0.85); 
  }
  97% { 
    opacity: 0.93; 
    filter: brightness(0.88) contrast(1.18) saturate(0.78); 
  }
}

@keyframes scanline-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

@keyframes signal-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Mission Control Bio Section */
.mission-control-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 30px 60px;
  position: relative;
  z-index: 10;
  background: 
    /* Technical grid paper */
    linear-gradient(rgba(5, 12, 20, 0.92), rgba(5, 12, 20, 0.92)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 24px,
      rgba(137, 207, 192, 0.02) 24px,
      rgba(137, 207, 192, 0.02) 25px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 24px,
      rgba(137, 207, 192, 0.02) 24px,
      rgba(137, 207, 192, 0.02) 25px
    ),
    /* Major grid lines every 5 squares */
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 119px,
      rgba(137, 207, 192, 0.05) 119px,
      rgba(137, 207, 192, 0.05) 120px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 119px,
      rgba(137, 207, 192, 0.05) 119px,
      rgba(137, 207, 192, 0.05) 120px
    );
  border: 2px solid rgba(137, 207, 192, 0.2);
  border-radius: 4px;
  box-shadow: 
    inset 0 0 30px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(137, 207, 192, 0.05);
}

.mission-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 25px;
  background: linear-gradient(90deg, transparent, rgba(137, 207, 192, 0.05), transparent);
  border: 1px solid rgba(137, 207, 192, 0.2);
  border-bottom: 2px solid rgba(137, 207, 192, 0.3);
  margin-bottom: 30px;
}

.mission-id {
  color: #89CFC0;
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: bold;
}

.mission-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #89CFC0;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-text {
  color: #89CFC0;
  font-size: 12px;
  letter-spacing: 1px;
}

.mission-timestamp {
  text-align: right;
  color: rgba(137, 207, 192, 0.7);
  font-size: 13px;
  font-family: 'Courier New', monospace;
}

.mission-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Visual Feed Panel */
.visual-feed {
  background: 
    linear-gradient(rgba(0, 5, 10, 0.8), rgba(0, 5, 10, 0.8)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 15px,
      rgba(137, 207, 192, 0.01) 15px,
      rgba(137, 207, 192, 0.01) 16px
    );
  border: 1px solid rgba(137, 207, 192, 0.2);
  padding: 20px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(137, 207, 192, 0.1);
}

.feed-label {
  color: #89CFC0;
  font-size: 12px;
  letter-spacing: 2px;
}

.feed-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feed-btn {
  background: transparent;
  border: 1px solid rgba(137, 207, 192, 0.3);
  color: #89CFC0;
  width: 25px;
  height: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 10px;
}

.feed-btn:hover {
  background: rgba(137, 207, 192, 0.1);
  border-color: #89CFC0;
}

.feed-counter {
  color: rgba(137, 207, 192, 0.7);
  font-size: 11px;
  font-family: 'Courier New', monospace;
}

.feed-screen {
  position: relative;
  background: #000;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(137, 207, 192, 0.1);
}

.feed-image {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(137, 207, 192, 0.3), transparent);
  animation: scan 3s linear infinite;
}

@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}

.feed-status {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.status-label {
  color: rgba(137, 207, 192, 0.6);
  font-size: 10px;
  letter-spacing: 1px;
  min-width: 60px;
}

.status-bar {
  flex: 1;
  height: 4px;
  background: rgba(137, 207, 192, 0.1);
  border: 1px solid rgba(137, 207, 192, 0.2);
}

.status-fill {
  height: 100%;
  background: linear-gradient(90deg, #89CFC0, rgba(137, 207, 192, 0.6));
  transition: width 0.5s;
}

/* Fluctuating signal animation */
.status-row:first-child .status-fill {
  animation: signal-fluctuate 3s ease-in-out infinite;
}

.status-row:last-child .status-fill {
  animation: clarity-fluctuate 4s ease-in-out infinite;
}

/* Original animations (kept for compatibility) */
@keyframes signal-fluctuate {
  0%, 100% { width: 95%; }
  25% { width: 88%; }
  50% { width: 92%; }
  75% { width: 97%; }
}

@keyframes clarity-fluctuate {
  0%, 100% { width: 88%; }
  20% { width: 85%; }
  40% { width: 91%; }
  60% { width: 82%; }
  80% { width: 90%; }
}

/* Panel 1: High signal fluctuation (around 95%) */
@keyframes signal-fluctuate-high {
  0%, 100% { width: 95%; }
  25% { width: 90%; }
  50% { width: 98%; }
  75% { width: 93%; }
}

/* Panel 1: Low clarity fluctuation (around 15%) */
@keyframes clarity-fluctuate-low {
  0%, 100% { width: 15%; }
  33% { width: 10%; }
  66% { width: 20%; }
}

/* Panel 2: Mid signal fluctuation (around 45%) */
@keyframes signal-fluctuate-mid {
  0%, 100% { width: 45%; }
  25% { width: 40%; }
  50% { width: 50%; }
  75% { width: 43%; }
}

/* Panel 2: High clarity fluctuation (around 95%) */
@keyframes clarity-fluctuate-high {
  0%, 100% { width: 95%; }
  33% { width: 92%; }
  66% { width: 98%; }
}

/* Mission Brief Panel */
.mission-brief {
  background: 
    linear-gradient(rgba(0, 5, 10, 0.8), rgba(0, 5, 10, 0.8)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 15px,
      rgba(137, 207, 192, 0.01) 15px,
      rgba(137, 207, 192, 0.01) 16px
    );
  border: 1px solid rgba(137, 207, 192, 0.2);
  padding: 20px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
}

.brief-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(137, 207, 192, 0.1);
}

.brief-label {
  color: #89CFC0;
  font-size: 12px;
  letter-spacing: 2px;
}

.brief-id {
  color: rgba(137, 207, 192, 0.5);
  font-size: 11px;
  font-family: 'Courier New', monospace;
}

.brief-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.data-section {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(137, 207, 192, 0.05);
}

.data-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-title {
  color: #89CFC0;
  font-size: 16px;
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-weight: normal;
}

.data-field {
  display: flex;
  margin-bottom: 10px;
  font-size: 13px;
}

.field-label {
  color: rgba(137, 207, 192, 0.6);
  min-width: 100px;
}

.field-value {
  color: #F5F5F5;
}

.mission-text {
  color: rgba(245, 245, 245, 0.8);
  font-size: 13px;
  line-height: 1.8;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.capability {
  color: rgba(245, 245, 245, 0.7);
  font-size: 12px;
}

.transmission-buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.transmission-btn {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid rgba(137, 207, 192, 0.3);
  color: #89CFC0;
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Courier New', monospace;
}

.transmission-btn:hover {
  background: rgba(137, 207, 192, 0.1);
  border-color: #89CFC0;
  transform: translateY(-1px);
}

.transmission-btn.primary {
  background: rgba(137, 207, 192, 0.1);
  border-color: rgba(137, 207, 192, 0.5);
}

.transmission-btn.primary:hover {
  background: rgba(137, 207, 192, 0.2);
  border-color: #89CFC0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Remove old bio browser styles */
.bio-browser {
  display: none;
}
.browser-toolbar {
  background: #2a2a2a;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(137, 207, 192, 0.1);
}
.toolbar-label {
  color: #89CFC0;
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.7;
}
.toolbar-icons {
  display: flex;
  gap: 12px;
}
.toolbar-icons .icon {
  color: rgba(137, 207, 192, 0.5);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
}
.toolbar-icons .icon:hover {
  color: rgba(137, 207, 192, 0.8);
}
.browser-content {
  padding: 40px;
  background: #0a0a0a;
  min-height: 400px;
}
.bio-title {
  color: #89CFC0;
  font-size: 24px;
  margin: 0 0 30px 0;
  letter-spacing: 2px;
  font-weight: normal;
}
.bio-description {
  color: #F5F5F5;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.9;
}
.bio-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}
.bio-btn {
  background: transparent;
  border: 1px solid rgba(137, 207, 192, 0.4);
  color: #89CFC0;
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Courier New', monospace;
}
.bio-btn:hover {
  background: rgba(137, 207, 192, 0.1);
  border-color: rgba(137, 207, 192, 0.6);
  box-shadow: 0 0 10px rgba(137, 207, 192, 0.2);
}

/* Contact Section */
.contact-section {
  min-height: 100vh;
  padding: 100px 40px 80px;
  background: #000000;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Dense starry background */
  background-image:
    /* Extra bright stars */
    radial-gradient(3px 3px at 7% 13%, white, transparent),
    radial-gradient(2px 2px at 11% 17%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 18% 7%, #fff9e6, transparent),
    radial-gradient(1px 1px at 23% 9%, #fff9e6, transparent),
    radial-gradient(2px 2px at 29% 33%, white, transparent),
    radial-gradient(2px 2px at 36% 26%, white, transparent),
    radial-gradient(1px 1px at 42% 19%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 49% 13%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 55% 30%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(3px 3px at 63% 36%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 68% 44%, white, transparent),
    radial-gradient(1px 1px at 76% 46%, white, transparent),
    radial-gradient(2px 2px at 81% 25%, #fff9e6, transparent),
    radial-gradient(2px 2px at 89% 21%, #fff9e6, transparent),
    radial-gradient(1px 1px at 92% 40%, white, transparent),
    radial-gradient(1px 1px at 96% 56%, white, transparent),
    radial-gradient(2px 2px at 8% 64%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 16% 66%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 21% 74%, white, transparent),
    radial-gradient(1px 1px at 29% 76%, white, transparent),
    radial-gradient(2px 2px at 35% 82%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(3px 3px at 43% 89%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 49% 91%, white, transparent),
    radial-gradient(1px 1px at 56% 93%, white, transparent),
    radial-gradient(2px 2px at 62% 72%, #fff9e6, transparent),
    radial-gradient(2px 2px at 69% 79%, #fff9e6, transparent),
    radial-gradient(1px 1px at 75% 85%, white, transparent),
    radial-gradient(1px 1px at 83% 86%, white, transparent),
    radial-gradient(2px 2px at 87% 70%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 93% 73%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 97% 80%, white, transparent),
    /* Many medium stars */
    radial-gradient(1px 1px at 4% 37%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 6% 41%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 13% 47%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 19% 31%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 25% 53%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 31% 51%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 38% 40%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 46% 71%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 52% 62%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 59% 61%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 65% 54%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 71% 41%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 78% 49%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 86% 31%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 91% 59%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 98% 66%, rgba(255, 255, 255, 0.7), transparent);
  background-image:
    /* Stars */
    radial-gradient(2px 2px at 10% 20%, white, transparent),
    radial-gradient(1px 1px at 30% 40%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 60% 10%, white, transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 20% 80%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 90% 30%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 50% 90%, rgba(255, 255, 255, 0.6), transparent);
}

.contact-container {
  max-width: 800px;
  width: 100%;
  position: relative;
  z-index: 10;
  margin: 0 auto;
  padding-top: 40px;
}

.section-header {
  font-size: 48px;
  color: #89CFC0;
  text-align: center;
  letter-spacing: 4px;
  margin: 0 0 50px 0;
  padding: 0;
  font-family: 'Courier New', monospace;
  text-shadow: 
    0 0 20px rgba(137, 207, 192, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.8);
  animation: header-pulse 3s ease-in-out infinite;
}

@keyframes header-pulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}

/* CRT Monitor for Contact Form */
.crt-monitor {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.crt-monitor .monitor-bezel {
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #1f1f1f 100%);
  border: 3px solid #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 
    0 0 50px rgba(0, 0, 0, 0.8),
    inset 0 2px 5px rgba(255, 255, 255, 0.1),
    inset 0 -2px 5px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(137, 207, 192, 0.1);
  position: relative;
}

.crt-monitor .monitor-label {
  position: absolute;
  top: 8px;
  left: 20px;
  color: #89CFC0;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  opacity: 0.8;
}

.crt-monitor .monitor-id {
  position: absolute;
  top: 8px;
  right: 20px;
  color: #89CFC0;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  opacity: 0.6;
}

.crt-monitor .monitor-screen {
  background: #0a0d0f;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-top: 20px;
  height: 600px;
  box-shadow: 
    inset 0 0 40px rgba(0, 0, 0, 0.8),
    inset 0 0 80px rgba(137, 207, 192, 0.05);
}

.crt-monitor .screen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
  z-index: 2;
}

.crt-monitor .form-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(100% - 20px);
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 560px;
}

.crt-monitor .form-content iframe {
  width: 100%;
  height: 763px;
  border: none;
}

/* Transmission Form Styles */
.transmission-form {
  padding: 20px 30px;
  max-width: 500px;
  margin: 0 auto;
  font-family: 'Courier New', monospace;
}

.transmission-form .form-header {
  color: var(--core-mint);
  font-size: 18px;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(137, 207, 192, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.form-field {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  color: var(--core-mint);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  opacity: 0.8;
  text-transform: uppercase;
}

.field-input,
.field-textarea {
  width: 100%;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(137, 207, 192, 0.3);
  color: var(--core-offwhite);
  padding: 12px 15px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: rgba(245, 245, 245, 0.3);
  font-style: italic;
}

.field-input:focus,
.field-textarea:focus {
  border-color: var(--core-mint);
  background: rgba(137, 207, 192, 0.05);
  box-shadow: 0 0 10px rgba(137, 207, 192, 0.2);
}

.field-textarea {
  resize: vertical;
  min-height: 80px;
}

.transmit-button {
  width: 100%;
  padding: 18px 30px;
  background: var(--core-navy);
  border: 2px solid var(--core-mint);
  color: var(--core-mint);
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.transmit-button:hover {
  background: var(--core-mint);
  color: var(--core-black);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(137, 207, 192, 0.4);
}

.button-indicator {
  display: inline-block;
  animation: blink 1s infinite;
  font-size: 10px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.transmit-button:active {
  transform: translateY(0);
}

.crt-monitor .scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    transparent 50%, 
    rgba(137, 207, 192, 0.02) 51%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 3;
  animation: scanline-flicker 0.15s infinite;
}

.crt-monitor .monitor-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.crt-monitor .control-light {
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.crt-monitor .control-light.active {
  background: #89CFC0;
  box-shadow: 
    0 0 10px rgba(137, 207, 192, 0.8),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}

.crt-monitor .control-label {
  color: #89CFC0;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  opacity: 0.7;
}

.crt-monitor .monitor-vents {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.crt-monitor .monitor-vents span {
  width: 30px;
  height: 2px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 1px;
}

.crt-monitor .monitor-stand {
  width: 80px;
  height: 40px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  margin: -5px auto 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.contact-header {
  font-size: 48px;
  color: #89CFC0;
  text-align: center;
  letter-spacing: 8px;
  margin: 0 0 20px 0;
  font-family: 'Courier New', monospace;
  font-weight: normal;
  text-shadow: 0 0 20px rgba(137, 207, 192, 0.5);
  animation: terminal-glow 2s ease-in-out infinite;
}

.contact-subheader {
  text-align: center;
  color: #B5C4B1;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 50px;
  font-family: 'Courier New', monospace;
  opacity: 0.8;
}

.contact-terminal {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(137, 207, 192, 0.3);
  border-radius: 4px;
  padding: 20px;
  box-shadow: 
    0 0 40px rgba(137, 207, 192, 0.1),
    inset 0 0 40px rgba(0, 0, 0, 0.5);
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.contact-terminal::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, #89CFC0, transparent);
  opacity: 0.1;
  animation: terminal-scan 8s linear infinite;
  pointer-events: none;
}

.terminal-field {
  margin-bottom: 30px;
}

.terminal-label {
  display: block;
  color: #89CFC0;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-family: 'Courier New', monospace;
  opacity: 0.7;
}

.terminal-input,
.terminal-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(137, 207, 192, 0.3);
  color: #F5F5F5;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  padding: 12px 0;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.terminal-input:focus,
.terminal-textarea:focus {
  outline: none;
  border-bottom-color: #89CFC0;
  box-shadow: 0 2px 0 0 #89CFC0;
}

.terminal-input::placeholder,
.terminal-textarea::placeholder {
  color: #5a5a5a;
  letter-spacing: 2px;
  font-size: 14px;
}

.terminal-textarea {
  resize: vertical;
  min-height: 120px;
}

.transmit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #1a4a5a, #0a2a3a);
  border: 2px solid #89CFC0;
  color: #89CFC0;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  letter-spacing: 3px;
  cursor: pointer;
  margin-top: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.transmit-btn:hover {
  background: linear-gradient(135deg, #2a5a6a, #1a3a4a);
  box-shadow: 
    0 0 20px rgba(137, 207, 192, 0.5),
    inset 0 0 20px rgba(137, 207, 192, 0.1);
  transform: translateY(-2px);
}

.transmit-btn:active {
  transform: translateY(0);
}

.btn-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #89CFC0;
  border-radius: 50%;
  margin-right: 10px;
  animation: blink 1.5s infinite;
  box-shadow: 0 0 10px #89CFC0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

/* Footer Contact Info */
.contact-footer {
  background: #000000;
  /* Subtle starry background for footer */
  background-image:
    radial-gradient(1px 1px at 25% 50%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 50% 30%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 75% 60%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 15% 80%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 85% 40%, rgba(255, 255, 255, 0.3), transparent);
  border-top: 1px solid rgba(137, 207, 192, 0.2);
  padding: 80px 40px;
  display: flex;
  justify-content: center;
  gap: 120px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: rgba(137, 207, 192, 0.08);
  border: 2px solid rgba(137, 207, 192, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  filter: grayscale(0.3);
  opacity: 0.9;
  box-shadow: 0 0 20px rgba(137, 207, 192, 0.15);
}

.contact-label {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 3px;
  color: #89CFC0;
  opacity: 0.7;
  text-transform: uppercase;
}

.contact-info {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  color: #F5F5F5;
  letter-spacing: 1px;
  opacity: 0.9;
}

.social-link {
  text-decoration: none;
}

.social-icon {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(137, 207, 192, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #89CFC0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  border-color: #89CFC0;
  background: rgba(137, 207, 192, 0.1);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(137, 207, 192, 0.5);
}

@keyframes terminal-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes terminal-scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Music Section */
.music-section {
  min-height: 100vh;
  padding: 100px 40px 80px;
  background: #000000;
  position: relative;
  overflow: hidden;
  /* Dense starry background matching hero section */
  background-image:
    /* Extra bright stars */
    radial-gradient(3px 3px at 8% 12%, white, transparent),
    radial-gradient(2px 2px at 15% 20%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 22% 8%, #fff9e6, transparent),
    radial-gradient(2px 2px at 27% 31%, white, transparent),
    radial-gradient(2px 2px at 35% 25%, white, transparent),
    radial-gradient(1px 1px at 41% 17%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 48% 12%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 53% 28%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(3px 3px at 62% 35%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 67% 42%, white, transparent),
    radial-gradient(1px 1px at 75% 45%, white, transparent),
    radial-gradient(2px 2px at 79% 23%, #fff9e6, transparent),
    radial-gradient(2px 2px at 88% 20%, #fff9e6, transparent),
    radial-gradient(1px 1px at 93% 38%, white, transparent),
    radial-gradient(1px 1px at 95% 55%, white, transparent),
    radial-gradient(2px 2px at 7% 62%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 15% 65%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 19% 73%, white, transparent),
    radial-gradient(1px 1px at 28% 75%, white, transparent),
    radial-gradient(2px 2px at 33% 81%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(3px 3px at 42% 88%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 47% 92%, white, transparent),
    radial-gradient(1px 1px at 55% 92%, white, transparent),
    radial-gradient(2px 2px at 61% 71%, #fff9e6, transparent),
    radial-gradient(2px 2px at 68% 78%, #fff9e6, transparent),
    radial-gradient(1px 1px at 74% 84%, white, transparent),
    radial-gradient(1px 1px at 82% 85%, white, transparent),
    radial-gradient(2px 2px at 87% 69%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 92% 72%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 96% 81%, white, transparent),
    /* Medium stars - many more */
    radial-gradient(1px 1px at 3% 35%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 5% 40%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 11% 46%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 18% 30%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 23% 52%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 30% 50%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 36% 39%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 45% 70%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 51% 61%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 58% 60%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 64% 53%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 77% 48%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 85% 30%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 91% 58%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 97% 65%, rgba(255, 255, 255, 0.7), transparent);
}

.cosmic-dust-music {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 15% 35%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 85% 65%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 45% 15%, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0.4;
  animation: cosmic-drift 80s linear infinite;
  z-index: 1;
}

.radio-static {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 2px,
      rgba(255, 255, 255, 0.01) 2px,
      rgba(255, 255, 255, 0.01) 4px
    );
  opacity: 0.5;
  animation: static-move 0.5s steps(10) infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes static-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

.music-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Vintage Radio Interface */
.radio-interface {
  background: 
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(137, 207, 192, 0.02) 2px,
      rgba(137, 207, 192, 0.02) 4px
    );
  border: 3px solid rgba(137, 207, 192, 0.3);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 
    0 0 50px rgba(137, 207, 192, 0.1),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}

/* Radio Display */
.radio-display {
  background: linear-gradient(135deg, #0a1810 0%, #000805 100%);
  border: 2px solid rgba(137, 207, 192, 0.4);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.radio-brand {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 4px;
  color: rgba(137, 207, 192, 0.6);
  margin-bottom: 20px;
}

.frequency-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.frequency-number {
  font-family: 'Courier New', monospace;
  font-size: 48px;
  color: #89CFC0;
  text-shadow: 0 0 20px rgba(137, 207, 192, 0.5);
  letter-spacing: 2px;
}

.frequency-unit {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  color: rgba(137, 207, 192, 0.7);
}

.station-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.station-name {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  color: #F5F5F5;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.signal-strength {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.signal-bar {
  width: 4px;
  height: 20px;
  background: rgba(137, 207, 192, 0.2);
  border: 1px solid rgba(137, 207, 192, 0.3);
}

.signal-bar.active {
  background: #89CFC0;
  box-shadow: 0 0 5px rgba(137, 207, 192, 0.5);
}

/* Tuner Section */
.tuner-section {
  margin: 30px 0;
}

.tuner-scale {
  height: 60px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(137, 207, 192, 0.05) 20%, 
    rgba(137, 207, 192, 0.05) 80%, 
    transparent 100%);
  border: 1px solid rgba(137, 207, 192, 0.2);
  border-radius: 4px;
  position: relative;
  margin-bottom: 20px;
}

.scale-marks {
  height: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(137, 207, 192, 0.3) 0,
    rgba(137, 207, 192, 0.3) 1px,
    transparent 1px,
    transparent 20%
  );
}

.tuner-needle {
  position: absolute;
  width: 2px;
  height: 100%;
  background: #89CFC0;
  box-shadow: 0 0 10px rgba(137, 207, 192, 0.8);
  left: 10%;
  transition: left 0.3s ease;
}

.tuner-control {
  text-align: center;
}

.tuner-label {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: rgba(137, 207, 192, 0.7);
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.frequency-dial {
  width: 80%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: rgba(137, 207, 192, 0.1);
  border: 1px solid rgba(137, 207, 192, 0.3);
  border-radius: 4px;
  outline: none;
}

.frequency-dial::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, #89CFC0 30%, rgba(137, 207, 192, 0.3) 100%);
  border: 2px solid #89CFC0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(137, 207, 192, 0.5);
}

.station-markers {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 10px auto;
}

.marker {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: rgba(137, 207, 192, 0.5);
}

/* Radio Player */
.radio-player {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(137, 207, 192, 0.2);
  border-radius: 4px;
  margin: 30px 0;
}

.radio-play-btn {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #89CFC0;
  color: #89CFC0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.radio-play-btn:hover {
  background: rgba(137, 207, 192, 0.1);
  box-shadow: 0 0 20px rgba(137, 207, 192, 0.3);
}

.radio-play-btn.playing {
  background: rgba(137, 207, 192, 0.2);
  box-shadow: 0 0 25px rgba(137, 207, 192, 0.5);
}

.volume-control {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.volume-control label {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: rgba(137, 207, 192, 0.7);
  letter-spacing: 2px;
}

.volume-control input {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  background: rgba(137, 207, 192, 0.2);
  outline: none;
}

.volume-control input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #89CFC0;
  border-radius: 50%;
  cursor: pointer;
}

/* Station List */
.station-list {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(137, 207, 192, 0.2);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 30px;
}

.list-header {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: rgba(137, 207, 192, 0.7);
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-align: center;
}

.stations {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.station-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  background: rgba(137, 207, 192, 0.05);
  border: 1px solid rgba(137, 207, 192, 0.1);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.station-item:hover {
  background: rgba(137, 207, 192, 0.1);
  border-color: rgba(137, 207, 192, 0.3);
}

.station-item.active {
  background: rgba(137, 207, 192, 0.15);
  border-color: #89CFC0;
  box-shadow: 0 0 10px rgba(137, 207, 192, 0.2);
}

.station-item .freq {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #89CFC0;
}

.station-item .song-title {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #F5F5F5;
}

/* Music CTAs */
.music-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.listen-everywhere-btn,
.early-access-btn {
  padding: 16px 30px;
  background: transparent;
  border: 2px solid #89CFC0;
  color: #89CFC0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.listen-everywhere-btn:hover,
.early-access-btn:hover {
  background: rgba(137, 207, 192, 0.15);
  box-shadow: 0 0 25px rgba(137, 207, 192, 0.4);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 18px;
  filter: grayscale(0.3);
  vertical-align: middle;
  display: inline-block;
  margin-right: 8px;
}

/* Gear Section */
.gear-section {
  min-height: 100vh;
  padding: 100px 40px 80px;
  background: #000000;
  position: relative;
  overflow: hidden;
  /* Dense starry background */
  background-image:
    /* Extra bright stars */
    radial-gradient(3px 3px at 6% 10%, white, transparent),
    radial-gradient(2px 2px at 12% 18%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 20% 6%, #fff9e6, transparent),
    radial-gradient(2px 2px at 25% 29%, white, transparent),
    radial-gradient(2px 2px at 32% 22%, white, transparent),
    radial-gradient(1px 1px at 39% 15%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 44% 14%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 50% 26%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(3px 3px at 56% 32%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 63% 40%, white, transparent),
    radial-gradient(1px 1px at 70% 42%, white, transparent),
    radial-gradient(2px 2px at 76% 21%, #fff9e6, transparent),
    radial-gradient(2px 2px at 84% 18%, #fff9e6, transparent),
    radial-gradient(1px 1px at 89% 36%, white, transparent),
    radial-gradient(1px 1px at 92% 52%, white, transparent),
    radial-gradient(2px 2px at 5% 59%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 12% 62%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 17% 70%, white, transparent),
    radial-gradient(1px 1px at 24% 72%, white, transparent),
    radial-gradient(2px 2px at 30% 78%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(3px 3px at 38% 85%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 44% 89%, white, transparent),
    radial-gradient(1px 1px at 50% 90%, white, transparent),
    radial-gradient(2px 2px at 58% 68%, #fff9e6, transparent),
    radial-gradient(2px 2px at 64% 75%, #fff9e6, transparent),
    radial-gradient(1px 1px at 71% 81%, white, transparent),
    radial-gradient(1px 1px at 78% 82%, white, transparent),
    radial-gradient(2px 2px at 83% 65%, #e6f3ff, transparent),
    radial-gradient(2px 2px at 88% 68%, #e6f3ff, transparent),
    radial-gradient(1px 1px at 94% 77%, white, transparent),
    /* Many medium stars */
    radial-gradient(1px 1px at 2% 33%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 7% 38%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 10% 44%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 16% 28%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 21% 49%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 28% 48%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 34% 37%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 42% 68%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 48% 58%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 54% 58%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 60% 50%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 66% 38%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 73% 45%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 80% 28%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 87% 55%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 94% 62%, rgba(255, 255, 255, 0.7), transparent);
}

.cosmic-dust-gear {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 25% 45%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 75% 55%, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0.3;
  animation: cosmic-drift 100s linear infinite;
  z-index: 1;
}

.gear-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section-subheader {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: rgba(137, 207, 192, 0.7);
  text-align: center;
  letter-spacing: 3px;
  margin-top: -10px;
  margin-bottom: 60px;
  text-transform: uppercase;
}

/* Equipment Grid */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.equipment-item {
  background: linear-gradient(135deg, #0a0a0a 0%, #050505 100%);
  border: 1px solid rgba(137, 207, 192, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.equipment-item:hover {
  border-color: rgba(137, 207, 192, 0.4);
  box-shadow: 0 0 30px rgba(137, 207, 192, 0.15);
  transform: translateY(-5px);
}

.item-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #89CFC0;
  color: #000;
  padding: 4px 10px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  z-index: 2;
  font-weight: bold;
}

.item-image {
  width: 100%;
  height: 400px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.equipment-item:hover .item-image img {
  transform: scale(1.05);
}

.item-info {
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(137, 207, 192, 0.1);
}

.item-name {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #F5F5F5;
  letter-spacing: 2px;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.item-price {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  color: #89CFC0;
  margin: 0 0 15px 0;
}

.item-order-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(137, 207, 192, 0.3);
  color: #89CFC0;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.item-order-btn:hover {
  background: rgba(137, 207, 192, 0.1);
  border-color: #89CFC0;
  box-shadow: 0 0 15px rgba(137, 207, 192, 0.3);
}

/* Equipment CTA */
.equipment-cta {
  text-align: center;
  margin-top: 40px;
}

.view-all-btn {
  padding: 16px 40px;
  background: transparent;
  border: 2px solid #89CFC0;
  color: #89CFC0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.view-all-btn:hover {
  background: rgba(137, 207, 192, 0.15);
  box-shadow: 0 0 30px rgba(137, 207, 192, 0.4);
  transform: translateY(-2px);
}

/* Contact page cosmic elements */
.cosmic-dust-contact {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 25% 35%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 75% 65%, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0.4;
  animation: cosmic-drift 70s linear infinite;
  z-index: 1;
}

.nebula-5 {
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, 
    rgba(39, 147, 143, 0.08) 0%, 
    transparent 70%);
  top: 10%;
  left: -200px;
  animation-delay: -8s;
}

.asteroid-6 {
  top: 80%;
  right: 10%;
  animation: asteroid-drift 50s linear infinite;
}

@keyframes astronaut-float {
  0%, 100% { transform: translateY(0) scale(1.1); }
  25% { transform: translateY(-10px) scale(1.12); }
  50% { transform: translateY(5px) scale(1.08); }
  75% { transform: translateY(-5px) scale(1.11); }
}

@keyframes cosmic-rotation {
  0% { filter: hue-rotate(0deg) brightness(1); }
  33% { filter: hue-rotate(10deg) brightness(1.1); }
  66% { filter: hue-rotate(-10deg) brightness(0.95); }
  100% { filter: hue-rotate(0deg) brightness(1); }
}

@keyframes portrait-pulse {
  0%, 100% { 
    box-shadow: 
      0 0 40px rgba(137, 207, 192, 0.3),
      0 0 80px rgba(39, 147, 143, 0.2),
      inset 0 0 20px rgba(255, 255, 255, 0.1);
  }
  50% { 
    box-shadow: 
      0 0 60px rgba(137, 207, 192, 0.5),
      0 0 120px rgba(147, 39, 143, 0.3),
      inset 0 0 30px rgba(255, 255, 255, 0.2);
  }
}

@keyframes orbital-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modal-header {
  font-size: 24px;
  color: #89CFC0;
  font-family: 'Courier New', monospace;
  letter-spacing: 4px;
  margin: 0 0 15px 0;
  font-weight: normal;
}

.modal-subheader {
  font-size: 14px;
  color: #B5C4B1;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
  margin: 0 0 15px 0;
  opacity: 0.9;
}

.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 0;
  padding-left: 20px;
}

.email-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(137, 207, 192, 0.3);
  border-radius: 3px;
  color: #F5F5F5;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: rgba(137, 207, 192, 0.4);
  letter-spacing: 1px;
}

.email-input:focus {
  border-color: #89CFC0;
  background: rgba(10, 10, 10, 0.7);
  box-shadow: 0 0 10px rgba(137, 207, 192, 0.2);
}

.submit-btn {
  padding: 12px 28px;
  background: #89CFC0;
  color: #0A0A0A;
  border: 2px solid #89CFC0;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.submit-btn:hover {
  background: #89CFC0;
  box-shadow: 0 0 15px rgba(137, 207, 192, 0.4);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* CTA Buttons - keeping for reference */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta-btn {
  padding: 15px 40px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  letter-spacing: 2px;
  border: 2px solid #89CFC0;
  background: transparent;
  color: #89CFC0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.cta-btn.primary {
  background: rgba(137, 207, 192, 0.1);
}

.cta-btn:hover {
  background: rgba(137, 207, 192, 0.2);
  box-shadow: 0 0 20px rgba(137, 207, 192, 0.4);
  transform: translateY(-2px);
}

.controls {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 5;
}

.control-btn {
  background-color: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 5px 10px;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: all 0.3s;
}

.control-btn:hover {
  background-color: rgba(0, 255, 255, 0.3);
}

.legend {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 20, 30, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.3);
  padding: 15px;
  font-size: 14px;
  z-index: 5;
  color: var(--primary);
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.legend-item:last-child {
  margin-bottom: 0;
}

.legend-icon {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  display: block; /* Ensure icons are visible */
}

.legend-star-icon {
  width: 16px;
  height: 16px;
  background-color: #e0e6ff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(222, 230, 255, 0.7);
  display: inline-block;
}

.locked {
  position: absolute;
  font-size: 12px;
  color: #888;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 10px;
  pointer-events: none;
  z-index: 3;
  display: none; /* Hide sector lock indicators */
}

/* Player Info Card */
.player-info {
  position: absolute;
  top: 55px; /* Positioned below the header */
  left: 20px; /* Aligned with the header */
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 8px 15px;
  color: white;
  font-size: 14px; /* Slightly smaller text */
  text-align: left;
  line-height: 1.4;
  z-index: 5;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transition: border-color 0.5s, box-shadow 0.5s;
}

/* Rank-specific player info card styling */
.player-info[data-rank="EXPLORER"] {
  border-color: #0096ff;
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.3);
}

.player-info[data-rank="OPERATOR"] {
  border-color: #00ffc8;
  box-shadow: 0 0 15px rgba(0, 255, 200, 0.3);
}

.player-info[data-rank="NAVIGATOR"] {
  border-color: #c8ff00;
  box-shadow: 0 0 15px rgba(200, 255, 0, 0.3);
}

.player-info[data-rank="ENGINEER"] {
  border-color: #ff9600;
  box-shadow: 0 0 15px rgba(255, 150, 0, 0.3);
}

.player-info[data-rank="LUMINARY"] {
  border-color: #ff0096;
  box-shadow: 0 0 15px rgba(255, 0, 150, 0.3);
  animation: luminary-info-pulse 4s infinite alternate;
}

@keyframes luminary-info-pulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 0, 150, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 0, 150, 0.5);
  }
}

/* Locker Panel */
.locker-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1100px;
  height: 85%;
  background-color: rgba(0, 10, 20, 0.95);
  border: 2px solid var(--primary);
  border-radius: 10px;
  z-index: 20;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.3);
  font-family: 'Courier New', monospace;
}

/* Header section */
.locker-header {
  background-color: rgba(0, 255, 255, 0.1);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.locker-title {
  font-size: 24px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 5px var(--primary);
}

.locker-close {
  background: none;
  border: 1px solid var(--primary);
  border-radius: 4px;
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.locker-close:hover {
  background-color: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 8px var(--primary);
}

/* Main container */
.locker-container {
  display: flex;
  flex-direction: column;
  height: calc(100% - 50px);
  overflow: hidden;
}

/* Top CRT Display */
.locker-mission-display {
  padding: 15px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.crt-screen {
  background-color: rgba(0, 20, 40, 0.7);
  border: 2px solid var(--primary);
  border-radius: 5px;
  padding: 15px;
  color: var(--primary);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.crt-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 255, 255, 0.03),
    rgba(0, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 1;
}

.crt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.player-identity {
  display: flex;
  flex-direction: column;
}

.username {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
  text-shadow: 0 0 5px var(--primary);
}

.rank-badge {
  font-size: 12px;
  background-color: rgba(0, 255, 255, 0.15);
  border: 1px solid var(--primary);
  border-radius: 3px;
  padding: 2px 8px;
  margin-top: 5px;
  display: inline-block;
  transition: background-color 0.3s, box-shadow 0.3s;
}

/* Rank-specific styling */
.rank-badge[data-rank="EXPLORER"] {
  background-color: rgba(0, 150, 255, 0.15);
  border-color: #0096ff;
}

.rank-badge[data-rank="OPERATOR"] {
  background-color: rgba(0, 255, 200, 0.15);
  border-color: #00ffc8;
}

.rank-badge[data-rank="NAVIGATOR"] {
  background-color: rgba(200, 255, 0, 0.15);
  border-color: #c8ff00;
}

.rank-badge[data-rank="ENGINEER"] {
  background-color: rgba(255, 150, 0, 0.15);
  border-color: #ff9600;
}

.rank-badge[data-rank="LUMINARY"] {
  background-color: rgba(255, 0, 150, 0.15);
  border-color: #ff0096;
  box-shadow: 0 0 10px rgba(255, 0, 150, 0.5);
  animation: luminary-pulse 3s infinite alternate;
}

@keyframes luminary-pulse {
  0% {
    box-shadow: 0 0 5px rgba(255, 0, 150, 0.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(255, 0, 150, 0.8);
  }
}

.light-meter-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.light-meter-label {
  font-size: 12px;
  margin-bottom: 5px;
}

.light-meter {
  width: 150px;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--primary);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 5px;
}

.light-meter-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary), #b967ff);
  border-radius: 3px;
  transition: width 0.5s ease-out, background 0.5s;
  position: relative;
  overflow: hidden;
}

.light-meter-fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: -15px;
  bottom: 0;
  width: 15px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: light-shimmer 2s infinite;
}

@keyframes light-shimmer {
  0% {
    transform: translateX(-100%) skewX(-20deg);
  }
  100% {
    transform: translateX(500%) skewX(-20deg);
  }
}

.light-meter-value {
  font-size: 14px;
}

.current-mission {
  border-top: 1px dashed rgba(0, 255, 255, 0.3);
  padding-top: 15px;
  position: relative;
  z-index: 2;
}

.mission-title {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.mission-description {
  font-size: 16px;
  line-height: 1.4;
}

/* Main panels layout */
.locker-panels {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.locker-panel-section {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  border-right: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
}

.locker-panel-section:last-child {
  border-right: none;
}

.panel-title {
  font-size: 18px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.section-subtitle {
  font-size: 14px;
  color: var(--primary);
  margin: 15px 0 10px;
  opacity: 0.9;
}

/* Artifacts Section */
.artifacts-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.artifact-item {
  background-color: rgba(0, 20, 40, 0.7);
  border: 1px solid var(--secondary);
  border-radius: 5px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s;
  cursor: pointer;
}

.artifact-item:hover {
  background-color: rgba(185, 103, 255, 0.1);
  box-shadow: 0 0 10px rgba(185, 103, 255, 0.3);
  transform: translateY(-2px);
}

.artifact-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.artifact-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(185, 103, 255, 0.3) 0%, transparent 70%);
  animation: pulse-artifact 3s infinite alternate;
  border-radius: 50%;
}

@keyframes pulse-artifact {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

.artifact-icon img {
  width: 30px;
  height: 30px;
  z-index: 1;
  filter: drop-shadow(0 0 2px var(--secondary));
}

.artifact-info {
  flex: 1;
}

.artifact-name {
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 5px;
}

.artifact-origin, .artifact-class {
  font-size: 12px;
  opacity: 0.8;
}

/* Gear Section */
.gear-slots {
  display: flex;
  gap: 15px;
  justify-content: space-between;
}

.gear-slot {
  background-color: rgba(0, 20, 40, 0.5);
  border: 1px dashed rgba(0, 255, 255, 0.4);
  border-radius: 5px;
  width: 32%;
  padding: 10px;
}

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

.gear-item.active {
  position: relative;
}

.gear-item.active::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--primary);
}

.gear-icon {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.gear-icon img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 3px var(--primary));
}

.gear-name {
  font-size: 14px;
  color: white;
  margin-bottom: 5px;
}

.gear-level {
  font-size: 12px;
  color: var(--primary);
}

.storage-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  background-color: rgba(0, 20, 40, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 5px;
  min-height: 120px;
}

/* Transmission Section */
.companion-interface {
  background-color: rgba(0, 20, 40, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 5px;
  overflow: hidden;
}

.companion-header {
  background-color: rgba(0, 255, 255, 0.1);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.companion-icon {
  width: 30px;
  height: 30px;
}

.companion-icon img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 2px var(--primary));
}

.companion-name {
  font-size: 14px;
  color: var(--primary);
}

.echoes-list {
  padding: 15px;
  max-height: 400px;
  overflow-y: auto;
}

.echo-item {
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-left: 3px solid var(--primary);
  border-radius: 5px;
  padding: 12px;
  margin-bottom: 15px;
}

.echo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.echo-title {
  font-weight: bold;
  color: white;
}

.echo-time {
  font-size: 12px;
  color: var(--primary);
}

.echo-sender {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 10px;
}

.echo-content {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 10px;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.echo-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.play-button {
  background: none;
  border: 1px solid var(--primary);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.play-button:hover {
  background-color: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 5px var(--primary);
}

.play-button img {
  width: 20px;
  height: 20px;
  filter: brightness(1.2);
}

.boost-level {
  font-size: 12px;
  color: var(--primary);
  padding: 2px 8px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
}

/* Empty state styling */
.empty-state {
  text-align: center;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-style: italic;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  margin-top: 10px;
}

/* Add scanline effect to planets and star */
.planet, .star {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 100% 4px;
}

/* ========================================
   MOBILE RESPONSIVENESS
   ======================================== */

/* Hide rocket ship on mobile */
@media (max-width: 768px) {
  .player {
    display: none !important;
  }

  /* Main header - reduce size by 20% and allow line break */
  .main-header {
    font-size: 38px;
    margin-bottom: 12px;
  }

  .mobile-break {
    display: unset;
  }

  /* Signal section - reduce vertical spacing */
  .signal-section {
    margin: 15px 0 20px 0;
    gap: 10px;
  }

  /* Signal section - stack vertically */
  .signal-track {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    width: 95%;
    max-width: 400px;
  }

  .track-name {
    text-align: center;
    font-size: 12px;
    display: block;
  }

  .track-name .mobile-break {
    display: block;
  }

  .signal-btn {
    width: 100%;
    padding: 8px 16px;
    font-size: 12px;
  }

  .signal-label {
    font-size: 10px;
  }

  /* CTA button - reduce size for better hierarchy */
  .newsletter-btn {
    margin-top: 20px;
    padding: 14px 28px;
    font-size: 14px;
  }

  /* Disable resource-heavy animations on hero page for mobile performance */
  /* Hide hero page shooting stars (they're at .screen level, not inside hero-section) */
  .screen > .shooting-star:not([class*="music"]):not([class*="bio"]):not([class*="gear"]):not([class*="contact"]) {
    display: none !important;
  }

  .screen > .cosmic-dust::before {
    display: none !important;
  }

  /* Simplify cosmic dust - static dots only, no animation */
  .screen > .cosmic-dust {
    animation: none !important;
  }

  /* Make hero background pure black on mobile to match other sections */
  .screen {
    background: #000000 !important;
    background-image: none !important;
  }

  .screen::before,
  .screen::after {
    opacity: 0 !important;
  }

  /* Hero logo - steady glow instead of pulsing */
  .hero-logo {
    animation: none !important;
    filter: drop-shadow(0 0 30px rgba(245, 245, 245, 0.8))
            drop-shadow(0 0 60px rgba(245, 245, 245, 0.5)) !important;
  }

  /* ========================================
     MUSIC SECTION (SIGNAL SCANNER) - MOBILE
     ======================================== */

  /* Radio display - reduce size */
  .radio-display {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .radio-brand {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  .frequency-display {
    margin-bottom: 15px;
  }

  .frequency-number {
    font-size: 48px !important;
  }

  .frequency-unit {
    font-size: 14px !important;
  }

  .station-name {
    font-size: 12px !important;
  }

  /* Hide visual tuner scale on mobile - keep slider only */
  .tuner-scale {
    display: none;
  }

  .tuner-section {
    margin: 20px 0;
  }

  .tuner-control {
    padding: 15px;
  }

  .tuner-label {
    font-size: 10px !important;
    margin-bottom: 10px !important;
  }

  .frequency-dial {
    margin: 10px 0 !important;
  }

  .station-markers {
    gap: 5px !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }

  .marker {
    font-size: 9px !important;
    white-space: nowrap;
  }

  /* Radio player - stack vertically and reduce size */
  .radio-player {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .radio-play-btn {
    width: 100%;
    max-width: 200px;
    padding: 12px 24px !important;
    font-size: 14px !important;
  }

  .volume-control {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .volume-control label {
    font-size: 10px !important;
  }

  .volume-control input {
    width: 100% !important;
  }

  /* Station list - reduce spacing */
  .station-list {
    padding: 15px;
    margin-bottom: 20px;
  }

  .list-header {
    font-size: 10px !important;
    margin-bottom: 12px !important;
  }

  .station-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    padding: 12px !important;
    font-size: 11px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .station-item .freq {
    font-size: 11px !important;
    font-weight: bold;
  }

  .station-item .song-title {
    font-size: 10px !important;
    line-height: 1.3;
    white-space: nowrap !important;
    display: inline-block !important;
    max-width: none !important;
    width: max-content !important;
  }

  /* Listen Everywhere button */
  .listen-everywhere-btn {
    padding: 12px 24px !important;
    font-size: 13px !important;
  }

  /* Hide headphones emoji on mobile */
  .listen-everywhere-btn .btn-icon {
    display: none !important;
  }

  /* Music section container */
  .music-container {
    padding: 20px 8px !important;
  }

  .radio-interface {
    padding: 20px 15px !important;
    border-width: 2px !important;
  }

  .section-header {
    font-size: 24px !important;
  }

  .section-subheader {
    font-size: 12px !important;
    margin-top: -5px !important;
    margin-bottom: 20px !important;
  }

  /* ========================================
     LORE SECTION - MOBILE
     ======================================== */

  /* Stack visual feed on top of bio section */
  .mission-display {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .visual-feed {
    width: 100%;
  }

  .mission-brief {
    width: 100%;
  }

  /* Reduce padding for both panels */
  .visual-feed,
  .mission-brief {
    padding: 20px 15px !important;
  }

  /* Feed controls */
  .feed-header {
    padding: 12px 15px !important;
  }

  .feed-label {
    font-size: 10px !important;
  }

  .feed-counter {
    font-size: 11px !important;
  }

  .feed-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  /* Brief header */
  .brief-header {
    padding: 12px 15px !important;
  }

  .brief-label {
    font-size: 10px !important;
  }

  .brief-id {
    font-size: 10px !important;
  }

  /* Data sections */
  .section-title {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }

  .data-field {
    margin-bottom: 8px !important;
  }

  .field-label {
    font-size: 10px !important;
  }

  .field-value {
    font-size: 12px !important;
  }

  .mission-text {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* Transmission buttons */
  .transmission-btn {
    padding: 10px 20px !important;
    font-size: 12px !important;
  }

  /* Mission control container */
  .mission-control-container {
    padding: 20px 10px !important;
  }

  /* Ensure sections fill width properly */
  .mission-display {
    margin: 0 !important;
  }

  .visual-feed,
  .mission-brief {
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* ========================================
     CONTACT SECTION (TRANSMISSION TERMINAL) - MOBILE
     ======================================== */

  .contact-section {
    padding: 60px 20px 60px !important;
  }

  .contact-header {
    font-size: 32px !important;
    margin-bottom: 10px !important;
  }

  .contact-subheader {
    font-size: 12px !important;
    margin-bottom: 30px !important;
  }

  .contact-container {
    padding: 20px 10px !important;
  }

  .crt-monitor {
    max-width: 100% !important;
  }

  .monitor-bezel {
    padding: 15px 10px !important;
    border-width: 2px !important;
  }

  .monitor-label,
  .monitor-id {
    font-size: 9px !important;
    top: 6px !important;
  }

  .monitor-screen {
    aspect-ratio: unset !important;
    height: auto !important;
    min-height: 600px !important;
    max-height: none !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    position: relative !important;
  }

  .form-content {
    padding: 15px 10px 20px 10px !important;
    max-height: none !important;
    overflow-y: visible !important;
    min-height: auto !important;
  }

  .transmission-form {
    padding: 20px 18px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-field {
    margin-bottom: 15px !important;
    width: 100%;
  }

  .field-label {
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }

  .field-input,
  .field-textarea {
    padding: 10px !important;
    font-size: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  .field-textarea {
    min-height: 120px !important;
    resize: vertical !important;
  }

  .transmit-button {
    padding: 14px 28px !important;
    font-size: 14px !important;
    display: block !important;
    margin: 20px auto 20px !important;
    width: auto !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .monitor-controls {
    padding: 8px !important;
    margin-top: 12px !important;
  }

  .control-label {
    font-size: 9px !important;
  }

  /* Contact footer */
  .contact-footer {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 30px 20px !important;
  }

  .contact-item {
    text-align: center !important;
  }

  .contact-icon {
    font-size: 24px !important;
  }

  .contact-label {
    font-size: 10px !important;
  }

  .contact-info {
    font-size: 13px !important;
  }

  /* ========================================
     NEWSLETTER POPUP - MOBILE
     ======================================== */

  .popup-content {
    max-width: 300px !important;
    width: calc(100vw - 40px) !important;
    padding: 20px 15px 40px 15px !important;
    min-height: 380px !important;
    max-height: none !important;
    overflow-y: visible !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .popup-form-wrapper {
    flex-shrink: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .popup-form-wrapper iframe {
    width: 261px !important;
    height: 289px !important;
  }

  .close-btn {
    font-size: 28px !important;
    width: 35px !important;
    height: 35px !important;
  }
}

/* Hide mobile line break on desktop */
.mobile-break {
  display: none;
}

/* ========================================
   SHOPIFY PRODUCT MODAL
   ======================================== */

.shopify-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.shopify-modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0A0A0A;
  border: 2px solid #89CFC0;
  border-radius: 8px;
  padding: 30px;
  -webkit-overflow-scrolling: touch;
}

.shopify-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #89CFC0;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  z-index: 10001;
}

.shopify-modal-close:hover {
  color: #7bbaad;
}

/* Shopify modal responsive adjustments */
@media (max-width: 768px) {
  .shopify-modal-overlay {
    padding: 10px;
  }

  .shopify-modal-container {
    padding: 20px 15px;
    max-height: 85vh;
  }

  .shopify-modal-close {
    top: 10px;
    right: 10px;
    font-size: 28px;
    width: 35px;
    height: 35px;
  }
}
