/* The page is never hidden. This short-lived overlay is purely presentational. */
#epicmu-intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  /* Also releases the view if JavaScript or an asset fails to load. */
  animation: epic-intro-failsafe 2500ms step-end forwards !important;
}

.epic-intro__veil {
  position: absolute;
  inset: 0;
  background: #02040a;
  opacity: 1;
  transition: opacity 850ms cubic-bezier(.22, 1, .36, 1);
}

.epic-intro__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.epic-intro__status {
  position: absolute;
  top: calc(48% + 88px);
  left: 20px;
  right: 20px;
  margin: 0;
  text-align: center;
  color: #b4c8da;
  font-family: var(--display, Georgia, serif);
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 400;
  letter-spacing: .075em;
  line-height: 1.5;
  text-shadow: 0 0 25px rgba(91, 158, 210, .2);
  transition: opacity 150ms ease;
}

#epicmu-intro[data-intro-state="exiting"] .epic-intro__veil,
#epicmu-intro[data-intro-state="exiting"] .epic-intro__status {
  opacity: 0;
}

#epicmu-intro[data-intro-reduced="true"] .epic-intro__veil {
  transition-duration: 150ms !important;
  transition-timing-function: linear;
}

@keyframes epic-intro-failsafe {
  0% { visibility: visible; }
  100% { visibility: hidden; }
}

@media (max-width: 640px) {
  .epic-intro__status { top: calc(48% + 72px); font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  #epicmu-intro .epic-intro__veil { transition: opacity 150ms linear !important; }
}
