/* Loader portail arcane: fichier dedie pour reutiliser le meme visuel sur tous les overlays. */
:root {
  --arcane-purple: #9b30ff;
  --arcane-blue: #00d4ff;
  --arcane-glow: rgba(155, 48, 255, 0.6);
}

.guild-loading-overlay__portal {
  margin: 0 auto 1rem;
}

.portal-container {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portal-core {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--arcane-blue) 0%, var(--arcane-purple) 60%, transparent 100%);
  filter: blur(20px);
  opacity: 0.5;
  animation: portal-pulse 2s infinite ease-in-out;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  filter: drop-shadow(0 0 8px var(--arcane-purple));
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-top: 4px solid var(--arcane-purple);
  border-bottom: 4px solid var(--arcane-blue);
  animation: portal-rotate 3s linear infinite;
}

.ring-2 {
  width: 80%;
  height: 80%;
  border-left: 3px solid #fff;
  border-right: 3px solid var(--arcane-purple);
  opacity: 0.7;
  animation: portal-rotate 1.5s linear infinite reverse;
}

.ring-3 {
  width: 60%;
  height: 60%;
  border: 2px dashed var(--arcane-blue);
  animation: portal-rotate 5s linear infinite;
}

@keyframes portal-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes portal-pulse {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.4;
    filter: blur(20px);
  }

  50% {
    transform: scale(1.1);
    opacity: 0.7;
    filter: blur(24px);
  }
}

@media (max-width: 640px) {
  .portal-container {
    width: 118px;
    height: 118px;
  }
}
