/* css/background.css */

/* ── Animated orbs (persistent across pages) ── */
.bg-orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.orb1 {
  width: 560px; height: 560px;
  background: #1d4ed8;
  top: -120px; left: -120px;
  animation-delay: 0s;
}

.orb2 {
  width: 420px; height: 420px;
  background: #0d9488;
  bottom: -100px; right: -100px;
  animation-delay: -5s;
}

.orb3 {
  width: 320px; height: 320px;
  background: #7c3aed;
  top: 45%; left: 58%;
  animation-delay: -10s;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(28px, 18px) scale(1.07); }
}

/* ── Splash screen ── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: splash-fade 0.4s ease 1.8s forwards;
}

.splash-icon {
  font-size: 48px;
  animation: splash-pulse 1s ease infinite alternate;
}

.splash-title {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 30%, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-spinner {
  width: 32px; height: 32px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes splash-pulse {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}

@keyframes splash-fade {
  to { opacity: 0; pointer-events: none; }
}