#rx-boot-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  background: linear-gradient(180deg, #f9fbff 0%, #edf4ff 100%);
  font-family: Inter, -apple-system, system-ui, sans-serif;
  user-select: none;
}

#rx-boot-splash::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 130, 247, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

#rx-boot-splash .rx-boot-logo {
  width: 140px;
  height: 190px;
  position: relative;
  z-index: 1;
  animation: rxBootXIn 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

#rx-boot-splash .rx-boot-wordmark {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #05164d;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: rxBootFadeUp 0.7s 0.5s forwards ease;
}

#rx-boot-splash .rx-boot-wordmark span {
  color: #3982f7;
}

#rx-boot-splash .rx-boot-loader {
  width: 220px;
  height: 3px;
  background: rgba(5, 22, 77, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: rxBootFadeUp 0.6s 0.6s forwards ease;
}

#rx-boot-splash .rx-boot-loader-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7cb6ff, #3982f7);
  animation: rxBootLoad 2.4s 0.7s forwards cubic-bezier(0.65, 0, 0.35, 1);
}

#rx-boot-splash .rx-boot-meta {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(5, 22, 77, 0.45);
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: rxBootFadeUp 0.6s 1s forwards ease;
}

@keyframes rxBootXIn {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.08) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes rxBootFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rxBootLoad {
  0% {
    width: 0%;
  }
  60% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}
