body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  width: 100vw;
  height: 100vh;
  font-family: Arial, sans-serif;
}

#game-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

#info {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  font-size: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 15px;
  border-radius: 8px;
}

#phase-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 10;
  text-align: right;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 15px;
  border-radius: 8px;
}

#web-meter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 40px;
  background: rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

#web-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #87ceeb, #e0f6ff);
  transition: width 0.3s ease;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.5);
}

#web-meter-label {
  position: absolute;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

  /* Make buttons touch-friendly */
  #upgrade-shop button,
  #stats-panel button,
  #game-over-screen button {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    cursor: pointer;
  }
  
  /* Prevent scroll/zoom issues on mobile */
  #upgrade-shop,
  #stats-panel {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
  }