body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0d2236;
  color: #e0eaf3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

canvas#globeCanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

.center-content {
  z-index: 3;
  text-align: center;
  padding: 1rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(97, 160, 209, 0.6);
}

.mission {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact {
  font-size: 1rem;
  color: #a4bfd8;
}

.site-footer {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
  color: #7ea9c6;
  padding: 0 1rem;
  line-height: 1.5;
  z-index: 3;
  opacity: 0.9;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  z-index: 3;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  background: #0e2a3f;
  border: 1px solid #2e4a65;
  color: #e0eaf3;
  border-radius: 4px;
}

.contact-form button {
  padding: 0.75rem;
  background: #61a0d1;
  border: none;
  color: #0d2236;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.contact-form button:hover {
  background: #4e89bc;
}

.code-overlay {
  position: fixed;
  width: 25%;
  height: 400%;
  font-family: monospace;
  font-size: 0.75rem;
  color: rgba(97, 160, 209, 0.08);
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.code-1 { left: 0; }
.code-2 { left: 25%; }
.code-3 { left: 50%; }
.code-4 { left: 75%; }

.code-overlay.mirrored {
  transform: scaleY(-1);
  top: auto;
  bottom: 0;
}

.stream {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: scrollLoop 180s linear infinite;
}

.reverse .stream {
  animation: scrollLoopReverse 180s linear infinite;
}

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

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

.related-sites a {
  color: #61a0d1;
  text-decoration: none;
}

.related-sites a:hover {
  text-decoration: underline;
}
