/* =========================================================================
   CULT ON AIR — Base / reset / utility
   ========================================================================= */

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text-primary);
  font-family:var(--font-body);
  font-size:var(--fs-body);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  padding-bottom:var(--player-h-safe);
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
input{ font:inherit; color:inherit; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,p{ margin:0; }
h1,h2,h3{ font-family:var(--font-display); text-wrap:balance; letter-spacing:-0.01em; }

.container{
  max-width:var(--max-w);
  margin-inline:auto;
  padding-inline:var(--gutter);
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono);
  font-size:var(--fs-xs);
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--accent);
}

.tabular{ font-variant-numeric:tabular-nums; font-family:var(--font-mono); }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.icon{ width:1em; height:1em; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }

/* buttons ------------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 20px;
  border-radius:var(--r-pill);
  font-weight:600;
  font-size:var(--fs-sm);
  transition:transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s var(--ease-out);
  white-space:nowrap;
}
.btn:active{ transform:scale(0.97); }
.btn-primary{
  background:linear-gradient(135deg, var(--amber-300), var(--amber-500) 60%, var(--amber-600));
  color:#1B0F04;
  box-shadow:var(--shadow-glow);
}
.btn-primary:hover{ transform:translateY(-1px); }
.btn-ghost{
  background:var(--surface-2);
  color:var(--text-primary);
  border:1px solid var(--surface-hairline);
}
.btn-ghost:hover{ background:var(--surface); border-color:var(--accent2); }

/* live badge ------------------------------------------------------------ */
.live-badge{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-mono); font-size:var(--fs-xs); letter-spacing:.08em;
  color:#FFD9C2; background:rgba(255,122,51,0.16);
  border:1px solid rgba(255,122,51,0.35);
  padding:5px 10px 5px 8px; border-radius:var(--r-pill);
}
.live-dot{
  width:7px; height:7px; border-radius:50%; background:var(--live-dot);
  box-shadow:0 0 0 0 rgba(255,59,59,.6);
  animation:live-pulse 1.8s infinite;
}
@keyframes live-pulse{
  0%{ box-shadow:0 0 0 0 rgba(255,59,59,.55); }
  70%{ box-shadow:0 0 0 7px rgba(255,59,59,0); }
  100%{ box-shadow:0 0 0 0 rgba(255,59,59,0); }
}

/* equalizer --------------------------------------------------------------*/
.eq{ display:flex; align-items:flex-end; gap:3px; height:18px; }
.eq span{
  width:3px; border-radius:2px;
  background:currentColor;
  animation:eq-bounce 1.1s ease-in-out infinite;
  height:40%;
}
.eq span:nth-child(1){ animation-delay:-0.9s; }
.eq span:nth-child(2){ animation-delay:-0.5s; }
.eq span:nth-child(3){ animation-delay:-1.1s; }
.eq span:nth-child(4){ animation-delay:-0.2s; }
.eq span:nth-child(5){ animation-delay:-0.7s; }
[data-playing="false"] .eq span{ animation-play-state:paused; height:22%; }
.eq.is-live-audio span{ animation:none; transition:height .1s linear; }
@keyframes eq-bounce{
  0%,100%{ height:22%; }
  50%{ height:100%; }
}

/* neon glow ring (dal logo: cuffie + onda arcobaleno) ---------------------*/
@keyframes ring-spin{ to{ transform:rotate(360deg); } }
.neon-ring{
  position:relative; border-radius:50%;
  isolation:isolate;
}
.neon-ring::before{
  content:''; position:absolute; inset:-3px; border-radius:50%;
  background:var(--neon-ring);
  animation:ring-spin 6s linear infinite;
  z-index:-1;
}
.neon-ring::after{
  content:''; position:absolute; inset:0; border-radius:50%;
  background:var(--surface);
  z-index:-1;
}

/* pulsing glow per i pulsanti "play" -------------------------------------*/
@keyframes glow-pulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(255,62,165,.45), var(--shadow-glow); }
  50%{ box-shadow:0 0 0 10px rgba(255,62,165,0), var(--shadow-glow); }
}
.glow-pulse{ animation:glow-pulse 2.6s ease-out infinite; }

/* ticker / marquee ---------------------------------------------------------*/
.ticker{
  overflow:hidden; white-space:nowrap;
  border-block:1px solid var(--surface-hairline);
  background:var(--surface-2);
}
.ticker-track{
  display:inline-flex; gap:48px; padding-block:9px;
  animation:ticker-scroll 55s linear infinite; /* sovrascritta da ticker.js in base al contenuto reale */
  will-change:transform;
}
.ticker:hover .ticker-track{ animation-play-state:paused; }
.ticker-item{
  display:inline-flex; align-items:center; gap:10px;
  font-size:var(--fs-sm); color:var(--text-secondary);
}
.ticker-item b{ color:var(--text-primary); font-weight:700; }
.ticker-dot{ width:5px; height:5px; border-radius:50%; background:var(--accent); flex:none; }
@keyframes ticker-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

@media (prefers-reduced-motion: reduce){
  .eq span, .live-dot, .drift{ animation:none !important; }
  .neon-ring::before, .glow-pulse, .ticker-track{ animation:none !important; }
  .wi-vinile{ animation:none !important; }
  [data-reveal]{ transition:none !important; opacity:1 !important; transform:none !important; }
}
