body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #2e3b4e, #4a576c);
  color: white;
}

#unity-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: black;
}

#unity-canvas {
  width: 100vw;
  height: 100vh;
  display: block;
  background: black;
}

#unity-preview {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#unity-preview img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

#unity-game-title {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Arial', sans-serif;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.7);
  text-align: center; /* Центрирует внутренний текст */
}

.line-1 {
  font-size: 36px;
  font-weight: bold;
}

.line-2 {
  font-size: 28px; /* Можно меньше для визуального баланса */
  font-weight: normal;
}

#unity-loading-bar {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 20px;
  border-radius: 15px;
  background: #333;
}

#unity-progress-bar-empty {
  width: 100%;
  height: 100%;
  background: #444;
  border-radius: 15px;
}

#unity-progress-bar-full {
  height: 100%;
  background: linear-gradient(90deg, #ff6a00, #ff4500);
  border-radius: 15px;
  width: 0%;
  transition: width 0.2s ease-in-out;
}

#unity-loading-text {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

#orientation-warning {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #000;
  color: white;
  font-size: 22px;
  padding: 40px;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}
