body {
  padding: 0;
  margin: 0;
  overflow: hidden; /* Prevents scrollbars if the canvas is slightly off */
  width: 100%;
  height: 100%;
}

#unity-container {
  width: 100%;
  height: 100%;
  position: fixed;
}

/* Updated: Removed translate/top/left constraints to allow full stretch */
#unity-container.unity-desktop {
  width: 100%;
  height: 100%;
}

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

/* Added: Ensure the canvas fills the parent container */
#unity-canvas {
  background: #231F20;
  width: 100% !important;
  height: 100% !important;
}

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block; /* Ensure visibility during loading */
}

/* Keep the footer hidden if you want a true full-screen experience */
#unity-footer {
  display: none; 
}

/* Loading UI assets remain the same */
#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;
}