#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050d18;
  animation: splashFade 0.7s ease-out 2.5s forwards;
  overflow: hidden;
}

/* Deep dark radial glow behind logo */
#splash::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(29,168,216,0.18) 0%, transparent 70%);
  animation: splashGlow 2s ease-in-out infinite alternate;
}

/* Subtle grid overlay */
#splash::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,168,216,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,168,216,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  animation: splashPulse 2s ease-in-out infinite alternate;
}

.splash-logo-img {
  width: clamp(260px, 45vw, 420px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 30px rgba(29,168,216,0.7))
    drop-shadow(0 0 60px rgba(29,168,216,0.35))
    brightness(1.15)
    contrast(1.1);
}

.splash-logo-img + style { display: none; }
