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

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

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

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

@keyframes countUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.arrow-animated {
  display: inline-block;
  animation: arrowBounce 1.5s ease-in-out infinite;
}

/* Entrance animation classes */
.anim-element {
  opacity: 0;
}

.anim-element.visible {
  animation: fadeInUp 0.6s ease forwards;
}

.anim-number.visible {
  animation: fadeIn 0.4s ease forwards;
}

.anim-delay-1 { animation-delay: 0.1s !important; }
.anim-delay-2 { animation-delay: 0.25s !important; }
.anim-delay-3 { animation-delay: 0.4s !important; }
.anim-delay-4 { animation-delay: 0.55s !important; }
.anim-delay-5 { animation-delay: 0.7s !important; }
.anim-delay-6 { animation-delay: 0.85s !important; }
.anim-delay-7 { animation-delay: 1.0s !important; }
