@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400&family=Manrope:wght@300;400;500;600;700&display=swap');

/* Srishti Premium Loader Styling */
.srishti-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #fdfaf7 0%, #f5ede4 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
}

.srishti-loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.srishti-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.srishti-loader-brand {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 2.35rem;
  font-weight: 400;
  color: #7c5639;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
  opacity: 0.95;
}

.srishti-loader-divider {
  width: 2.25rem;
  height: 1px;
  background: #e5d8cd;
  margin: 0.6rem auto 2.25rem;
}

/* Geometric nested square loader */
.srishti-loader-box {
  width: 96px;
  height: 96px;
  border: 1px solid #efe2d5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 2rem;
  animation: outerPulse 3.5s infinite ease-in-out;
}

.srishti-loader-box-inner {
  width: 72px;
  height: 72px;
  border: 1px solid #efe2d5;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: innerRotate 9s infinite linear;
}

.srishti-loader-dot {
  width: 7.5px;
  height: 7.5px;
  background: #7c5639;
  border-radius: 50%;
  animation: dotBreathe 2.2s infinite ease-in-out;
}

.srishti-loader-text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a3968c;
  margin: 1.75rem 0 0.85rem;
  transition: opacity 0.3s ease;
}

/* Pulsating loading dots */
.srishti-loader-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  height: 6px;
  margin-top: 2px;
}

.srishti-loader-dots span {
  width: 4.5px;
  height: 4.5px;
  background: #c7bbb0;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.4s infinite ease-in-out both;
}

.srishti-loader-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.srishti-loader-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

/* Rotating emblem at bottom */
.srishti-loader-emblem {
  position: absolute;
  bottom: 3.5rem;
  width: 48px;
  height: 48px;
  opacity: 0.8;
  animation: emblemFloat 6s infinite ease-in-out;
}

.srishti-loader-emblem svg {
  animation: emblemRotate 45s infinite linear;
}

/* Keyframes */
@keyframes outerPulse {
  0%, 100% { transform: scale(1); border-color: #efe2d5; }
  50% { transform: scale(1.025); border-color: #e2d1c1; }
}

@keyframes innerRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); } /* Anti-clockwise rotation for subtle counter-balance */
}

@keyframes dotBreathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.35); opacity: 1; }
}

@keyframes pulseDot {
  0%, 80%, 100% { transform: scale(0.65); opacity: 0.35; }
  40% { transform: scale(1); opacity: 1; background: #7c5639; }
}

@keyframes emblemFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes emblemRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
