/* Galería de Vídeos */
.galeria-videos-page {
    background-color: #000;
    color: #fff;
    padding-top: 90px;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
}

.galeria-container {
    width: min(1400px, 95vw);
    margin: 0 auto;
    padding-bottom: 80px;
}

/* Banner */
.galeria-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(227, 64, 40, 0.15), rgba(0, 0, 0, 0.95));
    border-radius: 16px;
    margin: 0 auto 48px;
    width: min(1400px, 95vw);
    overflow: hidden;
}

.galeria-banner__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(227, 64, 40, 0.2), transparent 70%);
    z-index: 0;
}

.galeria-banner__content {
    position: relative;
    z-index: 1;
    padding: 48px 24px;
    max-width: 640px;
}

.galeria-banner__eyebrow {
    letter-spacing: 3.2px;
    text-transform: uppercase;
    color: #e34028;
    margin-bottom: 13px;
    font-size: 0.82rem;
    font-weight: 800;
}

.galeria-banner__title {
    font-size: clamp(2.2rem, 4.5vw, 3.1rem);
    text-transform: uppercase;
    letter-spacing: 4.8px;
    margin-bottom: 15px;
    line-height: 1.08;
    font-weight: 900;
}

.galeria-banner__subtitle {
    font-size: 0.95rem;
    color: #d6d6d6;
    line-height: 1.5;
    font-weight: 400;
}

/* Sección de evento */
.galeria-event {
    margin-bottom: 60px;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(227, 64, 40, 0.3);
}

.event-header__content {
    flex: 1;
}

.event-title {
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.event-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #c0c0c0;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta i {
    color: #e34028;
    font-size: 0.9rem;
}

.event-date,
.event-location {
    font-weight: 600;
}

.event-video-count {
    background: rgba(227, 64, 40, 0.15);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid rgba(227, 64, 40, 0.3);
}

.event-video-count i {
    color: #e34028;
}

/* Grid de vídeos */
.videos-grid {
    margin-bottom: 40px;
}

.video-card {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(227, 64, 40, 0.4);
    border-color: rgba(227, 64, 40, 0.3);
}

.video-card__thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.video-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.video-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(227, 64, 40, 0.2), rgba(0, 0, 0, 0.9));
}

.video-card__placeholder i {
    font-size: 4rem;
    color: #e34028;
}

.video-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(227, 64, 40, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.video-card__overlay i {
    font-size: 3.5rem;
    color: #fff;
}

/* Badge de destacado */
.video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-badge--destacado {
    background: linear-gradient(135deg, #e34028, #a02818);
    color: #fff;
    box-shadow: 0 4px 12px rgba(227, 64, 40, 0.5);
}

.video-badge i {
    font-size: 0.7rem;
}

/* Info del vídeo */
.video-card__info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-card__title {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 10px 0;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.video-card__description {
    font-size: 0.9rem;
    color: #c0c0c0;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* Modales de Bootstrap personalizados */
.video-modal .modal-content {
    background: #000;
    border: 1px solid rgba(227, 64, 40, 0.3);
    border-radius: 16px;
}

.video-modal .modal-header {
    border-bottom: 1px solid rgba(227, 64, 40, 0.3);
    padding: 20px 24px;
}

.video-modal .modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
}

.video-modal .modal-body {
    padding: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hosted-video {
    width: 100%;
    height: auto;
    display: block;
}

.modal-description {
    padding: 20px 24px;
    margin: 0;
    color: #c0c0c0;
    font-size: 1rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Estado vacío */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    color: #666;
}

.empty-state i {
    font-size: 5rem;
    color: #444;
    margin-bottom: 24px;
    display: block;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: #888;
    margin-bottom: 12px;
    font-weight: 800;
}

.empty-state p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .galeria-videos-page {
        padding-top: 63px;
    }

    .galeria-banner {
        margin-bottom: 32px;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-title {
        font-size: 1.4rem;
    }

    .event-meta {
        gap: 16px;
        font-size: 0.9rem;
    }

    .event-video-count {
        align-self: flex-start;
    }

    .videos-grid {
        gap: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .galeria-banner__title {
        letter-spacing: 3px;
    }

    .event-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .event-meta {
        flex-direction: column;
        gap: 8px;
    }

    .video-card__title {
        font-size: 1rem;
    }

    .video-card__description {
        font-size: 0.85rem;
    }
}
