/* Video Card Component Styles */
.movie-card {
    flex: 0 0 auto;
    width: 180px;
}

.movie-card a {
    display: block;
    text-decoration: none;
    color: white;
}

.movie-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
    aspect-ratio: 2/3;
}

.movie-card:hover img {
    transform: scale(1.05);
}

.no-poster {
    width: 100%;
    height: 270px;
    background: #2f2f2f;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #666;
    aspect-ratio: 2/3;
}

.movie-info {
    padding: 8px 4px;
}

.movie-info p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-info small {
    font-size: 12px;
}

/* Video Type Badge */
.video-type-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    transition: all 0.3s ease;
}

.video-type-badge i {
    font-size: 10px;
}

.badge-movie {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.95) 0%, rgba(196, 8, 18, 0.95) 100%);
    border: 1px solid rgba(229, 9, 20, 0.3);
}

.badge-tv {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.movie-card:hover .video-type-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .movie-card {
        width: 140px;
    }
    .movie-card img, .no-poster {
        height: 210px;
    }

    .video-type-badge {
        padding: 3px 8px;
        font-size: 9px;
        top: 6px;
        left: 6px;
    }

    .video-type-badge i {
        font-size: 9px;
    }
}
