/* Archivo limpio: solo utilidades de Tailwind deben aplicarse. Elimina cualquier regla personalizada aquí para evitar conflictos. */.movie-card {
    transition: all 0.3s ease;
    height: 291px;
    width: 204px;
    position: relative;
    background: #000;
    border: none !important;
    overflow: hidden;
}

.movie-card:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.8);
}

.movie-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.movie-card:hover .movie-title-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.85);
}

.movie-title {
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
    padding: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-title {
    transform: translateY(0);
}

.card-img-wrapper {
    position: relative;
    width: 204px;
    height: 291px;
    overflow: hidden;
}

.card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagination .page-link:hover {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.pagination .active .page-link {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.card-footer {
    padding: 0.5rem;
}

.badge {
    font-size: 0.8rem;
    padding: 0.5em 0.7em;
}

.card-body {
    text-align: center;
}

.card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.card-text {
    text-align: center;
    margin-bottom: 0.5rem;
}

.card-text small {
    font-size: 0.9rem;
    font-weight: 500;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}