* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: #07111f;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#app {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

canvas {
  display: block;
  touch-action: none;
  cursor: pointer;
}

/* ---------- Overlays ---------- */
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(7, 17, 31, 0.9);
  backdrop-filter: blur(3px);
  z-index: 10;
  transition: opacity 0.25s ease;
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.title {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #eef7ff;
}

.subtitle {
  font-size: 15px;
  letter-spacing: 0.24em;
  color: #7890a6;
  margin-top: -6px;
}

.hint {
  margin-top: 20px;
  text-align: center;
  color: #aab3c0;
  font-size: 15px;
  line-height: 2;
}

.hint .dim {
  color: #5c6472;
  font-size: 13px;
  margin-top: 10px;
}

.btn {
  margin-top: 28px;
  padding: 14px 46px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #07111f;
  background: #ffc95c;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 201, 92, 0.28);
}

.btn:active {
  transform: translateY(0);
}
