:root {
    --accent: #1DB954;
    --bg: #121212;
    --card: #1e1e1e;
    --text: #ffffff;
    --border: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 900px;
    width: 100%;
    background: var(--card);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

h1, h2 {
    margin-bottom: 15px;
    text-align: center;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn {
    background: var(--accent);
    color: black;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.btn:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.section {
    margin-bottom: 30px;
}

.track-list {
    list-style: none;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #181818;
    min-height: 100px;
}

.track-item {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
}

.track-item:last-child {
    border-bottom: none;
}

.track-item span {
    flex: 1;
    margin-right: 10px;
}

.remove-btn {
    color: #ff4444;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.playlists {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.playlist {
    flex: 1;
    min-width: 300px;
}

.playlist h3 {
    margin-bottom: 10px;
    text-align: center;
}

audio {
    width: 100%;
    margin-top: 20px;
    display: block;
}
