/* Splash screen styles - EXACT match to Flutter SplashScreen widget
 * Must stay synchronized with: lib/sceens/splash_screen.dart
 * 
 * Color verification:
 * HTML: linear-gradient(to bottom, #000000, #191919)
 * Flutter: LinearGradient(colors: [Color(0xFF000000), Color(0xFF191919)])
 * ✅ Colors match: #000000 = 0xFF000000, #191919 = 0xFF191919
 * ✅ Direction matches: to bottom = topCenter → bottomCenter
 */
#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom, #000000, #191919);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* SpinKit-style pulse animation - EXACT match to Flutter (60px) */
.spinkit-pulse {
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 100%;
  animation: sk-pulse-scale 1.0s infinite ease-in-out;
}

@keyframes sk-pulse-scale {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1.0);
    opacity: 0;
  }
}

/* Alternative three bounce animation */
.spinkit-three-bounce {
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinkit-three-bounce > div {
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  border-radius: 100%;
  display: inline-block;
  animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
}

.spinkit-three-bounce .bounce1 {
  animation-delay: -0.32s;
}

.spinkit-three-bounce .bounce2 {
  animation-delay: -0.16s;
}

@keyframes sk-three-bounce {
  0%, 80%, 100% {
    transform: scale(0);
  } 40% {
    transform: scale(1.0);
  }
}

/* Initialization dots - Matches Flutter SplashScreen dots */
.initialization-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  gap: 12px;
}

.init-dot {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.24);
  border-radius: 100%;
  animation: dot-pulse 1.5s ease-in-out infinite;
}

/* Staggered animation for dots */
.init-dot:nth-child(1) { animation-delay: 0s; }
.init-dot:nth-child(2) { animation-delay: 0.1s; }
.init-dot:nth-child(3) { animation-delay: 0.2s; }
.init-dot:nth-child(4) { animation-delay: 0.3s; }
.init-dot:nth-child(5) { animation-delay: 0.4s; }

@keyframes dot-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.24;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

/* Hide default browser loading indicators */
body {
  margin: 0;
  padding: 0;
  background-color: #191919;
}
