@keyframes nxn-pulse {
  0%,
  100% {
    transform: scale(0.97);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes nxn-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-loading {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: relative;
  color: #1b1b1b;
}

.app-loading--splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: #ffffff;
}

.app-loading--error {
  padding: 32px 24px;
  max-width: 720px;
  color: #111111;
}

.app-loading p {
  display: block;
  font-size: 1.05em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  font-weight: normal;
  line-height: 1.5;
}

.nxn-loader {
  position: relative;
  width: 300px;
  height: 300px;
}

.nxn-loader__logo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 210px;
  height: 210px;
  background: url('/content/images/logo-nexin.png') center / contain no-repeat;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
  animation: nxn-pulse 1.8s ease-in-out infinite;
}

.nxn-loader__text {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  animation: nxn-reveal 600ms ease-out both;
}
