
/* --- Estilos do carousel --- */
.reels-carousel-container {
    position: relative;
    margin: 20px 0;
}

.reels-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.reels-carousel-wrapper:active {
    cursor: grabbing;
}

.reels-carousel {
    display: flex;
    transition: transform 0.3s ease;
    gap: 15px;
}

.reels-column {
    flex: 0 0 200px;
    cursor: pointer;
    position: relative;
}

.reels-column video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.reels-column:hover video {
    transform: scale(1.05);
}

/* --- Botões de navegação --- */
.reels-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.reels-nav-prev {
    left: -25px;
}

.reels-nav-next {
    right: -25px;
}

.reels-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.reels-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* --- Paginação --- */
.reels-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.reels-pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.reels-pagination-dot.active {
    background: #007bff;
    transform: scale(1.2);
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .reels-column {
        flex: 0 0 150px;
    }
    
    .reels-column video {
        height: 220px;
    }
    
    .reels-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .reels-nav-prev {
        left: -20px;
    }

    .reels-nav-next {
        right: -20px;
    }
}

@media (max-width: 480px) {
    .reels-column {
        flex: 0 0 120px;
    }
    
    .reels-column video {
        height: 180px;
    }
    
    .reels-carousel {
        gap: 10px;
    }
    
    .reels-nav-prev {
        left: -15px;
    }

    .reels-nav-next {
        right: -15px;
    }
    
    .reels-carousel-wrapper {
        touch-action: pan-y pinch-zoom;
    }
}

/* --- Modal (overlay) --- */
.reels-video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.reels-video-modal video {
    width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.reels-video-modal.active {
    display: flex;
}