/* Estilos para o modal de vídeo */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 960px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.video-modal-content {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
}

.video-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

.video-modal-title {
    color: #fff;
    font-size: 18px;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-modal-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

.video-modal-close:hover {
    color: #fff;
}

.video-modal-info {
    padding: 15px 20px;
    background-color: #1a1a1a;
}

.video-modal-stats {
    display: flex;
    gap: 15px;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 10px;
}

.video-modal-description {
    color: #ddd;
    font-size: 14px;
    line-height: 1.5;
    max-height: 100px;
    overflow-y: auto;
}

/* Estilos para o cursor de clique nos cards de vídeo */
.video-card {
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {
    .video-modal-container {
        width: 95%;
    }
    
    .video-modal-title {
        font-size: 16px;
    }
    
    .video-modal-stats {
        font-size: 12px;
    }
    
    .video-modal-description {
        font-size: 12px;
        max-height: 80px;
    }
}

/* Animação de fade-in para o modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-modal-overlay.active {
    animation: fadeIn 0.3s forwards;
}