/* Page Loader Animation - style.css */
#page-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(6,8,12,0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  transition: opacity 400ms ease, visibility 400ms ease;
}

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

/* inner layout */
#page-loader .pla-inner {
  text-align: center;
  color: #00e0ff;
}

/* glowing ring with progress arc */
.pla-ring{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  box-shadow: 0 6px 28px rgba(0,224,255,0.12), 0 0 30px rgba(0,224,255,0.12) inset;
  background: conic-gradient(#00e0ff 0deg, #00e0ff 90deg, rgba(255,255,255,0.03) 90deg 360deg);
  animation: pla-rotate 1.6s linear infinite;
}

/* small core dot */
.pla-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 30% 30%, #bfffff, #00c6ff 60%, #0077aa 100%);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(0,198,255,0.9);
}

/* Loading text */
.pla-text {
  margin-top: 12px;
  color: #9aefff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
}

/* rotate animation */
@keyframes pla-rotate {
  0% { transform: rotate(0deg); filter: drop-shadow(0 0 8px rgba(0,230,255,0.18)); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

/* Hide loader quickly on mobile - will be controlled by JS */
@media (max-width: 480px) {
  .pla-ring { width: 76px; height: 76px; }
  .pla-core { width: 14px; height: 14px; }
  .pla-text { font-size: 14px; }
}
