body {
  margin: 0;
  overflow: hidden;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
}

canvas {
  background: #1a1a1a;
}

.controls {
  position: fixed;
  top: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 8px;
  align-items: center;
}

button {
  padding: 8px 16px;
  border: none;
  background: #444;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #666;
}

#toggleGrowth {
  background: #2a6;
}

#toggleGrowth:hover {
  background: #3b7;
}

.slider-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.slider-control input {
  width: 100px;
}

.color-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

select {
  padding: 4px 8px;
  background: #444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#resetBalls {
  background: #c33;
}

#resetBalls:hover {
  background: #d44;
}

.audio-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

#toggleMusic {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a6;
}

#toggleMusic:hover {
  background: #3b7;
}

#toggleMusic .material-icons {
  font-size: 20px;
}

#volume {
  width: 80px;
}

.effects-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

#toggleTrails, #toggleBlending, #toggleParticles {
  background: #662;
}

#toggleTrails:hover, #toggleBlending:hover, #toggleParticles:hover {
  background: #773;
}

.keyboard-hints {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-family: monospace;
}