body { padding: 0; margin: 0; background: #120800; overflow: hidden; }
/* Both desktop and mobile now fill the browser viewport by default — previously only
   .unity-mobile did this; .unity-desktop centered the canvas at a small fixed pixel size
   instead. The footer/fullscreen-button UI has been removed entirely (no longer needed). */
#unity-container { position: fixed; left: 0; top: 0; width: 100%; height: 100% }
#unity-canvas { background: #120800; width: 100%; height: 100% }

/* ── Loading screen ─────────────────────────────────────── */
#unity-loading-bar {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

#unity-logo {
  width: 320px;
  height: 320px;
  background: url('game-logo.png') no-repeat center / contain;
  filter: drop-shadow(0 0 32px rgba(201,162,39,0.5));
  animation: logoFloat 3s ease-in-out infinite;
}

/* Game title under the logo */
#unity-loading-bar::after {
  content: "Idle Donkeys";
  display: block;
  color: #f5d78e;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(201,162,39,0.7), 0 2px 4px rgba(0,0,0,0.9);
  margin-top: 12px;
  margin-bottom: 18px;
}

/* Progress bar track */
#unity-progress-bar-empty {
  width: 260px;
  height: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 0;
}

/* Progress bar fill */
#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #7a4a10 0%, #c9a227 60%, #f5d78e 100%);
  border-radius: 6px;
  transition: width 0.2s ease;
  box-shadow: 0 0 10px rgba(201,162,39,0.6);
}

/* Loading... text */
#unity-loading-text {
  color: rgba(245,215,142,0.65);
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 10px;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* Rotating donkey fact */
#unity-loading-tip {
  max-width: 320px;
  margin-top: 18px;
  color: #c9a227;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  font-style: italic;
  text-align: center;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  opacity: 1;
  transition: opacity 0.6s ease;
  min-height: 2.5em;
}
#unity-loading-tip.fade { opacity: 0; }

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