/* ================================================================
   LawFM 103.9 — hero.css  (final)
   Save as: /LawFM103/assets/css/hero.css
   ================================================================ */


/* ── HERO WRAPPER ── */
.lfm-hero {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(160, 50, 52, 0.60) 0%,
      rgba(49, 51, 95, 0.70) 100%
    ),
    url("/assets/images/bg/hero.png") center / cover no-repeat;
  padding: 100px 0 120px;
  overflow: hidden;
  z-index: 1;
}

.lfm-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(255,255,255,0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 15%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.lfm-hero .container {
  position: relative;
  z-index: 2;
}

.lfm-hero__bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: #A03234;
  z-index: 3;
}


/* ── ROW: make both columns equal height so card can stretch ── */
.lfm-hero .row {
  align-items: stretch !important;  /* override Bootstrap's align-items-center on desktop */
}

/* LEFT column: flex so the panel fills full column height */
.lfm-hero .col-lg-7,
.lfm-hero .col-xl-6:first-child {
  display: flex;
  flex-direction: column;
}

.lfm-hero__panel {
  flex: 1;                          /* panel stretches to fill column height */
  display: flex;
  flex-direction: column;
  justify-content: center;         /* content stays vertically centred inside */
}

/* RIGHT column: flex, push card to the right edge */
.lfm-hero .col-lg-5,
.lfm-hero .col-xl-6:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;           /* card floats to right on desktop */
}


/* ── FROSTED WHITE PANEL ── */
.lfm-hero__panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 32px 36px;
  max-width: 460px;
  width: 100%;
  box-shadow:
    0 6px 32px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 #fff;
  position: relative;
  z-index: 2;
}


/* ── EYEBROW PILL ── */
.lfm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(160, 50, 52, 0.07);
  border: 1px solid rgba(160, 50, 52, 0.20);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #A03234;
  margin-bottom: 20px;
  align-self: flex-start;          /* don't stretch pill full width */
}

.lfm-hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A03234;
  flex-shrink: 0;
  animation: lfm-blink 2s ease-in-out infinite;
}

@keyframes lfm-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}


/* ── TITLE BLOCK ── */
.lfm-hero__title-wrap {
  margin-bottom: 16px;
}

.lfm-hero__station-line {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px;
}

.lfm-hero__title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #31335F;
  margin: 0;
}

.lfm-hero__title-word {
  display: block;
}

.lfm-hero__title-amp {
  display: block;
  color: #A03234;
  font-size: 0.65em;
  line-height: 1.3;
}


/* ── DIVIDER ── */
.lfm-hero__divider {
  width: 38px;
  height: 3px;
  background: #A03234;
  border-radius: 9999px;
  margin: 18px 0;
}


/* ── SUBTITLE ── */
.lfm-hero__subtitle {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 26px;
  max-width: 380px;
}


/* ── ACTION BUTTONS ── */
.lfm-hero__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;                /* push buttons to bottom of panel if extra space */
}

.lfm-btn-listen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #A03234;
  color: #fff;
  border: 2px solid #A03234;
  border-radius: 9999px;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(160, 50, 52, 0.28);
  text-decoration: none;
}

.lfm-btn-listen:hover {
  background: #87292b;
  border-color: #87292b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(160, 50, 52, 0.38);
}

.lfm-btn-listen:active { transform: translateY(0); }

.lfm-btn-schedule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #31335F;
  border: 2px solid rgba(49, 51, 95, 0.28);
  border-radius: 9999px;
  padding: 12px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  text-decoration: none;
}

.lfm-btn-schedule:hover {
  background: rgba(49, 51, 95, 0.06);
  border-color: #31335F;
  color: #31335F;
  transform: translateY(-2px);
}


/* ── NOW PLAYING CARD ── */
.lfm-np {
  background: rgba(30, 34, 58, 0.62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 22px;
  width: 300px;                    /* fixed width — square-ish proportion */
  height: 100%;                    /* stretch to match the panel height */
  display: flex;
  flex-direction: column;          /* stack children vertically */
  color: #fff;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.22),
    0 4px 14px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lfm-np:hover {
  transform: translateY(-5px);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28),
    0 6px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* Card header */
.lfm-np__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-shrink: 0;                  /* never compress */
}

.lfm-np__live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
}

.lfm-np__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A03234;
  flex-shrink: 0;
  animation: lfm-pulse 2s ease-in-out infinite;
}

@keyframes lfm-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(160, 50, 52, 0.8); }
  50%       { box-shadow: 0 0 0 5px rgba(160, 50, 52, 0);   }
}

.lfm-np__time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}


/* Track: artwork fills available space, info below */
.lfm-np__track {
  display: flex;
  flex-direction: column;
  flex: 1;                         /* grow to fill remaining card height */
  min-height: 0;                   /* allow shrink */
}

.lfm-np__artwork {
  width: 100%;
  flex: 1;                         /* artwork takes up leftover vertical space */
  min-height: 80px;                /* never collapse to nothing */
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: block;
  margin-bottom: 12px;
}

.lfm-np__track-info {
  flex-shrink: 0;
}

.lfm-np__show {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lfm-np__host {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.50);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ── WAVEFORM ── */
.lfm-np__waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 32px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.lfm-np__waveform span {
  width: 3px;
  background: rgba(160, 50, 52, 0.75);
  border-radius: 3px;
  animation: lfm-wave 1.3s ease-in-out infinite;
}

.lfm-np__waveform span:nth-child(1)  { height: 8px;  animation-delay: 0.00s; }
.lfm-np__waveform span:nth-child(2)  { height: 16px; animation-delay: 0.10s; }
.lfm-np__waveform span:nth-child(3)  { height: 26px; animation-delay: 0.20s; }
.lfm-np__waveform span:nth-child(4)  { height: 20px; animation-delay: 0.30s; }
.lfm-np__waveform span:nth-child(5)  { height: 12px; animation-delay: 0.40s; }
.lfm-np__waveform span:nth-child(6)  { height: 22px; animation-delay: 0.50s; }
.lfm-np__waveform span:nth-child(7)  { height: 14px; animation-delay: 0.60s; }
.lfm-np__waveform span:nth-child(8)  { height: 8px;  animation-delay: 0.70s; }
.lfm-np__waveform span:nth-child(9)  { height: 18px; animation-delay: 0.80s; }
.lfm-np__waveform span:nth-child(10) { height: 10px; animation-delay: 0.90s; }

@keyframes lfm-wave {
  0%, 100% { opacity: 0.50; transform: scaleY(1);   }
  50%       { opacity: 1.00; transform: scaleY(1.6); }
}


/* ── LISTEN LIVE BUTTON ── */
.lfm-np__play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  background: #A03234;
  border: none;
  border-radius: 9999px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(160, 50, 52, 0.28);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.lfm-np__play-btn:hover {
  background: #87292b;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(160, 50, 52, 0.38);
}

.lfm-np__play-btn:active { transform: translateY(0); }


/* ── VOLUME CONTROL ── */
.lfm-np__volume {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.lfm-np__vol-icon {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  flex-shrink: 0;
}

.lfm-np__vol-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  outline: none;
  cursor: pointer;
}

.lfm-np__vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #A03234;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.30);
  transition: transform 0.2s ease;
}

.lfm-np__vol-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.lfm-np__vol-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #A03234;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.30);
}

.lfm-np__vol-value {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 600;
  min-width: 28px;
  text-align: right;
}


/* ── DARK MODE ── */
body.dark-mode .lfm-hero__panel {
  background: rgba(24, 27, 46, 0.93);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 8px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.dark-mode .lfm-hero__station-line { color: rgba(255,255,255,0.42); }
body.dark-mode .lfm-hero__title        { color: #fff; }
body.dark-mode .lfm-hero__subtitle     { color: rgba(255,255,255,0.62); }

body.dark-mode .lfm-btn-schedule {
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.22);
}

body.dark-mode .lfm-btn-schedule:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.40);
  color: #fff;
}


/* ── RESPONSIVE ── */

/* Tablet and below — undo desktop-only rules */
@media (max-width: 991px) {
  .lfm-hero {
    padding: 80px 0 100px;
  }

  /* Reset row to centered stacking */
  .lfm-hero .row {
    align-items: center !important;
  }

  /* Reset column flex so cards behave normally when stacked */
  .lfm-hero .col-lg-7,
  .lfm-hero .col-xl-6:first-child,
  .lfm-hero .col-lg-5,
  .lfm-hero .col-xl-6:last-child {
    display: block;
    align-items: unset;
  }

  /* Panel no longer needs to stretch */
  .lfm-hero__panel {
    flex: unset;
    display: block;
    padding: 30px 32px;
    max-width: 100%;
  }

  .lfm-hero__eyebrow {
    align-self: unset;
  }

  .lfm-hero__actions {
    margin-top: 0;
  }

  /* Card returns to natural height, centred */
  .lfm-np {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .lfm-np__track {
    flex: unset;
  }

  .lfm-np__artwork {
    flex: unset;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .lfm-hero__title {
    font-size: clamp(1.85rem, 5vw, 2.6rem);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .lfm-hero {
    padding: 60px 0 80px;
  }

  .lfm-hero__panel {
    padding: 26px 22px;
    border-radius: 16px;
  }

  .lfm-hero__title {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .lfm-hero__subtitle {
    font-size: 0.875rem;
    max-width: 100%;
  }

  .lfm-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lfm-btn-listen,
  .lfm-btn-schedule {
    justify-content: center;
    width: 100%;
  }

  .lfm-np {
    max-width: 100%;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .lfm-hero__panel {
    padding: 22px 18px;
  }

  .lfm-hero__title {
    font-size: 1.75rem;
  }

  .lfm-hero__eyebrow {
    font-size: 0.625rem;
    padding: 5px 12px;
  }
}