/* LOADING SCREEN STYLES */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #006994 0%, #00a8d8 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 0.5s ease-in forwards;
  animation-delay: 3.5s;
}

.loader-container {
  text-align: center;
  color: white;
}

.loader {
  width: 150px;
  height: 150px;
  position: relative;
  margin: 0 auto 2rem;
}

.fish-bubble {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: absolute;
  top: 35px;
  left: 35px;
  animation: pulse 2s ease-in-out infinite;
  border: 3px solid rgba(255, 255, 255, 0.4);
}

.fish-bubble::before {
  content: "🐟";
  position: absolute;
  font-size: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 3s linear infinite;
}

.wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.wave-1 {
  animation: expand 2s ease-out infinite;
}

.wave-2 {
  animation: expand 2s ease-out infinite;
  animation-delay: 0.6s;
}

.wave-3 {
  animation: expand 2s ease-out infinite;
  animation-delay: 1.2s;
}

@keyframes expand {
  from {
    transform: scale(0.5);
    opacity: 1;
  }
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    visibility: visible;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.loader-container h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  animation: slideUp 0.8s ease;
}

.loader-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: slideUp 0.8s ease 0.2s both;
}

.loading-bar {
  width: 300px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  margin: 0 auto;
  overflow: hidden;
  animation: slideUp 0.8s ease 0.4s both;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #ffc107);
  border-radius: 10px;
  animation: loadingProgress 3s ease forwards;
}

@keyframes loadingProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
