/* ============================================
   PLAYER.CSS - Player de Rádio
   Central de Notícias Brasil
   ============================================ */

/* Container Principal do Player */
.player-bar {
    background: var(--bg-player);
    padding: 0;
    border-bottom: 2px solid var(--dourado);
}

.player-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--espacamento-xl);
    display: flex;
    align-items: stretch;
    height: 60px;
}

/* ====== SEÇÃO PLAY ====== */
.player-section-play {
    display: flex;
    align-items: center;
    gap: var(--espacamento-md);
    padding-right: var(--espacamento-lg);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botão Play */
.player-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicao-media);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.player-btn.play-btn {
    background: linear-gradient(135deg, var(--dourado) 0%, var(--dourado-claro) 100%);
    color: var(--azul-primario);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.player-btn.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* Badge AO VIVO */
.player-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--vermelho-live);
    color: var(--branco);
    padding: 5px 12px;
    border-radius: var(--borda-radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--branco);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ====== SEÇÃO INFORMAÇÕES ====== */
.player-section-info {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 28px;
    gap: 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.player-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--borda-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.info-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    color: var(--branco);
    font-size: 0.9rem;
    font-weight: 600;
}

.info-value.highlight {
    color: var(--dourado);
}

/* Separador Visual */
.player-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
}

/* ====== SEÇÃO VISUALIZER ====== */
.player-section-visualizer {
    display: flex;
    align-items: center;
    padding: 0 var(--espacamento-lg);
    gap: var(--espacamento-md);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.player-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
}

.visualizer-bar {
    width: 3px;
    background: linear-gradient(to top, var(--dourado), #fcd34d);
    border-radius: 2px;
    animation: visualizer 0.4s ease-in-out infinite alternate;
}

.visualizer-bar:nth-child(1) { height: 10px; animation-delay: 0s; }
.visualizer-bar:nth-child(2) { height: 18px; animation-delay: 0.08s; }
.visualizer-bar:nth-child(3) { height: 14px; animation-delay: 0.16s; }
.visualizer-bar:nth-child(4) { height: 22px; animation-delay: 0.24s; }
.visualizer-bar:nth-child(5) { height: 12px; animation-delay: 0.32s; }
.visualizer-bar:nth-child(6) { height: 20px; animation-delay: 0.12s; }
.visualizer-bar:nth-child(7) { height: 16px; animation-delay: 0.2s; }
.visualizer-bar:nth-child(8) { height: 24px; animation-delay: 0.28s; }

@keyframes visualizer {
    0% { transform: scaleY(0.4); opacity: 0.7; }
    100% { transform: scaleY(1); opacity: 1; }
}

/* ====== SEÇÃO VOLUME ====== */
.player-section-volume {
    display: flex;
    align-items: center;
    padding-left: var(--espacamento-lg);
    gap: 10px;
}

.volume-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transicao-rapida);
}

.volume-icon:hover {
    color: var(--dourado);
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 90px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--borda-radius-sm);
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--dourado);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transicao-rapida);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--dourado);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

