.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: #fafaf9;
  background-image: linear-gradient(135deg, #fafaf9 0%, #fef3c7 50%, #fafaf9 100%);
  animation: welcomeIn 0.5s ease;
}

.welcome-overlay--leaving {
  animation: welcomeOut 0.4s ease forwards;
}

.welcome {
  text-align: center;
  max-width: 400px;
}

.welcome__icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-4);
}

.welcome__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.welcome__title span {
  color: var(--color-accent);
}

.welcome__tagline {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  line-height: 1.5;
}

.welcome__description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.welcome__cta {
  margin-bottom: var(--space-4);
}

/* Confetti */
.confetti-container {
  position: fixed;
  inset: 0;
  z-index: 260;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  top: -10px;
  animation: confettiFall 2.5s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.5);
  }
}

@keyframes welcomeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes welcomeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
