/* ROBO SURVIVORS — Global Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  font-family: 'Press Start 2P', monospace;
  -webkit-font-smoothing: antialiased;
  touch-action: none;
  overscroll-behavior: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Landscape lock overlay — hidden by default */
#rotateOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.rotate-content {
  text-align: center;
}

.rotate-icon {
  font-size: 64px;
  margin-bottom: 24px;
  animation: rotateHint 2s ease-in-out infinite;
}

.rotate-text {
  font-family: 'Press Start 2P', monospace;
  font-size: 20px;
  color: #00e5ff;
  margin-bottom: 12px;
  text-shadow: 0 0 10px #00e5ff;
}

.rotate-sub {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #666;
}

@keyframes rotateHint {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(90deg); }
  50% { transform: rotate(90deg); }
  75% { transform: rotate(0deg); }
}

/* Rotate overlay is controlled by JS for reliability on iOS */
