/* Background Effects - Kairos Authentication Portal */

/* Animated Background */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 50%;
  pointer-events: none;
  animation: float 15s infinite linear;
}

.particle:nth-child(odd) {
  background: rgba(59, 130, 246, 0.08);
  animation-duration: 20s;
}

.particle:nth-child(3n) {
  background: rgba(6, 182, 212, 0.06);
  animation-duration: 25s;
}

.gradient-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbMove 20s infinite ease-in-out;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  top: 60%;
  right: 10%;
  animation-delay: -7s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  bottom: 30%;
  left: 60%;
  animation-delay: -14s;
}

.grid-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 30s linear infinite;
}
