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

body {
  overflow: hidden;
  background: #000;
}

#canvas {
  display: block;
  width: 100vw;
  height: 100vh;
}

#controls {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}

#github-link {
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#github-link:hover {
  background: rgba(0, 0, 0, 0.9);
}

#shader-select {
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
  cursor: pointer;
}

#shader-select:hover {
  background: rgba(0, 0, 0, 0.9);
}

#music-toggle,
#params-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#music-toggle:hover,
#params-toggle:hover {
  background: rgba(0, 0, 0, 0.9);
}

#music-toggle.active {
  background: rgba(100, 0, 200, 0.7);
}

#params-panel {
  position: fixed;
  top: 64px;
  right: 16px;
  z-index: 10;
  width: 280px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 16px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  color: #fff;
}

.param-group {
  margin-bottom: 16px;
}

.param-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.param-slider {
  width: 100%;
  margin-bottom: 8px;
}

.param-music-select {
  width: 100%;
  padding: 4px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  font-family: monospace;
  font-size: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}

#error-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  padding: 24px 32px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-family: monospace;
  font-size: 18px;
  text-align: center;
}

