/* Loading screen — first visit only */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  width: 96px;
  height: 96px;
  animation: loading-scale 1.6s ease-in-out infinite;
}

@keyframes loading-scale {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

.loading-quote {
  font-family: 'Inter', -apple-system, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--slate);
  text-align: center;
  max-width: 520px;
  padding: 0 24px;
  min-height: 28px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.loading-quote.visible {
  opacity: 1;
  transform: translateY(0);
}

.loading-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--rose);
  width: 0;
  transition: width 0.3s linear;
}
