/* Logo néon — net + halo léger */
.intro {
  --intro-duration: 4s;
  --intro-fade: 0.2s;
  background: rgba(10, 12, 18, 0.82);
}

.intro__stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  animation: introBadgeIn 0.9s var(--ease-out, ease-out) forwards;
}

.intro__logo-badge {
  width: clamp(148px, 40vw, 228px);
  padding: 24%;
}

@keyframes introBadgeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Pastille néon — logo noir (intro + radar) */
.logo-badge-neon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #6366f1 0%, #38bdf8 45%, #a855f7 100%);
  box-shadow:
    0 0 24px rgba(56, 189, 248, 0.55),
    0 0 48px rgba(124, 138, 255, 0.4),
    inset 0 0 18px rgba(255, 255, 255, 0.18);
  animation: neonBadgePulse 3.5s ease-in-out infinite;
}

.logo-badge-neon .logo-dj {
  fill: #0a0c12;
  animation: none;
}

@keyframes neonBadgePulse {
  0%, 100% {
    box-shadow:
      0 0 24px rgba(56, 189, 248, 0.55),
      0 0 48px rgba(124, 138, 255, 0.4),
      inset 0 0 18px rgba(255, 255, 255, 0.18);
  }
  50% {
    box-shadow:
      0 0 32px rgba(56, 189, 248, 0.75),
      0 0 64px rgba(167, 139, 250, 0.5),
      inset 0 0 22px rgba(255, 255, 255, 0.22);
  }
}

.logo-neon {
  display: block;
  overflow: visible;
}

.logo-neon--header { width: 40px; height: auto; }
.logo-neon--footer { width: 28px; height: auto; }
.logo-neon--sm { width: 40px; height: auto; }
.logo-neon--md { width: 72px; height: auto; }
.logo-neon--lg { width: 100%; height: auto; }
.logo-neon--radar {
  width: 100%;
  max-width: 68px;
  height: auto;
}

.logo-dj--radar {
  width: 100%;
  max-width: 54px;
  height: auto;
  fill: #0a0c12;
}

.hero-radar__logo-badge {
  width: 100%;
  height: 100%;
  padding: 22%;
}
.logo-neon--xl { width: clamp(120px, 16vw, 160px); height: auto; }

.dj-neon-glow {
  stroke: none;
  animation: neonGlow 7s ease-in-out infinite;
}

.dj-neon-fill {
  stroke: none;
  animation: neonFill 7s ease-in-out infinite;
}

.dj-neon-edge {
  fill: transparent;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: neonEdge 7s ease-in-out infinite;
}

@keyframes neonGlow {
  0%, 100% { fill: rgba(124, 138, 255, 0.2); opacity: 0.75; }
  33% { fill: rgba(56, 189, 248, 0.22); opacity: 0.9; }
  66% { fill: rgba(192, 132, 252, 0.2); opacity: 0.85; }
}

@keyframes neonFill {
  0%, 100% { fill: rgba(124, 138, 255, 0.72); }
  25% { fill: rgba(56, 189, 248, 0.7); }
  50% { fill: rgba(167, 139, 250, 0.68); }
  75% { fill: rgba(251, 191, 36, 0.66); }
}

@keyframes neonEdge {
  0%, 100% {
    stroke: rgba(200, 210, 255, 0.85);
    filter: drop-shadow(0 0 4px rgba(124, 138, 255, 0.6));
  }
  33% {
    stroke: rgba(150, 230, 255, 0.9);
    filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.65));
  }
  66% {
    stroke: rgba(230, 180, 255, 0.88);
    filter: drop-shadow(0 0 5px rgba(192, 132, 252, 0.6));
  }
}

.logo-badge-neon--header {
  width: 38px;
  height: 38px;
  padding: 7px;
  flex-shrink: 0;
  animation: none;
}

.logo-badge-neon--header .logo-dj--header {
  width: 100%;
  height: auto;
}

.logo-badge-neon--footer {
  width: 30px;
  height: 30px;
  padding: 5px;
  flex-shrink: 0;
  animation: none;
}

.logo-badge-neon--footer .logo-dj--footer {
  width: 100%;
  height: auto;
}

.dj-wire--static,
.dj-wire--loop {
  fill: transparent;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: neonEdge 7s ease-in-out infinite;
}

.dj-wire--static { stroke-dasharray: none; }

.logo-dj {
  display: block;
  fill: rgba(124, 138, 255, 0.85);
  animation: neonFill 7s ease-in-out infinite;
}

.logo-dj--footer { width: 26px; height: auto; }
.logo-dj--header { width: 32px; height: auto; }
.logo-dj--lg { width: 100%; height: auto; }

@media (max-width: 720px) {
  .intro__stage {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .intro__logo-badge .logo-badge-neon {
    animation: none;
    box-shadow:
      0 0 24px rgba(56, 189, 248, 0.55),
      0 0 48px rgba(124, 138, 255, 0.4),
      inset 0 0 18px rgba(255, 255, 255, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dj-neon-glow,
  .dj-neon-fill,
  .dj-neon-edge,
  .dj-wire--loop,
  .dj-wire--static,
  .logo-dj {
    animation: none;
    fill: rgba(124, 138, 255, 0.65);
    stroke: rgba(200, 210, 255, 0.8);
    opacity: 1;
    filter: none;
  }

  .logo-badge-neon,
  .intro__logo-badge { animation: none; }
}
