/* Custom Sci-Fi Styles */

:root {
  --deepblack: #0a0a14;
  --deepgray: #12121e;
  --energyblue: #00b4ff;
  --alertorange: #ff6b35;
  --neonpurple: #a020f0;
  --silversolid: #c0c0c0;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--deepblack);
  color: var(--silversolid);
}

/* Custom Scrollbar for Sci-Fi feel */
::-webkit-scrollbar {
  width: 8px;
  background: var(--deepblack);
}

::-webkit-scrollbar-thumb {
  background: var(--energyblue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--alertorange);
}

/* Scanlines Effect */
.scanlines {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.2)
  );
  background-size: 100% 4px;
  animation: scanline 10s linear infinite;
  pointer-events: none;
}

@keyframes scanline {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100vh;
  }
}

/* Glow Effects */
.text-glow-blue {
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.6), 0 0 20px rgba(0, 180, 255, 0.3);
}

.text-glow-orange {
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.6), 0 0 20px rgba(255, 107, 53, 0.3);
}

.text-glow-white {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Earth Glow */
.earth-glow {
  background: radial-gradient(circle at 50% 100%, rgba(0, 180, 255, 0.5), transparent 70%);
}

/* Button Pulse */
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  animation: btnSweep 3s infinite;
}

@keyframes btnSweep {
  0% {
    left: -100%;
  }
  20%, 100% {
    left: 200%;
  }
}

/* Star Background (CSS Stars) */
#stars, #stars2, #stars3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  animation: bgScroll linear infinite;
}

#stars {
  animation-duration: 50s;
}

#stars2 {
  animation-duration: 100s;
}

#stars3 {
  animation-duration: 150s;
}

@keyframes bgScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-100vh); }
}

/* Timeline specific responsive adjustments */
@media (min-width: 768px) {
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
  }
}