/* Contenedor del overlay de carga */
.shader-loading-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 6, 18, 0.55);
  backdrop-filter: none;
  z-index: 9999;
}

.shader-loading-container.hidden {
  display: none;
}

/* Área de animación con look de shader */
.shader-loading-animation {
  width: 220px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  filter: contrast(1.15) saturate(1.05);
}

#loading-canvas {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  box-shadow:
    0 0 32px rgba(168, 85, 247, 0.35),
    inset 0 0 24px rgba(124, 58, 237, 0.25);
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.15), rgba(76, 29, 149, 0.05), transparent 70%);
  animation: spin 12s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.shader-loading-text {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: #d6b1ff;
  text-shadow: 0 1px 8px rgba(168, 85, 247, 0.25);
}