/* Main Splash Screen */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease-out;
  overflow: hidden;
}

#splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

#splash-screen.hidden {
  display: none;
}

/* Particles Container */
.splash-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Individual Particles */
.splash-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.splash-particle:nth-child(1) {
  left: 15%;
  top: 20%;
  animation: float1 4s ease-in-out infinite;
}

.splash-particle:nth-child(2) {
  left: 75%;
  top: 30%;
  animation: float2 5s ease-in-out infinite;
}

.splash-particle:nth-child(3) {
  left: 25%;
  top: 65%;
  animation: float3 4.5s ease-in-out infinite;
}

.splash-particle:nth-child(4) {
  left: 80%;
  top: 70%;
  animation: float4 5.5s ease-in-out infinite;
}

.splash-particle:nth-child(5) {
  left: 50%;
  top: 15%;
  animation: float5 6s ease-in-out infinite;
}

/* Main Content Container */
.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Logo Container */
.splash-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  width: 380px;
  height: 380px;
}

/* Glow Ring */
.splash-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
}

/* White Circle Background */
.splash-circle-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

/* Logo */
.splash-logo {
  width: 620px;
  height: auto;
  position: relative;
  z-index: 2;
  animation: zoomInSharp 1.2s ease-out forwards;
}

/* Bouncing Dots Container */
.splash-dots {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

/* Individual Dot */
.splash-dot {
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: bounce 1.4s ease-in-out infinite;
}

.splash-dot:nth-child(1) {
  animation-delay: 0s;
}

.splash-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.splash-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.7);
  }
}

@keyframes zoomInSharp {
  0% {
    opacity: 0;
    transform: scale(0.3);
    filter: blur(10px);
  }
  70% {
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  40% {
    transform: translateY(-20px) scale(1.3);
    opacity: 1;
  }
}

@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }
  50% {
    transform: translate(30px, -80px);
    opacity: 1;
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.3;
  }
  50% {
    transform: translate(-40px, -100px);
    opacity: 1;
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(50px, -70px);
    opacity: 1;
  }
}

@keyframes float4 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }
  50% {
    transform: translate(-30px, -90px);
    opacity: 1;
  }
}

@keyframes float5 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(20px, 100px);
    opacity: 1;
  }
}