/* Rotate message - hidden by default */
#rotateMessage {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  color: #fff;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 99999;
  text-align: center;
  padding: 20px;
}

#rotateMessage h2 {
  font-size: 28px;
  margin-bottom: 30px;
  font-family: 'zabars', sans-serif;
}

.rotateIcon {
  font-size: 80px;
  animation: rotate 2s infinite;
}

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

/* Show rotate message only on portrait mobile devices */
@media (orientation: portrait) and (hover: none) {
  #rotateMessage {
    display: flex;
  }
  
  #canvasContainer {
    display: none;
  }
  
  h1 {
    display: none;
  }
}

/* Show game on landscape mobile devices */
@media (orientation: landscape) and (hover: none) {
  #rotateMessage {
    display: none;
  }
  
  h1 {
    display: none;
  }
  
  canvas {
    width: 100%;
    height: 100vh;
    object-fit: contain;
  }
}