/* =========================
   LOADER WRAPPER
========================= */
.loader-container {
  position: fixed; /* important */
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: #f5b400;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  opacity: 1;
  transition: opacity 0.8s ease;
}

.loader-container.fade-out {
  opacity: 0;
  pointer-events: none; /* prevents click block */
}

/* =========================
   LOGO
========================= */
.loader-logo {
  width: 180px;
  height: auto;
  margin-bottom: 30px;

  transform: none !important;
  filter: none !important;

  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* =========================
   DOTS
========================= */
.loader-dots {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.loader-dots span {
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  animation: pulse 1.2s infinite ease-in-out;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

/* =========================
   TEXT
========================= */
.loader-text {
  font-size: 14px;
  color: #000;
  letter-spacing: 1px;
}

/* =========================
   DOT ANIMATION
========================= */
@keyframes pulse {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* =========================
   PAGE TRANSITION (GLOBAL)
========================= */

/* REMOVE old animation — use this instead */
body.page-transition {
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.page-transition.show {
  opacity: 1;
}