* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #231F20;
}
#unity-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
#unity-canvas {
  width: 100% !important;
  height: 100% !important;
  background: #231F20;
  display: block;
}
#unity-loading-bar {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 10;
}
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-footer { display: none; }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none; z-index: 20; }

/* Force landscape on mobile portrait mode */
@media screen and (orientation: portrait) {
  #unity-container {
    transform: rotate(90deg);
    transform-origin: top left;
    position: fixed;
    top: 0; left: 100%;
    width: 100vh;
    height: 100vw;
  }
}

/* Fullscreen overlay prompt */
#fullscreen-prompt {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
#fullscreen-prompt .prompt-content {
  text-align: center;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
}
#fullscreen-prompt .prompt-icon {
  font-size: 64px;
  margin-bottom: 16px;
  animation: pulse 1.5s ease-in-out infinite;
}
#fullscreen-prompt .prompt-text {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
#fullscreen-prompt .prompt-sub {
  font-size: 14px;
  margin-top: 8px;
  opacity: 0.6;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
}
