:root {
  color-scheme: dark;
  --bg: #060713;
  --surface: rgba(12, 15, 36, 0.62);
  --text: #f8f8ff;
  --muted: #9ca3c0;
  --cyan: #6fe8ff;
  --violet: #9a7cff;
  --pink: #ff69cb;
  --line: rgba(169, 153, 255, 0.2);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
}

.space,
.space::before,
.space::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.space {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(21, 26, 65, 0.52), transparent 33rem),
    radial-gradient(circle at 50% 120%, rgba(107, 70, 210, 0.21), transparent 46rem),
    linear-gradient(145deg, #050611 0%, #08091a 50%, #050611 100%);
}

.space::before {
  content: "";
  background: radial-gradient(ellipse at center, transparent 0 38%, rgba(3, 4, 12, 0.56) 100%);
}

.space::after {
  content: "";
  opacity: 0.12;
  background-image: linear-gradient(rgba(137, 147, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(137, 147, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000, transparent 77%);
}

.stars {
  position: absolute;
  inset: -12%;
  background-repeat: repeat;
  transform: rotate(-4deg);
}

.stars-near {
  opacity: 0.72;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle, #8cecff 0 1px, transparent 1.4px),
    radial-gradient(circle, #c4a8ff 0 1.2px, transparent 1.8px);
  background-position: 0 0, 57px 83px, 121px 31px;
  background-size: 173px 181px, 239px 227px, 307px 293px;
  animation: star-drift 42s linear infinite;
}

.stars-far {
  opacity: 0.35;
  background-image: radial-gradient(circle, #d8d9ff 0 .7px, transparent 1px);
  background-position: 31px 51px;
  background-size: 91px 97px;
  animation: star-drift 70s linear infinite reverse;
}

.nebula {
  position: absolute;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
  animation: breathe 9s ease-in-out infinite alternate;
}

.nebula-one { top: -25rem; right: -14rem; background: var(--pink); }
.nebula-two { bottom: -27rem; left: -13rem; background: var(--cyan); animation-delay: -4s; }

.comet {
  position: absolute;
  top: 20%;
  left: 13%;
  width: 120px;
  height: 1px;
  opacity: 0.45;
  transform: rotate(-27deg);
  background: linear-gradient(90deg, transparent, rgba(148, 231, 255, 0.8));
  filter: drop-shadow(0 0 5px var(--cyan));
}

.comet::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 12px var(--cyan);
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 30px 0 24px;
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 15px 8px 9px;
  border: 1px solid rgba(156, 143, 255, 0.16);
  border-radius: 18px;
  background: rgba(8, 10, 25, 0.42);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.brand-symbol {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 16px rgba(154, 124, 255, 0.24));
}

.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 13px; letter-spacing: 0.23em; }
.brand-copy small {
  margin-top: 6px;
  color: var(--pink);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.42em;
}

.hero {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(430px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 7vw, 88px);
  padding: 36px clamp(8px, 3vw, 38px);
}

.cosmos-mark {
  position: relative;
  justify-self: end;
  width: min(38vw, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.cosmos-mark::before,
.cosmos-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.cosmos-mark::before {
  inset: 11%;
  border: 1px solid rgba(145, 176, 255, 0.13);
  background: radial-gradient(circle at 42% 35%, rgba(88, 98, 199, 0.24), rgba(8, 10, 24, 0.3) 58%, transparent 71%);
  box-shadow: inset 0 0 50px rgba(112, 87, 230, 0.08), 0 0 90px rgba(89, 71, 196, 0.1);
}

.cosmos-mark::after {
  inset: 1%;
  border: 1px dashed rgba(123, 212, 255, 0.13);
  animation: spin 48s linear infinite;
}

.cosmos-mark > img {
  position: relative;
  z-index: 4;
  width: 35%;
  height: 35%;
  filter: drop-shadow(0 0 30px rgba(154, 124, 255, 0.35));
}

.planet-glow {
  position: absolute;
  z-index: 2;
  width: 48%;
  height: 48%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 231, 255, 0.2), rgba(154, 124, 255, 0.08) 48%, transparent 72%);
  filter: blur(12px);
  animation: pulse 3.5s ease-in-out infinite alternate;
}

.orbit {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(157, 139, 255, 0.27);
  border-radius: 50%;
}

.orbit i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 12px 3px currentColor;
}

.orbit-outer {
  width: 88%;
  height: 34%;
  transform: rotate(-18deg);
  animation: orbit-tilt 6s ease-in-out infinite alternate;
}

.orbit-outer i {
  top: 47%;
  right: -3px;
  width: 7px;
  height: 7px;
  color: var(--pink);
}

.orbit-inner {
  width: 58%;
  height: 58%;
  transform: rotate(41deg);
  border-color: rgba(103, 230, 255, 0.18);
}

.orbit-inner i {
  left: 15%;
  top: 4%;
  width: 4px;
  height: 4px;
  color: var(--cyan);
}

.hero-copy { position: relative; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(111, 232, 255, 0.2);
  border-radius: 999px;
  color: #a5f1ff;
  background: rgba(111, 232, 255, 0.055);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status i,
.signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
}

.eyebrow {
  margin: 30px 0 12px;
  color: #b8afff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.34em;
}

h1 {
  margin: 0;
  font-size: clamp(74px, 9vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-shadow: 0 18px 65px rgba(154, 124, 255, 0.12);
}

h1 span {
  margin-left: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--violet) 52%, var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.message {
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #626a89;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal { display: inline-flex; align-items: center; gap: 8px; }
.signal i { width: 4px; height: 4px; }

@keyframes star-drift { to { transform: rotate(-4deg) translate3d(-80px, 60px, 0); } }
@keyframes breathe { to { transform: scale(1.14) translate3d(24px, -12px, 0); opacity: 0.21; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { to { transform: scale(1.12); opacity: .7; } }
@keyframes orbit-tilt { to { transform: rotate(-14deg) scaleX(1.02); } }

@media (max-width: 820px) {
  .page-shell { width: min(100% - 28px, 1180px); padding-top: 18px; }
  .hero { grid-template-columns: 1fr; gap: 8px; padding: 20px 0 30px; text-align: center; }
  .cosmos-mark { order: 0; justify-self: center; width: min(74vw, 350px); }
  .hero-copy { order: 1; margin-top: -30px; }
  .message { margin-inline: auto; }
  footer { padding-bottom: 2px; }
}

@media (max-width: 520px) {
  .page-shell { min-height: 100svh; }
  .brand { padding: 6px 13px 6px 7px; border-radius: 16px; }
  .brand-symbol { width: 40px; height: 40px; }
  .hero { align-self: center; }
  .cosmos-mark { width: min(82vw, 315px); }
  .status { padding: 8px 11px; }
  .eyebrow { margin-top: 22px; }
  h1 { font-size: clamp(63px, 21vw, 94px); }
  .message { max-width: 310px; font-size: 13px; }
  footer { justify-content: center; }
  footer .signal { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
