/* ---------- SCROLL-TO-TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-neon);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-pink);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .4s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 0 30px var(--neon-cyan);
}

/* ---------- MUSIC WIDGET ---------- */
.music-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9998;
}

.music-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 30px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    transition: all .3s ease;
    font-size: 1rem;
}
.music-toggle:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green);
    transform: translateY(-3px);
}

.music-list {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 280px;
    max-height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 2px solid transparent;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
    list-style: none;
    padding: 0;
    transition: max-height .4s ease, border-color .3s;
}
.music-list.open {
    max-height: 420px;
    border-color: var(--neon-purple);
    padding: 15px;
}

.music-list li {
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.03);
    border-left: 3px solid var(--neon-purple);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.music-list li:last-child { margin-bottom: 0; }

.track-title {
    color: var(--neon-yellow);
    font-weight: 600;
    font-size: .95rem;
}

audio {
    width: 100%;
    filter: invert(1) hue-rotate(180deg) saturate(1.2);
    outline: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .music-widget {
        right: 15px;
        bottom: 85px;
    }
    .scroll-top {
        right: 15px;
        bottom: 15px;
    }
}