/* Loading Screen (Transition & Redirect) */
.loading-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  min-height: 70vh;
}

.loading-screen.active {
  display: flex;
  animation: fadeInStep 0.35s ease-out forwards;
}

.loading-pulse-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--brand-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 28px;
}

.loading-pulse-ring::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
  border-top-color: transparent;
  animation: spinRing 1s linear infinite;
}

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

.loading-pulse-ring i {
  font-size: 36px;
  color: var(--brand-gold-dark);
}

.loading-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.loading-status-text {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--brand-gold-dark);
  min-height: 44px;
  margin-bottom: 20px;
  transition: opacity 0.2s ease;
}

.loading-progress-bar {
  width: 100%;
  max-width: 320px;
  height: 6px;
  background: var(--bg-card);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.loading-progress-val {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1E824C, #2EB86B);
  border-radius: 999px;
  transition: width 0.15s linear;
}

.loading-percent-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.loading-redirect-note {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

.btn-manual-redirect {
  margin-top: 16px;
  background: none;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  display: none;
}
