:root{
  --bg:#0b0b0b;
  --neon:#44ff44;
  --neon-strong:#88ff88;
  --muted:#cfcfcf;
}

*{box-sizing:border-box}

body {
  background: var(--bg);
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container { text-align:center; max-width:520px; width:100%; }

h1 { color: var(--neon); margin: 4px 0 6px; letter-spacing:1px; }
.subtitle { margin-top:0; margin-bottom:10px; color:#9fbf9f; }

.game-wrap { position: relative; display:inline-block; }
canvas {
  background: #000;
  border: 4px solid rgba(68,255,68,0.12);
  border-radius:6px;
  display:block;
  width:400px; height:400px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.6), 0 0 18px rgba(68,255,68,0.03) inset;
}

.overlay {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.2));
  border-radius:6px;
}

.overlay-inner {
  background: rgba(10,10,10,0.85);
  padding:18px 20px;
  border-radius:8px;
  text-align:center;
  color:var(--muted);
  width: 320px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  border: 1px solid rgba(68,255,68,0.06);
}

.overlay-inner h2 { color:var(--neon); margin:0 0 8px; }
.overlay-inner p { margin:0 0 14px; font-size:14px; color:#bfe7bf; }

button#startBtn {
  background: linear-gradient(180deg,var(--neon),var(--neon-strong));
  color:#002200;
  border:0;
  padding:10px 16px;
  font-weight:700;
  border-radius:8px;
  cursor:pointer;
  box-shadow: 0 6px 14px rgba(68,255,68,0.12);
}
button#startBtn:hover { transform:translateY(-1px); }

.hud { display:flex; justify-content:space-between; margin-top:10px; color:#cfe6cf; font-weight:600; }
.info { margin-top:12px; font-size:14px; color:#bfcfcf; }

.status { font-weight:700; color:#e6e6e6; }

#touchArea {
  margin-top: 16px;
  width: 300px;
  height: 150px;
  border: 2px dashed #44ff44;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  opacity: 0.8;
  user-select: none;
  touch-action: none;
}
