/* ===================== Page Loader ===================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: logoFadeIn 0.8s ease-out;
}

.loader-logo-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E91E63 0%, #8a004a 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 800;
  box-shadow: 0 8px 32px rgba(233, 30, 99, 0.4);
  animation: logoPulse 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.loader-logo-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: logoShine 2s infinite;
}

.loader-logo-text {
  font-size: 32px;
  font-weight: 800;
  color: #8a004a;
  text-shadow: 0 2px 8px rgba(138, 0, 74, 0.2);
  letter-spacing: 2px;
}

.loader-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 20px 0;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: #E91E63;
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: -0.45s;
  border-top-color: #E91E63;
}

.spinner-ring:nth-child(2) {
  animation-delay: -0.3s;
  border-top-color: #8a004a;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
}

.spinner-ring:nth-child(3) {
  animation-delay: -0.15s;
  border-top-color: #E91E63;
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
}

.loader-text {
  font-size: 16px;
  color: #666;
  font-weight: 600;
  animation: textPulse 1.5s ease-in-out infinite;
}



