.hero-radio-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 380px;
    margin-right: 4vw;
    /* Lo despega del borde derecho de la pantalla hacia la izquierda */
}

/* ==========================================================================
   RADIO PLAYER HERO WIDGET
   ========================================================================== */
.hero-radio-player {
    width: 100%;
    animation: floatWidget 6s ease-in-out infinite;
}

@keyframes floatWidget {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-radio-player .player-inner {
    padding: 30px;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 46, 147, 0.15);
    color: var(--aurora-1);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    border: 1px solid rgba(255, 46, 147, 0.3);
}

.player-icon {
    color: white;
    font-size: 1.8rem;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.6));
    /* Brillo cyan cuando activo */
}

.player-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.9));
}

.player-icon.is-muted {
    color: rgba(255, 80, 80, 0.9);
    filter: drop-shadow(0 0 6px rgba(255, 80, 80, 0.7));
    /* Brillo rojo cuando silenciado */
    animation: mutePulse 1.5s ease-in-out infinite;
}

@keyframes mutePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.player-art {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 46, 147, 0.1));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 46, 147, 0.4);
    box-shadow: 0 0 40px rgba(255, 46, 147, 0.15);
    position: relative;
}

/* Pseudo anillo brillante alrededor del arte */
.player-art::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: spinSlow 20s linear infinite;
}

@keyframes spinSlow {
    100% {
        transform: rotate(360deg);
    }
}

.player-art i {
    font-size: 3.5rem;
    color: white;
}

.player-art .player-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Llena todo el espacio sin deformarse */
    border-radius: 50%;
    /* Conserva el corte circular armónico */
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.player-info {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    /* Fuerza a que el texto rodante no estire el contenedor hacia los lados */
}

.track-title {
    font-size: 1.4rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.track-artist {
    font-size: 0.9rem;
    color: white;
    /* Texto del artista ahora es blanco */
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Efecto Marquesina TV Dentro del Player */
.player-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    padding-bottom: 6px;
    /* Separación de la línea base */
    border-bottom: 1px solid var(--aurora-1);
    /* Línea delgada rosada interactiva */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    /* Degradado lateral para que el texto y línea desaparezcan suavemente */
}

.player-marquee-content {
    display: flex;
    white-space: nowrap;
    width: fit-content;
    animation: playerScrollTicker 15s linear infinite;
    gap: 30px;
}

@keyframes playerScrollTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Ecualizador Gráfico Animado */
.player-visualizer {
    display: flex;
    gap: 4px;
    height: 35px;
    align-items: flex-end;
    margin-bottom: 30px;
    justify-content: center;
}

.player-visualizer .bar {
    width: 4px;
    background: var(--aurora-1);
    border-radius: 4px 4px 0 0;
    animation: eqAnim 1s ease-in-out infinite alternate;
    animation-play-state: paused;
    /* Pausado por defecto */
    opacity: 0.4;
    /* Sutil cuando está apagado */
    transition: opacity 0.3s;
}

.hero-radio-player.is-playing .player-visualizer .bar {
    animation-play-state: running;
    opacity: 1;
}

.player-visualizer .bar:nth-child(1) {
    height: 30%;
    animation-delay: 0.1s;
}

.player-visualizer .bar:nth-child(2) {
    height: 80%;
    animation-delay: 0.4s;
}

.player-visualizer .bar:nth-child(3) {
    height: 100%;
    animation-delay: 0.2s;
}

.player-visualizer .bar:nth-child(4) {
    height: 60%;
    animation-delay: 0.6s;
}

.player-visualizer .bar:nth-child(5) {
    height: 90%;
    animation-delay: 0.3s;
}

.player-visualizer .bar:nth-child(6) {
    height: 50%;
    animation-delay: 0.5s;
}

@keyframes eqAnim {
    0% {
        height: 10%;
    }

    100% {
        height: 100%;
    }
}

.player-controls {
    width: 100%;
}

.btn-player {
    background: white;
    border: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: var(--aurora-1);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-player:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(255, 46, 147, 0.6);
    background: var(--aurora-1);
}

.btn-player:hover i {
    color: white !important;
    /* Fuerza el icono de phosphor a blanco en estado hover */
}