/* Full-screen boot loader — hide menu until media is ready (BBGI + BBGC) */
html.bbg-booting #gameContainer,
html.bbg-booting #startOverlay {
  visibility: hidden !important;
  pointer-events: none !important;
}

#bbgBootLoader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  background: #0a0a0f;
  color: #ffd700;
  font-family: Cabin, Arial, sans-serif;
  transition: opacity 0.45s ease;
}

#bbgBootLoader.bbg-boot-done {
  opacity: 0;
  pointer-events: none;
}

#bbgBootLoader .bbg-boot-title {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.45);
}

#bbgBootLoader .bbg-boot-bar {
  width: min(420px, 72vw);
  height: 14px;
  border: 2px solid rgba(255, 215, 0, 0.85);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.2);
}

#bbgBootLoader .bbg-boot-bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #ffd700, #fff3a0);
  transition: width 0.15s ease-out;
}

#bbgBootLoader .bbg-boot-pct {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
