:root {
  --bg: #0b1220;
  --panel: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #60a5fa;
  --btn: #1f2937;
  --btn-hover: #374151;
}

* { box-sizing: border-box; }
html, /* styles.css */

body {
    margin: 0;
    overflow: hidden;
    background: url("https://cdn.pixabay.com/photo/2016/07/23/13/21/pokemon-1536855_1280.png") no-repeat center center fixed;
    background-size: cover;
}

#gameCanvas {
    display: block;
    margin: 0 auto;
    background: transparent;
}

#hud {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px black;
}


.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
}

.overlay.hidden { display: none; }

.card {
  width: min(92vw, 460px);
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 22px 22px 18px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.card h1 {
  margin: 6px 0 6px;
  font-size: 28px;
}

.muted { color: var(--muted); }

.btn {
  margin-top: 14px;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--btn);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  font-weight: 700;
  transition: transform .03s ease, background .15s ease;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px) scale(0.997); }

kbd {
  background: #0f172a;
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .95em;
}
