.site-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(8,118,255,.28), transparent 42%),
    linear-gradient(145deg, #050914, #071329 55%, #030711);
  opacity: 1;
  visibility: visible;
  transition: opacity .65s ease, visibility .65s ease;
}

.site-splash::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(0,212,255,.18);
  border-radius: 50%;
  animation: splashPulse 2s ease-in-out infinite;
}

.splash-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  animation: splashEnter .9s cubic-bezier(.2,.8,.2,1) both;
}

.splash-content .logo-mark {
  width: 92px;
  height: 92px;
  border-radius: 25px;
  font-size: 2.2rem;
  animation: splashLogo 2s ease-in-out infinite;
}

.splash-content .logo-text {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.splash-line {
  width: 150px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.splash-line::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0876ff, #00d4ff);
  animation: splashLoading 1.15s ease-in-out infinite;
}

.splash-caption {
  color: #9fb1ca;
  font-size: .85rem;
}

.site-splash.is-leaving {
  opacity: 0;
  visibility: hidden;
}

body.splash-lock {
  overflow: hidden !important;
}

@keyframes splashEnter {
  from { opacity: 0; transform: translateY(20px) scale(.92); }
  to { opacity: 1; transform: none; }
}

@keyframes splashLogo {
  0%,100% { transform: translateY(0); filter: drop-shadow(0 0 8px rgba(0,212,255,.2)); }
  50% { transform: translateY(-8px); filter: drop-shadow(0 0 22px rgba(0,212,255,.65)); }
}

@keyframes splashPulse {
  0%,100% { transform: scale(.82); opacity: .25; }
  50% { transform: scale(1.12); opacity: .7; }
}

@keyframes splashLoading {
  from { transform: translateX(-130%); }
  to { transform: translateX(350%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-splash *, .site-splash::before { animation: none !important; }
}
