body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #111111;
  overflow: hidden;
}

#spiralCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.controls-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 300px;
  max-height: calc(100vh - 40px);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  border-radius: 10px;
  z-index: 2;
  overflow-y: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.toggle-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #333;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}

.toggle-controls:hover {
  background: #555;
}

.controls {
  margin-top: 40px;
}

.control-group {
  margin-bottom: 20px;
}

h2 {
  font-size: 1.2em;
  margin-bottom: 15px;
  text-align: center;
}

h3 {
  font-size: 1em;
  margin-bottom: 10px;
}

label {
  display: block;
  margin: 5px 0;
}

input[type="range"] {
  width: 70%;
  vertical-align: middle;
}

input[type="number"] {
  vertical-align: middle;
}

input[type="color"] {
  vertical-align: middle;
  width: 50px;
}

select {
  width: 100%;
  padding: 5px;
  background: #333;
  color: white;
  border: none;
  border-radius: 5px;
}

button {
  background: #333;
  color: white;
  border: none;
  padding: 5px 10px;
  margin: 5px 5px 0 0;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background: #555;
}

.mirror-colors {
  margin-top: 10px;
}

.download-container {
  text-align: center;
  margin-top: 20px;
}

.fullscreen-overlay,
.controls-notice {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 3;
}
