/* Initial loading screen (shown before React loads). CODEX Plan 3: no inline styles for CSP. */
#initial-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
}

#initial-loader span {
  font-family: 'League Spartan', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  color: white;
  letter-spacing: 0.12em;
  animation: yomoPulse 2s ease-in-out infinite;
}

@keyframes yomoPulse {
  0%, 100% { opacity: 0.7; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

#root:not(:empty) + script ~ #initial-loader,
#root:not(:empty) ~ #initial-loader,
body.react-loaded #initial-loader {
  display: none !important;
}
