.videos-header {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    padding: 80px 0;
    position: relative;
}

.videos-header h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
}

.videos-header .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-top: 20px;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
    content: "›";
}

.canal-section {
    background: #FF0000 !important;
}

.filtros-videos {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 60px;
    z-index: 99;
}

.video-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
}

.filter-video-btn {
    background: transparent;
    border: 1px solid #e0e0e0;
    padding: 8px 24px;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    color: var(--dark);
    cursor: pointer;
}

.filter-video-btn.active,
.filter-video-btn:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: white;
}

.videos-grid-section {
    background: var(--light-gray);
}

.video-card {
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.play-overlay i {
    font-size: 60px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.video-card:hover .play-overlay i {
    transform: scale(1.1);
    color: #FF0000;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.video-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF0000;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.4;
}

.video-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.video-meta {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--gray);
}

.video-meta i {
    margin-right: 5px;
    color: #FF0000;
}

#videoModal .modal-content {
    background: transparent;
}

.btn-close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(0,0,0,0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.btn-close-modal:hover {
    background: #FF0000;
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

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

.video-modal-caption {
    text-align: center;
    color: white;
    margin-top: 20px;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Botón de carga */
.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.cta-videos {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
}

.btn-danger {
    background: #FF0000;
    border-color: #FF0000;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
}

.btn-danger:hover {
    background: #CC0000;
    border-color: #CC0000;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .videos-header {
        padding: 60px 0;
    }
    
    .videos-header h1 {
        font-size: 2rem;
    }
    
    .videos-header .lead {
        font-size: 1rem;
    }
    
    .filter-video-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .play-overlay i {
        font-size: 45px;
    }
    
    .video-info h4 {
        font-size: 1rem;
    }
    
    .btn-close-modal {
        top: -35px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .filter-video-btn {
        padding: 4px 12px;
        font-size: 11px;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .play-overlay i {
        font-size: 35px;
    }
    
    .video-info {
        padding: 15px;
    }
    
    .video-info h4 {
        font-size: 0.9rem;
    }
    
    .video-meta {
        font-size: 0.7rem;
        gap: 10px;
    }
}