html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

/* Ekranı kaplar; tuval pencerenin tamamını doldurur (siyah bant yok). 16:9 dışındaki pencerelerde
   oyun içindeki iki katmanlı düzen (arka plan kaplar, içerik güvenli alana sığar) uyumu sağlar. */
#unity-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#unity-fullscreen-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#unity-canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  background: #0c0a0c;
  outline: none;
}

/* Yükleme ekranı: tam ekran görsel (cover); logo, başlık ve ilerleme çubuğu alt ortada yarı saydam koyu şeritte.
   Görsel TemplateData'dadır (Unity'den bağımsız yüklenir); şerit HTML'de olduğundan görsel gelmeden de anında görünür. */
#unity-loading-container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 6vh;
  background: #0c0a0c url('yukleme_ekrani.jpg') center / cover no-repeat;
}

#unity-loading-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 56px 18px;
  max-width: 92vw;
  border-radius: 16px;
  background: rgba(12, 10, 12, 0.68);
  box-shadow: 0 0 0 1px rgba(184, 115, 51, 0.35);
}

#unity-loading-emblem {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

#unity-loading-title {
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4.5vw, 52px);
  letter-spacing: 0.04em;
  color: #e8683f;
  text-transform: uppercase;
}

#unity-progress-bar-empty {
  width: min(60vw, 420px);
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: #e8683f;
  border-radius: 4px;
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  color: black;
  padding: 10px;
  display: none;
  z-index: 10;
}

#unity-loading-note {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
