/* styles.css */
:root {
    --bg-color: #0a0a0a;
    --panel-color: #1a1a1a;
    --text-color: #e0e0e0;
    --accent-color: #00d4ff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* --- SEQUENCER CIRCOLARE --- */
#sequencer-container {
    position: relative;
    width: 660px;
    height: 660px;
    margin: 40px auto;
    background: radial-gradient(circle, #1a1a1a 0%, #000 70%);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.step {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #333;
    cursor: pointer;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255,255,255,0.1);
}

.step.active {
    box-shadow: 0 0 15px var(--c); /* Colore dinamico impostato da JS */
}

.step.playing {
    width: 18px;
    height: 18px;
    filter: brightness(1.5);
    z-index: 10;
}

/* --- MIXER & CONTROLLI --- */
.bottom-panel {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--panel-color);
    border-top: 2px solid #333;
    width: 100%;
    justify-content: center;
    position: fixed;
    bottom: 0;
}

#mixer {
    display: flex;
    gap: 15px;
}

.mixer-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    background: #252525;
    padding: 10px;
    border-radius: 5px;
}

.vol-slider {
    appearance: none;
    width: 100px;
    height: 4px;
    background: #444;
    transform: rotate(-90deg);
    margin: 45px 0;
    cursor: pointer;
}

.vol-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 20px;
    background: var(--c);
    border-radius: 2px;
}

/* --- BOTTONI --- */
button {
    background: #333;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    transition: background 0.2s;
}

button.active {
    background: var(--accent-color);
}

#playBtn {
    font-size: 18px;
    padding: 15px 30px;
    background: #222;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

#playBtn.active {
    background: #ff3e3e;
    border-color: #ff3e3e;
    color: white;
}

