 :root {
            --primary: #D4AC0D;  /* Color mostaza */
            --secondary: #ffffff; /* Color blanco */
            --dark: #333333;     /* Gris oscuro para contraste */
            --light: #f8f8f8;    /* Blanco ligeramente cálido */
            --gray: #666666;     /* Gris medio */
            --glow: 0 0 10px rgba(212, 172, 13, 0.7); /* Brillo mostaza */
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background: linear-gradient(135deg, #ffffff 0%, #fcf8e8 100%);
            color: #333333;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* Header con logo y navegación */
        .channel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background: var(--primary);
            border-radius: 12px 12px 0 0;
            border-bottom: 2px solid var(--primary);
            margin-bottom: 20px;
            color: #333;
        }
        
        .channel-brand {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .channel-logo {
            font-size: 2.5rem;
            color: var(--primary);
            text-shadow: var(--glow);
            animation: pulse 2s infinite;
        }
        
        .channel-name {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(45deg, var(--primary), #b38d00);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        
        .channel-nav {
            display: flex;
            gap: 20px;
        }
        
        .nav-item {
            color: #333;
            text-decoration: none;
            font-weight: 600;
            padding: 8px 15px;
            border-radius: 5px;
            transition: all 0.3s ease;
            background-color: rgba(255, 255, 255, 0.7);
        }
        
        .nav-item:hover {
            background: var(--primary);
            transform: translateY(-3px);
            color: white;
        }
        
        /* Contenedor principal de TV */
        .tv-container {
            width: 100%;
            background: var(--secondary);
            border: 12px solid #e6e6e6;
            border-radius: 15px;
            outline: 5px solid #D4AC0D;
            overflow: hidden;
            position: relative;
            margin-bottom: 30px;
            background: #ffffff; 
    box-shadow: none; 
        }
         
        .tv-container::after {
            bottom: -15px;
            right: -15px;
        }
        
        /* Cabecera de la TV */
        .tv-header {
            background: var(--primary);
            padding: 12px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 3px solid var(--primary);
            color: #333;
        }
        
        .tv-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
      .tv-live {
    background: #D4AC0D; /* color mostaza */
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    animation: none !important; /* asegúrate que no se herede */
}

        
        .tv-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
        }
        
        .tv-controls {
            display: flex;
            gap: 10px;
        }
        
        .tv-btn {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #333;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid #ddd;
        }
        
        .tv-btn:hover {
            background: var(--primary);
            transform: scale(1.1);
            color: white;
        }
        
        /* Contenedor de video */
        .tv-video {
            position: relative;
            padding-top: 56.25%; /* Relación 16:9 */
            background: #000;
            overflow: hidden;
        }
        
        .tv-video iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        @supports (-webkit-overflow-scrolling: touch) {
  .tv-container {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    border-radius: 0 !important;
  }
}

        
        
        /* Pie de TV */
        .tv-footer {
            background: #f8f8f8;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #333;
            border-top: 2px solid var(--primary);
        }
        
        .tv-scroll {
            flex-grow: 1;
            overflow: hidden;
            position: relative;
            height: 24px;
        }
        
        .news-ticker {
            position: absolute;
            white-space: nowrap;
            animation: ticker 30s linear infinite;
            color: #333;
        }
        
        .tv-social {
            display: flex;
            gap: 15px;
            margin-left: 20px;
        }
        
        .social-icon {
            color: #666;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            color: var(--primary);
            transform: translateY(-3px);
        }
        
        /* Programación */
        .schedule {
            width: 100%;
            background: var(--secondary);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 30px;
            border: 2px solid var(--primary);
            color: #333;
        }
        
        .schedule-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .program-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }
        
        .program-item {
            background: #f8f8f8;
            padding: 15px;
            border-radius: 8px;
            border-left: 4px solid var(--primary);
            transition: all 0.3s ease;
            color: #333;
        }
        
        .program-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(212, 172, 13, 0.2);
            border-left: 4px solid #b38d00;
        }
        
        .program-time {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .program-name {
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .program-desc {
            font-size: 0.9rem;
            color: #666;
        }
        
        /* Footer de la página */
        .page-footer {
            width: 100%;
            text-align: center;
            padding: 20px;
            margin-top: 20px;
            border-top: 1px solid var(--primary);
            font-size: 0.9rem;
            color: #666;
        }
        
        /* Animaciones */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }
        
        @keyframes ticker {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .channel-header {
                flex-direction: column;
                gap: 15px;
            }
            
            .channel-nav {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .tv-header {
                flex-direction: column;
                gap: 10px;
            }
            
            .tv-footer {
                flex-direction: column;
                gap: 10px;
            }
            
            .tv-social {
                margin-left: 0;
            }
            
            .program-list {
                grid-template-columns: 1fr;
            }
        }
.ads-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 20px;
      margin: 30px 0;
    }
    .ads-box {
      border: 2px solid var(--primary);
      border-radius: 10px;
      padding: 0;
      background: #f8f8f8;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
      min-height: 200px;
    }
    .ads-box h4 {
      display: none;
    }
    .ads-box img, 
    .ads-box video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 8px;
    }
    .carousel {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    .carousel video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.8s ease-in-out;
    }
    .carousel video.active {
      opacity: 1;
      z-index: 1;
    }
    .carousel p {
      display: none;
    }
    .ads-box p:not(.carousel p) {
      display: none;
    }
    @media(max-width:768px){
      .ads-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
      }
    }
    /* Estilos para el botón flotante de WhatsApp */
    .whatsapp-float {
      position: fixed;
      bottom: 25px;
      right: 25px;
      width: 60px;
      height: 60px;
      background-color: #25d366;
      color: white;
      border-radius: 50%;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      z-index: 1000;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      overflow: hidden;
      animation: pulse 2s infinite;
    }
    
    .whatsapp-float:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
      width: 180px;
      border-radius: 30px;
    }
    
    .whatsapp-float:hover .whatsapp-text {
      display: block;
      opacity: 1;
    }
    
    .whatsapp-icon {
      font-size: 28px;
      margin-bottom: 0;
    }
    
    .whatsapp-text {
      display: none;
      font-size: 14px;
      font-weight: bold;
      margin-top: 2px;
      opacity: 0;
      transition: opacity 0.3s ease;
      white-space: nowrap;
    }
    
    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
      }
      70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
      }
    }
    
    /* Responsive */
    @media (max-width: 768px) {
      .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
      }
      
      .whatsapp-icon {
        font-size: 24px;
      }
    }