html,
body {
  background-color: #050505;
  margin: 0;
  min-height: 100%;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html.theme-light,
html.theme-light body {
  background-color: #fafafa;
}

#boot-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #050505;
  color: #fafafa;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  transition: opacity 0.25s ease;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0)
    env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}

html.theme-light #boot-splash {
  background: #fafafa;
  color: #09090b;
}

#boot-splash.boot-splash--hidden {
  opacity: 0;
  pointer-events: none;
}

.boot-splash__logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  animation: boot-pulse 1.4s ease-in-out infinite;
}

.boot-splash__title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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