@keyframes logoFloat {
  0% {
    transform: translateY(-50px) scale(0.8);
    opacity: 0;
  }
  50% {
    transform: translateY(0) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes dotRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

@keyframes backgroundShimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ff5722, #2196f3, #4caf50, #ffc107);
  background-size: 200% 200%;
  animation: backgroundShimmer 3s linear infinite;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  animation: logoFloat 1s ease-out forwards;
}

.loading-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 30px;
  opacity: 0;
  animation: logoFloat 1s ease-out 0.3s forwards;
}

.loading-spinner {
  width: 80px;
  height: 80px;
  position: relative;
  animation: dotRotate 2s linear infinite;
}

.dot {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  animation: dotScale 1s ease-in-out infinite;
}

.dot:nth-child(1) {
  background: #ff5722;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.dot:nth-child(2) {
  background: #2196f3;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  animation-delay: 0.25s;
}

.dot:nth-child(3) {
  background: #4caf50;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.5s;
}

.dot:nth-child(4) {
  background: #ffc107;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  animation-delay: 0.75s;
}

.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

