/* ============================================
   ANIMATIONS.CSS — Entrance animations
   ============================================ */

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

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

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

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

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

.fade-in-up     { animation: fadeInUp 0.6s var(--ease-out) both; }
.fade-in        { animation: fadeIn 0.5s ease both; }
.slide-in-right { animation: slideInRight 0.5s var(--ease-out) both; }
.scale-in       { animation: scaleIn 0.5s var(--ease-out) both; }

.card-grid .card:nth-child(1) { animation-delay: 0.04s; }
.card-grid .card:nth-child(2) { animation-delay: 0.12s; }
.card-grid .card:nth-child(3) { animation-delay: 0.20s; }
.card-grid .card:nth-child(4) { animation-delay: 0.28s; }
.card-grid .card:nth-child(5) { animation-delay: 0.36s; }
.card-grid .card:nth-child(6) { animation-delay: 0.44s; }
.card-grid .card:nth-child(7) { animation-delay: 0.52s; }

@media (prefers-reduced-motion: reduce) {
    .fade-in-up, .fade-in, .slide-in-right, .scale-in, .card-grid .card {
        animation: none !important;
    }
}
