/* Coming Soon experience */
.coming-soon {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding-top: 55px;
  padding-bottom: 80px;
  overflow: hidden;
}

.coming-soon-shell {
  width: min(100%, 940px);
  text-align: center;
}

.coming-soon-kicker {
  margin-bottom: 18px;
}

.coming-soon h1 {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(3rem, 7vw, 6.7rem);
}

.coming-soon-intro {
  max-width: 600px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.coming-soon-section {
  display: inline-flex;
  margin: 24px 0 0;
  padding: 9px 14px;
  border: 1px solid rgba(40, 213, 195, 0.25);
  border-radius: 999px;
  background: rgba(40, 213, 195, 0.06);
  color: var(--cyan);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.digital-core {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin: 22px auto 20px;
  isolation: isolate;
}

.digital-core::before,
.digital-core::after {
  content: "";
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(40, 213, 195, 0.28),
    rgba(124, 92, 255, 0.18) 38%,
    transparent 70%
  );
  filter: blur(22px);
  animation: core-pulse 5s ease-in-out infinite;
}

.digital-core::after {
  inset: 32%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.85),
    rgba(40, 213, 195, 0.48) 16%,
    rgba(124, 92, 255, 0.16) 58%,
    transparent 75%
  );
  filter: blur(9px);
}

.core-grid {
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background:
    linear-gradient(rgba(111, 205, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 205, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  box-shadow:
    inset 0 0 50px rgba(40, 213, 195, 0.12),
    0 0 55px rgba(124, 92, 255, 0.15);
  opacity: 0.75;
  transform: perspective(500px) rotateX(58deg) rotateZ(-12deg);
}

.core-orbit {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(157, 221, 255, 0.3);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(18deg);
  animation: orbit-spin 18s linear infinite;
}

.core-orbit::after,
.core-orbit::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: 50%;
  left: -3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px 4px rgba(40, 213, 195, 0.7);
}

.core-orbit::before {
  top: auto;
  right: -3px;
  bottom: 27%;
  left: auto;
  width: 4px;
  height: 4px;
  background: #a79cff;
  box-shadow: 0 0 15px 3px rgba(124, 92, 255, 0.7);
}

.core-orbit-secondary {
  inset: 23%;
  border-color: rgba(167, 156, 255, 0.3);
  transform: rotateX(65deg) rotateZ(-32deg);
  animation: orbit-spin-reverse 13s linear infinite;
}

.core-light {
  position: absolute;
  z-index: 1;
  inset: 37%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #fff 0 3%,
    #8ef0e3 12%,
    #4d6cff 48%,
    rgba(20, 24, 71, 0.9) 72%
  );
  box-shadow:
    0 0 30px rgba(40, 213, 195, 0.7),
    0 0 85px rgba(124, 92, 255, 0.65);
  animation: core-float 5s ease-in-out infinite;
}

.core-particle {
  position: absolute;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d8ffff;
  box-shadow: 0 0 12px 2px rgba(40, 213, 195, 0.7);
  animation: particle-drift 6s ease-in-out infinite;
}

.particle-one {
  top: 20%;
  left: 27%;
}
.particle-two {
  top: 31%;
  right: 20%;
  width: 3px;
  height: 3px;
  animation-delay: -2s;
}
.particle-three {
  bottom: 25%;
  left: 18%;
  width: 3px;
  height: 3px;
  animation-delay: -4s;
}

.coming-soon-personality {
  margin: 0 auto 24px;
  color: #dce4f8;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 19px;
}

.system-status {
  width: min(100%, 520px);
  margin: 0 auto 28px;
  padding: 19px 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(19, 29, 50, 0.7),
    rgba(8, 14, 28, 0.55)
  );
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  text-align: left;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.system-status-title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.system-status-title::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: status-blink 2.2s ease-in-out infinite;
}

.status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding-top: 10px;
  color: var(--muted);
}

.status-row strong {
  color: #dce4f8;
  font-weight: 500;
}

.status-row:last-child strong {
  color: var(--cyan);
}

.return-home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(14, 21, 37, 0.6);
  font-size: 13px;
  font-weight: 750;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.return-home:hover {
  border-color: rgba(40, 213, 195, 0.45);
  background: rgba(40, 213, 195, 0.08);
  transform: translateY(-2px);
}

@keyframes core-pulse {
  50% {
    opacity: 0.62;
    transform: scale(1.06);
  }
}

@keyframes core-float {
  50% {
    transform: translateY(-8px) scale(1.04);
  }
}

@keyframes orbit-spin {
  to {
    transform: rotateX(66deg) rotateZ(378deg);
  }
}
@keyframes orbit-spin-reverse {
  to {
    transform: rotateX(65deg) rotateZ(-392deg);
  }
}
@keyframes particle-drift {
  50% {
    transform: translate(8px, -13px);
    opacity: 0.45;
  }
}
@keyframes status-blink {
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 620px) {
  .coming-soon {
    min-height: calc(100vh - 70px);
    padding-top: 35px;
    padding-bottom: 55px;
  }

  .coming-soon h1 {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }
  .coming-soon-intro {
    font-size: 15px;
  }
  .digital-core {
    width: min(100%, 350px);
    margin-top: 14px;
  }
  .coming-soon-personality {
    font-size: 17px;
  }
  .system-status {
    padding: 17px;
  }
  .status-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .status-row strong {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .digital-core::before,
  .digital-core::after,
  .core-orbit,
  .core-orbit-secondary,
  .core-light,
  .core-particle,
  .system-status-title::before {
    animation: none;
  }

  .return-home:hover {
    transform: none;
  }
}
