:root {
    /* --- COLOR CHANGED HERE --- */
    --color-bg-light: #DDE3E8; 
    --color-bg-panel: #E4E8EC;
    --color-text-primary: #2E4A4E;
    --color-text-secondary: #596a6e; /* Made secondary text slightly lighter for better harmony */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden; 
  /* This now uses the new color from the variable above */
  background-color: var(--color-bg-light); 
  font-family: var(--font-body);
  
  display: flex;
  justify-content: center;
  align-items: center;
}

canvas {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

#title-container {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

#title-container h1 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  font-weight: 700;
  font-size: 2.5em;
  margin: 0;
}

#title-container p {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  font-size: 1.2em;
  margin-top: 5px;
}

#instructions {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-secondary);
  text-align: center;
  font-size: 0.9em;
}

#controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-bg-panel);
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid #BFA197;
  z-index: 100;
}

label {
  font-family: var(--font-heading);
  color: #2E4A4E;
}