body {
  margin: 0;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: monospace;
}

canvas {
  image-rendering: pixelated; /* Keeps pixels sharp when zoomed */
  border: 2px solid white;
  cursor: grab;
}

h1 {
  color: white;
}

.control-panel {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.control-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.control-group label {
  color: white;

  font-size: 0.9rem;
  font-weight: 500;
}

.control-btn {
  background: #a3a2a2;
  color: white;
  border: 1px solid #555;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: #444;
  border-color: #666;
}

.control-btn:active {
  background: #222;
  transform: translateY(1px);
}

.control-select {
  background: #a3a2a2;
  color: white;
  border: 1px solid #555;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  min-width: 80px;
}

.control-select:hover {
  border-color: #666;
}

.control-select:focus {
  outline: none;
  border-color: #888;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
} 