        body { font-family: 'Inter', sans-serif; }
        
        /* Gradiente de fondo animado */
        .animated-bg {
            background: linear-gradient(-45deg, #1f2937, #374151, #4b5563, #6b7280);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
        }
        
        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        /* Efectos para las tarjetas de video */
        .video-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        
        .video-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(132, 204, 22, 0.1), transparent);
            transition: left 0.5s;
            z-index: 1;
        }
        
        .video-card:hover::before {
            left: 100%;
        }
        
        .video-card:hover {
            transform: translateY(-12px) scale(1.03); /* Aumenté un poco más la elevación */
            box-shadow: 0 25px 50px -12px rgba(132, 204, 22, 0.25);
            z-index: 20; /* Z-index alto para estar por encima de todo */
        }
        
        /* Recuadro para el contenido de texto del video */
        .video-content-box {
            background: rgba(31, 41, 55, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 16px;
            margin-top: 8px;
            border: 1px solid rgba(132, 204, 22, 0.2);
            transition: all 0.3s ease;
        }
        
        .video-card:hover .video-content-box {
            background: rgba(31, 41, 55, 0.95);
            border-color: rgba(132, 204, 22, 0.4);
            transform: translateY(-2px);
        }
        .play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.7);
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }
        
        .video-card:hover .play-overlay {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.1);
        }
        
        /* Efecto de brillo en el título */
        .glow-text {
            background: linear-gradient(45deg, #84cc16, #65a30d, #84cc16);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: textGlow 3s ease-in-out infinite;
        }
        
        @keyframes textGlow {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }
        
        /* Badge de "Nuevo" */
        .new-badge {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        /* Efectos de partículas */
        .particles-container {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
        }
        
        .particle {
            position: absolute;
            background: #84cc16;
            border-radius: 50%;
            opacity: 0.6;
            animation: float 6s infinite ease-in-out;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0; }
            10%, 90% { opacity: 0.6; }
            50% { transform: translateY(-100px) rotate(180deg); }
        }
        
        /* Loading skeleton */
        .skeleton {
            background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }
        
        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        
        /* Responsive video thumbnails */
        .video-thumbnail {
            aspect-ratio: 16/9;
            object-fit: cover;
            width: 100%;
            height: 200px;
        }
        
        @media (min-width: 768px) {
            .video-thumbnail {
                height: 220px;
            }
        }
        
        @media (min-width: 1024px) {
            .video-thumbnail {
                height: 240px;
            }
        }
        
        /* Hover effects para los filtros MEJORADOS */
        .filter-btn {
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .filter-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(132, 204, 22, 0.1), transparent);
            transition: left 0.5s ease;
        }
        
        .filter-btn:hover::before {
            left: 100%;
        }
        
        .filter-btn.active {
            background: #84cc16 !important;
            color: #1f2937 !important;
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
        }
        
        .filter-btn:hover:not(.active):not(.disabled) {
            background: rgba(132, 204, 22, 0.1) !important;
            color: #84cc16 !important;
            transform: translateY(-2px);
        }
        
        /* Estilos para categorías desactivadas */
        .filter-btn.disabled {
            background: #374151 !important;
            color: #6b7280 !important;
            cursor: not-allowed;
            opacity: 0.6;
            position: relative;
        }
        
        .filter-btn.disabled::after {
            content: 'Próximamente';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(239, 68, 68, 0.9);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 10px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        
        .filter-btn.disabled:hover::after {
            opacity: 1;
        }
        
        .filter-btn.disabled:hover::before {
            left: -100%; /* No mostrar el efecto de brillo en desactivados */
        }
        
        /* Ajustar el contenedor principal para evitar cortes */
        .carousel-main-container {
            padding: 30px 0; /* Espacio adicional arriba y abajo */
            margin: 0 -20px; /* Compensar el padding del track */
        }
        .play-pause-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 30;
            background: rgba(31, 41, 55, 0.95);
            backdrop-filter: blur(15px);
            border: 2px solid rgba(132, 204, 22, 0.4);
            border-radius: 50%;
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            color: #d1d5db;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        
        .play-pause-btn:hover {
            background: rgba(132, 204, 22, 0.9);
            color: #1f2937;
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(132, 204, 22, 0.4);
            border-color: rgba(132, 204, 22, 0.8);
        }
        
        .play-pause-btn.paused {
            border-color: rgba(239, 68, 68, 0.4);
        }
        
        .play-pause-btn.paused:hover {
            background: rgba(239, 68, 68, 0.9);
            border-color: rgba(239, 68, 68, 0.8);
            box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
        }
        .carousel-container {
            overflow: hidden;
            position: relative;
            margin: 0 auto;
            max-width: 100%;
        }
        
        .carousel-track {
            display: flex;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .carousel-slide {
            flex: 0 0 calc(33.333% - 16px);
            margin: 0 8px;
            box-sizing: border-box;
            position: relative; /* Agregado para z-index */
        }
        
        .carousel-slide:hover {
            z-index: 10; /* Asegurar que la card hover esté por encima */
        }
        
        @media (max-width: 768px) {
            .carousel-slide {
                flex: 0 0 calc(100% - 16px);
            }
        }
        
        @media (min-width: 769px) and (max-width: 1024px) {
            .carousel-slide {
                flex: 0 0 calc(50% - 16px);
            }
        }
        
        /* ESTILOS DEL CARRUSEL MEJORADOS */
        
        /* Indicadores */
        .carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 24px;
        }
        
        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #4b5563;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .carousel-dot.active {
            background: #84cc16;
            transform: scale(1.3);
        }
        
        .carousel-dot:hover {
            background: #65a30d;
            transform: scale(1.1);
        }
        
        /* Barra de progreso */
        .progress-container {
            max-width: 300px;
            margin: 16px auto 0;
        }
        
        .progress-bar {
            height: 4px;
            background: #374151;
            border-radius: 2px;
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #84cc16, #65a30d);
            border-radius: 2px;
            transition: width 0.5s ease;
        }
        
        .progress-text {
            text-align: center;
            margin-top: 8px;
            font-size: 14px;
            color: #9ca3af;
        }
        
        /* Clamp para líneas limitadas */
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* MEJORAS PARA EL MODAL */
        .modal-iframe {
            transition: opacity 0.3s ease;
        }
        
        .modal-header {
            background: rgba(31, 41, 55, 0.95);
            backdrop-filter: blur(10px);
        }
        
        /* Efecto de carga del iframe */
        .iframe-loading {
            background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }