/* Ocean Tower Defense - Base Styles */

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0a1628;
}

#game-container {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #0a1628;
}

.game-layer {
  position: absolute;
  /* Canvas size and position is set programmatically in render.js */
  /* Disable pointer events on all layers except UI */
  pointer-events: none;
}

#layer-ui {
  /* Enable pointer events on UI layer for interactions */
  pointer-events: auto;
}

/* Prevent text selection during gameplay */
#game-container {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

/* Prevent touch scrolling on game container */
#game-container {
  touch-action: none;
}