/* ============================================================
   AUDIO UI v2 — WhatsApp-voice-message-familiar, low-literacy friendly
   ============================================================ */
.audio-section-prominent {
  padding: 40px 24px 50px;
  margin: 40px 0;
  background:
    radial-gradient(800px 300px at 50% 0%, var(--gold-soft), transparent 70%),
    var(--surface);
  border: 2px solid rgba(212,175,55,0.25);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.audio-section-prominent::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 100%, rgba(93,211,158,0.06), transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(212,175,55,0.06), transparent 50%);
  pointer-events: none;
}
.audio-listen-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #1a1305;
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: 1.5px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(212,175,55,0.40);
  animation: badgeBob 2.5s ease-in-out infinite;
}
.audio-listen-badge .badge-icon { font-size: 18px; animation: badgeIconWiggle 2.5s ease-in-out infinite; }
@keyframes badgeBob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-3px);} }
@keyframes badgeIconWiggle { 0%,80%,100%{transform:rotate(0);} 85%{transform:rotate(-12deg);} 90%{transform:rotate(12deg);} 95%{transform:rotate(-6deg);} }
.audio-section-head h2 { font-size: 36px !important; margin-bottom: 8px; }
.audio-section-head .lead { font-size: 17px; }
.audio-card {
  padding: 28px 24px 26px;
  border: 2px solid var(--border);
  transition: border-color 0.25s, transform 0.2s;
  gap: 20px;
}
.audio-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.audio-card::before { width: 180px; height: 180px; background: radial-gradient(circle at top right, var(--gold-soft), transparent 65%); }
.audio-card-tag { font-size: 12px; padding: 5px 14px; letter-spacing: 1.5px; }
.audio-card-head h3 { font-size: 22px !important; line-height: 1.25; font-weight: 800; margin: 0 0 10px; }
.audio-card-head p { font-size: 15px; line-height: 1.5; }
.audio-time-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-soft); color: var(--gold);
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; margin-left: 8px; letter-spacing: 0.6px;
}

/* BIG PULSING PLAY BUTTON */
.audio-cta-row {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; margin: 10px 0 4px;
}
.audio-play-btn-big {
  position: relative;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--gold); color: #1a1305;
  border: 0; cursor: pointer; padding: 0;
  font-size: 36px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(212,175,55,0.50);
  transition: transform 0.15s, background 0.2s;
  z-index: 2;
  animation: playPulse 2s ease-out infinite;
}
@keyframes playPulse {
  0%   { box-shadow: 0 8px 28px rgba(212,175,55,0.50), 0 0 0 0 rgba(212,175,55,0.55); }
  70%  { box-shadow: 0 8px 28px rgba(212,175,55,0.50), 0 0 0 22px rgba(212,175,55,0); }
  100% { box-shadow: 0 8px 28px rgba(212,175,55,0.50), 0 0 0 0 rgba(212,175,55,0); }
}
.audio-play-btn-big:hover { transform: scale(1.06); background: var(--gold-2); }
.audio-play-btn-big:active { transform: scale(0.97); }
.audio-play-btn-big .icon-play { display: inline-block; margin-left: 6px; font-size: 32px; }
.audio-play-btn-big .icon-pause { display: none; font-size: 28px; margin-left: 0; letter-spacing: 2px; }
.audio-play-btn-big.playing {
  background: var(--green); color: #0b1f15;
  animation: none;
  box-shadow: 0 8px 28px rgba(93,211,158,0.50);
}
.audio-play-btn-big.playing .icon-play { display: none; }
.audio-play-btn-big.playing .icon-pause { display: inline-block; }
.audio-tap-label {
  font-size: 14px; color: var(--text-dim); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  animation: tapLabelFade 2s ease-in-out infinite;
}
.audio-play-btn-big.playing ~ .audio-tap-label { animation: none; color: var(--green); }
@keyframes tapLabelFade { 0%,100%{opacity:0.6;} 50%{opacity:1;} }
.audio-tap-arrow { display: inline-block; animation: tapArrowBounce 1.2s ease-in-out infinite; }
@keyframes tapArrowBounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(4px);} }

/* DECORATIVE WAVEFORM */
.audio-waveform {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; height: 44px; margin-top: 14px; padding: 6px 0;
}
.audio-waveform .bar {
  display: inline-block; width: 4px;
  background: var(--gold); border-radius: 2px;
  opacity: 0.45;
  animation: wavePulse 1.2s ease-in-out infinite;
  animation-play-state: paused;
}
.audio-waveform.is-playing .bar {
  animation-play-state: running;
  background: var(--green); opacity: 0.9;
}
.audio-waveform .bar:nth-child(1)  { height: 16%; animation-delay: 0.00s; }
.audio-waveform .bar:nth-child(2)  { height: 28%; animation-delay: 0.10s; }
.audio-waveform .bar:nth-child(3)  { height: 42%; animation-delay: 0.20s; }
.audio-waveform .bar:nth-child(4)  { height: 58%; animation-delay: 0.30s; }
.audio-waveform .bar:nth-child(5)  { height: 72%; animation-delay: 0.40s; }
.audio-waveform .bar:nth-child(6)  { height: 90%; animation-delay: 0.50s; }
.audio-waveform .bar:nth-child(7)  { height: 78%; animation-delay: 0.60s; }
.audio-waveform .bar:nth-child(8)  { height: 64%; animation-delay: 0.70s; }
.audio-waveform .bar:nth-child(9)  { height: 88%; animation-delay: 0.05s; }
.audio-waveform .bar:nth-child(10) { height: 72%; animation-delay: 0.15s; }
.audio-waveform .bar:nth-child(11) { height: 54%; animation-delay: 0.25s; }
.audio-waveform .bar:nth-child(12) { height: 36%; animation-delay: 0.35s; }
.audio-waveform .bar:nth-child(13) { height: 60%; animation-delay: 0.45s; }
.audio-waveform .bar:nth-child(14) { height: 74%; animation-delay: 0.55s; }
.audio-waveform .bar:nth-child(15) { height: 50%; animation-delay: 0.65s; }
.audio-waveform .bar:nth-child(16) { height: 38%; animation-delay: 0.75s; }
.audio-waveform .bar:nth-child(17) { height: 26%; animation-delay: 0.05s; }
.audio-waveform .bar:nth-child(18) { height: 18%; animation-delay: 0.10s; }
@keyframes wavePulse { 0%,100%{transform:scaleY(0.5);} 50%{transform:scaleY(1);} }

/* Progress + time */
.audio-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-top: 10px;
}
.audio-progress-v2 {
  flex: 1; height: 4px;
  background: var(--bg-2); border-radius: 999px;
  overflow: hidden; cursor: pointer;
}
.audio-progress-v2 .audio-progress-fill {
  height: 100%; width: 0%;
  background: var(--gold); border-radius: 999px;
  transition: width 0.1s linear;
}
.audio-play-btn-big.playing ~ .audio-meta-row .audio-progress-fill { background: var(--green); }
.audio-time-v2 {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; color: var(--text-mute); font-weight: 600; white-space: nowrap;
}
.audio-lang-toggle {
  align-self: center; padding: 4px;
  border: 1px solid var(--border); background: var(--bg-2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.audio-lang-btn { padding: 8px 18px; font-size: 14px; font-weight: 700; min-height: 38px; }
.audio-lang-btn.active { box-shadow: 0 2px 8px rgba(212,175,55,0.40); }
:root[data-theme="light"] .audio-section-prominent {
  border-color: rgba(184,148,31,0.30);
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(212,175,55,0.18), transparent 70%),
    var(--surface);
}
@media (max-width: 720px) {
  .audio-section-prominent { padding: 32px 16px 40px; border-radius: 18px; }
  .audio-section-head h2 { font-size: 26px !important; }
  .audio-card { padding: 24px 18px; }
  .audio-card-head h3 { font-size: 19px !important; }
  .audio-play-btn-big { width: 80px; height: 80px; font-size: 32px; }
}
@media (max-width: 480px) {
  .audio-listen-badge { font-size: 11px; padding: 7px 14px; }
  .audio-waveform { height: 36px; }
  .audio-waveform .bar { width: 3px; }
}