/* Xbox-style boot splash. Canvas draws the orb/streaks; the real sphere logo is composited on top. */
.xb-splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.xb-splash.is-out {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.xb-splash canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.xb-splash-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
}
.xb-sphere {
  width: min(42vw, 220px);
  height: auto;
  opacity: 0;
  transform: scale(0.72);
  filter: drop-shadow(0 0 28px rgba(16, 124, 16, 0.85)) drop-shadow(0 0 60px rgba(155, 240, 11, 0.35));
}
.xb-splash.is-logo .xb-sphere {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.xb-title {
  margin: 1.15rem 0 0;
  font-family: Selawik, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
}
.xb-splash.is-title .xb-title {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.xb-enter {
  margin-top: 1.4rem;
  min-width: 9.5rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
.xb-splash.is-ready .xb-enter {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.15s;
}
.xb-skip {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: transparent;
  border: 0;
  color: #9a9a9a;
  font: 600 0.8rem/1 Selawik, "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.6rem 0.7rem;
}
.xb-skip:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .xb-sphere, .xb-title, .xb-enter, .xb-splash.is-out { transition: none; }
}


.xb-splash[hidden] { display: none !important; }
.xb-sphere {
  width: min(48vw, 260px);
  height: auto;
  opacity: 0;
  transform: scale(0.72);
  filter: drop-shadow(0 0 18px rgba(155, 240, 11, 0.65)) drop-shadow(0 0 48px rgba(16, 124, 16, 0.9));
}
.xb-title {
  color: #fff;
  text-shadow: 0 0 24px rgba(16, 124, 16, 0.55);
}
.xb-enter {
  background: #9bf00b !important;
  color: #111 !important;
  border: 0;
}
.xb-enter:hover { background: #b6ff2e !important; color: #111 !important; }
