/* style.css */
:root {
  --neon: #00ffff;
}

body {
  margin: 0;
  font-family: 'Share Tech Mono', monospace;
  background-color: #0d0d0d;
  color: #fff;
  overflow-x: hidden;
}

a {
  color: var(--neon);
  text-decoration: none;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--neon);
}

.site-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: var(--neon);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a:hover {
  text-decoration: underline;
}

.background-code {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 40vh;
  overflow: hidden;
  opacity: 0.07;
  font-size: 0.9rem;
  pointer-events: none;
  white-space: pre-wrap;
  z-index: -1;
}

.background-code pre {
  animation: scroll-code 60s linear infinite;
  display: inline-block;
  white-space: pre;
  font-size: 1.8rem; /* doubled from original 0.9rem */
}

@keyframes scroll-code {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(-100%);
  }
}

main {
  padding: 4rem 2rem 2rem 2rem;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.neon {
  font-size: 2.5rem;
  color: var(--neon);
  text-shadow: 0 0 2px var(--neon), 0 0 4px var(--neon);
}

.highlight {
  color: var(--neon);
  margin-bottom: 1rem;
}

.focus-list {
  list-style: disc;
  padding-left: 2rem;
}

.quote-ticker {
  margin: 4rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker {
  display: inline-block;
  animation: scroll-left 60s linear infinite;
  color: #888;
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.terminal-box {
  background-color: #111;
  padding: 1rem;
  border: 1px solid var(--neon);
  font-family: 'Share Tech Mono', monospace;
  max-width: 700px;
  margin: 0 auto;
}

.prompt {
  color: var(--neon);
}

.response {
  color: #f08fff;
}

.fade-in {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
}

.fade-in.visible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #666;
}

.article-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* SIGNAL UPLINK PAGE STYLES */

.signal-uplink {
  /* background-image: url('/assets/images/space-map.jpg'); */
  /* background-size: cover; */
  /* background-position: center; */
  background-color: rgb(0, 0, 0);
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 0;
}

.signal-form-container {
  background-color: rgba(20, 20, 20, 0.8);
  z-index: 10;
  /* make sure these are also included */
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  border-radius: 8px;
}

.signal-form-container h2 {
  color: var(--neon);
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 1rem;
}

.signal-form-container label {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-family: 'Share Tech Mono', monospace;
  color: var(--neon);
}

.signal-form-container input,
.signal-form-container textarea {
  background-color: #111;
  border: 1px solid var(--neon);
  color: #fff;
  padding: 0.5rem;
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-family: 'Share Tech Mono', monospace;
}

.signal-form-container button {
  background-color: var(--neon);
  color: #000;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border: 1px solid var(--neon);
  cursor: pointer;
}

.signal-form-container button:hover {
  background-color: #00cccc;
}

/* Signal animation elements */

.signal-celestial {
  position: absolute;
  border-radius: 50%;
  background-color: var(--neon);
  width: 20px;
  height: 20px;
  z-index: 5;
}

.signal-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--neon);
  border-radius: 50%;
  animation: pulse-signal 2s ease-out infinite;
}

@keyframes pulse-signal {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(10);
    opacity: 0;
  }
}
/* Signal line animation for signal traveling between celestial bodies */
.signal-line {
  position: absolute;
  height: 2px;
  background-color: var(--neon);
  z-index: 5;
  transform-origin: left center;
  opacity: 0;
  transition: opacity 0.3s ease-in;
  width: 0;
}

.animate-line {
  animation: send-signal 1.5s ease-out forwards;
}

@keyframes send-signal {
  0% {
    width: 0;
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

/* Optional: Distinct positioning for origin and destination celestial bodies */
#origin {
  top: 20%;
  left: 10%;
}

#destination {
  bottom: 20%;
  right: 10%;
}
# Responsive styles for mobile
@media (max-width: 600px) {
  .signal-form-container {
    padding: 1rem;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }
}
# Subtle animated divider with glowing beam effect
.divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--neon), transparent);
  position: relative;
  overflow: hidden;
  margin: 4rem 0;
}

.divider::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100px;
  background: linear-gradient(to right, transparent, white, transparent);
  animation: slide-glow 6s linear infinite;
  animation-delay: calc(var(--glow-delay, 0s));
  opacity: 0.5;
  left: -100px;
}

@keyframes slide-glow {
  0% {
    left: -100px;
    opacity: 0.5;
  }
  80% {
    left: 100%;
    opacity: 0.5;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.divider:nth-of-type(1)::before { --glow-delay: 0s; }
.divider:nth-of-type(2)::before { --glow-delay: 1s; }
.divider:nth-of-type(3)::before { --glow-delay: 2s; }
.divider:nth-of-type(4)::before { --glow-delay: 3s; }
.divider:nth-of-type(5)::before { --glow-delay: 4s; }