/* videos-carousel.css — Layout estilo HBO Max para seção de vídeos (mantém fundo branco) */

.video-section-carousel {
    background: #ffffff;
    padding: 48px 16px;
}

.video-section-carousel .video-header {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 12px;
}

.video-section-carousel .video-header .subtitle {
    display: block;
    color: #10b981;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.video-section-carousel .video-header .title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.video-carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 8px 12px 0;
}

.video-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(10, 10, 10, 0.06);
    color: #111827;
    font-size: 22px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.18s ease;
}

.video-nav-btn:hover {
    background: rgba(10, 10, 10, 0.12);
    transform: translateY(-50%) scale(1.05);
}

.video-nav-btn.prev {
    left: -12px;
}

.video-nav-btn.next {
    right: -12px;
}

.video-carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
}

.video-carousel-item {
    flex: 0 0 320px !important;
    /* card width — retangular HBO Max style */
    scroll-snap-align: start;
}

.video-card-fixed {
    background: #000000 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    color: #0f172a !important;
    display: flex;
    flex-direction: column;
    border: none !important;
}

.video-frame-fixed {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #000;
    overflow: hidden;
    border-radius: 12px;
}

.video-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.video-thumb .video-badge,
.video-thumb .video-duration {
    position: absolute;
    z-index: 4;
    font-weight: 700;
}

.video-thumb .video-badge.live {
    left: 10px;
    top: 10px;
    background: #e11d48;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.video-thumb .video-duration {
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: #fff;
}

.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.play-btn svg path {
    opacity: 1;
}

.video-description {
    padding: 12px 14px 16px;
    background: #ffffff;
    color: #0f172a;
    display: none;
    flex-direction: column;
    gap: 6px;
}

.video-description .title {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    margin: 0;
}

.video-description .meta {
    font-size: 13px;
    color: #64748b;
}

/* scrollbar nicer */
.video-carousel-track::-webkit-scrollbar {
    height: 10px;
}

.video-carousel-track::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.08);
    border-radius: 8px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .video-carousel-item {
        flex: 0 0 280px;
    }

    .video-frame-fixed {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .video-nav-btn.prev {
        left: 4px;
    }

    .video-nav-btn.next {
        right: 4px;
    }

    .video-carousel-item {
        flex: 0 0 240px;
    }

    .video-frame-fixed {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .video-carousel-item {
        flex: 0 0 200px;
    }

    .video-frame-fixed {
        height: 120px;
    }

    .video-nav-btn {
        display: none;
    }
}