/* Hub "DJ Set" — direzione visiva: cabina del DJ di notte, neon da club, equalizzatore.
   Duotone neon (magenta/ciano) + picco ambra su fondo viola-notte.
   Riusa il reset/body/.landing/.footer di base.css e sovrascrive le variabili. */

:root {
  --neon-magenta: #ff2e97;
  --neon-cyan: #22e0ff;
  --amber: #ffb547;
  --ink: #f3eefe;
  --ink-dim: rgba(243, 238, 254, 0.62);

  --colore-testo: var(--ink);
  --colore-testo-tenue: var(--ink-dim);
  --font-titolo: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-corpo: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Fondo ricco: due bagliori neon sovrapposti al viola-notte. */
  --sfondo:
    radial-gradient(60% 48% at 12% -5%, rgba(255, 46, 151, 0.22), transparent 62%),
    radial-gradient(55% 45% at 105% 105%, rgba(34, 224, 255, 0.20), transparent 60%),
    linear-gradient(165deg, #0a0713 0%, #16091f 55%, #08060f 100%);
}

/* ===== Hero ===== */
.hub__hero {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-corpo);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
}
.hub__eyebrow::before,
.hub__eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber));
}
.hub__eyebrow::after { transform: scaleX(-1); }

.hub__title {
  font-family: var(--font-titolo);
  font-weight: 700;
  font-size: clamp(3.2rem, 20vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--neon-cyan) 0%, var(--ink) 45%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 46, 151, 0.45))
          drop-shadow(0 0 26px rgba(34, 224, 255, 0.25));
}

.hub__subtitle {
  font-size: clamp(1rem, 4vw, 1.15rem);
  color: var(--ink-dim);
  max-width: 30ch;
}

/* ===== Equalizzatore (signature) ===== */
.eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
}
.eq span {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-magenta));
  box-shadow: 0 0 8px rgba(34, 224, 255, 0.5);
  transform-origin: bottom;
  height: 100%;
  animation: eq-bounce 1.1s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -90ms);
}

.eq--hero {
  height: 68px;
  margin-top: 1.1rem;
  width: 100%;
  max-width: 340px;
}

@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.18); }
  25%      { transform: scaleY(0.75); }
  50%      { transform: scaleY(1); }
  75%      { transform: scaleY(0.45); }
}

/* ===== Lista set ===== */
.set-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.set-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--raggio);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
/* Filo neon sul bordo superiore */
.set-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  opacity: 0.6;
  transition: opacity 0.18s ease;
}
.set-card:hover,
.set-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 46, 151, 0.55);
  box-shadow: 0 14px 40px rgba(255, 46, 151, 0.22), 0 0 0 1px rgba(34, 224, 255, 0.25) inset;
  outline: none;
}
.set-card:hover::before,
.set-card:focus-visible::before { opacity: 1; }

/* Pulsante play */
.set-card__play {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 3px; /* centra otticamente il triangolo */
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.set-card:hover .set-card__play,
.set-card:focus-visible .set-card__play {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  color: #08060f;
  transform: scale(1.06);
  box-shadow: 0 0 22px rgba(255, 46, 151, 0.55);
}

.set-card__info { flex: 1; min-width: 0; }
.set-card__kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 0.2rem;
}
.set-card__name {
  display: block;
  font-family: var(--font-titolo);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.1;
}
.set-card__mood {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-dim);
  margin-top: 0.15rem;
}

/* Mini-EQ nella card: fermo, parte all'hover */
.set-card__eq {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 26px;
  opacity: 0.5;
  transition: opacity 0.18s ease;
}
.set-card__eq span {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-magenta));
  transform: scaleY(0.35);
  transform-origin: bottom;
  height: 100%;
  animation: eq-bounce 0.9s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -110ms);
  animation-play-state: paused;
}
.set-card:hover .set-card__eq,
.set-card:focus-visible .set-card__eq { opacity: 1; }
.set-card:hover .set-card__eq span,
.set-card:focus-visible .set-card__eq span { animation-play-state: running; }

/* ===== Footer ===== */
.hub__footer a {
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 238, 254, 0.25);
  padding-bottom: 1px;
  background: none;
  border-radius: 0;
}
.hub__footer a:hover { color: var(--ink); }

/* ===== Ingresso ===== */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hub__hero > *,
.set-card { animation: rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hub__eyebrow  { animation-delay: 0.02s; }
.hub__title    { animation-delay: 0.10s; }
.hub__subtitle { animation-delay: 0.18s; }
.eq--hero      { animation-delay: 0.26s; }
.set-list .set-card:nth-child(1) { animation-delay: 0.34s; }
.set-list .set-card:nth-child(2) { animation-delay: 0.42s; }
.set-list .set-card:nth-child(3) { animation-delay: 0.50s; }
.set-list .set-card:nth-child(4) { animation-delay: 0.58s; }

/* ===== Rispetto reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  .eq span,
  .set-card__eq span { animation: none; }
  .eq span { transform: scaleY(0.6); }
  .set-card__eq span { transform: scaleY(0.5); }
  .hub__hero > *,
  .set-card { animation: none; }
}

/* ===== Desktop ===== */
@media (min-width: 700px) {
  .set-card { padding: 1.25rem 1.5rem; }
  .eq--hero { max-width: 420px; height: 80px; }
}
