/* ── Overlay ── */
#nepiPageLoader {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 13, 31, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* Visível por padrão na 1ª carga */
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

/* Estado oculto */
#nepiPageLoader.npl-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── Inner ── */
.npl-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ── Órbita ── */
.npl-orbit {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.18);
  animation: npl-spin 1.8s linear infinite;
}

/* ── Pontos ── */
.npl-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform-origin: 0 0;
}

.npl-dot-a {
  background: #22d3ee;
  box-shadow: 0 0 18px #22d3ee;
  animation: npl-dot-a 1.2s ease-in-out infinite;
}

.npl-dot-b {
  background: #13bf9f;
  box-shadow: 0 0 18px #13bf9f;
  animation: npl-dot-b 1.2s ease-in-out infinite;
}

/* ── Palavra NePi ── */
.npl-word {
  display: inline-flex;
  gap: 0.08em;
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: #9fb2cd;
}

.npl-letter {
  position: relative;
  color: #9fb2cd;
  transition: color 160ms ease, transform 160ms ease, text-shadow 160ms ease;
}

.npl-letter::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1f86ff, #13bf9f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.npl-letter.is-active {
  color: #ecf4ff;
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(31, 134, 255, 0.45);
}

.npl-letter.is-active::after {
  transform: scaleX(1);
}

/* ── Keyframes ── */
@keyframes npl-spin {
  to { transform: rotate(360deg); }
}

@keyframes npl-dot-a {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg)   translateY(-52px); }
  50%       { transform: translate(-50%, -50%) rotate(180deg) translateY(-52px); }
}

@keyframes npl-dot-b {
  0%, 100% { transform: translate(-50%, -50%) rotate(180deg) translateY(-34px); }
  50%       { transform: translate(-50%, -50%) rotate(360deg) translateY(-34px); }
}