@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500&display=swap');

:root {
  color-scheme: dark;
  --white: #f4f8fa;
  --muted: rgba(201, 221, 226, 0.62);
}

* {
  box-sizing: border-box;
}

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

body {
  background: #000;
  color: var(--white);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.coming-soon {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8vh 6vw 5vh;
  text-align: center;
}

.logo-stage {
  position: relative;
  width: min(86vw, 960px);
  aspect-ratio: 2 / 1;
  isolation: isolate;
}

.orbital-system {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 116%;
  height: 120%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.94);
}

.ready .orbital-system {
  animation: orbitals-in 1.7s ease-out 3.05s forwards;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0, 234, 255, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 100%;
  height: 46%;
  animation: orbit-spin 21s linear infinite;
}

.orbit-two {
  width: 78%;
  height: 86%;
  border-color: rgba(0, 234, 255, 0.11);
  transform: translate(-50%, -50%) rotate(58deg);
  animation: orbit-spin-reverse 27s linear infinite;
}

.orbit-three {
  width: 66%;
  height: 106%;
  border-color: rgba(0, 234, 255, 0.08);
  transform: translate(-50%, -50%) rotate(-62deg);
  animation: orbit-spin 34s linear infinite;
}

.satellite {
  position: absolute;
  top: -0.45rem;
  left: 50%;
  min-width: 1.7rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid rgba(0, 234, 255, 0.28);
  background: #000;
  color: rgba(0, 234, 255, 0.75);
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  text-align: center;
  transform: translateX(-50%);
}

.logo-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(0.985);
  filter: blur(5px);
}

.logo-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(7rem, 20vw, 12rem);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 234, 255, 0.22);
  border-top-color: rgba(0, 234, 255, 0.9);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
}

.logo-loader::before {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(0, 234, 255, 0.14);
  border-right-color: rgba(0, 234, 255, 0.7);
  border-radius: 50%;
  content: '';
}

.ready .logo-loader {
  animation: loader-in 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.ready .logo-loader::before {
  animation: loader-spin 1.8s linear infinite;
}

.ready .logo-image {
  animation: logo-in 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s forwards;
}

.message {
  max-width: 33rem;
  margin-top: clamp(0.4rem, 1.2vw, 1rem);
  opacity: 0;
  transform: translateY(10px);
}

.ready .message {
  animation: message-in 1.2s ease-out 2.55s forwards;
}

.message h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.message p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.3vw, 0.92rem);
  font-weight: 400;
  letter-spacing: 0.015em;
}

.signature {
  margin: clamp(4rem, 10vh, 7rem) 0 0;
  color: rgba(0, 234, 255, 0.58);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  opacity: 0;
  transform: translateY(7px);
}

.ready .signature {
  animation: message-in 1s ease-out 3.2s forwards;
}

@keyframes loader-in {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.72) rotate(0deg); }
  15%, 62% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3) rotate(180deg); }
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes orbitals-in {
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-302deg); }
}

@keyframes logo-in {
  0% { opacity: 0; transform: scale(0.985); filter: blur(5px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes message-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .coming-soon {
    padding: 8vh 7vw 4vh;
  }

  .logo-stage {
    width: min(116vw, 520px);
  }

  .orbital-system {
    width: 128%;
    height: 112%;
  }

  .satellite {
    font-size: 0.46rem;
  }

  .message {
    margin-top: 0.1rem;
  }

  .message p {
    max-width: 19rem;
    line-height: 1.7;
  }

  .signature {
    margin-top: 4.5rem;
    font-size: 0.53rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ready .orbital-system,
  .orbit,
  .ready .logo-loader,
  .ready .logo-loader::before,
  .ready .logo-image,
  .ready .message,
  .ready .signature {
    animation-duration: 0.01ms;
    animation-delay: 0s;
    animation-iteration-count: 1;
  }
}
