/* Animations & Transitions */

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.country-card {
  animation: fadeInUp 0.4s ease forwards;
}

/* Age-specific hover animations */
[data-age="4-6"] .country-card:hover {
  transform: translateY(-8px) scale(1.02);
}

[data-age="6-8"] .country-card:hover {
  transform: translateY(-6px);
}

[data-age="12-15"] .country-card:hover {
  transform: translateY(-2px);
}

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