:root {
  --bg: #0d1b2a;
  --panel: #15324b;
  --text: #ffffff;
  --accent: #ffd166;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, sans-serif;
}

.board {
  width: min(100%, 1100px);
  padding: 2rem;
  text-align: center;
}

.timer {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.timeout {
  margin: 0.2em 0;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #ff6b6b;
}

.letter {
  margin: 0;
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.definition {
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.3;
  margin: 1rem 0 2rem;
}

.answer {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  min-height: 1.2em;
}

.reveal,
.next {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  padding: 0.8em 1.6em;
  border: none;
  border-radius: 0.4em;
  font-weight: 700;
  cursor: pointer;
}

.reveal {
  background: var(--accent);
  color: #1b1b1b;
}

.next {
  background: #2e6f95;
  color: var(--text);
  margin-left: 0.5em;
}
