/* Variables CSS */
:root {
    --primary-color: #e50914;
    --primary-hover: #f40612;
    --dark-bg: #0a0a0a;
    --dark-card: #1a1a1a;
    --dark-overlay: rgba(0, 0, 0, 0.8);
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
    --gradient-primary: linear-gradient(135deg, #e50914 0%, #f40612 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 40px rgba(229, 9, 20, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero section improved */
.hero-section {
    background: linear-gradient(135deg, #0f111a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.hero-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 60px;
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero-section {
        padding: 20px 0;
    }
    
    .hero-content {
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 15px 0;
    }
    
    .hero-content {
        min-height: 30px;
    }
}

/* Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.search-suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-suggestion-item:hover {
    background: rgba(229, 9, 20, 0.1);
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

/* Banner Section */
.banner-section {
    margin-bottom: 40px;
}

.banner-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
}

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

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 20px;
}

.banner-content h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.banner-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.banner-action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.banner-action-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.banner-play-action {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.banner-play-action:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.banner-play-action i {
    font-size: 2rem;
    color: white;
    margin-left: 3px; /* Ajuste visual para centrar el ícono */
}

.banner-website-action {
    background: rgba(0, 123, 255, 0.8);
    border-color: rgba(0, 123, 255, 0.6);
}

.banner-website-action:hover {
    background: rgba(0, 123, 255, 0.9);
    transform: translateY(-2px) scale(1.05);
}

.banner-action-item i {
    font-size: 1.2rem;
}

.banner-click-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.banner-indicator.active {
    background: #e50914;
    transform: scale(1.2);
}

.banner-indicator:hover {
    background: rgba(255,255,255,0.8);
}

/* Responsive banner */
@media (max-width: 768px) {
    .banner-slider {
        height: 300px;
    }
    
    .banner-content h3 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .banner-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .banner-action-item {
        width: 200px;
        justify-content: center;
    }
    
    .banner-play-action {
        width: 70px;
        height: 70px;
    }
    
    .banner-play-action i {
        font-size: 1.8rem;
    }
    
    .banner-click-hint {
        bottom: 10px;
        right: 10px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .banner-play-action {
        width: 60px;
        height: 60px;
    }
    
    .banner-play-action i {
        font-size: 1.5rem;
    }
}

/* Categories Section - Rediseñado como menú compacto */
.categories-section {
    padding: 40px 0;
    background: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Nuevo diseño de categorías como menú horizontal */
.categories-menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 0 1rem;
}

.category-menu-item {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-menu-item:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--text-light);
    text-decoration: none;
}

.category-menu-item.active {
    background: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.category-menu-item i {
    font-size: 0.8rem;
}

/* Channels Section - Rediseñado como iconos */
.channels-section {
    padding: 40px 0;
    background: var(--dark-bg);
}

/* Nuevo diseño de canales como iconos */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.channel-icon {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.channel-icon:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.channel-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.1), transparent);
    transition: left 0.5s ease;
}

.channel-icon:hover::before {
    left: 100%;
}

.channel-logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.channel-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.channel-logo-icon i {
    font-size: 2rem;
    color: var(--text-muted);
}

.channel-name-icon {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.channel-category-icon {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Play button overlay para iconos */
.channel-icon .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.channel-icon:hover .play-overlay {
    opacity: 1;
}

.channel-icon .play-overlay i {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Video Player Modal */
.video-modal-content {
    background: #0f111a;
    border: none;
    border-radius: 12px;
}

.video-modal-header {
    background: #1f2435;
    border-bottom: 1px solid #2a2f55;
    border-radius: 12px 12px 0 0;
}

.video-modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.video-modal-header .btn-close:hover {
    opacity: 1;
}

.video-modal-body {
    padding: 1rem;
    background: #0f111a;
    border-radius: 0 0 12px 12px;
}

/* Indicador de solo audio */
#audio-only-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#audio-only-indicator > div {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#audio-only-indicator i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

#audio-only-indicator h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

#audio-only-indicator p {
    margin: 0;
    opacity: 0.8;
    line-height: 1.5;
}

/* Indicador de audio MP2 */
#mp2-audio-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#mp2-audio-indicator > div {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    border: 2px solid #ff6b35;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#mp2-audio-indicator i {
    font-size: 4rem;
    color: #ff6b35;
    margin-bottom: 20px;
    display: block;
}

#mp2-audio-indicator h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

#mp2-audio-indicator p {
    margin: 0;
    opacity: 0.8;
    line-height: 1.5;
}

/* Indicador de autenticación requerida */
#authentication-required-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#authentication-required-indicator > div {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    border: 2px solid #ffc107;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#authentication-required-indicator i {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 20px;
    display: block;
}

#authentication-required-indicator h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

#authentication-required-indicator p {
    margin: 0;
    opacity: 0.8;
    line-height: 1.5;
}

/* Modern Video Player Skin */
.player-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Video element with modern styling */
#video {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #000;
    outline: none;
    object-fit: cover;
}

/* Custom video controls overlay */
.video-controls-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    min-height: 120px; /* Área más grande para controles */
}

.player-container:hover .video-controls-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Área de controles más grande */
.video-controls-overlay:hover {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Custom progress bar */
.custom-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
}

.progress-filled {
    height: 100%;
    background: linear-gradient(90deg, #e50914, #ff6b6b);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-progress:hover .progress-handle {
    opacity: 1;
}

/* Control buttons */
.control-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 5px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.control-btn:active {
    transform: scale(0.95);
}

/* Play/Pause button special styling */
.play-pause-btn {
    background: linear-gradient(135deg, #e50914, #ff6b6b) !important;
    border-color: #e50914 !important;
    width: 50px;
    height: 50px;
    font-size: 18px;
}

.play-pause-btn:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e) !important;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

/* Time display */
.time-display {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-left: auto;
}

/* Volume control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-filled {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 100%;
}

/* Fullscreen button */
.fullscreen-btn {
    margin-left: 10px;
}

/* Status badges modern styling */
.status {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    margin-top: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    color: #fff;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

#errorBadge {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    border-color: #dc2626;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Error box modern styling */
.error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 10px;
    display: inline-block;
    color: #fff;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Loading spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #e50914;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Video modal modern styling */
.video-modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: none;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.video-modal-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px 16px 0 0;
    padding: 20px 30px;
    position: relative;
    z-index: 10;
}

.video-modal-body {
    padding: 30px;
    height: 70vh;
    position: relative;
}

/* Responsive design */
@media (max-width: 768px) {
    .control-buttons {
        gap: 10px;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .volume-control {
        display: none;
    }
    
    .time-display {
        font-size: 12px;
    }
}

/* Dark theme enhancements */
.player-container {
    background: linear-gradient(135deg, #000, #1a1a1a);
}

#video::-webkit-media-controls {
    display: none !important;
}

#video::-webkit-media-controls-panel {
    display: none !important;
}

#video::-webkit-media-controls-play-button {
    display: none !important;
}

#video::-webkit-media-controls-timeline {
    display: none !important;
}

#video::-webkit-media-controls-current-time-display {
    display: none !important;
}

#video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

#video::-webkit-media-controls-volume-slider {
    display: none !important;
}

#video::-webkit-media-controls-mute-button {
    display: none !important;
}

#video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

/* No Results Message */
#noResultsMessage {
    padding: 3rem 1rem;
    text-align: center;
}

#noResultsMessage i {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

#noResultsMessage h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

#noResultsMessage p {
    color: var(--text-muted);
} 

/* Fullscreen hint */
.fullscreen-hint {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 15;
}

.player-container:hover .fullscreen-hint {
    opacity: 1;
}

.fullscreen-hint i {
    font-size: 14px;
    color: #e50914;
}

/* Ocultar hint después de 5 segundos */
.fullscreen-hint.hidden {
    opacity: 0 !important;
} 

/* Responsive design for banner */
@media (max-width: 768px) {
    .banner-slider {
        height: 250px; /* Altura reducida en móviles */
        border-radius: 12px;
    }
    
    .banner-content {
        padding: 20px;
        max-width: 100%;
    }
    
    .banner-content h3 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .banner-content p {
        font-size: 1rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        height: 200px;
        border-radius: 8px;
    }
    
    .banner-content {
        padding: 15px;
    }
    
    .banner-content h3 {
        font-size: 1.5rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
} 

/* Responsive indicators */
@media (max-width: 768px) {
    .banner-indicators {
        bottom: 15px;
        gap: 6px;
    }
    
    .banner-indicator {
        width: 10px;
        height: 10px;
    }
} 

/* Main content wrapper with sidebar */
.main-content-wrapper {
    display: flex;
    min-height: calc(100vh - 80px); /* Ajustar según altura del header */
    background: linear-gradient(135deg, #0f111a, #1a1a2e);
}

/* Sidebar styles */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.sidebar-header {
    padding: 0 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-header h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sidebar-categories {
    padding: 0 15px;
}

.sidebar-category-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border: 1px solid transparent;
}

.sidebar-category-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.sidebar-category-item.active {
    background: linear-gradient(135deg, #e50914, #ff6b6b);
    color: #fff;
    border-color: #e50914;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
    transform: translateX(5px);
}

.sidebar-category-item i {
    font-size: 16px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.sidebar-category-item span {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

/* Main content area */
.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* Update banner section for new layout */
.banner-section {
    margin: 0 0 40px 0;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Update channels section for new layout */
.channels-section {
    padding: 0;
}

.section-header {
    margin-bottom: 30px;
    text-align: left;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive design for sidebar */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
        padding: 25px 0;
    }
    
    .sidebar-header {
        padding: 0 20px 15px;
    }
    
    .sidebar-categories {
        padding: 0 10px;
    }
    
    .sidebar-category-item {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .main-content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        padding: 20px 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-categories {
        display: flex;
        overflow-x: auto;
        padding: 0 15px;
        gap: 10px;
    }
    
    .sidebar-category-item {
        flex-shrink: 0;
        white-space: nowrap;
        margin: 0;
        min-width: 120px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .banner-slider {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        padding: 15px 0;
    }
    
    .sidebar-header h3 {
        font-size: 1.3rem;
    }
    
    .sidebar-category-item {
        padding: 8px 10px;
        font-size: 12px;
        min-width: 100px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .banner-slider {
        height: 200px;
    }
} 

/* Sidebar toggle button (mobile) */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #e50914, #ff6b6b);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.sidebar-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile sidebar styles */
@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }
    
    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 280px;
        height: 100vh;
        z-index: 999;
        transition: left 0.3s ease;
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .sidebar-close {
        display: block;
    }
    
    .sidebar-header {
        position: relative;
        padding-top: 60px;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
} 

/* Header search styles */
.header-search-container {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    position: relative;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}

.header-search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.header-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.header-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.header-search-suggestions .search-suggestion-item {
    padding: 12px 20px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-search-suggestions .search-suggestion-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-search-suggestions .search-suggestion-item:last-child {
    border-bottom: none;
}

/* Responsive header search */
@media (max-width: 992px) {
    .header-search-container {
        order: 3;
        max-width: 100%;
        margin: 15px 0 0 0;
    }
    
    .navbar-nav {
        order: 2;
    }
}

@media (max-width: 768px) {
    .header-search-container {
        margin: 10px 0;
    }
    
    .header-search-input {
        padding: 10px 15px 10px 40px;
        font-size: 13px;
    }
    
    .search-icon {
        font-size: 14px;
        left: 12px;
    }
}

/* Sección Contratar Streaming */
.streaming-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 60px 0;
    margin-top: 50px;
    border-top: 1px solid #2a2a3e;
}

.streaming-content h2 {
    color: #e50914;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.streaming-description {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.streaming-features {
    margin-bottom: 30px;
}

.feature-badge {
    display: inline-block;
    background: #e50914;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

.streaming-pricing {
    font-size: 1.3rem;
    color: #00ff00;
    margin-bottom: 20px;
}

.streaming-contact p {
    color: #cccccc;
    margin-bottom: 10px;
    font-size: 1rem;
}

.streaming-contact i {
    color: #e50914;
    margin-right: 10px;
    width: 20px;
}

.streaming-cta {
    text-align: center;
    background: rgba(229, 9, 20, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e50914;
}

.streaming-cta h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.streaming-cta .btn {
    background: #e50914;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.streaming-cta .btn:hover {
    background: #b30710;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

/* Responsive para streaming section */
@media (max-width: 768px) {
    .streaming-section {
        padding: 40px 0;
    }
    
    .streaming-content h2 {
        font-size: 2rem;
    }
    
    .streaming-description {
        font-size: 1rem;
    }
    
    .streaming-cta {
        margin-top: 30px;
    }
} 