/* ── AVAVA / BlackWave inspired hero ── */
/* ── Live page nav — same dark theme, overlay on hero ── */
.page-live .topnav {
  position: absolute;
  left: 0; right: 0;
  background: linear-gradient(180deg, rgba(5,8,16,0.92) 0%, rgba(5,8,16,0.55) 65%, transparent 100%);
  border-bottom-color: transparent;
  box-shadow: none;
}
.page-live .topnav::after { opacity: 0; }
.page-live .topnav.is-scrolled {
  position: sticky;
  background: linear-gradient(180deg, rgba(10,16,30,0.98) 0%, rgba(5,8,16,0.96) 100%);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.28), inset 0 -1px 0 rgba(245,158,11,0.06);
}
.page-live .topnav.is-scrolled::after { opacity: 0.55; }

.wave-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 1440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 1rem) 1.25rem 0;
  overflow: hidden;
}

/* ── Cinematic header media (Avava-style) ── */
.wave-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.wave-hero__bg {
  position: absolute;
  inset: -4%;
  background: #030303 center/cover no-repeat;
  will-change: transform;
}
.wave-hero__bg--base {
  background-image: url('/assets/hero/header.jpg');
  background-position: 22% center;
  z-index: 0;
}
.wave-hero__bg--art {
  z-index: 1;
  opacity: 0;
  filter: blur(28px) brightness(0.45) saturate(1.2);
  transition: opacity 1.2s ease;
  transform: scale(1.08);
}
.wave-hero__bg--art.has-art { opacity: 0.55; }
.wave-hero.is-playing .wave-hero__bg--base {
  animation: hero-kenburns 22s ease-in-out infinite alternate;
}
.wave-hero.is-playing .wave-hero__bg--art.has-art {
  animation: hero-kenburns-art 18s ease-in-out infinite alternate-reverse;
}
@keyframes hero-kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.14) translate(-2.5%, -1.5%); }
}
@keyframes hero-kenburns-art {
  0% { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.18) translate(2%, 1%); }
}

.wave-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.2) 38%, rgba(0,0,0,0.72) 58%, rgba(0,0,0,0.88) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.05) 40%, rgba(3,3,3,0.9) 100%);
  pointer-events: none;
}
.wave-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  box-shadow: inset 0 0 120px rgba(0,0,0,0.65);
  pointer-events: none;
}
.wave-hero__grain {
  position: absolute;
  inset: -50%;
  z-index: 4;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.4s steps(2) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-2%, -2%); }
}
.wave-hero__sweep {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(105deg, transparent 38%, rgba(255,160,40,0.12) 50%, transparent 62%);
  opacity: 0;
  pointer-events: none;
}
.wave-hero.is-playing .wave-hero__sweep {
  animation: light-sweep 5s ease-in-out infinite;
}
@keyframes light-sweep {
  0% { opacity: 0; transform: translateX(-30%) skewX(-8deg); }
  45% { opacity: 1; }
  100% { opacity: 0; transform: translateX(30%) skewX(-8deg); }
}
.wave-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.wave-hero.is-playing .wave-hero__particles { opacity: 0.5; }

.wave-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 6;
  background:
    radial-gradient(ellipse 55% 45% at 18% 55%, rgba(255,122,0,0.22), transparent 60%),
    radial-gradient(circle at 50% 85%, rgba(255,200,0,0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.wave-hero.is-playing .wave-hero__glow {
  opacity: 1;
  animation: glow-breathe 2.5s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

/* hide old mesh/floats */
.wave-hero__mesh, .wave-hero__floats { display: none !important; }

.wave-hero__scroll {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  padding: 0;
}
.wave-hero__scroll-line {
  width: 2px;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.35));
}
.wave-hero__scroll-arrow {
  color: var(--accent);
  font-size: 1.1rem;
  animation: bounce-v 2s ease infinite;
}
@keyframes bounce-v {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.wave-hero__content {
  position: relative;
  z-index: 10;
  max-width: 540px;
  width: 100%;
  margin-left: auto;
  margin-right: clamp(1rem, 5vw, 4rem);
  padding: 1.5rem 0 1.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.wave-hero__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.wave-hero__badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.35);
  color: #4ade80;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.wave-hero__title {
  font-size: clamp(2.75rem, 10vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 0.65rem;
}
.wave-hero__title span { color: var(--accent); }
.wave-hero__subtitle {
  font-size: clamp(1.1rem, 3vw, 1.65rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: rgba(255,255,255,0.92);
}
.wave-hero__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.58);
  max-width: 520px;
  margin-bottom: 1rem;
}
.wave-hero__artist {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.wave-hero__track {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.wave-hero__listeners {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.wave-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1.75rem;
}
.btn-listen {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 6px 28px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.btn-listen:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(255,122,0,0.35);
  transform: translateY(-2px);
}
.btn-listen.is-playing {
  border-color: var(--accent);
  background: rgba(255,122,0,0.12);
  box-shadow: 0 0 35px rgba(255,122,0,0.4);
}
.btn-listen__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(255,122,0,0.45);
  flex-shrink: 0;
}
.btn-listen__icon svg { width: 20px; height: 20px; }
.btn-listen__icon .ico-pause { display: none; }
.btn-listen.is-playing .btn-listen__icon .ico-play { display: none; }
.btn-listen.is-playing .btn-listen__icon .ico-pause { display: block; }
.btn-listen__wave { opacity: 0; }
.btn-listen.is-playing .btn-listen__wave { opacity: 1; }

/* CSS waveform bars */
.css-waveform {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}
.css-waveform span {
  display: block;
  width: 3px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.wave-hero.is-playing .css-waveform span,
.btn-listen.is-playing .css-waveform span {
  animation: wave-bar 0.9s ease-in-out infinite;
}
.css-waveform span:nth-child(1) { animation-delay: 0s; }
.css-waveform span:nth-child(2) { animation-delay: 0.15s; }
.css-waveform span:nth-child(3) { animation-delay: 0.3s; }
.css-waveform span:nth-child(4) { animation-delay: 0.1s; }
.css-waveform span:nth-child(5) { animation-delay: 0.25s; }
@keyframes wave-bar {
  0%, 100% { height: 4px; opacity: 0.5; }
  50% { height: 16px; opacity: 1; background: #ffc107; }
}

.wave-hero__features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}
.wave-hero__features--icons {
  gap: 2rem;
  margin-bottom: 1.25rem;
  padding-top: 0.25rem;
}
.wave-hero__features--icons li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.wave-hero__features--icons .feat-ico {
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.15rem;
}
.wave-hero__features--icons strong {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.wave-hero__features--icons span:last-child {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wave-hero__features--stats {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.wave-hero__features li { display: flex; flex-direction: column; }
.wave-hero__features strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.wave-hero__features span {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wave-hero__features em { font-size: 0.7rem; color: var(--live); font-style: normal; }
.wave-hero__status { font-size: 0.78rem; color: var(--text-dim); min-height: 1.2em; }
.wave-hero__vol {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 220px;
  margin-top: 0.5rem;
}
.wave-hero__vol input[type=range] { flex: 1; accent-color: var(--accent); }

/* ── Radio tuner / FM scale ── */
.radio-tuner {
  position: relative;
  z-index: 15;
  padding: 0 1.25rem 1.5rem;
  margin-top: auto;
}
.radio-tuner__box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  background: rgba(12,12,14,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.radio-tuner__art {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: transform 0.4s, box-shadow 0.4s;
}
.wave-hero.is-playing .radio-tuner__art {
  animation: art-pulse 3s ease-in-out infinite;
  box-shadow: 0 0 24px rgba(255,180,0,0.3);
}
@keyframes art-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.radio-tuner__arrow {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 1.75rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
  line-height: 1;
}
.radio-tuner__arrow:hover { color: var(--accent); transform: scale(1.1); }
.radio-tuner__scale-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 88px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.radio-tuner__scale {
  width: 100%;
  height: auto;
  opacity: 0.9;
}
.radio-tuner__needle {
  position: absolute;
  top: 8px;
  left: 48%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: left 0.08s ease-out;
  will-change: left;
}
.radio-tuner__band {
  width: 6px;
  height: 52px;
  background: linear-gradient(180deg, #ffc107 0%, #ff7a00 50%, #ff5500 100%);
  border-radius: 3px;
  box-shadow:
    0 0 12px rgba(255,193,7,0.8),
    0 0 28px rgba(255,122,0,0.5);
}
.wave-hero.is-playing .radio-tuner__band {
  animation: band-glow 1.2s ease-in-out infinite;
}
@keyframes band-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(255,193,7,0.8), 0 0 28px rgba(255,122,0,0.5); }
  50% { box-shadow: 0 0 20px rgba(255,220,0,1), 0 0 40px rgba(255,122,0,0.7); }
}
.radio-tuner__pointer {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #ffc107;
  margin-top: 2px;
  filter: drop-shadow(0 0 6px rgba(255,193,7,0.8));
}
.radio-tuner__viz {
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  width: 100%;
  height: 36px;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.wave-hero.is-playing .radio-tuner__viz { opacity: 0.85; }

.radio-tuner__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(255,255,255,0.04);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.radio-tuner__play:hover {
  background: rgba(255,122,0,0.15);
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(255,122,0,0.35);
}
.radio-tuner__play.is-playing {
  background: var(--accent);
  box-shadow: 0 0 28px rgba(255,122,0,0.5);
}
.radio-tuner__play svg { width: 22px; height: 22px; }
.radio-tuner__play .ico-pause { display: none; }
.radio-tuner__play.is-playing .ico-play { display: none; }
.radio-tuner__play.is-playing .ico-pause { display: block; }

.radio-tuner__wait {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
  animation: pulse 1s ease infinite;
}

.wave-hero.is-tuning .radio-tuner__needle {
  transition: left 0.05s linear;
}

@media (max-width: 768px) {
  .wave-hero__scroll { display: none; }
  .wave-hero__desc { font-size: 0.88rem; }
  .wave-hero__features--icons { gap: 1rem; }
  .wave-hero__title { font-size: clamp(2.8rem, 16vw, 4.5rem); }
  .radio-tuner__box { flex-wrap: wrap; padding: 0.65rem; }
  .radio-tuner__art { width: 56px; height: 56px; }
  .radio-tuner__arrow { width: 32px; font-size: 1.4rem; }
  .radio-tuner__play { width: 52px; height: 52px; }
  .radio-tuner__scale-wrap { order: 5; flex: 1 1 100%; height: 72px; }
}

@media (min-width: 1100px) {
  .wave-hero__content {
    margin-right: clamp(3rem, 8vw, 7rem);
    max-width: 520px;
    width: 42%;
  }
  .wave-hero__scroll { left: 2.5rem; }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .wave-hero__content {
    margin-right: 2rem;
    max-width: 480px;
    width: 52%;
  }
}

@media (max-width: 767px) {
  .wave-hero__content {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    width: 100%;
  }
  .wave-hero__bg--base { background-position: 35% center; }
  .wave-hero__shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 55%, rgba(3,3,3,0.92) 100%);
  }
}
