
/* ===== ESTILOS GENERALES ===== */
.liga-multimedia-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.liga-multimedia-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.liga-btn-volver {
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.liga-btn-volver:hover {
    background: rgba(255,255,255,0.3);
    transform: translateX(-5px);
}

.liga-multimedia-header h1 {
    margin: 0 0 20px 0;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.liga-partido-info {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.liga-equipos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.liga-equipo {
    font-weight: bold;
    font-size: 1.2em;
}

.liga-resultado {
    font-size: 2em;
    font-weight: bold;
    background: white;
    color: #667eea;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 0 10px;
}

.liga-meta-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.liga-jornada, .liga-fecha {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
}

/* ===== TABS ===== */
.liga-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.liga-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #f8f9fa;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #6c757d;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.liga-tab-btn.active {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.liga-tab-icon {
    font-size: 1.2em;
}

/* ===== GALERÍA DE IMÁGENES ===== */
.liga-galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.liga-galeria-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
}

.liga-galeria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.liga-galeria-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.liga-galeria-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.liga-galeria-item:hover .liga-galeria-img {
    transform: scale(1.05);
}

.liga-galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.liga-galeria-item:hover .liga-galeria-overlay {
    opacity: 1;
}

.liga-zoom-icon {
    font-size: 2em;
    color: white;
    background: rgba(102, 126, 234, 0.8);
    padding: 15px;
    border-radius: 50%;
}

.liga-galeria-caption {
    padding: 15px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    background: #f8f9fa;
}

/* ===== VIDEOS ===== */
.liga-video-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.liga-video-title {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.3em;
}

.liga-video-player {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.liga-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.liga-video-embed {
    margin-bottom: 15px;
}

.liga-video-embed iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: none;
}

.liga-video-actions {
    display: flex;
    gap: 10px;
}

.liga-download-btn {
    padding: 10px 20px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.liga-download-btn:hover {
    background: #218838;
}

.liga-external-link {
    padding: 10px 20px;
    background: #17a2b8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.liga-external-link:hover {
    background: #138496;
}

/* ===== ESTADOS VACÍOS ===== */
.liga-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.liga-empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.liga-empty-state h3 {
    margin: 0 0 10px 0;
    color: #495057;
}

.liga-empty-state p {
    margin: 0;
    font-size: 1.1em;
}

.liga-error {
    text-align: center;
    padding: 40px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 10px;
    border: 1px solid #f5c6cb;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .liga-galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .liga-equipos {
        flex-direction: column;
        gap: 10px;
    }
    
    .liga-resultado {
        margin: 10px 0;
        font-size: 1.5em;
    }
    
    .liga-meta-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .liga-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .liga-tab-btn {
        width: 200px;
        justify-content: center;
    }
    
    .liga-video-embed iframe {
        height: 250px;
    }
}
/* ===== GALERÍA MULTIMEDIA - ESTILOS ADICIONALES ===== */
.liga-galeria-multimedia {
    max-width: 1200px;
    margin: 0 auto;
}

.liga-galeria-filtros {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.filtro-grupo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filtro-grupo label {
    font-weight: bold;
    color: white;
}

.filtro-select {
    padding: 8px 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: white;
}

.filtro-select option {
    color: #333;
}

.jornada-galeria {
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.jornada-titulo {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.partidos-galeria {
    display: grid;
    gap: 20px;
}

.partido-galeria-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.partido-info h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.vs {
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9em;
}

.partido-estado {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.estado-completado {
    background: #d4edda;
    color: #155724;
}

.estado-pendiente {
    background: #fff3cd;
    color: #856404;
}

.multimedia-seccion {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.multimedia-seccion h4 {
    margin: 0 0 15px 0;
    color: #495057;
}

.liga-galeria-grid.miniaturas {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.liga-galeria-item.miniatura {
    margin: 0;
    aspect-ratio: 1;
}

.mas-contenido {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    border-radius: 5px;
    font-weight: bold;
    color: #6c757d;
    aspect-ratio: 1;
}

.videos-lista, .videos-externos {
    display: grid;
    gap: 15px;
}

.partido-acciones {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.liga-btn {
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 0.9em;
}

.btn-verde {
    background: #28a745 !important;
}

.liga-btn:hover {
    background: #5a6268;
}

.btn-verde:hover {
    background: #218838 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .liga-galeria-filtros {
        flex-direction: column;
        align-items: center;
    }
    
    .filtro-grupo {
        flex-direction: column;
    }
    
    .partido-info h3 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .partido-acciones {
        flex-direction: column;
    }
    
    .liga-galeria-grid.miniaturas {
        grid-template-columns: repeat(4, 1fr);
    }
}
.partido-acciones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 10px;
}

.partido-info-rapida {
    display: flex;
    gap: 10px;
    align-items: center;
}

.info-item {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    color: #666;
    border: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .partido-acciones {
        flex-direction: column;
        align-items: stretch;
    }
    
    .partido-info-rapida {
        justify-content: center;
    }
}