/* General resets and layout */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #111111;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

/* UI container styling */
#ui-container {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #00ffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

#ui-container h1 {
  font-size: 1.5rem;
  margin: 0 0 10px 0;
  color: #00ffff;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
}

#controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-size: 0.9rem;
  color: #ffffff;
}

select, input[type="range"] {
  width: 100%;
  padding: 5px;
  border: 1px solid #00ffff;
  border-radius: 5px;
  background-color: #222222;
  color: #ffffff;
  outline: none;
  font-size: 0.9rem;
  appearance: none;
}

select:focus, input[type="range"]:focus {
  border-color: #ff00ff;
  box-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

input[type="range"] {
  -webkit-appearance: none;
  height: 5px;
  background: #333333;
  border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  background: #00ffff;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #00ffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

span {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.9rem;
  color: #00ffff;
}

/* Canvas styling */
canvas {
  display: block;
  border: 1px solid #00ffff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}