// Animation keyframes for ui-backgrounds library

// Basic gradient animation
@keyframes ui-background-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

// Mesh gradient animation
@keyframes ui-mesh-animation {
  0%, 100% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
}

// Floating animation for patterns
@keyframes ui-pattern-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

// Rotation animation
@keyframes ui-background-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

// Scale animation
@keyframes ui-background-scale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

// Pulse animation
@keyframes ui-background-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

// Color shifting animation
@keyframes ui-background-hue-shift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

// Blur animation for glass effects
@keyframes ui-background-blur-pulse {
  0%, 100% {
    backdrop-filter: blur(10px);
  }
  50% {
    backdrop-filter: blur(20px);
  }
}

// Slide animation
@keyframes ui-background-slide {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 100% 0;
  }
}

// Wave animation
@keyframes ui-background-wave {
  0%, 100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 0%;
  }
  75% {
    background-position: 50% 100%;
  }
}