.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 101vw;
  height: 100vh;
  height: -webkit-fill-available;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader:not(.loading) {
  opacity: 0;
  visibility: hidden;
}

.progress {
  position: fixed; 
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28svh;
  height:  28svh;
  z-index: 10000; 
  filter: drop-shadow(0 0 20px rgba(0, 80, 255, 0.3));
  
  border-radius: 50%;
  border: 5px solid rgba(30, 120, 255, 0.8);
  box-shadow: 0 0 30px rgba(30, 120, 255, 0.4);
  overflow: hidden;
  will-change: transform;
  transform-origin: center center;
}

.progress-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.logo-heart {
  padding-top: 8%;
  max-width: 40%;
  height: auto;
}

.inner {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
}

.water {
  position: absolute;
  z-index: 1;
  width: 200%;
  height: 200%;
  left: -50%;
  border-radius: 40%;
  background: rgba(30, 120, 255, 0.85);
  box-shadow: 0 0 30px rgba(30, 120, 255, 0.5);
  animation: spin 30s infinite linear;
  transition: top 7s linear;
  top: 100%; 
}

.glare {
  position: absolute;
  top: -120%;
  left: -120%;
  z-index: 2;
  width: 200%;
  height: 200%;
  transform: rotate(45deg);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}


@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes subtle-elastic {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  30% {
    transform: translate(-50%, -50%) scale(1.07);
  }
  50% {
    transform: translate(-50%, -50%) scale(0.995);
  }
  70% {
    transform: translate(-50%, -50%) scale(1.02);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes gentle-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 0 20px rgba(30, 120, 255, 0.3));
  }
  50% {
    transform: translate(-50%, -50%) scale(1.01);
    filter: drop-shadow(0 0 22px rgba(30, 120, 255, 0.35));
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 0 20px rgba(30, 120, 255, 0.3));
  }
}

.subtle-elastic {
  animation: subtle-elastic 0.9s cubic-bezier(0.18, 0.89, 0.32, 1.28) !important;
}

.pulse-after {
  animation: gentle-pulse 2s infinite ease-in-out !important;
}

