/* ============================
   Estilos Mis Favoritos
   Ruta: ./assets/css/favoritos.css
   ============================ */

#toast {
  will-change: transform, opacity;
}

/* Fondo general */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(ellipse at 40% 30%, #2e003f 0%, #0d0018 100%);
  min-height: 100vh;
  color: #fdf4ff;
  animation: bgmove 13s ease-in-out infinite alternate;
}

@keyframes bgmove {
  0%   { background-position: 20% 30%; }
  100% { background-position: 80% 70%; }
}

/* Header neon */
.header-neon {
  background: linear-gradient(90deg, #1e0033 0%, #5e0892 60%, #00ffc3 100%);
  box-shadow:
    0 0 30px #ff31b699,
    0 0 60px #00ffc355;
  border-bottom: 4px solid #a040fd;
}

/* Botón neon genérico */
.btn-neon {
  background: linear-gradient(90deg, #a040fd 10%, #ff31b6 70%, #00ffc3 100%);
  color: #ffffff;
  font-weight: bold;
  box-shadow:
    0 0 15px #ff31b6,
    0 0 30px #00ffc3;
  border: none;
  transition:
    filter .15s,
    transform .14s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-neon:hover {
  filter: brightness(1.15) drop-shadow(0 0 12px #00ffc3);
  transform: scale(1.05);
}

/* Botón de favorito (corazón) dentro de tarjetas */
.favorito-btn {
  position: absolute;
  top: 13px;
  right: 15px;
  z-index: 2;
  background: rgba(16, 0, 26, 0.92);
  border-radius: 100%;
  padding: 8px 10px 6px 10px;
  border: 2px solid #ff31b699;
  transition:
    filter .13s,
    transform .15s;
  font-size: 1.4rem;
  color: #ff31b6;
  box-shadow:
    0 0 6px #ff31b655,
    0 0 10px #00ffc399;
}

.favorito-btn:hover {
  color: #00ffc3;
  filter: brightness(1.2) drop-shadow(0 0 7px #00ffc3);
  transform: scale(1.10);
}

/* Etiquetas con glow (si las usas en tarjetas) */
.glow-tag {
  box-shadow:
    0 0 8px #a21caf,
    0 0 18px #f472b6;
  border: 1.5px solid #a21caf !important;
  background: linear-gradient(
    90deg,
    rgba(236, 72, 153, 0.18) 0%,
    rgba(139, 92, 246, 0.18) 100%
  );
  animation: etiquetaNeonGlow 1.4s infinite alternate;
}

@keyframes etiquetaNeonGlow {
  from {
    box-shadow:
      0 0 7px #a21caf,
      0 0 12px #f472b6;
    filter: brightness(0.98) blur(0.2px);
  }
  to {
    box-shadow:
      0 0 18px #f0abfc,
      0 0 26px #a21caf;
    filter: brightness(1.08) blur(0.6px);
  }
}

/* Latido para el icono de favorito cuando se activa */
.heartbeat {
  animation: heartbeat 0.44s;
}

@keyframes heartbeat {
  0%   { transform: scale(1); }
  18%  { transform: scale(1.25); }
  32%  { transform: scale(0.92); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
