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

html, body {
  background: #000;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Prefer retro/game fonts loaded from Google Fonts */
body {
  font-family: 'VT323', 'Press Start 2P', monospace;
}

#gameCanvas {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: crosshair;
}

#manualLink {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'VT323', monospace;
  font-size: 14px;
  letter-spacing: 0.05em;
  pointer-events: auto;
}
#manualLink a {
  color: #5a4a28;
  text-decoration: none;
}
#manualLink a:hover {
  color: #c0a060;
}

#mobileBlock {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
}

#mobileBlock-bg {
  position: absolute;
  inset: 0;
  background: url('assets/screens/title.png') center center / cover no-repeat;
  image-rendering: pixelated;
  filter: brightness(0.45);
}

#mobileBlock-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2em;
  text-align: center;
  padding: 2em;
  /* dark card so text is legible over the bg */
  background: rgba(0,0,0,0.55);
  border: 1px solid #4a3a18;
  max-width: 90vw;
}

.mb-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(1rem, 5.5vw, 2rem);
  color: #c8a84a;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.mb-sub {
  font-family: 'VT323', monospace;
  font-size: clamp(1.3rem, 6vw, 2rem);
  color: #998860;
  line-height: 1.3;
}
