/* ═══════════════════════════════════════════
 * BOTÓN APAGAR TORMENTA + SPOTIFY STICKY
 * Símbolo: gota con rayo dentro · tachada cuando muteado
 * ═══════════════════════════════════════════ */

.boton-audio {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 60;
  width: 56px;
  height: 56px;
  background: rgba(7, 12, 24, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 200, 122, 0.5);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
  transition: all 0.35s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: boton-audio-pulso 3s ease-in-out infinite;
}

@keyframes boton-audio-pulso {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(244, 200, 122, 0.4); }
  50%      { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 12px rgba(244, 200, 122, 0); }
}

.boton-audio:hover {
  transform: scale(1.08);
  border-color: var(--oro-vivo);
}

.icono-tormenta {
  width: 30px;
  height: 30px;
}

.icono-tormenta .gota {
  fill: none;
  stroke: var(--oro-vivo);
  stroke-width: 1.8;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.icono-tormenta .rayito {
  fill: var(--oro-vivo);
  transition: fill 0.3s ease;
}

.icono-tormenta .tacha {
  stroke: #ff6868;
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.boton-audio.muteado {
  animation: none;
  border-color: rgba(255, 104, 104, 0.6);
}

.boton-audio.muteado .gota,
.boton-audio.muteado .rayito {
  opacity: 0.35;
}

.boton-audio.muteado .tacha {
  opacity: 1;
}

.boton-audio-txt {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--fuente-titulo);
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--oro-foil);
  opacity: 0.7;
  white-space: nowrap;
  pointer-events: none;
}

/* ═══ Spotify sticky · abajo del botón apagar ═══ */
.spotify-marco-sticky {
  position: fixed;
  top: 100px;
  right: 14px;
  z-index: 55;
  width: 280px;
  background: rgba(7, 12, 24, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  opacity: 0.5;
  transition: opacity 0.6s ease;
  overflow: hidden;
}

.spotify-marco-sticky iframe {
  border-radius: 8px;
  display: block;
}

.spotify-marco-sticky::before {
  content: '♪ Encienda el sonido y baje al Faro';
  display: block;
  font-family: var(--fuente-editorial);
  font-style: italic;
  font-size: 0.65rem;
  color: var(--oro-foil);
  text-align: center;
  padding: 4px 0 6px;
  letter-spacing: 1px;
}

/* ═══ Mobile ═══ */
@media (max-width: 760px) {
  .boton-audio {
    top: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
  }
  .icono-tormenta { width: 26px; height: 26px; }
  .boton-audio-txt { display: none; }

  .spotify-marco-sticky {
    top: 70px;
    right: 8px;
    width: 220px;
    padding: 4px;
  }
  .spotify-marco-sticky::before {
    font-size: 0.55rem;
    padding: 2px 0 4px;
  }
  .spotify-marco-sticky iframe {
    height: 80px !important;
  }
}
