@charset "UTF-8";

:root {
  --bg-deep: #040712;
  --bg-mid: #0a1730;
  --ink-main: #d7edff;
  --ink-muted: #8ea9c7;
  --panel-bg: rgba(6, 16, 34, 0.56);
  --panel-edge: rgba(154, 201, 245, 0.22);
  --mouse-x: 0;
  --mouse-y: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Segoe UI", "Avenir Next", "Gill Sans", sans-serif;
  color: var(--ink-main);
  background:
    radial-gradient(circle at 70% 20%, rgba(36, 93, 160, 0.24), transparent 36%),
    radial-gradient(circle at 24% 74%, rgba(20, 57, 101, 0.36), transparent 44%),
    linear-gradient(160deg, var(--bg-mid) 0%, var(--bg-deep) 60%);
  overflow: hidden;
}

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.sky-haze {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.32;
  background:
    radial-gradient(circle at 15% 30%, rgba(63, 97, 142, 0.2), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(92, 138, 194, 0.14), transparent 35%),
    radial-gradient(circle at 70% 70%, rgba(20, 46, 84, 0.22), transparent 45%);
}

.mission-shell {
  position: relative;
  z-index: 2;
  min-height: 100%;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.3rem, 2.8vw, 2.2rem);
}

.orbital-display {
  width: min(74vw, 390px);
  aspect-ratio: 1;
  position: relative;
  border-radius: 50%;
  border: 1px solid rgba(145, 189, 236, 0.35);
  background:
    radial-gradient(circle at center, rgba(39, 83, 129, 0.22), rgba(9, 22, 43, 0.35) 45%, rgba(4, 10, 20, 0.6) 100%);
  box-shadow:
    0 0 40px rgba(66, 120, 191, 0.24),
    inset 0 0 45px rgba(25, 65, 107, 0.4);
  transform: translate3d(calc(var(--mouse-x) * 10px), calc(var(--mouse-y) * 10px), 0);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(148, 204, 255, 0.24);
  inset: 12%;
}

.ring-2 {
  inset: 24%;
}

.ring-3 {
  inset: 36%;
}

.sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(104, 215, 255, 0.28), rgba(104, 215, 255, 0));
  mix-blend-mode: screen;
  animation: sweep 5.4s linear infinite;
}

.blip {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(183, 230, 255, 0.95);
  box-shadow: 0 0 0 0 rgba(150, 214, 255, 0.68);
  animation: pulse 2.4s ease-out infinite;
  transition: top 860ms ease, left 860ms ease;
}

.blip-a {
  top: 22%;
  left: 38%;
  animation-delay: 0.4s;
}

.blip-b {
  top: 58%;
  left: 67%;
  animation-delay: 1s;
}

.blip-c {
  top: 68%;
  left: 26%;
  animation-delay: 1.4s;
}

.blip-d {
  top: 43%;
  left: 52%;
  animation-delay: 0.2s;
}

.display-label {
  position: absolute;
  inset: auto 0 10%;
  text-align: center;
  margin: 0;
  color: #d4e9ff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.telemetry {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 0.72rem;
}

.telemetry article {
  margin: 0;
  padding: 0.78rem 0.92rem;
  border: 1px solid var(--panel-edge);
  border-radius: 11px;
  background: var(--panel-bg);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(132, 173, 224, 0.1);
}

.telemetry-label,
.telemetry-value {
  margin: 0;
}

.telemetry-label {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telemetry-value {
  margin-top: 0.3rem;
  font-size: clamp(0.98rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: #e1f2ff;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(145, 207, 255, 0.62);
  }

  75% {
    transform: scale(1.18);
    box-shadow: 0 0 0 12px rgba(145, 207, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(145, 207, 255, 0);
  }
}

@keyframes sweep {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .telemetry {
    grid-template-columns: 1fr;
  }

  .orbital-display {
    width: min(86vw, 360px);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sweep,
  .blip {
    animation: none;
  }

  .orbital-display {
    transform: none;
  }
}
