@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Press Start 2P", system-ui, sans-serif;
  background: radial-gradient(circle at top, #ffe3a3 0%, #ffb36b 40%, #ff6f61 100%);
  color: #2b1a0e;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  width: min(1100px, 95vw);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

#status-banner {
  margin-top: 1rem;
  text-align: center;
  min-height: 2rem;
  font-size: 0.9rem;
  color: #5c2a1c;
}

canvas {
  width: 100%;
  border-radius: 16px;
  border: 4px solid #ffb347;
  background: linear-gradient(#87ceeb, #8fd3ff 45%, #78a063 46%, #4d6f3b 100%);
  display: block;
  margin: 1rem auto 1.5rem;
}

.hud {
  text-align: center;
}

.instructions {
  margin: 0.5rem auto;
}

.stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

button {
  background: #ff6f61;
  border: none;
  padding: 0.6rem 1.2rem;
  font: inherit;
  color: white;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 111, 97, 0.5);
}

.footnote {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.8;
}
