html[data-animas-booting] {
  background: #07050c;
  overflow: hidden;
}

html[data-animas-booting] body > :not(#animasBoot) {
  visibility: hidden !important;
}

#animasBoot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #07050c;
  color: #f5f4fa;
  transition: opacity .5s, visibility .5s;
}

html:not([data-animas-booting]) #animasBoot {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.animas-boot-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(260px, 100%);
  text-align: center;
}

.animas-boot-logo {
  font: 800 28px/1.2 "Work Sans", system-ui, sans-serif;
  letter-spacing: .02em;
}

.animas-boot-logo b { color: #deec1b; }
.animas-boot-logo span { color: #b6aec8; font-size: 14px; font-weight: 500; letter-spacing: .2em; }

#animasBootStatus {
  margin: 0;
  color: #b6aec8;
  font: 12px/1.5 "JetBrains Mono", ui-monospace, monospace;
}

.animas-boot-bar {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 9px;
  background: #b6aec81f;
}

.animas-boot-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #deec1b, #9fdc3a);
  animation: animas-boot-progress 1.4s cubic-bezier(.22, 1, .36, 1) infinite;
}

#animasBootReload {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #b6aec838;
  border-radius: 8px;
  background: #170e24;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

#animasBootReload[hidden] { display: none; }
#animasBootReload:focus-visible { outline: 2px solid #deec1b; outline-offset: 3px; }

@keyframes animas-boot-progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}

@media (prefers-reduced-motion: reduce) {
  #animasBoot { transition: none; }
  .animas-boot-bar span { animation: none; }
}
