@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmerBg {
  0% { background-position: -400% 0; }
  100% { background-position: 400% 0; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(192,132,252,0.3); }
  50% { box-shadow: 0 0 24px rgba(192,132,252,0.7), 0 0 48px rgba(192,132,252,0.3); }
}

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

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

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.5); }
  60% { transform: scale(1.15); }
  80% { transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 500px; }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

.anim-fade-in { animation: fadeIn 0.6s ease forwards; }
.anim-fade-in-up { animation: fadeInUp 0.7s ease forwards; }
.anim-scale-in { animation: scaleIn 0.5s ease forwards; }
.anim-float { animation: float 3s ease-in-out infinite; }
.anim-glow { animation: glowPulse 2s ease-in-out infinite; }
.anim-spin { animation: spinCw 1s linear infinite; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

.transition-all { transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-transform { transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1); }
.hover-lift:hover { transform: translateY(-4px); }
.hover-scale:hover { transform: scale(1.03); }

.shimmer-bg {
  background: linear-gradient(90deg, rgba(255,255,255,0) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0) 75%);
  background-size: 400% 100%;
  animation: shimmerBg 3s linear infinite;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
