body {
  margin: 0;
  background: #000000;
  font-family: sans-serif;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 1rem;
}

main {
  text-align: center;
  width: 100%;
  max-width: 900px;
}

h1 {
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-family: monospace;
}

canvas {
  display: block;
  width: 90vmin;
  height: 90vmin;
  max-width: 800px;
  max-height: 800px;
  background: #ffffff;
  border: none;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
  margin: 0 auto 1.5rem;
}

.controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sliders {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.0rem 1rem;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.sliders label {
  text-align: right;
  font-family: monospace;
}

.sliders input[type=range] {
  width: 100%;
  appearance: none;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.sliders input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #555;
  border: 1px solid #999;
}

.sliders input[type=range]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #555;
  border: 1px solid #999;
}

.sliders span {
  width: 2ch;
  text-align: left;
  font-family: monospace;
}

.options {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

button {
  background: #ffffff;
  color: #000;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

button:hover {
  background: #e6e6e6;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button.submitted {
  background-color: #4caf50 !important; /* Green */
  color: #ffffff !important;
  cursor: default !important;
  opacity: 0.6 !important;
}



