/* Parallax effect */
.parallax {
  transform: translateZ(0);
  transition: transform 0.2s ease-out;
}

.parallax-slow {
  transform: translateZ(0);
  transition: transform 0.4s ease-out;
}

.parallax-layer-1 {
  transform: translateZ(-10px) scale(2);
}

.parallax-layer-2 {
  transform: translateZ(-5px) scale(1.5);
}

.parallax-layer-3 {
  transform: translateZ(-2px) scale(1.2);
}

/* Gradient animations */
.gradient-animate {
  background-size: 200% 200%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Glow effects */
.glow {
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.5);
  transition: box-shadow 0.3s ease;
}

.glow:hover {
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.8);
}

.text-glow {
  text-shadow: 0 0 10px rgba(79, 70, 229, 0.5);
}

/* Button animations */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
}

.btn-hover-effect::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn-hover-effect:hover::after {
  width: 300%;
  height: 300%;
}
