:root {
  color-scheme: dark;
}

#app-splash {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 20%, rgba(98, 78, 255, 0.12), transparent 35%),
    radial-gradient(circle at 80% 30%, rgba(64, 196, 255, 0.15), transparent 32%),
    linear-gradient(145deg, #050505 0%, #0c0c0c 55%, #0a0a0a 100%);
  color: #f8fafc;
  transition: opacity 240ms ease, visibility 240ms ease;
}

#app-splash.app-splash--hidden {
  opacity: 0;
  visibility: hidden;
}

.app-splash__card {
  position: relative;
  padding: 24px 28px;
  border-radius: 18px;
  background: rgba(12, 12, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  min-width: min(360px, 90vw);
}

.app-splash__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 40%, rgba(90, 206, 255, 0.1), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(140, 120, 255, 0.12), transparent 45%);
  filter: blur(24px);
  pointer-events: none;
}

.app-splash__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.app-splash__icon {
  height: 42px;
  width: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.app-splash__title {
  font-family: 'Geist', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.app-splash__subtitle {
  color: rgba(248, 250, 252, 0.78);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.app-splash__status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(148, 163, 184, 0.9);
  font-size: 13px;
}

.app-splash__dot-stack {
  display: grid;
  grid-template-columns: repeat(3, 10px);
  gap: 6px;
}

.app-splash__dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  opacity: 0.75;
  animation: app-splash-pulse 1100ms ease-in-out infinite;
}

.app-splash__dot:nth-child(2) {
  animation-delay: 120ms;
  filter: brightness(1.05);
}

.app-splash__dot:nth-child(3) {
  animation-delay: 240ms;
  filter: brightness(1.1);
}

@keyframes app-splash-pulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-5px);
    opacity: 1;
  }
}
