html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: #000;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

#unity-container {
  position: fixed;
  inset: 0;
  background: #000;
}

#unity-canvas {
  width: 100%;
  height: 100%;
  background: #000;
  display: block;
}

/* Loader overlay */
#valentino-loader {
  position: absolute;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#valentino-loader.hidden {
  display: none;
}

/* Importante: limita altezza e centra, così non devi zoomare */
.loader-inner {
  width: min(1100px, 92vw);
  height: min(720px, 92vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* Logo: NON deve mai occupare tutto lo schermo */
.logo {
  width: 100%;
  max-width: 1100px;
  max-height: 42vh;     /* limite verticale: lascia sempre spazio sotto */
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.progress-wrap {
  width: min(720px, 70vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

/* Barra ben visibile su nero */
.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  overflow: hidden;
}

#progress-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 999px;
  transition: width 0.08s linear;
}

#progress-text {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
}
