/* Quantum Particle Effects */
@keyframes particle-float {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.entropy-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-quantum-cyan);
  border-radius: 50%;
  pointer-events: none;
  animation: particle-float 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--color-quantum-cyan);
}

/* Waveform Glow */
@keyframes waveform-glow {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.waveform-glow {
  animation: waveform-glow 2s ease-in-out infinite;
}

/* Collapse Animation */
@keyframes collapse-flash {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.collapse-flash {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  animation: collapse-flash 1s ease-out;
}

/* Pulse Animation for Entropy Bar */
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.8);
  }
}

.entropy-bar.pulsing {
  animation: pulse 1s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Quantum Distortion Effect */
@keyframes distortion {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(20deg);
  }
}

.quantum-distortion {
  animation: distortion 3s ease-in-out infinite;
}

/* Ripple Effect */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--color-quantum-cyan);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

/* Glitch Effect */
@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

.glitch {
  animation: glitch 0.3s ease-in-out;
}

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Breathing Animation */
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.breathe {
  animation: breathe 3s ease-in-out infinite;
}
