/* Base body styles for centering and background */
body {
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: #231f20;
}

/* --- Container Base Style --- */
#unity-container {
  position: absolute;
}

/* --- Desktop Container --- */
#unity-container.unity-desktop {
  width: 100%;
  height: 100%;
  position: relative;
}

/* --- Mobile Container (Remains full screen) --- */
#unity-container.unity-mobile {
  width: 100%;
  height: 100%;
}

/* --- Canvas Styling (Applies to both Desktop & Mobile) --- */
#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #231f20;
  position: absolute;
  top: 0;
  left: 0;
}

.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%;
}

/* --- Loading Bar --- */
#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 2;
}

#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;
}

/* --- Footer --- */
#unity-footer {
  position: absolute;
  bottom: 5px;
  width: 100%;
  height: 38px;
  z-index: 1;
}

/* --- Warning Banner --- */
#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translateX(-50%);
  background: white;
  padding: 10px;
  display: none;
  z-index: 3;
  text-align: center;
  color: #333;
  border-radius: 5px;
  max-width: 90%;
}
