body { padding: 0; margin: 0 }

#unity-container { position: absolute; inset: 0 }
#unity-canvas-container { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-canvas { background: #808080 }

/* Brand splash — only while loading, fades out to reveal the live scene */
#landing {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  box-sizing: border-box;
  background: #1a1a2e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
  text-align: center;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#landing.hidden {
  opacity: 0;
  pointer-events: none;
}

#landing-icon {
  width: 150px;
  height: 150px;
  background: url('icon.png') no-repeat center / cover;
  border-radius: 30px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

#landing-title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

#landing-status {
  margin-top: -10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
}

/* Floating XR entry over the live scene (Meta-style, single discreet button) */
#xr-bar {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 20;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#xr-bar.hidden { display: none }

#xr-msg {
  padding: 10px 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.xr-button {
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  background: rgba(20, 20, 34, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform 0.08s ease, background 0.2s ease, border-color 0.2s ease;
}

.xr-button:hover {
  background: rgba(52, 198, 212, 0.9);
  border-color: rgba(52, 198, 212, 1);
  transform: translateY(-2px);
}

.xr-button:active { transform: translateY(0) }
