:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --background-color: #0a0a0a;
    --text-color: #ffffff;
}

body {
    font-family: 'Orbitron', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    display: flex;
    gap: 2rem;
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

.player {
    flex: 2;
    text-align: center;
}

.visualizer-container {
    height: 200px;
    margin-bottom: 2rem;
    background-color: rgba(0,0,0,0.5);
    border-radius: 15px;
    border: 1px solid var(--primary-color);
}

#visualizer {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

#song-title {
    color: var(--primary-color);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.controls button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--background-color);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.controls button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
}

.playlist {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
}

.playlist ul {
    list-style: none;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.playlist li {
    padding: 0.5rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.playlist li:hover, .playlist li.active {
    background-color: var(--primary-color);
    color: var(--background-color);
}
