/* ── Aktuális műsor pulzálás ── */
@keyframes showPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0),   0 8px 28px rgba(0,0,0,.25); }
  50%       { box-shadow: 0 0 0 4px rgba(245,158,11,.18), 0 8px 28px rgba(217,119,6,.28); }
}

.show-current {
  animation: showPulse 2.8s ease-in-out infinite;
  position: relative;
}

/* "ON AIR" badge */
.show-current-badge {
  position: absolute;
  top: 12px;
  right: 0;
  left: auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px 0 0 999px;
  background: rgba(10,7,4,.85);
  border: 1px solid rgba(239,68,68,.4);
  border-right: none;
  backdrop-filter: blur(10px);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f87171;
}

/* ── Keyframes ── */
@keyframes livePulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .35; transform: scale(.6); }
}

@keyframes visAnim {
  from { transform: scaleY(.15); opacity: .4; }
  to   { transform: scaleY(1);   opacity: 1;  }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Visualizer bars ── */
.vis-bar {
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to top, #D97706, #FEF3C7);
  transform-origin: bottom;
  animation: visAnim var(--dur, .8s) ease-in-out infinite alternate;
}

/* ── Vinyl record ── */
.vinyl                  { animation: spin 4s linear infinite; }
.vinyl.paused           { animation-play-state: paused; }

/* Hero vinyl: mindig forog, lejátszástól függetlenül */
#vinylDisc              { animation: spin 4s linear infinite !important; animation-play-state: running !important; }
#vinylDisc .vinyl-counter { animation: spin 4s linear infinite reverse !important; animation-play-state: running !important; }

/* Counter-rotate: cancels the parent spin so the label stays upright */
.vinyl-counter          { animation: spin 4s linear infinite reverse; }
.vinyl.paused .vinyl-counter { animation-play-state: paused; }

/* Album art image on the label */
.vinyl-art {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .5s ease;
}
.vinyl-art.loaded { opacity: 1; }

/* ── Scroll fade-up ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Accessibility: no motion ── */
@media (prefers-reduced-motion: reduce) {
  .vis-bar { animation: none !important; }
  .vinyl   { animation: none !important; }
}

/* ── Nav link animated underline ── */
#navbar a[href^="#"] {
  position: relative;
}
#navbar a[href^="#"]::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #F59E0B, #D97706);
  transition: width .28s cubic-bezier(.22,.68,0,1.2);
  border-radius: 1px;
}
#navbar a[href^="#"]:hover::after { width: 100%; }

/* ── Button ripple ── */
.ripple-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  pointer-events: none;
  animation: rippleAnim .55s ease-out forwards;
}
@keyframes rippleAnim {
  to { transform: scale(24); opacity: 0; }
}

/* ── Player play button beat pulse ── */
@keyframes beatPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,.55), 0 4px 20px rgba(217,119,6,.4); }
  50%       { box-shadow: 0 0 0 10px rgba(245,158,11,0), 0 4px 24px rgba(217,119,6,.6); }
}
#playPauseBtn.playing { animation: beatPulse 1.5s ease-in-out infinite; }

/* ── Day tab ripple base ── */
.day-tab { position: relative; overflow: hidden; }

/* ── Day tab active state ── */
.day-tab.active {
  background: rgba(245,158,11,.15);
  color: #F59E0B !important;
  box-shadow: 0 0 0 1px rgba(245,158,11,.3);
}

/* ── Show card tilt smooth reset ── */
.show-card.tilt-reset,
.feature-card.tilt-reset {
  transition: transform .45s cubic-bezier(.22,.68,0,1.2), box-shadow .45s !important;
}

/* ── Form submit check pop ── */
@keyframes checkPop {
  0%   { transform: scale(0) rotate(-10deg); opacity: 0; }
  60%  { transform: scale(1.3) rotate(5deg);  opacity: 1; }
  100% { transform: scale(1) rotate(0deg);    opacity: 1; }
}

/* ── Stat number count-up bounce ── */
@keyframes statPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.stat-pop { animation: statPop .4s cubic-bezier(.34,1.56,.64,1); }
