#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fefefe 0%, #f8f9fa 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

@media (prefers-color-scheme: dark) {
  #splash-screen {
    background: linear-gradient(135deg, #0a0a0a 0%, #171717 100%);
  }
  #splash-screen .splash-text {
    color: #e5e5e5;
  }
  #splash-screen .splash-subtext {
    color: #a3a3a3;
  }
}

#splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-mascot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(88, 204, 2, 0.3));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(88, 204, 2, 0.6));
    transform: scale(1.05);
  }
}

.splash-text {
  margin-top: 24px;
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  animation: fade-text 1.5s ease-in-out infinite;
}

.splash-subtext {
  margin-top: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: #6b7280;
}

@keyframes fade-text {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.splash-dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
}

.splash-dots span {
  width: 6px;
  height: 6px;
  background: #58CC02;
  border-radius: 50%;
  animation: dot-bounce 1.4s ease-in-out infinite;
}

.splash-dots span:nth-child(1) { animation-delay: 0s; }
.splash-dots span:nth-child(2) { animation-delay: 0.2s; }
.splash-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}
