/* Animated background container */
.bg-animation-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Mesh gradient background */
.mesh-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.2) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.2) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(236, 72, 153, 0.15) 0px, transparent 50%);
  animation: mesh-move 15s ease infinite;
}

@keyframes mesh-move {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

/* Floating particles - with animation */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float-particle 20s infinite ease-in-out;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  top: 20%;
  left: 20%;
  animation-delay: 0s;
  background: rgba(59, 130, 246, 0.3);
}

.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  top: 60%;
  left: 80%;
  animation-delay: -5s;
  background: rgba(139, 92, 246, 0.3);
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  top: 40%;
  left: 60%;
  animation-delay: -10s;
  background: rgba(6, 182, 212, 0.3);
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  top: 80%;
  left: 30%;
  animation-delay: -15s;
  background: rgba(236, 72, 153, 0.3);
}

.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  top: 10%;
  left: 70%;
  animation-delay: -8s;
  background: rgba(59, 130, 246, 0.4);
}

.particle:nth-child(6) {
  width: 7px;
  height: 7px;
  top: 70%;
  left: 50%;
  animation-delay: -12s;
  background: rgba(139, 92, 246, 0.3);
}

@keyframes float-particle {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  25% {
    transform: translate(100px, -100px);
  }
  50% {
    transform: translate(-50px, -200px);
  }
  75% {
    transform: translate(150px, -300px);
  }
}

/* Glowing orbs - static */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.glow-orb-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: 10%;
  right: 10%;
}

.glow-orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: 20%;
  left: 5%;
}

.glow-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 50%;
  left: 50%;
}

/* Scan lines effect */
.scan-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.03),
    rgba(0, 0, 0, 0.03) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
}
