/**
 * Boot loading state: keep UI hidden until images are ready.
 */

html.is-loading body {
  overflow: hidden;
}

.app {
  opacity: 1;
  transition: opacity 0.25s ease;
}

html.is-loading .app {
  opacity: 0;
}

.boot-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html.is-loading .boot-loader {
  display: flex;
}

.boot-loader__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
}

.boot-loader__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2b4bff;
  box-shadow: 0 0 14px rgba(43, 75, 255, 0.75);
  animation: boot-pulse 0.9s ease-in-out infinite;
}

@keyframes boot-pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot-loader__dot {
    animation: none;
  }
}

