/* ════════════════════════════════════════════
   Global Music Toggle Button
   Shared across all pages (home, workbench, login)
   ════════════════════════════════════════════ */

.music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(255, 255, 255, 0.25) 25%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.25) 100%);
    background-size: 200% 100%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.5s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    animation: musicBtnShine 30s infinite;
}

.music-text {
    display: inline-block;
}

.music-btn:hover {
    border-color: #cc1111;
    color: #d4af37;
}

.music-btn.off {
    background: rgba(100, 100, 100, 0.3);
    border-color: rgba(100, 100, 100, 0.6);
    opacity: 0.7;
}

@keyframes musicBtnShine {
    0% {
        background-position: 200% 0;
    }
    50% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@media (max-width: 768px) {
    .music-btn {
        padding: 8px 14px;
        font-size: 0.7rem;
        bottom: 15px;
        right: 15px;
        letter-spacing: 0.5px;
    }
}
