html, body {
  height: 100%;
  margin: 0;
}

#root {
  min-height: 100%;
}

/* Single startup loader. It is present in the HTML itself, so it appears
         immediately and stays on screen until React is ready. */

html, body {
  margin: 0;
  background: #031a46;
}

#root {
  min-height: 100vh;
  background: #031a46;
}

#boot {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at center, #0a3472 0%, #031a46 48%, #02122f 100%);
  opacity: 1;
  transition: opacity .45s ease;
}

#boot::before, #boot::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(103,232,249,.18);
  animation: bootpulse 1.8s ease-in-out infinite;
}

#boot::before {
  width: 360px;
  height: 360px;
}

#boot::after {
  width: 250px;
  height: 250px;
  animation-delay: -.65s;
}

#boot .loader-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

#boot .logo-shell {
  display: flex;
  width: 190px;
  height: 190px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(125,211,252,.18);
  box-shadow: 0 0 70px rgba(34,211,238,.18);
  animation: bootfloat 1.6s ease-in-out infinite;
}

#boot .logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 18px rgba(0,0,0,.38));
}

#boot .brandline {
  color: rgba(224,247,255,.78);
  font: 800 11px/1 system-ui, sans-serif;
  letter-spacing: .34em;
  text-transform: uppercase;
}

@keyframes bootpulse {
  0%,100% {
    transform: scale(.88);
    opacity: .3;
  }
  50% {
    transform: scale(1.08);
    opacity: .85;
  }
}

@keyframes bootfloat {
  0%,100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  #boot::before, #boot::after, #boot .logo-shell {
    animation: none;
  }
}
