/*& Root variables – easy theming ---------------------------------------*/
:root {
  --bg-primary: #f4f9fd;
  --text-primary: #2c3e50;
  --accent: #3498db;
  --accent-dark: #2980b9;
  --border: #bbb;
}

/*& Global layout --------------------------------------------------------*/
html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
}

/*& Center the game container --------------------------------------------*/
.game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  gap: 1.5rem;
  padding: 1rem;
}

/*& Headings -------------------------------------------------------------*/
h1 {
  margin: 0;
  font-size: 2rem;
}

/*& Controls (select + button) ------------------------------------------*/
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

label {
  font-weight: 600;
}

/*? Form elements --------------------------------------------------------*/
select,
button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

/*? Button styling -------------------------------------------------------*/
button {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
button:hover {
  background: var(--accent-dark);
}

/*& Status area ----------------------------------------------------------*/
.status {
  text-align: center;
}
.result {
  font-size: 1.1rem;
  font-weight: 600;
}
.score {
  margin-top: 0.3rem;
  font-size: 0.95rem;
}

/*& Responsive tweaks ----------------------------------------------------*/
@media (max-width: 480px) {
  .controls {
    flex-direction: column;
    width: 100%;
  }
  select,
  button {
    width: 100%;
  }
}