/* Splash Screen Styles */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FEF7EC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

#splash-logo {
  animation: slideInDown 0.8s ease-out, pulse 2s ease-in-out infinite;
  animation-delay: 0s, 0.8s;
}

#splash-logo img {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

#splash-dots {
  display: flex;
  gap: 10px;
  margin-top: 48px;
  animation: slideInUp 0.6s ease-out;
  animation-delay: 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.splash-dot {
  width: 12px;
  height: 12px;
  background: #000000;
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite;
}

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

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

/* Animations */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
}

/* Cache le splash au chargement complet */
.splash-hidden {
  opacity: 0 !important;
  transform: scale(0.95) !important;
  pointer-events: none;
}
