body.intro {
  margin: 0;
  padding: 0;
  background: #050507;
}

.intro-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #101017, #050507 68%);
}

.intro-fog, .intro-particles {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.intro-fog::before, .intro-fog::after {
  content: "";
  position: absolute;
  inset: 12% -22% -9%;
  background: radial-gradient(ellipse at 22% 66%, #16414885, transparent 56%),
    radial-gradient(ellipse at 76% 64%, #3920568c, transparent 58%), #07070c;
  mask: url(shadow-mist.svg) center / 100% 100% no-repeat;
  opacity: .62;
}

.intro-fog::after {
  inset: 34% -18% -16%;
  background: #020203;
  opacity: .82;
}

.intro-content {
  display: grid;
  justify-items: center;
  gap: clamp(.9rem, 3vh, 2rem);
  max-width: 100%;
}

.intro-emblem {
  position: relative;
  isolation: isolate;
  width: min(78vw, 31rem, 62vh);
  width: min(78vw, 31rem, 62svh);
}

.intro-emblem h1 {
  margin: 0;
}

.intro-emblem img {
  display: block;
  width: 100%;
  height: auto;
  mask-image: radial-gradient(ellipse at 50% 49%, #000 44%, #000 61%, transparent 79%);
}

.intro-emblem::before,
.intro-emblem::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% -12%;
  border-radius: 50%;
  filter: blur(2rem);
  opacity: .44;
}

.intro-emblem::before { background: radial-gradient(ellipse at 32% 46%, #00f0ff75, transparent 61%); }
.intro-emblem::after { background: radial-gradient(ellipse at 70% 52%, #9d00ff85, transparent 63%); }

.button.intro-enter {
  --glow: var(--cyan);
  --edge-end: var(--violet);
  --button-inline-size: 16rem;
  min-height: 3.5rem;
  font-size: 1.15rem;
}

.intro-particles i {
  --x: 12%;
  --y: 76%;
  --delay: 0s;
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  opacity: .26;
}

.intro-particles i:nth-child(even) { background: #bb74ff; box-shadow: 0 0 10px #bb74ff; }
.intro-particles i:nth-child(2) { --x: 22%; --y: 47%; --delay: -5s; }
.intro-particles i:nth-child(3) { --x: 29%; --y: 82%; --delay: -3s; }
.intro-particles i:nth-child(4) { --x: 38%; --y: 68%; --delay: -7s; }
.intro-particles i:nth-child(5) { --x: 54%; --y: 74%; --delay: -4s; }
.intro-particles i:nth-child(6) { --x: 66%; --y: 37%; --delay: -1s; }
.intro-particles i:nth-child(7) { --x: 74%; --y: 79%; --delay: -8s; }
.intro-particles i:nth-child(8) { --x: 83%; --y: 54%; --delay: -6s; }
.intro-particles i:nth-child(9) { --x: 92%; --y: 71%; --delay: -2s; }

@media (prefers-reduced-motion: no-preference) {
  .intro-emblem { animation: intro-reveal 2.1s ease-out both; }
  .intro-emblem img { animation: intro-emblem-float 7s 2.1s ease-in-out infinite; }
  .intro-emblem::before { animation: intro-light 5s ease-in-out infinite alternate; }
  .intro-emblem::after { animation: intro-light 6s ease-in-out infinite alternate-reverse; }
  .intro-fog::before { animation: intro-drift 18s ease-in-out infinite alternate; }
  .intro-fog::after { animation: intro-drift 25s ease-in-out infinite alternate-reverse; }
  .intro-particles i { animation: intro-spark 9s var(--delay) linear infinite; }
  .intro-leaving .intro-fog { animation: intro-clear .48s ease-in forwards; }
}

@keyframes intro-reveal {
  from { opacity: 0; transform: scale(.94); filter: brightness(.25); }
  to { opacity: 1; transform: scale(1); filter: brightness(1); }
}

@keyframes intro-emblem-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-.75rem) scale(1.025); }
}

@keyframes intro-light {
  from { opacity: .21; transform: translateX(-3%); }
  to { opacity: .62; transform: translateX(3%); }
}

@keyframes intro-drift {
  from { transform: translate3d(-9%, 4%, 0); }
  to { transform: translate3d(10%, -6%, 0) scale(1.08); }
}

@keyframes intro-spark {
  0% { opacity: 0; transform: translateY(12px); }
  27% { opacity: .65; }
  100% { opacity: 0; transform: translate(24px, -110px); }
}

@keyframes intro-clear {
  to { opacity: 0; transform: scale(1.24); }
}
