:root {
    --bg-dark: #050505;
    --sidebar-bg: #121212;
    --accent: #0078ff; /* Color azul para enfoque */
    --text-main: #ffffff;
    --text-dim: #aaaaaa;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden;
}

.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* Sidebar Estilo TV */
.sidebar {
    width: 300px;
    background-color: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    border-right: 1px solid #222;
}

.logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #222;
}

.logo h2 { margin: 0; font-size: 1.8rem; }
.logo h2 span { color: var(--accent); }
.logo p { margin: 0; color: var(--text-dim); font-size: 0.8rem; }

.nav-list {
    list-style: none;
    padding: 10px;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

/* IMPORTANTE: Estilo de cada canal */
.nav-list li {
    padding: 15px 20px;
    margin-bottom: 8px;
    background: #1e1e1e;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    border: 3px solid transparent;
    outline: none; /* Quitamos el focus default */
}

/* ESTADO ENFOCADO (Mando a distancia) */
.nav-list li:focus, .nav-list li:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05); /* Efecto de agrandado */
    border-color: white;
    box-shadow: 0 0 20px rgba(0, 120, 255, 0.4);
}

/* Área del Reproductor */
.player-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

video {
    width: 100%;
    height: 100%;
    background: #000;
}

.channel-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0,0,0,0.7);
    padding: 10px 25px;
    border-left: 5px solid var(--accent);
    border-radius: 4px;
    font-size: 1.2rem;
    pointer-events: none;
}

/* Responsive para Móviles */
@media (max-width: 768px) {
    .app-container { flex-direction: column; }
    .sidebar { width: 100%; height: 35%; }
    .player-area { height: 65%; }
}