/* Анимации для карточек */
.movie-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.movie-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Пульсация кнопки */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(229, 9, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

/* Появление секций */
.section-fade {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.section-fade.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Hover эффекты */
.poster-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-hover:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Загрузка */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #e50914;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}