body {
  padding: 0;
  margin: 0;
  background: #ffffff;
  overflow: hidden;
}

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

#unity-canvas {
  background: #ffffff;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#unity-loading-bar {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.loader-card {
  width: min(320px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.95),
    rgba(234, 240, 255, 0.95)
  );
  box-shadow: 0 18px 45px rgba(15, 22, 54, 0.18);
}

.loader-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

#unity-logo,
#nolim-studios-logo {
  flex: 1;
  height: 96px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#unity-logo {
  background-image: url("travesia_logo.jpg");
}

#nolim-studios-logo {
  background-image: url("nolim_studios_logo.png");
}

.loader-text {
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1e2a4a;
  text-align: center;
}

.loader-progress {
  position: relative;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(30, 42, 74, 0.12);
  overflow: hidden;
}

#unity-progress-bar-full {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4b8fea 0%, #52d4ff 50%, #65ffbf 100%);
  transition: width 0.2s ease;
}

.loader-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Segoe UI", sans-serif;
  color: #1e2a4a;
  font-size: 14px;
  font-weight: 500;
}

.loader-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(75, 143, 234, 0.2);
  border-top-color: #4b8fea;
  animation: spinner-rotate 1s linear infinite;
}

@keyframes spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
  z-index: 1001;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}