/*
Theme Name: Pride TV Dark Theme
Description: Tema oscuro elegante para Pride TV Latam con acentos morados
Version: 1.0.0
Author: Pride TV Latam
*/

/* CSS Variables - TEMA OSCURO */
:root {
    --pride-primary: #B794F6;
    --pride-secondary: #EC4899;
    --pride-accent: #10B981;
    --pride-blue: #A78BFA;
    --pride-dark: #f1f5f9;
    --pride-light: #0f172a;
    --pride-white: #1e293b;
    --pride-gray: #94a3b8;
    --pride-border: #334155;
    
    --gradient-pride: linear-gradient(135deg, var(--pride-primary) 0%, var(--pride-secondary) 50%, var(--pride-accent) 100%);
    --gradient-blue: linear-gradient(135deg, #A78BFA 0%, #B794F6 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--pride-dark);
    background: var(--pride-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--pride-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--pride-blue);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.channel-info {
    display: flex;
    gap: 30px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-header {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-pride);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--pride-dark);
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.live-link {
    background: var(--gradient-pride);
    color: white;
}

/* Header Actions - Búsqueda y Menú Móvil */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--pride-light);
    border-radius: 25px;
    padding: 8px 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--pride-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-field {
    border: none;
    background: transparent;
    outline: none;
    padding: 5px 10px;
    font-size: 14px;
    width: 200px;
    color: var(--pride-dark);
}

.search-field::placeholder {
    color: var(--pride-gray);
}

.search-submit {
    background: none;
    border: none;
    color: var(--pride-primary);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: var(--pride-primary);
    color: white;
}

/* Menu Toggle - Botón Hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--pride-light);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--pride-dark);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Simple Menu (Solo HOME) para páginas adicionales */
.simple-menu {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.simple-menu .home-only {
    margin: 0;
}

.simple-menu .home-btn {
    background: var(--gradient-pride);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.simple-menu .home-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--pride-secondary) 0%, var(--pride-primary) 50%, var(--pride-accent) 100%);
}

.simple-menu .home-btn i {
    font-size: 1.1rem;
}

/* Responsive para menú simple */
@media (max-width: 768px) {
    .simple-menu .home-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .simple-menu .home-btn i {
        font-size: 1rem;
    }
}

/* Hero Slider */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--gradient-blue);
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(139, 92, 246, 0.3) 0%,
        rgba(168, 85, 247, 0.2) 50%,
        rgba(30, 64, 175, 0.4) 100%
    );
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 2;
    color: white;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-schedule {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-pride);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.hero-navigation {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Dónde Ver Section */
.donde-ver-section {
    padding: 60px 0;
    background: var(--pride-white);
    display: block !important;
    visibility: visible !important;
}

.donde-ver-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    background: var(--gradient-pride);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block !important;
}

.canales-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.canal-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--pride-white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
}

.canal-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.canal-ciudad {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--pride-dark);
    margin-bottom: 10px;
}

.canal-numero {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-pride);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* En Vivo Section */
.en-vivo-section {
    padding: 80px 0;
    background: var(--gradient-blue);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
}

.en-vivo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.video-player-container {
    position: relative;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-player {
    position: relative;
    aspect-ratio: 16/9;
}

.video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-player-container:hover .video-controls,
.video-controls:hover,
.video-controls.show {
    opacity: 1;
    pointer-events: all;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255,255,255,0.2);
}

.volume-slider {
    width: 80px;
}

.fullscreen-btn {
    margin-left: auto;
}

.video-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.video-info {
    background: rgba(0,0,0,0.7);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.video-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.video-time {
    font-size: 14px;
    color: #ff4444;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.programacion-hoy {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.programacion-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.programacion-lista {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.programa-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.programa-item.active {
    background: var(--gradient-pride);
    transform: scale(1.02);
}

.programa-hora {
    font-weight: 700;
    font-size: 1.125rem;
}

.programa-nombre {
    font-weight: 600;
}

/* Programas Section */
.programas-section {
    padding: 80px 0;
    background: var(--pride-light);
}

.programas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.programa-card {
    background: var(--pride-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.programa-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.programa-card:hover .programa-image img {
    transform: scale(1.05);
}

.programa-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 92, 246, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-button {
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    color: var(--pride-primary);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.programa-info {
    padding: 25px;
}

.programa-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--pride-dark);
}

.programa-horario {
    color: var(--pride-gray);
    font-weight: 600;
}

/* Noticias Section */
.noticias-section {
    padding: 80px 0;
    background: var(--pride-white);
}

.noticias-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.noticia-principal {
    cursor: pointer;
    transition: all 0.3s ease;
}

.noticia-principal:hover {
    transform: translateY(-3px);
}

.noticia-principal-image {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
}

.noticia-principal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticia-principal-content {
    padding: 0 10px;
}

.noticia-fecha {
    color: var(--pride-primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.noticia-titulo {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--pride-dark);
}

.noticia-excerpt {
    color: var(--pride-gray);
    line-height: 1.6;
}

.noticias-secundarias {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.noticia-secundaria {
    display: flex;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.noticia-secundaria:hover {
    transform: translateX(5px);
}

.noticia-secundaria-image {
    width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.noticia-secundaria-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimizeQuality;
}

.noticia-secundaria-content {
    flex: 1;
}

.noticia-secundaria .noticia-titulo {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Virales Section */
.virales-section {
    padding: 80px 0;
    background: var(--pride-light);
}

.virales-title {
    background: var(--gradient-pride);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.virales-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.virales-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.viral-item {
    min-width: 280px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.viral-item:hover {
    transform: scale(1.02);
}

.viral-image {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
}

.viral-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.viral-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pride-primary);
    font-size: 20px;
}

.viral-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
}

.viral-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.viral-date {
    font-size: 12px;
    opacity: 0.8;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--pride-white);
    border: none;
    border-radius: 50%;
    color: var(--pride-primary);
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: var(--pride-primary);
    color: white;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Footer - NEGRO PURO */
.site-footer {
    background: #000000;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-pride);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    width: 40px;
    height: 40px;
    background: var(--gradient-pride);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-media a:hover {
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #9ca3af;
}

.contact-info a {
    color: #9ca3af;
    text-decoration: none;
}

.contact-info a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.separator {
    color: #4b5563;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .en-vivo-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .noticias-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Top bar más compacto en móvil */
    .top-bar {
        padding: 6px 0;
        font-size: 12px;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .channel-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .channel-item {
        font-size: 11px;
        gap: 4px;
    }
    
    /* Header principal más compacto */
    .main-header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    
    /* Logo más pequeño en móvil */
    .site-title a {
        font-size: 1.5rem;
    }
    
    /* Navegación oculta en móvil, mostrar menú toggle */
    .main-navigation ul {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Header actions más compacto */
    .header-actions {
        gap: 10px;
    }
    
    .search-form {
        padding: 6px 12px;
        border-radius: 20px;
    }
    
    .search-field {
        width: 120px;
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .search-submit {
        padding: 4px;
        font-size: 12px;
    }
    
    /* Hamburger más pequeño y elegante */
    .hamburger {
        width: 20px;
        height: 15px;
        gap: 3px;
    }
    
    .hamburger span {
        height: 2px;
    }
    
    /* Hero responsive mejorado */
    .hero-section {
        height: 400px;
    }
    
    .hero-content {
        bottom: 30px;
        left: 30px;
        right: 30px;
        max-width: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 15px;
    }
    
    .hero-schedule {
        font-size: 1rem;
        padding: 8px 16px;
        margin-bottom: 25px;
    }
    
    .hero-cta {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .canales-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .programas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .noticias-secundarias {
        gap: 20px;
    }
    
    .noticia-secundaria {
        flex-direction: column;
        gap: 10px;
    }
    
    .noticia-secundaria-image {
        width: 100%;
        height: 180px; /* Reducido de 200px */
        min-height: 180px; /* Altura mínima */
        max-height: 180px; /* Altura máxima */
    }
    
    .noticia-secundaria-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        image-rendering: -webkit-optimize-contrast; /* Mejor renderizado */
        image-rendering: crisp-edges; /* Evitar pixelado */
        image-rendering: optimizeQuality; /* Calidad optimizada */
    }
    
    .virales-track {
        gap: 15px;
    }
    
    .viral-item {
        min-width: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Hero móvil mejorado */
    .hero-section {
        height: 350px;
    }
    
    .hero-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .hero-schedule {
        font-size: 0.9rem;
        padding: 6px 12px;
        margin-bottom: 20px;
    }
    
    .hero-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-navigation {
        bottom: 15px;
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
    }
    
    /* Otros elementos móvil */
    .section-title {
        font-size: 2rem;
    }
    
    .donde-ver-title {
        font-size: 2rem;
    }
    
    .canales-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .viral-item {
        min-width: 220px;
    }
}


/* Programación con Scroll Automático - Mejorado */
.programacion-container {
    position: relative;
    height: 420px; /* Altura aumentada para mostrar mejor los programas */
    overflow: hidden;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.programacion-lista {
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 10px 0;
    transition: transform 0.5s ease;
}

.programacion-lista::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.programa-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    margin: 0 10px 10px 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    min-height: 75px;
}

.programa-item:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(5px);
}

/* Programa EN VIVO con degradé súper destacado */
.programa-item.active {
    background: linear-gradient(135deg, 
        #8B5CF6 0%,     /* Morado Pride */
        #A855F7 25%,    /* Morado más claro */
        #EC4899 50%,    /* Rosa Pride */
        #F59E0B 75%,    /* Amarillo */
        #10B981 100%    /* Verde Pride */
    );
    border-left: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: white;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.programa-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0.05) 50%, 
        rgba(0,0,0,0.1) 100%
    );
    pointer-events: none;
}

.programa-item.active:hover {
    transform: translateX(0) scale(1.02);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5);
}

.programa-hora {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pride-primary);
    min-width: 60px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.programa-item.active .programa-hora {
    color: #ffffff;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.programa-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 15px;
    position: relative;
    z-index: 1;
}

.programa-nombre {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pride-dark);
    line-height: 1.3;
}

.programa-item.active .programa-nombre {
    font-weight: 800;
    color: #ffffff;
    font-size: 1.05rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.en-vivo-indicator {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    animation: pulse-live-enhanced 2s infinite;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.5);
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes pulse-live-enhanced {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.5);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(255, 71, 87, 0.7);
    }
}

/* Efectos fade en los bordes - TEMA OSCURO */
.programacion-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0));
    pointer-events: none;
    z-index: 2;
}

.programacion-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0));
    pointer-events: none;
    z-index: 2;
}

/* Responsive para scroll de programación */
@media (max-width: 768px) {
    .programacion-container {
        height: 360px; /* Altura aumentada en tablets */
    }
    
    .programa-item {
        padding: 15px 15px;
        margin: 0 5px 8px 5px;
        min-height: 65px;
    }
    
    .programa-info {
        margin-left: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .programa-hora {
        font-size: 1rem;
        min-width: 50px;
    }
    
    .programa-item.active .programa-hora {
        font-size: 1.1rem;
    }
    
    .programa-nombre {
        font-size: 0.9rem;
    }
    
    .programa-item.active .programa-nombre {
        font-size: 0.95rem;
    }
    
    .en-vivo-indicator {
        font-size: 0.65rem;
        padding: 3px 8px;
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .programacion-container {
        height: 320px; /* Altura aumentada en móviles */
    }
    
    .programa-item {
        padding: 12px 12px;
        min-height: 60px;
    }
    
    .programa-hora {
        font-size: 0.95rem;
    }
    
    .programa-item.active .programa-hora {
        font-size: 1rem;
    }
    
    .programa-nombre {
        font-size: 0.85rem;
    }
    
    .programa-item.active .programa-nombre {
        font-size: 0.9rem;
    }
}



/* Programas Carousel Horizontal - Estilo Momentos */
.programas-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-top: 30px;
}

.programas-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    padding: 10px 0;
}

.programa-item {
    min-width: 320px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--pride-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    flex-direction: column;
}

.programa-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.programa-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.programa-item:hover .programa-image img {
    transform: scale(1.05);
}

.programa-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 92, 246, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.programa-item:hover .programa-overlay {
    opacity: 1;
}

.programa-overlay .play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--pride-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.programa-overlay .play-button:hover {
    background: white;
    transform: scale(1.1);
}

.programa-content {
    padding: 20px;
    background: var(--pride-white);
    border-radius: 0 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.programa-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pride-dark);
    margin: 0;
    line-height: 1.3;
}

.programa-descripcion {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.programa-horario-destacado {
    background: linear-gradient(135deg, var(--pride-primary), #A855F7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    margin-top: auto;
    align-self: center;
    min-width: 120px;
}

/* Botones de navegación del carousel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.9);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.carousel-btn:hover {
    background: var(--pride-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

/* Responsive para programas carousel */
@media (max-width: 768px) {
    .programas-track {
        gap: 15px;
        padding: 10px 20px;
    }
    
    .programa-item {
        min-width: 280px;
    }
    
    .programa-content {
        padding: 15px;
        gap: 10px;
    }
    
    .programa-title {
        font-size: 1rem;
    }
    
    .programa-descripcion {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .programa-horario-destacado {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .carousel-btn-prev {
        left: -22px;
    }
    
    .carousel-btn-next {
        right: -22px;
    }
}

@media (max-width: 480px) {
    .programas-track {
        gap: 12px;
        padding: 10px 15px;
    }
    
    .programa-item {
        min-width: 250px;
    }
    
    .programa-content {
        padding: 12px;
        gap: 8px;
    }
    
    .programa-title {
        font-size: 0.95rem;
    }
    
    .programa-descripcion {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }
    
    .programa-horario-destacado {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .carousel-btn-prev {
        left: -20px;
    }
    
    .carousel-btn-next {
        right: -20px;
    }
    
    .programa-overlay .play-button {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}



/* ESTILOS ADICIONALES PARA TEMA OSCURO */

/* Mejorar contraste en inputs y formularios */
input, textarea, select {
    background: var(--pride-white) !important;
    color: var(--pride-dark) !important;
    border-color: var(--pride-border) !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--pride-primary) !important;
    box-shadow: 0 0 0 3px rgba(183, 148, 246, 0.1) !important;
}

/* Mejorar contraste en cards y contenido */
.card, .content-card, .post-card {
    background: var(--pride-white) !important;
    color: var(--pride-dark) !important;
    border-color: var(--pride-border) !important;
}

/* Mejorar texto en elementos específicos */
.text-dark, .content-text, .description {
    color: var(--pride-dark) !important;
}

.text-muted, .meta-text {
    color: var(--pride-gray) !important;
}

/* Mejorar contraste en navegación */
.nav-link, .menu-item a {
    color: var(--pride-dark) !important;
}

.nav-link:hover, .menu-item a:hover {
    color: var(--pride-primary) !important;
}

/* Mejorar contraste en botones secundarios */
.btn-secondary, .button-secondary {
    background: var(--pride-white) !important;
    color: var(--pride-dark) !important;
    border-color: var(--pride-border) !important;
}

.btn-secondary:hover, .button-secondary:hover {
    background: var(--pride-border) !important;
    color: var(--pride-dark) !important;
}

/* Mejorar scrollbars para tema oscuro */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--pride-light);
}

::-webkit-scrollbar-thumb {
    background: var(--pride-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pride-primary);
}

/* Mejorar contraste en tablas */
table {
    background: var(--pride-white) !important;
    color: var(--pride-dark) !important;
}

th {
    background: var(--pride-border) !important;
    color: var(--pride-dark) !important;
}

td {
    border-color: var(--pride-border) !important;
}

/* Mejorar contraste en modales y overlays */
.modal, .overlay, .popup {
    background: var(--pride-white) !important;
    color: var(--pride-dark) !important;
}

.modal-backdrop, .overlay-backdrop {
    background: rgba(0, 0, 0, 0.8) !important;
}

/* Mejorar contraste en alertas y notificaciones */
.alert, .notification {
    background: var(--pride-white) !important;
    color: var(--pride-dark) !important;
    border-color: var(--pride-border) !important;
}

/* Asegurar que los enlaces sean visibles */
a {
    color: var(--pride-primary) !important;
}

a:hover {
    color: var(--pride-secondary) !important;
}

/* Mejorar contraste en elementos de WordPress */
.wp-block-quote, blockquote {
    background: var(--pride-white) !important;
    color: var(--pride-dark) !important;
    border-left-color: var(--pride-primary) !important;
}

.wp-block-code, code, pre {
    background: var(--pride-white) !important;
    color: var(--pride-dark) !important;
}

/* Mejorar contraste en widgets */
.widget {
    background: var(--pride-white) !important;
    color: var(--pride-dark) !important;
}

.widget-title {
    color: var(--pride-dark) !important;
}


/* MENÚ MÓVIL DESPLEGABLE - CORRECCIÓN */

/* Menú móvil oculto por defecto */
@media (max-width: 768px) {
    .main-navigation {
        position: relative;
    }
    
    .main-navigation ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--pride-white);
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
        padding: 20px;
        margin-top: 15px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        flex-direction: column;
        gap: 0;
        border: 1px solid var(--pride-border);
    }
    
    /* Mostrar menú cuando está activo */
    .main-navigation.active ul {
        display: flex !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid var(--pride-border);
    }
    
    .main-navigation ul li:last-child {
        border-bottom: none;
    }
    
    .main-navigation ul li a {
        display: block;
        padding: 15px 20px;
        color: var(--pride-dark);
        text-decoration: none;
        font-weight: 600;
        border-radius: 8px;
        margin: 5px 0;
        transition: all 0.3s ease;
    }
    
    .main-navigation ul li a:hover,
    .main-navigation ul li a.live-link {
        background: var(--gradient-pride);
        color: white;
        transform: translateX(5px);
    }
    
    /* Overlay para cerrar menú */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Ajustar header cuando menú está abierto */
    .site-header.menu-open {
        position: relative;
        z-index: 1001;
    }
}

/* Estilos para desktop - asegurar que el menú se vea normal */
@media (min-width: 769px) {
    .main-navigation ul {
        display: flex !important;
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        flex-direction: row;
        gap: 30px;
        border: none;
    }
    
    .menu-toggle {
        display: none !important;
    }
    
    .menu-overlay {
        display: none !important;
    }
}


/* MEJORAS ADICIONALES PARA IMÁGENES EN MÓVIL */

/* Mejorar todas las imágenes en dispositivos móviles */
@media (max-width: 768px) {
    /* Optimización general de imágenes */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: optimizeQuality;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Mejorar imágenes de noticias principales también */
    .noticia-principal-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: optimizeQuality;
    }
    
    /* Mejorar imágenes de programas */
    .programa-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: optimizeQuality;
    }
    
    /* Mejorar imágenes virales */
    .viral-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: optimizeQuality;
    }
}

/* Mejoras específicas para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .noticia-secundaria-image img,
    .noticia-principal-image img,
    .programa-image img,
    .viral-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: optimizeQuality;
    }
}


/* Estilos para Programas Destacados - ESTILO CANAL 13 */
.programas-destacados-section {
    padding: 80px 0;
    background: var(--pride-bg);
}

.programa-banner {
    position: relative;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

.programa-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
}

.programa-banner.featured {
    min-height: 500px;
    margin-bottom: 60px;
}

.programa-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.programa-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.8) 100%
    );
}

.programa-banner-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding: 40px;
    width: 100%;
    color: white;
}

.programa-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.programa-titulo {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.programa-banner.featured .programa-titulo {
    font-size: 3rem;
}

.programa-horario {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 600;
}

.programa-descripcion {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.programa-actions {
    display: flex;
    gap: 15px;
}

.btn-ver-programa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--pride-primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-ver-programa:hover {
    background: var(--pride-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
    color: white;
}

.programa-videos-preview {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.programa-videos-preview h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.videos-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.video-preview-item {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-preview-item:hover {
    background: rgba(0,0,0,0.5);
    transform: scale(1.02);
}

.video-preview-link {
    display: flex;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: white;
}

.video-preview-thumbnail {
    position: relative;
    width: 80px;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.video-preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-preview-item:hover .video-play-icon {
    opacity: 1;
}

.video-episode-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--pride-primary);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.video-preview-content {
    flex: 1;
    min-width: 0;
}

.video-preview-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-preview-date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.no-programs-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--pride-card);
    border-radius: 15px;
    border: 1px solid var(--pride-border);
}

.no-programs-message p {
    color: var(--pride-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive para banners de programas */
@media (max-width: 1024px) {
    .programa-banner-content {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: flex-end;
    }
    
    .programa-videos-preview {
        order: 1;
        margin-top: 20px;
    }
    
    .videos-preview-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .programa-banner {
        min-height: 350px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .programa-banner.featured {
        min-height: 400px;
    }
    
    .programa-banner-content {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: flex-start;
    }
    
    .programa-info {
        order: 1;
        justify-content: flex-start;
        padding-top: 20px;
    }
    
    .programa-videos-preview {
        order: 2;
        position: relative;
        z-index: 3;
        margin-top: 20px;
        background: rgba(0,0,0,0.8);
    }
    
    .programa-titulo {
        font-size: 2rem;
    }
    
    .programa-banner.featured .programa-titulo {
        font-size: 2.2rem;
    }
    
    .videos-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .video-preview-thumbnail {
        width: 60px;
    }
    
    .video-preview-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .videos-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .video-preview-link {
        gap: 10px;
        padding: 10px;
    }
}


/* Estilos adicionales para player de video y correcciones de texto */
.no-video-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #000;
    color: white;
    font-size: 1.2rem;
}

.video-player-wrapper video {
    border-radius: 12px;
}

/* Corregir colores de texto en páginas de video */
.video-description p,
.video-meta .meta-item,
.related-video-title,
.popular-video-title {
    color: var(--pride-white) !important;
}

.related-video-date,
.popular-video-program {
    color: var(--pride-gray) !important;
}

/* Mejorar responsive de banners - corregir superposición */
@media (max-width: 768px) {
    .programa-banner-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 350px;
    }
    
    .programa-info {
        order: 2;
        margin-top: auto;
        padding-top: 0;
    }
    
    .programa-videos-preview {
        order: 1;
        margin-top: 0;
        margin-bottom: auto;
        background: rgba(0,0,0,0.9);
        backdrop-filter: blur(15px);
    }
}


/* Estilos SOLO para el nuevo layout de banners */
.programa-info-bottom {
    position: absolute;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    z-index: 3;
}

.programa-info-bottom .programa-titulo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.programa-info-bottom .programa-horario {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.programa-info-bottom .btn-ver-programa {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: var(--pride-primary);
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-shadow: none;
}

.programa-info-bottom .btn-ver-programa:hover {
    background: var(--pride-secondary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.programa-videos-section {
    padding: 40px 0;
    background: var(--pride-card);
    border-bottom: 1px solid var(--pride-border);
}

.videos-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

.programa-videos-section .videos-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Responsive para el nuevo layout */
@media (max-width: 768px) {
    .programa-info-bottom {
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-width: none;
    }
    
    .programa-info-bottom .programa-titulo {
        font-size: 1.4rem;
    }
    
    .programa-info-bottom .programa-horario {
        font-size: 0.9rem;
    }
    
    .programa-info-bottom .btn-ver-programa {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .programa-videos-section .videos-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}



/* Estilos tecnológicos para header EN VIVO */
.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse-live 2s infinite;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

@keyframes pulse-live {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.live-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.5);
}

.live-stats {
    display: flex;
    gap: 25px;
    align-items: center;
}

.viewer-count, .signal-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.viewer-count i, .signal-strength i {
    color: #A78BFA;
    font-size: 1.1rem;
}

.viewer-count span, .signal-strength span {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

#viewer-count {
    font-family: 'Courier New', monospace;
    animation: count-update 3s infinite;
}

@keyframes count-update {
    0%, 90% { opacity: 1; }
    95% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .live-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .live-text {
        font-size: 1.4rem;
    }
    
    .live-stats {
        gap: 15px;
    }
    
    .viewer-count, .signal-strength {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}


/* Layout compacto de programas en home */
.programas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.programa-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.programa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.programa-card-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.programa-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.programa-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: white;
}

.programa-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.programa-card-schedule {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 15px;
}

.programa-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.programa-card-btn:hover {
    background: #8B5CF6;
    transform: scale(1.05);
}

.programa-videos-preview {
    display: flex;
    gap: 8px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
}

.video-mini-preview {
    position: relative;
    width: 60px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-mini-preview:hover {
    transform: scale(1.1);
}

.video-mini-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-mini-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(139, 92, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
}

/* Layout moderno de videos en página de programas */
.videos-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.video-modern-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modern-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

.video-modern-item.featured {
    grid-column: span 2;
}

.video-modern-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-modern-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.video-modern-item:hover .video-modern-thumbnail img {
    transform: scale(1.05);
}

.video-modern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modern-item:hover .video-modern-overlay {
    opacity: 1;
}

.video-modern-play {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-modern-item:hover .video-modern-play {
    transform: scale(1);
}

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

.video-modern-episode {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(139, 92, 246, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.video-modern-content {
    padding: 20px;
}

.video-modern-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.video-modern-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.video-modern-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.video-modern-category {
    background: rgba(167, 139, 250, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.video-modern-excerpt {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .programas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .programa-card-image {
        height: 160px;
    }
    
    .videos-modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-modern-item.featured {
        grid-column: span 1;
    }
    
    .video-modern-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* Grid de categorías sin video destacado */
.category-modern-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.category-modern-grid .video-modern-item.featured {
    grid-column: span 1; /* Sin video destacado en categorías */
}

@media (max-width: 768px) {
    .category-modern-grid {
        grid-template-columns: 1fr;
    }
}


/* Franja animada de canales */
.canales-ticker-section {
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 15px 0;
    overflow: hidden;
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
}

.canales-ticker-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        transparent 20%, 
        transparent 80%, 
        rgba(139, 92, 246, 0.1) 100%);
    pointer-events: none;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    align-items: center;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-right: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(5px);
}

.ticker-item:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.ticker-item.clickeable:hover {
    background: rgba(139, 92, 246, 0.3);
}

.ticker-icon {
    color: #A78BFA;
    font-size: 1.1rem;
}

.ticker-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.ticker-text strong {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.ticker-channel {
    color: #cccccc;
    font-size: 0.75rem;
    font-weight: 400;
}

.ticker-link {
    color: #A78BFA;
    font-size: 0.8rem;
    opacity: 0.7;
}

.ticker-separator {
    color: rgba(167, 139, 250, 0.5);
    font-size: 1.2rem;
    margin: 0 20px;
}

/* Pausar animación al hover */
.ticker-container:hover .ticker-content {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .canales-ticker-section {
        padding: 12px 0;
    }
    
    .ticker-item {
        padding: 6px 15px;
        margin-right: 20px;
    }
    
    .ticker-text strong {
        font-size: 0.8rem;
    }
    
    .ticker-channel {
        font-size: 0.7rem;
    }
    
    .ticker-separator {
        margin: 0 15px;
    }
}


/* Mejoras para el menú móvil */
.menu-toggle {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-toggle:focus {
    outline: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mejoras para el carousel de virales */
.virales-track {
    transition: transform 0.3s ease;
    cursor: grab;
    user-select: none;
}

.virales-track:active {
    cursor: grabbing;
}

.carousel-btn {
    background: rgba(139, 92, 246, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-btn:hover {
    background: rgba(139, 92, 246, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

/* Responsive para botones del carousel */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: -20px;
    }
    
    .carousel-next {
        right: -20px;
    }
}


/* Carrusel de noticias secundarias solo para móvil */
@media (max-width: 768px) {
    .noticias-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .noticia-principal {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .noticias-secundarias {
        width: 100%;
        overflow: hidden;
    }
    
    /* Ocultar desktop, mostrar móvil */
    .noticias-desktop {
        display: none;
    }
    
    .noticias-carousel-mobile {
        display: block;
        position: relative;
        overflow: hidden;
        width: 100%;
    }
    
    .noticias-track-mobile {
        display: flex;
        gap: 15px;
        transition: transform 0.3s ease;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 10px;
    }
    
    .noticias-track-mobile::-webkit-scrollbar {
        display: none;
    }
    
    .noticias-track-mobile .noticia-secundaria {
        flex: 0 0 280px;
        width: 280px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 15px;
        border: 1px solid rgba(139, 92, 246, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .noticias-track-mobile .noticia-secundaria:hover {
        background: rgba(139, 92, 246, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
    }
    
    .noticias-track-mobile .noticia-secundaria-image {
        width: 100%;
        height: 120px;
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 12px;
    }
    
    .noticias-track-mobile .noticia-secundaria-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .noticias-track-mobile .noticia-fecha {
        color: #A78BFA;
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .noticias-track-mobile .noticia-titulo {
        color: #ffffff;
        font-size: 0.9rem;
        line-height: 1.3;
        margin: 0;
        font-weight: 600;
    }
}

/* Mantener el diseño original en desktop */
@media (min-width: 769px) {
    /* Mostrar desktop, ocultar móvil */
    .noticias-desktop {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .noticias-carousel-mobile {
        display: none;
    }
    
    .noticias-desktop .noticia-secundaria {
        display: flex;
        align-items: center;
        gap: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 15px;
        border: 1px solid rgba(139, 92, 246, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .noticias-desktop .noticia-secundaria:hover {
        background: rgba(139, 92, 246, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
    }
    
    .noticias-desktop .noticia-secundaria-image {
        flex: 0 0 120px;
        width: 120px;
        height: 80px;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .noticias-desktop .noticia-secundaria-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .noticias-desktop .noticia-fecha {
        color: #A78BFA;
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .noticias-desktop .noticia-titulo {
        color: #ffffff;
        font-size: 1rem;
        line-height: 1.3;
        margin: 0;
        font-weight: 600;
    }
}


/* Estilos adicionales para el menú móvil */
@media (max-width: 768px) {
    /* Header fijo para que el menú siempre funcione */
    .site-header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
    }
    
    /* Compensar el header fijo */
    body {
        padding-top: 80px;
    }
    
    /* Estilos para el botón hamburger */
    .menu-toggle {
        position: relative;
        z-index: 10002;
        background: transparent;
        border: none;
        padding: 10px;
        cursor: pointer;
    }
    
    /* Animación del hamburger */
    .hamburger {
        display: flex;
        flex-direction: column;
        width: 24px;
        height: 18px;
        justify-content: space-between;
    }
    
    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background: #ffffff;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    /* Estados activos del hamburger */
    .menu-toggle.active .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Overlay para cerrar el menú */
    .main-navigation.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
    }
    
    /* Menú desplegable */
    .main-navigation.active ul {
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;
        background: #1e293b;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        padding: 20px;
        z-index: 10001;
        border: 1px solid rgba(139, 92, 246, 0.3);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .main-navigation.active ul li a {
        color: #ffffff;
        padding: 15px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: block;
        text-decoration: none;
    }
    
    .main-navigation.active ul li a:hover {
        background: rgba(139, 92, 246, 0.2);
        transform: translateX(5px);
    }
}


/* Reorganizar sidebar en móvil - abajo del contenido principal */
@media (max-width: 768px) {
    .video-content {
        display: flex;
        flex-direction: column;
    }
    
    .video-main {
        order: 1;
    }
    
    .video-sidebar {
        order: 2;
        margin-top: 30px;
    }
    
    /* Colores mejorados para contraste en sidebar móvil */
    .video-sidebar h3 {
        color: #ffffff !important;
    }
    
    .related-video-title,
    .popular-video-title {
        color: #ffffff !important;
    }
    
    .related-video-date,
    .popular-video-program {
        color: #ffeb3b !important; /* Amarillo para mejor contraste */
    }
}

/* Desktop mantiene el layout original */
@media (min-width: 769px) {
    .video-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }
}



/* ===== ESPECIALES SECTION ===== */
.especiales-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.especiales-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(139,92,246,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.especiales-section .container {
    position: relative;
    z-index: 2;
}

.especiales-section .section-title {
    color: #ffeb3b;
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Carrusel de Especiales */
.especiales-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 235, 59, 0.9);
    border: none;
    color: #1e293b;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #ffeb3b;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 235, 59, 0.4);
}

.especiales-track {
    display: flex;
    gap: 25px;
    transition: transform 0.3s ease;
    padding: 15px 0;
}

/* Items de Especiales */
.especial-item {
    min-width: 320px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.especial-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.especial-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.especial-item:hover .especial-image img {
    transform: scale(1.05);
}

.especial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 92, 246, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.especial-item:hover .especial-overlay {
    opacity: 1;
}

.especial-overlay .play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--pride-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.especial-overlay .play-button:hover {
    transform: scale(1.1);
    background: #ffffff;
}

.especial-content {
    padding: 20px;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.especial-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.3;
}

.especial-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.especial-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ffeb3b, #ffc107);
    color: #1e293b;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    border: 2px solid transparent;
}

.especial-btn:hover {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 235, 59, 0.4);
    color: #ffffff;
}

.especial-btn i {
    font-size: 0.8rem;
}

/* Mensaje cuando no hay especiales */
.no-especiales-message {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 2px dashed rgba(255, 235, 59, 0.3);
}

.no-especiales-message p {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive para Especiales */
@media (max-width: 768px) {
    .especiales-section {
        padding: 60px 0;
    }
    
    .especiales-section .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .especiales-track {
        gap: 20px;
        padding: 10px 20px;
    }
    
    .especial-item {
        min-width: 280px;
    }
    
    .carousel-controls {
        padding: 0 10px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .especial-content {
        padding: 15px;
    }
    
    .especial-title {
        font-size: 1rem;
    }
    
    .especial-description {
        font-size: 0.85rem;
    }
    
    .especial-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .especiales-track {
        gap: 15px;
        padding: 10px 15px;
    }
    
    .especial-item {
        min-width: 260px;
    }
    
    .especial-content {
        padding: 12px;
    }
    
    .especial-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .especial-description {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .especial-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

