:root {
  --boot-splash-bg-top: #0b0f1a;
  --boot-splash-bg-bottom: #070a12;
  --boot-splash-card-bg: rgba(8, 12, 20, 0.84);
  --boot-splash-card-border: rgba(255, 255, 255, 0.08);
  --boot-splash-text: #f5f7fb;
  --boot-splash-muted: #9fb0c6;
  --boot-splash-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

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

body {
  background:
    radial-gradient(circle at top left, rgba(246, 152, 54, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(135, 116, 225, 0.18), transparent 24%),
    linear-gradient(180deg, var(--boot-splash-bg-top) 0%, var(--boot-splash-bg-bottom) 100%);
  color: var(--boot-splash-text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.boot-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 16px;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.boot-splash--hidden {
  opacity: 0;
  visibility: hidden;
}

.boot-splash__shell {
  width: min(100%, 540px);
  display: grid;
}

.boot-splash__card {
  display: grid;
  gap: 12px;
  padding: 24px 20px;
  border-radius: 32px;
  border: 1px solid var(--boot-splash-card-border);
  background:
    radial-gradient(circle at 12% 14%, rgba(246, 152, 54, 0.12), transparent 26%),
    radial-gradient(circle at 88% 0%, rgba(135, 116, 225, 0.14), transparent 24%),
    var(--boot-splash-card-bg);
  box-shadow: var(--boot-splash-shadow);
  backdrop-filter: blur(18px);
}

.boot-splash__eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--boot-splash-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  line-height: 1;
}

.boot-splash__title {
  margin: 0;
  font-size: clamp(2.4rem, 12vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.boot-splash__message,
.boot-splash__secondary-copy {
  margin: 0;
  color: var(--boot-splash-muted);
  line-height: 1.48;
  font-size: 1rem;
}

.boot-splash__name {
  color: var(--boot-splash-text);
  font-weight: 700;
}

.boot-splash__loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 18px;
  padding-top: 2px;
}

.boot-splash__loader-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(246, 152, 54, 0.98), rgba(135, 116, 225, 0.98));
  box-shadow: 0 8px 18px rgba(135, 116, 225, 0.28);
  animation: boot-splash-pulse 980ms ease-in-out infinite;
}

.boot-splash__loader-dot:nth-child(2) {
  animation-delay: 120ms;
}

.boot-splash__loader-dot:nth-child(3) {
  animation-delay: 240ms;
}

.boot-splash__actions {
  margin-top: 4px;
}

@keyframes boot-splash-pulse {
  0%,
  80%,
  100% {
    transform: translateY(0) scale(0.84);
    opacity: 0.44;
  }

  40% {
    transform: translateY(-4px) scale(1);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .boot-splash__card {
    padding: 22px 18px;
    border-radius: 28px;
  }

  .boot-splash__message,
  .boot-splash__secondary-copy {
    font-size: 0.95rem;
  }
}
