body {
  padding: 0;
  margin: 0;
  background-color: #0b0806;
  background-image:
    radial-gradient(ellipse at center, rgba(14, 11, 8, 0.45) 0%, rgba(7, 5, 4, 0.88) 100%),
    url('bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f3e6c0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  overflow: hidden;
}

#unity-container {
  position: absolute;
}

#unity-container.unity-desktop {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.9),
    0 0 0 2px #8a6a24,
    0 0 30px rgba(255, 212, 90, 0.2);
  background: #110e0b;
}

#unity-container.unity-mobile {
  position: fixed;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

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

#unity-fullscreen-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.unity-mobile #unity-fullscreen-container {
  border-radius: 0;
}

#unity-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #110e0b;
}

#unity-loading-container {
  position: absolute;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(14, 11, 8, 0.75);
  display: none;
}

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#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 {
  position: relative;
  height: 42px;
  background: linear-gradient(180deg, #1f1710 0%, #120e0a 100%);
  border-top: 1px solid #5a451a;
  border-radius: 0 0 12px 12px;
  padding: 0 12px;
  box-sizing: border-box;
}

.unity-mobile #unity-footer {
  display: none;
}

#unity-logo-title-footer {
  float: left;
  width: 102px;
  height: 42px;
  background: url('unity-logo-title-footer.png') no-repeat center;
  opacity: 0.75;
}

#unity-build-title {
  float: right;
  margin-right: 14px;
  line-height: 42px;
  font-family: inherit;
  font-size: 16px;
  font-weight: bold;
  color: #ffd45a;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

#unity-fullscreen-button {
  cursor: pointer;
  float: right;
  width: 38px;
  height: 38px;
  margin-top: 2px;
  background: url('fullscreen-button.png') no-repeat center;
  transition: transform 0.15s ease;
}

#unity-fullscreen-button:hover {
  transform: scale(1.1);
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: rgba(30, 20, 10, 0.95);
  color: #ffd45a;
  border: 1px solid #8a6a24;
  border-radius: 8px;
  padding: 10px 16px;
  display: none;
}
