#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 10, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#page-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-loader-core {
  position: relative;
  width: 186px;
  height: 186px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.95);
  border-right-color: rgba(255, 255, 255, 0.7);
  animation: page-loader-spin 1.2s linear infinite;
}

.page-loader-logo-wrap {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.35);
  animation: page-loader-pulse 1.6s ease-in-out infinite;
}

.page-loader-logo {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

@keyframes page-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes page-loader-pulse {
  0%,
  100% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (max-width: 767px) {
  .page-loader-core {
    width: 148px;
    height: 148px;
  }

  .page-loader-logo-wrap {
    width: 108px;
    height: 108px;
  }
}
