* { box-sizing: border-box; margin: 0; padding: 0; font-family: "Segoe UI", Tahoma, sans-serif; }
body {
  background: #0d0d12;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.screen { text-align: center; }
.hidden { display: none; }

#menu-screen {
  background: url("assets/background.jpg") center/cover no-repeat;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}
.logo {
  max-width: 280px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}
.hint { margin-top: 14px; font-size: 13px; opacity: 0.85; text-shadow: 0 1px 3px #000; }

button {
  padding: 12px 30px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  background: #ff5544;
  color: #fff;
  cursor: pointer;
}
button:disabled { background: #666; cursor: not-allowed; }
button:hover:not(:disabled) { background: #ff7766; }

#hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 480px;
  margin: 0 auto 8px;
}
#score { font-size: 22px; font-weight: bold; }
#pause-btn { padding: 6px 16px; font-size: 16px; }

#game-canvas {
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  background: #333;
  touch-action: none;
  display: block;
}

#gameover-screen h1 { margin-bottom: 12px; color: #ff5544; font-size: 32px; }
#gameover-screen p { margin-bottom: 20px; font-size: 20px; }
