/* Startup state shown while JavaScript modules are loading. */
.boot-screen {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #09090c;
  color: #f6f3ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.boot-card {
  width: min(100%, 420px);
  padding: 32px 24px;
  border: 1px solid #332447;
  border-radius: 24px;
  background: #15131b;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.boot-card h1 {
  margin: 16px 0 8px;
  font-size: clamp(24px, 7vw, 34px);
  letter-spacing: .04em;
}

.boot-card p { margin: 0; color: #b9b0c8; }
.boot-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 18px;
  background: #8b5cf6;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.boot-loader {
  width: 44px;
  height: 4px;
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: #332447;
}

.boot-loader::after {
  content: "";
  display: block;
  width: 55%;
  height: 100%;
  border-radius: inherit;
  background: #bda2ff;
  animation: boot-loading 1s ease-in-out infinite;
}

.boot-error-text {
  margin: 16px 0 20px !important;
  color: #ffb4b4 !important;
  font-size: 13px;
  overflow-wrap: anywhere;
}

@keyframes boot-loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(190%); }
}

@media (prefers-reduced-motion: reduce) {
  .boot-loader::after { animation: none; transform: translateX(40%); }
}
