.music-panel {
    background: #0a0a0f;
    padding: 20px;
    border-radius: 12px;
    color: #0affea;
    margin: 20px auto;
    max-width: 900px;
    font-family: "Consolas", monospace;
    animation: fadeIn 0.8s ease-out;
    border: 1px solid #0affea;
    box-shadow: 0 0 20px #0affea;
}

.music-panel h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    color: #0affea;
    text-shadow: 0 0 8px #0affea, 0 0 20px #0affea;
}

.music-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.track {
    background: #0a0a0f;
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s all ease;
    border: 1px solid #0affea;
    box-shadow: 0 0 10px #0affea;
}

.track:hover {
    box-shadow: 0 0 25px #ff00ff, 0 0 15px #0affea;
}

.track-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #0affea;
    text-shadow: 0 0 8px #0affea, 0 0 20px #0affea;
}

.track-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.play-btn, .download-btn {
    padding: 8px 15px;
    border: 1px solid #0affea;
    border-radius: 6px;
    background: transparent;
    color: #0affea;
    text-shadow: 0 0 8px #0affea;
    cursor: pointer;
    font-family: inherit;
    transition: 0.3s all ease;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.play-btn.active {
    color: #ff00ff;
}

.play-btn:hover, .download-btn:hover {
    color: #ff00ff;
    border-color: #ff00ff;
    text-shadow: 0 0 12px #ff00ff;
    box-shadow: 0 0 20px #ff00ff, 0 0 15px #0affea;
    transform: scale(1.05);
}

/* Ползунок перемотки и громкости */
.seek-bar, .volume-bar {
    flex: 1;
    cursor: pointer;
    height: 8px;
    border-radius: 5px;
    background: #0a0a0f;
    appearance: none;
    box-shadow: 0 0 8px #0affea inset;
}

.seek-bar::-webkit-slider-thumb, .volume-bar::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #0affea;
    box-shadow: 0 0 10px #0affea;
    cursor: pointer;
}

.seek-bar::-moz-range-thumb, .volume-bar::-moz-range-thumb {
    background: #0affea;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* Громкость с иконкой */
.volume-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.volume-icon {
    font-size: 1.2em;
    color: #0affea;
    text-shadow: 0 0 8px #0affea, 0 0 15px #0affea;
    cursor: pointer;
    transition: 0.3s all ease;
}

.volume-icon:hover {
    color: #ff00ff;
    text-shadow: 0 0 12px #ff00ff, 0 0 15px #0affea;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .music-panel {
        width: 95%;
        padding: 15px;
    }

    .track-controls {
        flex-direction: column;
        gap: 8px;
    }

    .play-btn, .download-btn {
        width: 100%;
        text-align: center;
    }
}