/* Reset */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* Game container */
#unity-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}

#unity-canvas {
  width: 100%;
  height: 100%;
  background: #000;
}

/* Rotate warning */
#rotate-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  display: none; /* shown only in portrait */
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
}

/* Fullscreen button */
#fullscreen-button {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  border-radius: 6px;
  padding: 6px 10px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  z-index: 5;
  transition: background 0.2s;
}
#fullscreen-button:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Loading bar */
#unity-loading-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 400px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #fff;
  border-radius: 9px;
  overflow: hidden;
  display: none;
  z-index: 6;
}

#unity-progress-bar-empty {
  width: 100%;
  height: 100%;
}

#unity-progress-bar-full {
  height: 100%;
  width: 0%;
  background: #4caf50;
  transition: width 0.2s ease-in-out;
}
