:root {
  color-scheme: dark;
  --bg: #000;
  --ink: #eaf5ff;
  --muted: #9fc9ef;
  --line: rgba(157, 207, 255, 0.55);
  --glow: rgba(103, 183, 255, 0.75);
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  overflow: hidden;
}

body {
  min-height: 100svh;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 52%, rgba(33, 91, 145, 0.08), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(14, 56, 94, 0.06), transparent 36%),
    linear-gradient(to bottom, rgba(255,255,255,0.015), transparent 25%, transparent 80%, rgba(130,190,255,0.018));
}

.gate {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.content {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-1.5vh);
  animation: arrival 1.6s cubic-bezier(.2,.7,.2,1) both;
}

.mark {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: clamp(.55rem, 1.25vw, 1.05rem);
  text-indent: clamp(.55rem, 1.25vw, 1.05rem);
  color: #f0f8ff;
  text-shadow:
    0 0 8px rgba(210, 237, 255, .8),
    0 0 20px rgba(99, 174, 240, .35);
}

.tagline,
.return,
.status {
  font-weight: 400;
  letter-spacing: .48em;
  text-indent: .48em;
}

.tagline {
  margin: 26px 0 0;
  font-size: clamp(.72rem, 1.2vw, .95rem);
  color: #c3e2fb;
  opacity: .95;
}

.divider {
  width: 58px;
  height: 1px;
  margin: 54px 0 44px;
  background: linear-gradient(90deg, transparent, rgba(162, 210, 255, .8), transparent);
  box-shadow: 0 0 10px rgba(120, 190, 255, .35);
}

.status {
  margin: 0;
  font-size: clamp(.72rem, 1.35vw, .95rem);
  line-height: 2.5;
  color: #d7ecff;
}

.status p { margin: 0; }

.sigil {
  position: relative;
  width: 94px;
  aspect-ratio: 1;
  margin-top: 32px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 12px rgba(100, 185, 255, .25));
}

.core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f7fbff;
  box-shadow:
    0 0 8px #fff,
    0 0 18px #8bc8ff,
    0 0 35px rgba(92, 173, 255, .8);
  animation: breathe 4.8s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(150, 210, 255, .7);
}

.orbit-a {
  width: 62px;
  height: 62px;
  box-shadow: inset 0 0 12px rgba(100, 180, 255, .05), 0 0 12px rgba(100, 180, 255, .12);
  animation: orbitPulse 6s ease-in-out infinite;
}

.orbit-b {
  width: 74px;
  height: 74px;
  border-color: rgba(140, 200, 255, .11);
  animation: orbitPulse 6s ease-in-out 1.2s infinite;
}

.axis {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(167, 218, 255, .9), transparent);
}

.axis-top, .axis-bottom {
  left: 50%;
  width: 1px;
  height: 25px;
  background: linear-gradient(180deg, transparent, rgba(167, 218, 255, .9));
}

.axis-top { bottom: calc(50% + 39px); }
.axis-bottom {
  top: calc(50% + 39px);
  transform: rotate(180deg);
}

.axis-left, .axis-right {
  top: 50%;
  width: 25px;
  height: 1px;
}

.axis-left { right: calc(50% + 39px); }
.axis-right { left: calc(50% + 39px); }

.return {
  margin: 42px 0 0;
  font-size: clamp(.6rem, 1vw, .72rem);
  color: #8fbce2;
  opacity: .9;
}

@keyframes breathe {
  0%, 100% { transform: scale(.88); opacity: .78; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(.96); opacity: .55; }
  50% { transform: scale(1.03); opacity: .9; }
}

@keyframes arrival {
  from { opacity: 0; transform: translateY(10px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(-1.5vh); filter: blur(0); }
}

@media (max-width: 640px) {
  .content { transform: translateY(-2vh); }
  .mark { letter-spacing: .42rem; text-indent: .42rem; }
  .tagline, .return, .status {
    letter-spacing: .28em;
    text-indent: .28em;
  }
  .divider { margin: 42px 0 34px; }
  .status { line-height: 2.25; }
  .sigil { margin-top: 26px; transform: scale(.9); }
  .return { margin-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
