
/* ==========================================================================
   Active Theory Authentic Runtime Preloader (0 -> 100)
   ========================================================================== */

#preloader-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', "JetBrains Mono", Menlo, Consolas, monospace;
}

#preloader-container.preloader-exiting {
  opacity: 0;
  pointer-events: none;
}

#loader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.loader-stage {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

#loader-behind {
  position: absolute;
  inset: 0;
  width: 220px;
  height: 220px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #81ecfe;
  opacity: 0.45;
  text-align: left;
  white-space: pre;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(circle at center, black 49%, transparent 50%);
  mask-image: radial-gradient(circle at center, black 49%, transparent 50%);
  will-change: opacity;
  transition: opacity 0.3s ease;
}

#loader-text {
  position: absolute;
  width: 220px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-align: center;
  color: #86cfd1;
  z-index: 10;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(134, 207, 209, 0.6), 0 0 20px rgba(119, 196, 217, 0.4);
  will-change: opacity, color;
}

.halo-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(129, 236, 254, 0.14);
  pointer-events: none;
  animation: spinRing 30s linear infinite;
  z-index: 1;
}

@keyframes spinRing {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hide old preloader wrapper */
.preloader[data-v-724e2fc4] {
  display: none !important;
}
