/* ============================================
   MUSIC PLAYER - Fixed bottom right
   ============================================ */

.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 150;
}

.music-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 77, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-royal-blue);
    box-shadow: 0 4px 20px rgba(10, 77, 255, 0.15);
    transition: var(--transition-base);
    cursor: pointer;
}

.music-btn:hover {
    background: var(--color-royal-blue);
    color: var(--color-white);
    box-shadow: 0 0 30px rgba(10, 77, 255, 0.4);
    transform: scale(1.1);
}

/* Pulse animation when playing */
.music-player.playing .music-btn {
    animation: music-pulse 2s ease-in-out infinite;
}

/* Attention animation - quando usuário scrollou mas áudio precisa de clique */
.music-player.attention .music-btn {
    animation: music-attention 0.8s ease-in-out infinite;
    background: var(--color-royal-blue);
    color: var(--color-white);
    box-shadow: 0 0 30px rgba(10, 77, 255, 0.5);
}

@keyframes music-attention {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(10, 77, 255, 0.4);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 40px rgba(10, 77, 255, 0.7);
    }
}

@keyframes music-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(10, 77, 255, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(10, 77, 255, 0.35);
    }
}

@media (max-width: 480px) {
    .music-player {
        bottom: 20px;
        right: 20px;
    }

    .music-btn {
        width: 44px;
        height: 44px;
    }
}
