* {
  box-sizing: border-box;
  margin: 0; padding: 0;
}

body {
  background: radial-gradient(ellipse at center, #0f0f0f 0%, #000000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #00ff99;
  overflow: hidden;
  user-select: none;
}

#score, #level {
  font-size: 24px;
  margin-bottom: 8px;
  text-shadow: 0 0 10px #00ff99;
  border: 2px solid #00ff99;
  padding: 6px 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  width: fit-content;
  min-width: 140px;
  text-align: center;
}

#message {
  position: fixed;
  top: 20px;
  font-size: 20px;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#controls {
  margin-bottom: 12px;
}

button {
  background: #000;
  color: #00ff99;
  border: 2px solid #00ff99;
  padding: 8px 16px;
  margin: 0 5px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
button:hover {
  background: #00ff99;
  color: #000;
}

canvas {
  background: #111;
  border: 3px solid #00ff99;
  box-shadow: 0 0 30px #00ff99, 0 0 10px #00ff99 inset;
  border-radius: 10px;
  touch-action: none;
}

#startScreen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.95);
  color: #00ff99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  text-align: center;
  padding: 20px;
  z-index: 10;
}
#startScreen button {
  margin-top: 20px;
  font-size: 24px;
}