/* ==========================================================================
   SD Pixel Particle Splash Screen Styles (Clean Crisp Pixel Art)
   ========================================================================== */

#sd-splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: rgba(10, 12, 22, 0.22);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.45s ease-out,
    -webkit-backdrop-filter 0.45s ease-out;
  will-change: opacity, transform, backdrop-filter;
}

#sd-splash-screen.splash-fading {
  opacity: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transform: scale(1.05);
  pointer-events: none;
}

#sd-splash-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Retro CRT Scanlines Effect */
.sd-splash-scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%,
      rgba(0, 0, 0, 0.35) 50%), linear-gradient(90deg,
      rgba(255, 0, 0, 0.03),
      rgba(0, 255, 0, 0.01),
      rgba(0, 0, 255, 0.03));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  opacity: 0.30;
}

/* Bottom Hint / Skip indicator */
.sd-splash-hint {
  position: absolute;
  bottom: 28px;
  font-family: 'DM Mono', monospace, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: splashHintFadeIn 0.6s ease-out 0.8s forwards;
  pointer-events: none;
}

.sd-splash-hint-dot {
  width: 6px;
  height: 6px;
  background: #ff4d6d;
  border-radius: 50%;
}

@keyframes splashHintFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 0.6;
    transform: translateY(0);
  }
}