/* Loader fade-out */
.loader-animation {
  animation: fadeOut 1.2s ease forwards;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

/* Fade-out keyframe */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Main content fade-in */
.fade-in {
  animation: fadeIn 1.2s ease-in-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.animated-gradient {
  background: radial-gradient(ellipse at center, #EF75F6, #BF00FF, #A855F7, #862c8b);
  background-size: 400% 400%;
  background-position: center bottom; /* Start from bottom */
  animation: zoomGradient 5s ease-in-out infinite;
}

@keyframes zoomGradient {
  0% {
    background-size: 400% 400%;
    background-position: center top;
  }
  100% {
    background-size: 400% 400%;
    background-position: center bottom;
  }
}


/* animations.css */
.blob {
  position: absolute;
  border-radius: 9999px;
  opacity: 0.3;
  filter: blur(50px);
  animation: blobMove 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.3s ease;
  will-change: transform; /* improve performance */
}

@keyframes blobMove {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(100px, -80px) scale(1.1);
  }
  50% {
    transform: translate(-150px, 60px) scale(1.05);
  }
  75% {
    transform: translate(120px, 100px) scale(0.95);
  }
  100% {
    transform: translate(-100px, -120px) scale(1);
  }
}

