/* Step 9 & 11 — Loading/calculation animations */
.loading-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.loading-screen__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.moon-animation {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f0e6ff, var(--purple-light), var(--purple));
  animation: moonPulse 2s ease-in-out infinite;
  margin-bottom: 32px;
  box-shadow: 0 0 40px rgba(155,48,255,0.3);
}
@keyframes moonPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(155,48,255,0.3); }
  50% { transform: scale(1.1); box-shadow: 0 0 60px rgba(155,48,255,0.5); }
}

.calc-steps {
  list-style: none;
  width: 100%;
  max-width: 320px;
  text-align: left;
}
.calc-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.9rem;
  opacity: 0.3;
  transition: opacity 0.4s ease;
}
.calc-step.active { opacity: 1; }
.calc-step.done { opacity: 0.7; }
.calc-step__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.calc-step.done .calc-step__check {
  background: var(--purple);
  color: var(--white);
}

/* Progress bar for loading */
.loading-progress {
  width: 100%;
  max-width: 320px;
  height: 6px;
  background: rgba(128,0,128,0.15);
  border-radius: 3px;
  margin-top: 24px;
  overflow: hidden;
}
.loading-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: 3px;
  transition: width 0.8s ease;
  width: 0%;
}
