/* General */
body {
    background-color: #000;
    color: #fff;
    font-family: 'Helvetica', Arial, sans-serif;
    margin: 0;
    padding-bottom: 90px; /* Espacio para que la radio no tape el contenido */
}

/* Header y Logo */
.main-header {
    background: #111;
    padding: 15px 0;
    border-bottom: 2px solid #FF8C00;
    text-align: center;
}

.img-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 15px;
}

/* Navegación SPA */
.spa-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.spa-nav button {
    background: #FF8C00;
    border: none;
    color: #000;
    padding: 8px 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.spa-nav button:hover {
    background: #fff;
}

/* Área de Contenido */
#content-area {
    padding: 20px;
    text-align: center;
    min-height: 400px;
}

.img-front {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #333;
}

/* Radio Inferior */
.radio-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #1a1a1a;
    border-top: 3px solid #FF8C00;
    padding: 10px 0;
    z-index: 1000;
}

.player-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn-play {
    background: #FF8C00;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.track-info {
    flex-grow: 1;
    margin: 0 20px;
    overflow: hidden;
    white-space: nowrap;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #444;
    border-radius: 50%;
    display: inline-block;
}

.active-pulse {
    background: #0f0;
    box-shadow: 0 0 8px #0f0;
}

/* Chat */
#chat-window {
    position: fixed;
    right: 20px;
    bottom: 85px;
    width: 280px;
    background: #222;
    border: 1px solid #FF8C00;
    z-index: 999;
}

.chat-closed { height: 40px; overflow: hidden; }
.chat-open { height: 350px; }

.chat-header {
    background: #FF8C00;
    color: #000;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

/* Animaciones */
.fade-in { animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }