/* ============================================================
   SHAKON I.D — PAGE LOADER
   ============================================================ */

.page-loader {
  position: fixed;
  inset: 0;
  background: #faf8f5;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-circle {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(26, 75, 140, 0.15);
  border-top-color: #1a4b8c;
  border-radius: 50%;
  animation: loaderSpin 0.9s linear infinite;
}

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

.loader-brand {
  font-family: 'Syne', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a4b8c;
  letter-spacing: -0.02em;
  opacity: 0.9;
}

.loader-brand span {
  color: #c6a15b;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .loader-circle {
    width: 48px;
    height: 48px;
    border-width: 2.5px;
  }
  .loader-brand {
    font-size: 1rem;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .loader-circle {
    animation-duration: 1.5s;
  }
}
