/* Card animations */
.movie-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

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

/* Stagger animations for cards */
.movie-card:nth-child(1) {
    animation-delay: 0.1s;
}

.movie-card:nth-child(2) {
    animation-delay: 0.2s;
}

.movie-card:nth-child(3) {
    animation-delay: 0.3s;
}

.movie-card:nth-child(4) {
    animation-delay: 0.4s;
}

.movie-card:nth-child(5) {
    animation-delay: 0.5s;
}

.movie-card:nth-child(6) {
    animation-delay: 0.6s;
}

.movie-card:nth-child(7) {
    animation-delay: 0.7s;
}

.movie-card:nth-child(8) {
    animation-delay: 0.8s;
}

/* Modal animation */
.modal-content {
    opacity: 0;
    transform: scale(0.8);
    animation: modalOpen 0.3s forwards;
}

@keyframes modalOpen {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Favorites toggle animation */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.5s;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}