/* No fonts, textures, or JavaScript are needed to draw the first-load state. */
#startup-loader { display: none; }
.app-booting #startup-loader { display: flex; position: fixed; inset: 0; z-index: 1000; }
.gothic-loader {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: radial-gradient(ellipse at center, #291e14 0, #15110e 65%);
  color: #e3a74d;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
}
.gothic-loader__title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f4ead8;
}
.gothic-loader__label { margin: 0; font-size: 0.9rem; color: #cfbea7; }
.gothic-loader__embers { display: flex; gap: 0.55rem; margin-top: 0.15rem; }
.gothic-loader__embers i {
  width: 0.25rem;
  height: 0.25rem;
  background: #e3a74d;
  transform: rotate(45deg);
  animation: gothic-ember 1.8s ease-in-out infinite;
}
.gothic-loader__embers i:nth-child(2) { animation-delay: 0.2s; }
.gothic-loader__embers i:nth-child(3) { animation-delay: 0.4s; }
.site-section > .gothic-loader { min-height: 16rem; }
@keyframes gothic-ember {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .gothic-loader__embers i { animation: none; }
}

.gothic-startup-simulation {
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow: hidden;
}
