/**
 * WINNERS - SEÇÃO VÍDEOS
 * Estilos para galeria de vídeos
 */

/* SECTION VIDEO CONTAINER */
.section-videos {
    padding: 80px 0;
    background: var(--bg-dark, #1f2937);
}

/* VIDEO GRID */
.videos-grid {
    display: grid;
   /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
    gap: 30px;
    margin-bottom: 0;
}

/* VIDEO CARD */
.video-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light, #ffffff);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* VIDEO CONTAINER */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

/* VIDEO OVERLAY */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover .video-overlay {
    opacity: 1;
}

/* PLAY BUTTON */
.video-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary, #a78bfa);
    color: white;
    font-size: 28px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.3);
}

.video-play-btn:hover {
    background: var(--primary-dark, #7c3aed);
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(167, 139, 250, 0.4);
    color: white;
    text-decoration: none;
}

/* VIDEO INFO */
.video-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark, #1f2937);
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-videos {
        padding: 60px 0;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .section-videos {
        padding: 40px 0;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .video-info {
        padding: 15px;
    }
    
    .video-title {
        font-size: 16px;
    }
    
    .video-description {
        font-size: 13px;
    }
}

/* LIGHTBOX CUSTOMIZATION */
.glightbox-container {
    z-index: 1000;
}

.glightbox-container .glthumbnail {
    max-width: 90%;
    max-height: 90vh;
}

/* IFRAME RESPONSIVE */
.glightbox-container iframe {
    width: 100%;
    height: 100%;
}

/* ANIMATION */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card[data-aos] {
    animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
