/* ==========================================================================
   ZeroText — Page Entrance Preloader
   ========================================================================== */

#zt-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  overflow: hidden;
}

[data-theme="light"] #zt-preloader {
  background: #000000;
}

.zt-pre-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.zt-pre-content.visible {
  opacity: 1;
  transform: scale(1);
}

.zt-pre-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255,255,255,0.25));
}

.zt-pre-wordmark {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease 0.15s,
    transform 0.35s ease 0.15s;
}

.zt-pre-content.visible .zt-pre-wordmark {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  #zt-preloader {
    display: none !important;
  }
}
