/* ===== VARIABLES GLOBALES ===== */
:root {
    /* Colores principales */
    --primary: #1a1a2e;
    --secondary: #0f3460;
    --accent: #e94560;
    --light: #16213e;
    --dark: #0d0d1a;
    --success: #00ff7b;
    --text: #ffffff;
    --text-light: rgba(255, 255, 255, 0.7);
    
    /* Efectos de neón */
    --neon-glow: 0 0 10px var(--secondary), 0 0 20px rgba(15, 52, 96, 0.5);
    --neon-accent: 0 0 10px var(--accent), 0 0 20px rgba(233, 69, 96, 0.5);
}

/* ===== RESET Y ESTILOS BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--primary);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(15, 52, 96, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(233, 69, 96, 0.05) 0%, transparent 20%);
}

/* ===== ANIMACIONES GLOBALES ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes neonPulse {
    from {
        box-shadow: 
            0 0 20px rgba(255, 7, 58, 0.8),
            0 0 40px rgba(255, 7, 58, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.3);
    }
    to {
        box-shadow: 
            0 0 25px rgba(255, 7, 58, 1),
            0 0 50px rgba(255, 7, 58, 0.8),
            inset 0 0 20px rgba(255, 255, 255, 0.5);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spinNeon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseNeon {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* ===== ESTRUCTURA PRINCIPAL ===== */
/* HEADER */
.radio-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1000;
    height: 140px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    flex: 0 0 250px;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-container img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 3px;
}

.logo-container::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0.8;
    z-index: 2;
}

/* CONTENEDOR PRINCIPAL */
.main-content {
    flex: 1;
    padding: -10px;
    margin: -10px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* NAVEGACIÓN INFERIOR */
.app-nav {
    display: flex;
    background: var(--primary);
    position: sticky;
    bottom: 0;
    z-index: 900;
    border-top: 4px solid rgba(15, 52, 96, 0.2);
}

.nav-btn {
    flex: 1;
    padding: 16px 10px;
    color: var(--text-light);
    text-align: center;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-btn.active {
    color: var(--accent);
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    box-shadow: var(--neon-accent);
}

/* ===== REPRODUCTOR DE RADIO ===== */
.player-container {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.player-wrapper {
    display: flex;
    flex-direction: column;
    background: rgba(13, 13, 26, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(15, 52, 96, 0.3);
    border: 1px solid rgba(15, 52, 96, 0.3);
    backdrop-filter: blur(8px);
}

.player-controls-container {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    gap: 15px;
    border-bottom: 1px solid rgba(15, 52, 96, 0.2);
    min-height: 80px;
}

.main-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.player-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 52, 96, 0.1);
    border: 1px solid rgba(15, 52, 96, 0.3);
    color: var(--light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
    outline: none;
    box-shadow: 0 0 5px rgba(15, 52, 96, 0.2);
}

.player-btn:hover {
    background: var(--secondary);
    transform: scale(1.1);
    box-shadow: var(--neon-glow);
    color: var(--dark);
}

.player-btn.play-pause {
    background: var(--accent);
    width: 48px;
    height: 48px;
    font-size: 18px;
    border-color: rgba(233, 69, 96, 0.5);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

.player-btn.play-pause:hover {
    box-shadow: var(--neon-accent);
}

.song-info {
    flex: 1;
    min-width: 0;
    padding: 12px 15px 15px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.song-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    box-shadow: 0 0 5px var(--secondary);
}

.song-title {
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--light);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(15, 52, 96, 0.5);
}

.song-artist {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(15, 52, 96, 0.8);
    margin-bottom: 10px;
}

.song-progress {
    width: 100%;
    height: 6px;
    background: rgba(15, 52, 96, 0.15);
    position: relative;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px var(--secondary);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(15, 52, 96, 0.9);
    margin-top: 2px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

/* Indicador de estado del reproductor */
.player-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-light);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    animation: pulse 2s infinite;
}

.status-indicator.offline {
    background-color: #ff4757;
}

/* Controles de volumen */
.volume-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    position: relative;
}

.volume-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    width: 120px;
    padding: 5px 0;
}

.volume-bar {
    width: 6px;
    background: var(--success) !important;
    border-radius: 3px;
    transition: all 0.2s ease;
    transform-origin: bottom;
    flex-grow: 1;
    min-height: 2px;
}

.volume-slider {
    display: block !important;
    width: 40% !important;
    height: 5px !important;
    -webkit-appearance: none;
    background: rgba(0, 255, 123, 0.3) !important;
    border-radius: 2px !important;
    outline: none;
    position: relative !important;
    z-index: 6 !important;
    cursor: pointer !important;
    margin: 1px 0 !important;
    border: none !important;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    box-shadow: 0 0 8px var(--secondary);
}

/* VISUALIZADOR - AHORA SOLO EL CONTENEDOR (el canvas lo crea radio_visualizador.js) */
.radio-visualizer {
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(10, 10, 20, 0.9), rgba(5, 5, 15, 0.95));
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(233, 69, 96, 0.4);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
}

/* El canvas que crea radio_visualizador.js se posicionará aquí */

/* CONTENEDORES DE CONTENIDO */
.content-wrapper {
    width: 100% !important;
    height: 100% !important;
    background: rgba(13, 13, 26, 0.7) !important;
    border: 1px solid rgba(15, 52, 96, 0.3) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.content-iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    border: none !important;
    background: transparent !important;
}

.content-section, .welcome-message, .chat-container {
    width: 100% !important;
    height: 100% !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* Acceso restringido */
.restricted-access {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 300px;
    padding: 30px;
    text-align: center;
}

.restricted-icon i {
    font-size: 3rem;
    color: #ff6b6b;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    margin-bottom: 1rem;
}

.restricted-access h2 {
    color: var(--accent);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.restricted-access p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.restricted-access .auth-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.restricted-access .auth-btn {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    min-width: 160px;
}

.error-message {
    text-align: center;
    padding: 20px;
    color: #ff4757;
    font-size: 14px;
}

/* Asegurar que el loading sea visible inicialmente */
#chat-loading {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

/* Ocultar cuando tenga la clase hidden */
#chat-loading.hidden {
    display: none !important;
}

.chat-input-container {
    bottom: 25px !important;
    z-index: 1001 !important;
    background: transparent !important;
}

/* ===== PANEL DE USUARIO ===== */
.user-panel-container > * {
    margin: 0 !important;
    padding: 0 !important;
}

.user-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(15, 52, 96, 0.1);
    border-radius: 25px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(15, 52, 96, 0.3);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(15, 52, 96, 0.1);
    width: 100%;
    justify-content: space-between;
    position: relative;
}

.user-panel:hover {
    background: rgba(15, 52, 96, 0.2);
    box-shadow: 0 0 15px rgba(15, 52, 96, 0.2);
}

.user-panel i.fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--secondary);
}

.user-panel[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
    box-shadow: 0 0 10px rgba(15, 52, 96, 0.3);
    transition: all 0.3s;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: white;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 5px rgba(15, 52, 96, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin: 0 10px;
    text-align: center;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(13, 13, 26, 0.95);
    border: 1px solid rgba(15, 52, 96, 0.3);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    min-width: 180px;
    z-index: 1002;
    display: none;
    backdrop-filter: blur(8px);
}

.user-dropdown.show {
    display: block;
    animation: fadeIn 0.3s;
}

.dropdown-item {
    padding: 8px 15px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: rgba(15, 52, 96, 0.1);
    color: var(--secondary);
}

.dropdown-item:focus {
    outline: 2px solid var(--secondary);
    outline-offset: -2px;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dropdown-item.disabled:hover {
    background: transparent;
    color: var(--text);
}

.dropdown-divider {
    height: 1px;
    background: rgba(15, 52, 96, 0.2);
    margin: 5px 0;
}

.online-users {
    font-size: 13px;
    color: #0ff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #0f0;
    border-radius: 50%;
    box-shadow: 0 0 6px #0f0;
}

/* ===== MODALES Y FORMULARIOS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--dark);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--secondary);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--neon-glow);
    animation: modalFadeIn 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.modal-title {
    color: var(--secondary);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
    text-shadow: 0 0 10px var(--secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(15, 52, 96, 0.3);
    border-radius: 6px;
    color: var(--text);
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--dark);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(15, 52, 96, 0.4);
}

.btn-primary:hover::after {
    opacity: 0.9;
}

.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

.switch-form {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(15, 52, 96, 0.2);
    color: var(--text-light);
}

.switch-form-btn {
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    display: inline-block;
    margin-left: 5px;
}

.switch-form-btn:hover {
    background: rgba(15, 52, 96, 0.1);
    text-shadow: 0 0 8px var(--secondary);
    transform: translateY(-1px);
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 15px;
}

.text-muted {
    color: var(--text-light);
}

.text-neon {
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    padding: 8px 0;
    border-radius: 4px;
}

.text-neon:hover {
    text-shadow: 0 0 10px var(--secondary);
    background: rgba(15, 52, 96, 0.1);
    padding: 8px 12px;
}

/* ===== PANTALLA DE BIENVENIDA ===== */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 26, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.5s;
}

.welcome-screen h2 {
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px var(--secondary);
}

.welcome-screen p {
    color: var(--text);
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

.welcome-screen .btn-close {
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s;
}

.welcome-screen .btn-close:hover {
    transform: scale(1.05);
    box-shadow: var(--neon-accent);
}

.mode-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(13, 13, 26, 0.9);
    border: 3px solid var(--accent);
    border-radius: 15px;
    padding: 30px;
    z-index: 9998;
    text-align: center;
    box-shadow: 0 0 30px rgba(233, 69, 96, 0.5);
    animation: pulse 1.5s infinite alternate;
    display: none;
}

.mode-alert h3 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.mode-alert p {
    color: var(--text);
    font-size: 1.2rem;
}

.welcome-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(13, 13, 26, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(15, 52, 96, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.welcome-message h2 {
    color: var(--success);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    text-shadow: 0 0 10px rgba(0, 255, 123, 0.5);
}

.welcome-message p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.auth-btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    border: none;
    min-width: 180px;
    justify-content: center;
}

.login-btn {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

.login-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(15, 52, 96, 0.6);
}

.register-btn {
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.register-btn:hover {
    background: rgba(15, 52, 96, 0.1);
    transform: translateY(-2px);
}

.loading-spinner {
    border: 3px solid rgba(15, 52, 96, 0.3);
    border-radius: 50%;
    border-top: 3px solid var(--secondary);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.news-container, 
.polls-container, 
.programming-container {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 10px 0;
}

.news-container h2, 
.polls-container h2, 
.programming-container h2 {
    color: var(--secondary);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(15, 52, 96, 0.3);
    padding-bottom: 10px;
}

/* ===== HEADER FIJO ===== */
.radio-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ===== NAVEGACIÓN SUPERIOR ===== */
.nav-container {
    display: flex;
    justify-content: center;
    background: var(--dark);
    border-bottom: 1px solid rgba(15, 52, 96, 0.3);
    padding: 0;
    position: sticky;
    top: 140px;
    z-index: 1000;
}

.nav-tabs {
    display: flex;
    width: 100%;
    max-width: 1200px;
}

.nav-tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: rgba(15, 52, 96, 0.1);
}

.nav-tab:hover {
    color: var(--text);
    background: rgba(15, 52, 96, 0.1);
}

/* ===== ESTILOS PARA PROGRAMACIÓN ESCOLAR ===== */
.programming-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.category-card {
    background: rgba(15, 52, 96, 0.2);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(15, 52, 96, 0.3);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 52, 96, 0.3);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
    text-align: center;
}

.category-card h3 {
    color: var(--secondary);
    margin-bottom: 12px;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-align: center;
}

.category-programs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-programs li {
    color: var(--text);
    padding: 5px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(15, 52, 96, 0.2);
}

.category-programs li:last-child {
    border-bottom: none;
}

.schedule-grid {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.schedule-item {
    display: flex;
    align-items: center;
    background: rgba(15, 52, 96, 0.15);
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid var(--success);
}

.schedule-time {
    background: var(--secondary);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    margin-right: 15px;
    min-width: 100px;
    text-align: center;
}

.schedule-info {
    flex: 1;
}

.schedule-title {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
}

.schedule-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

.programming-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 15px;
    border: 2px dashed var(--accent);
}

.programming-cta p {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent), #c13549);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* ===== ESTILOS PARA ESTADOS DE CARGA ===== */
.content-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 20px;
    text-align: center;
}

/* Animación de carga para chat */
.chat-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 20px;
}

.chat-loading-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

.chat-loading-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.typing-dots {
    display: inline-flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    animation: typingAnimation 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingAnimation {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Animación de carga para Explora */
.explora-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    background: rgba(13, 13, 26, 0.7);
    border-radius: 12px;
}

.explora-loading-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 25px;
    animation: spin 2s infinite linear;
}

.explora-loading-text {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
}

.explora-loading-subtext {
    font-size: 1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 300px;
}

/* Placeholder para Muro */
.muro-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 30px;
    text-align: center;
    background: rgba(13, 13, 26, 0.8);
    border-radius: 16px;
    border: 2px dashed var(--accent);
}

.muro-placeholder-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 25px;
    animation: heartbeat 1.5s infinite;
}

.muro-placeholder h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

.muro-placeholder p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 400px;
    line-height: 1.5;
}

.muro-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    max-width: 500px;
}

.muro-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(15, 52, 96, 0.2);
    border-radius: 25px;
    border: 1px solid rgba(15, 52, 96, 0.3);
}

.muro-feature i {
    color: var(--success);
    font-size: 1.2rem;
}

.muro-feature span {
    color: var(--text);
    font-size: 0.9rem;
}

/* Placeholder para Programación */
.programming-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 30px;
    text-align: center;
    background: rgba(13, 13, 26, 0.8);
    border-radius: 16px;
    border: 2px solid var(--secondary);
}

.programming-placeholder-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

.programming-placeholder h2 {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(15, 52, 96, 0.5);
}

.programming-placeholder p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 400px;
    line-height: 1.5;
}

.initial-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    min-height: 300px;
    background: #0a0a1a;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 127, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.2);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.8s ease forwards;
}

.initial-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff007f, transparent);
    animation: loadingLine 1.8s infinite;
}

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

.loading-spinner {
    width: 55px;
    height: 55px;
    margin-bottom: 1.5rem;
    position: relative;
}

.loading-spinner::before {
    content: '';
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 255, 170, 0.2);
    border-top: 3px solid #00ffc6;
    border-radius: 50%;
    animation: spinNeon 1.2s linear infinite;
    box-shadow: 0 0 12px #00ffc6;
}

.loading-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff007f;
    text-shadow: 0 0 12px rgba(255, 0, 127, 0.9), 0 0 25px rgba(255, 0, 127, 0.6);
    animation: pulseNeon 1.6s ease-in-out infinite both;
}

.initial-loading h3 {
    margin: 0 0 0.5rem 0;
    color: #ff007f;
    font-size: 1.6rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(255, 0, 127, 0.7);
}

.initial-loading p {
    margin: 0;
    color: #9fadc2;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 280px;
}

/* ===== CONTENEDORES CON SCROLL ===== */
.content-wrapper.neon-scrollbar,
.chat-messages.neon-scrollbar,
.muro-placeholder.neon-scrollbar,
.programming-placeholder.neon-scrollbar,
.programming-cta.neon-scrollbar,
.content-iframe.neon-scrollbar {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) rgba(15, 52, 96, 0.1);
}

.neon-scrollbar::-webkit-scrollbar {
    width: 12px;
}

.neon-scrollbar::-webkit-scrollbar-track {
    background: rgba(15, 52, 96, 0.08);
    border-radius: 6px;
}

.neon-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 6px;
    border: 2px solid rgba(15, 52, 96, 0.3);
    box-shadow: 
        0 0 5px var(--secondary),
        0 0 10px var(--secondary),
        0 0 15px var(--accent),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.neon-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent), #c13549);
    box-shadow: 
        0 0 10px var(--secondary),
        0 0 20px var(--secondary),
        0 0 30px var(--accent),
        inset 0 0 15px rgba(255, 255, 255, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        height: 100% !important;
        position: relative;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .radio-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 60px !important;
        min-height: 60px !important;
        padding: 5px 10px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        z-index: 1000;
        background: rgba(10, 25, 47, 0.8) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    .logo-container {
        display: none !important;
    }
    
    .player-container, .player-wrapper {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        position: relative !important;
        box-sizing: border-box !important;
    }
    
    .player-controls-container {
        min-height: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 5px 10px !important;
        position: relative !important;
        overflow: visible !important;
        z-index: 3 !important;
        background: rgba(10, 25, 47, 0.4) !important;
        backdrop-filter: blur(18px) saturate(160%) !important;
        border: 1px solid rgba(15, 52, 96, 0.4) !important;
        box-shadow: 
            0 4px 25px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }
    
    #stop-btn, #volume-mute {
        display: none !important;
    }
    
    .song-info {
        order: 1;
        flex: 1;
        min-width: 0;
        background: transparent; 
        padding: 10px 10px !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        z-index: 4 !important;
    }
    
    .player-status {
        padding: 10px 5px;
        font-size: 10px !important;
        font-weight: 500;
        color: #fff !important;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        text-shadow: 0 0 3px rgba(0,0,0,0.9);
        display: flex;
        align-items: center;
        gap: 0px;
    }
    
    .status-indicator {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50%;
        background: var(--success) !important;
        box-shadow: 0 0 6px var(--success) !important;
    }
    
    .main-controls {
        order: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 0 0 auto;
        z-index: 5 !important;
    }
    
    .player-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(5px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        transition: all 0.3s ease !important;
        color: white !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 5 !important;
        position: relative !important;
    }
    
    .player-btn.play-pause {
        width: 35px !important;
        height: 35px !important;
        font-size: 15px !important;
        margin: 0 10px;
        background: rgba(233, 69, 96, 0.9) !important;
        border: 2px solid #ff073a !important;
        box-shadow: 
            0 0 20px rgba(255, 7, 58, 0.8),
            0 0 40px rgba(255, 7, 58, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.3) !important;
        color: #ffffff !important;
        transition: all 0.3s ease !important;
        animation: neonPulse 2s infinite alternate !important;
        z-index: 6 !important;
        position: relative !important;
    }
    
    .player-btn.play-pause.paused {
        background: rgba(0, 255, 123, 0.95) !important;
        border: 2px solid var(--success) !important;
        box-shadow: 
            0 0 20px rgba(0, 255, 123, 0.85),
            0 0 40px rgba(0, 255, 123, 0.6),
            inset 0 0 12px rgba(255, 255, 255, 0.08) !important;
        color: #001a09 !important;
        transition: all 0.35s ease !important;
    }
    
    .volume-controls {
        order: 3;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center !important;
        flex: 1;
        min-width: 0;
        padding: 0 !important;
        z-index: 5 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        position: relative !important;
        margin: 0 !important;
        gap: 2px !important;
    }
    
    .volume-bars {
        width: 100% !important;
        gap: 5px !important;
        height: 16px !important;
        margin-bottom: 2px !important;
        display: flex !important;
        align-items: flex-end;
        justify-content: center;
        z-index: 5 !important;
        pointer-events: none !important;
    }
    
    .volume-bar {
        min-width: 3px !important;
        max-width: 5px !important;
        background: var(--success) !important;
        display: block !important;
        height: 40% !important;
        transition: all 0.2s ease;
        border-radius: 1px;
        box-shadow: 0 0 2px var(--success) !important;
        flex-grow: 1;
        border: none !important;
    }
    
    .volume-slider {
        display: block !important;
        width: 90% !important;
        height: 5px !important;
        -webkit-appearance: none;
        background: rgba(0, 255, 123, 0.3) !important;
        border-radius: 2px !important;
        outline: none;
        position: relative !important;
        z-index: 6 !important;
        cursor: pointer !important;
        margin: 1px 0 !important;
        border: none !important;
        gap: 10px;
    }
    
    .volume-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 12px !important;
        height: 12px !important;
        border-radius: 50%;
        background: var(--success) !important;
        cursor: pointer;
        box-shadow: 0 0 2px var(--success) !important;
        border: 1px solid #00cc60 !important;
        transition: all 0.2s ease;
    }
    
    .volume-slider::-webkit-slider-thumb:hover {
        transform: scale(1.1);
        box-shadow: 0 0 7px var(--success) !important;
    }
    
    .volume-slider::-moz-range-thumb {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50%;
        background: var(--success) !important;
        cursor: pointer;
        box-shadow: 0 0 5px var(--success) !important;
        border: 1px solid #00cc60 !important;
        transition: all 0.2s ease;
    }
    
    .volume-slider::-moz-range-thumb:hover {
        transform: scale(1.1);
        box-shadow: 0 0 2px var(--success) !important;
    }
    
    .volume-slider::-webkit-slider-track {
        width: 100%;
        height: 3px;
        background: rgba(0, 255, 123, 0.2);
        border-radius: 2px;
        border: none;
    }
    
    .volume-slider::-moz-range-track {
        width: 100%;
        height: 3px;
        background: rgba(0, 255, 123, 0.2);
        border-radius: 2px;
        border: none;
    }
    
    .volume-controls > * {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .radio-visualizer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin-top: 0;
        overflow: hidden;
        border-radius: 0;
        border: none;
        box-shadow: none;
        z-index: 1;
        opacity: 0;
        pointer-events: none;
        mix-blend-mode: normal;
        background: transparent;
        transition: opacity 0.5s ease-in-out;
    }
    
    .radio-visualizer.active {
        opacity: 0.8;
    }
    
    .user-panel-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 50px !important;
        width: 100% !important;
        padding: 0 5px !important;
        margin-top: -10px !important;
        position: relative;
        z-index: 7 !important;
    }
    
    .online-users {
        display: flex !important;
        align-items: center !important;
        font-size: 11px !important;
        white-space: nowrap;
        padding: 0 35px !important;
        margin-top: -10px !important;
        margin-left: 20px !important;
        z-index: 8 !important;
    }
    
    .online-dot {
        width: 5px !important;
        height: 5px !important;
        background: #ff4757 !important;
        border-radius: 50%;
        box-shadow: 0 0 2px #ff4757 !important;
        margin-left: 40px !important;
    }
    
    .user-panel {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0px 30px !important;
        min-width: 100px;
        max-width: 180px;
        gap: 4px !important;
        margin-top: -5px !important;
        z-index: 7 !important;
    }
    
    .user-avatar {
        width: 25px !important;
        height: 25px !important;
        font-size: 12px !important;
        background: #fff757 !important;
    }
    
    .user-name {
        font-size: 11px !important;
        max-width: 70px !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .main-content {
        margin-top: 20px !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
        border: none !important;
        width: 100vw !important;
        max-width: 100% !important;
        overflow: hidden !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .app-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: linear-gradient(
            to right,
            rgba(233, 69, 96, 0.15),
            rgba(15, 52, 96, 0.2)
        ) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-top: 1px solid rgba(233, 69, 96, 0.3) !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 5px 0 !important;
    }
    
    .nav-btn {
        padding: 5px 2px !important;
        font-size: 10px !important;
        min-height: auto !important;
        color: rgba(255, 255, 255, 0.9) !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-btn i {
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }
    
    .nav-btn.active::after {
        height: 2px !important;
        bottom: 1px !important;
    }
    
    .nav-btn.active {
        color: var(--accent) !important;
        background: rgba(233,69,96,0.15) !important;
        border-radius: 6px !important;
        text-shadow: 0 0 8px var(--accent) !important;
    }
    
    .restricted-access {
        padding: 20px;
        min-height: 250px;
    }
    
    .restricted-icon {
        font-size: 3rem;
    }
    
    .restricted-access .auth-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
    }
    
    .restricted-access .auth-btn {
        width: 100%;
    }
    
    .content-wrapper {
        border-radius: 4px !important;
    }
    
    .content-iframe {
        min-height: 400px !important;
    }
    
    .content-section, .welcome-message, .chat-container {
        padding: 15px !important;
        margin-bottom: 15px;
    }
    
    .nav-tab {
        padding: 12px 0;
        font-size: 12px;
    }
    
    .nav-tab i {
        display: none;
    }
    
    .welcome-message {
        margin: 15px !important;
        padding: 25px 20px !important;
        border-radius: 16px !important;
        background: rgba(13, 13, 26, 0.85) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(15, 52, 96, 0.4) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
        width: calc(100% - 30px) !important;
        max-width: none !important;
    }
    
    .welcome-message h2 {
        font-size: 1.4rem !important;
    }
    
    .auth-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .auth-btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .player-container {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 70px !important;
        z-index: 1000 !important;
        background: rgba(10, 10, 20, 0.95) !important;
        backdrop-filter: blur(15px) !important;
        padding: 5px 10px !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(15, 52, 96, 0.4) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    }
    
    .song-progress, .time-display, .song-title, .song-artist {
        display: none !important;
    }
    
    .main-content {
        padding-top: 80px !important;
        padding-bottom: 70px !important;
        margin: 0 !important;
        width: 100% !important;
        height: calc(100vh - 150px) !important;
        overflow-y: auto !important;
    }
    
    .programming-placeholder {
        overflow-y: auto !important;
        height: auto !important;
        max-height: none !important;
        padding-bottom: 80px !important;
    }
    
    .programming-categories {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .category-card {
        margin: 0 10px !important;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr !important;
    }
    
    .app-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: rgba(10, 10, 20, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        border-top: 1px solid rgba(15, 52, 96, 0.4) !important;
    }
    
    .nav-btn {
        padding: 12px 5px !important;
        font-size: 11px !important;
        min-height: auto !important;
    }
    
    .nav-btn i {
        font-size: 16px !important;
        margin-bottom: 4px !important;
    }
    
    .content-section, .welcome-message, .chat-container {
        padding: 15px !important;
        margin-bottom: 55px;
    }
    
    .user-name {
        display: inline !important;
        font-size: 13px !important;
        color: #fff !important;
        max-width: 120px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin-left: 6px !important;
    }
    
    .user-avatar {
        display: none !important;
        visibility: hidden !important;
    }
    
    .user-panel {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: transparent !important;
        border: none !important;
        height: auto !important;
    }
    
    .radio-header,
    .user-panel-container,
    .online-users,
    .login-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 9999 !important;
    }
    
    .radio-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 6px !important;
        height: auto !important;
    }
    
    .user-panel-container {
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
    }
    
    .online-users {
        font-size: 12px !important;
        margin-right: 4px !important;
        display: inline-block !important;
    }
    
    .login-btn {
        background: #ff007f !important;
        color: #fff !important;
        padding: 6px 12px !important;
        border-radius: 6px !important;
        font-size: 13px !important;
        cursor: pointer !important;
    }
    
    body.explora-view .main-content,
    .explora-container,
    #content-placeholder {
        margin-top: 0 !important;
        padding-top: 0 !important;
        top: 0 !important;
    }
    
    .radio-header {
        position: relative;
        transform: none;
    }
    
    .main-content {
        display: block;
        align-items: flex-start;
    }
    
    .content-wrapper {
        height: auto !important;
        min-height: auto;
        padding: 15px;
    }
    
    .programming-cta {
        margin: 20px 0;
        padding: 15px;
    }
    
    .cta-button {
        width: 100%;
        margin-top: 15px;
    }
    
    #dynamic-content {
        position: relative;
        top: -35px;
    }
    
    .explora-content {
        margin-top: 0;
        padding-top: 5px;
    }
    
    body:before {
        display: none;
    }
    
    .main-content > br,
    .main-content > :empty {
        display: none;
    }
    
    .content-wrapper {
        height: calc(100vh - 140px) !important;
        min-height: 400px !important;
    }
}

@media (max-width: 480px) {
    .welcome-message {
        margin: 10px !important;
        padding: 20px 15px !important;
    }
    
    .welcome-message h2 {
        font-size: 1.4rem !important;
    }
    
    .auth-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .auth-btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .player-container {
        height: 80px !important;
    }
    
    .main-content {
        padding-top: 10px !important;
    }
}

/* Correcciones adicionales */
body {
    overflow: hidden;
}

.body-scroll-container {
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.body-scroll-container::-webkit-scrollbar {
    display: none;
}

.main-content-container {
    height: 100vh;
    overflow-y: auto;
}