/* 
  Polyglot Custom Animations
  Complementary CSS to Tailwind utilities
*/

/* AI Orb Animation */
.ai-orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #0071e3, #9b51e0);
  box-shadow: 0 0 60px rgba(0, 113, 227, 0.4), inset 0 0 20px rgba(255,255,255,0.5);
  position: relative;
  z-index: 10;
  animation: breathe 4s ease-in-out infinite;
}

.ai-orb::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: spin 3s linear infinite;
}

/* Wave Bars */
.wave-container {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 40px;
}

.wave-bar {
  width: 6px;
  background: linear-gradient(to top, #0071e3, #38bdf8);
  border-radius: 4px;
  animation: soundwave 1s ease-in-out infinite;
}

/* Keyframes */
@keyframes breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 113, 227, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 60px rgba(155, 81, 224, 0.5); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes soundwave {
  0%, 100% { height: 10px; opacity: 0.5; }
  50% { height: 30px; opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Delay Utilities for CSS Animations */
.delay-75 { animation-delay: 75ms; }
.delay-100 { animation-delay: 100ms; }
.delay-150 { animation-delay: 150ms; }
.delay-300 { animation-delay: 300ms; }