* {
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  background: radial-gradient(circle at top, #2b211c, #0e0b09);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e6d5c3;
}

.container {
  text-align: center;
}

/* title */
h1 {
  letter-spacing: 6px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hint {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 18px;
}

/* canvas wrapper */
.game-box {
  padding: 14px;
  border-radius: 18px;
  background: #1a1411;
  border: 1px solid #c7b299;
}

/* canvas */
canvas {
  background: #0f0d0b;
  border-radius: 10px;
}

/* buttons */
.controls {
  margin-top: 18px;
}

button {
  padding: 10px 26px;
  margin: 0 8px;
  background: #9c8b6c;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  color: #1b1b1b;
}

button:hover {
  background: #b2a07e;
}

/* score */
.score {
  margin-top: 14px;
  font-size: 16px;
  opacity: 0.9;
}

/* github link */
.github {
  position: fixed;
  top: 60px;
  right: 80px;
  font-size: 23px;
  color: #e6d5c3;
  text-decoration: none;
  opacity: 0.75;
}

.github:hover {
  opacity: 1;
}
