#game {
  display: flex;
  justify-content: center;
}

#gameContainer {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: 1200px;
  max-height: 900px;
  padding: 0.5%;
}

#gameCanvas {
  width: 100%;
  height: 100%;
  background: #87CEEB;
  display: block;
  cursor: pointer;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#ui {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 28px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  z-index: 10;
}

#instructions {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 20px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  z-index: 10;
}

#gameOver {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  font-size: 32px;
  display: none;
  z-index: 20;
  cursor: pointer;
  transition: all 0.3s;
}

#gameOver:hover {
  background: rgba(0,0,0,0.9);
  transform: translate(-50%, -50%) scale(1.05);
}
