html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: radial-gradient(circle at 15% 10%, #2c0631 0%, #070713 45%, #05050b 100%);
  color: #eaf1ff;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.boot-loader,
.boot-fallback {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 80% 0%, rgba(0, 242, 255, 0.12), transparent 40%), rgba(5, 5, 12, 0.94);
}

.boot-panel,
.boot-fallback-card {
  min-width: 280px;
  max-width: 420px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(14, 14, 30, 0.8);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.boot-synth {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 0 auto 16px;
  height: 28px;
}

.boot-synth .bar {
  width: 4px;
  height: 100%;
  background: #00f2ff;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.8);
  animation: synth-bounce 1s ease-in-out infinite;
}

.boot-synth .bar:nth-child(1) { animation-delay: -0.4s; }
.boot-synth .bar:nth-child(2) { animation-delay: -0.2s; }
.boot-synth .bar:nth-child(3) { animation-delay: 0s; }
.boot-synth .bar:nth-child(4) { animation-delay: -0.3s; }
.boot-synth .bar:nth-child(5) { animation-delay: -0.1s; }

@keyframes synth-bounce {
  0%, 100% { transform: scaleY(0.3); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes boot-fade {
  0% { opacity: 0; transform: scale(0.95) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.boot-title {
  font-size: 15px;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #00f2ff;
}

.boot-subtitle,
.boot-fallback-copy {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(234, 241, 255, 0.78);
}

.boot-fallback-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.boot-fallback-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.boot-fallback-actions button {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
}

#boot-reload {
  background: linear-gradient(90deg, #10d9ff, #2ce6f6);
  color: #031018;
  border-color: transparent;
}

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

.boot-brand-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  display: block;
  object-fit: contain;
  animation: boot-pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.3));
}
