﻿/* MSL-MATH-PARTICLES-SPLASH-01 */

.msl-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, #1550a6 0%, #092b70 38%, #04183f 72%, #020b22 100%);
  opacity: 1;
  transition: opacity 350ms ease;
}

.msl-splash canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.msl-splash-infinity {
  width: min(56vw, 240px);
  position: relative;
  opacity: 0;
  transform: scale(0.65);
  animation: mslInfinityAppear 2s ease-out both;
  filter: drop-shadow(0 0 16px rgba(58, 222, 255, 0.8));
}

.msl-splash-infinity svg {
  width: 100%;
  display: block;
}

@keyframes mslInfinityAppear {
  0%, 25% {
    opacity: 0;
    transform: scale(0.65);
  }
  65%, 100% {
    opacity: 1;
    transform: scale(1);
  }
}

.msl-splash-exit {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .msl-splash-infinity {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
