* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
  font-family: 'Courier New', Courier, monospace;
}

#game-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: none;
}

#canvas3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: none;
}

/* center crosshair dot */
#crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  z-index: 10;
}

/* minimal in-game hud */
#hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #ffffff;
  font-size: 12px;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
  z-index: 20;
}

.hud-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.hud-stats {
  display: flex;
  gap: 20px;
  color: #888888;
}

.hud-stats span {
  color: #ffffff;
}

.hud-toggles {
  display: flex;
  gap: 16px;
  color: #888888;
}

.hud-toggles span {
  color: #ffffff;
}

.hud-bottom {
  align-self: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 6px 16px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* minimalist start/pause menu */
#play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding: 20px;
  cursor: default;
}

.ascii-menu {
  background: #000000;
  border: 1px solid #ffffff;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: 'Courier New', Courier, monospace;
  max-width: 520px;
  width: 100%;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}

.ascii-menu-header {
  font-size: 12px;
  color: #888888;
  letter-spacing: 1px;
}

.ascii-menu-title {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #ffffff;
}

.ascii-menu-subtitle {
  font-size: 12px;
  color: #888888;
  margin-bottom: 4px;
}

.ascii-start-btn {
  width: 100%;
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 10px 20px;
  cursor: pointer;
  margin: 4px 0;
  transition: background 0.1s, color 0.1s;
}

.ascii-start-btn:hover {
  background: #ffffff;
  color: #000000;
}

.ascii-features-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-top: 1px dashed #444444;
  padding-top: 10px;
  font-size: 11px;
  color: #888888;
  width: 100%;
  text-align: left;
}
