/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #0000FF;
  padding: 20px;
}

/* Contenedor */
.container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

/* Tarjeta */
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
}

.card:hover {
  transform: scale(1.05);
}

/* Imagen */
.image {
  margin-top: 15px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Texto */
h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.text {
  font-size: 1.2rem;
  margin: 10px 0;
}

/* Corazones */
.heart {
  color: #FF0000;
}

/* Etiqueta */
.tag {
  display: inline-block;
  background: #007BFF;
  color: #0000FF;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: bold;
  margin: 8px 0;
  box-shadow: 0 0 10px rgba(0,123,255,0.8);
}



/* Botón volver arriba */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ff4081, #ff6f61);
  color: white;
  border: none;
  padding: 14px 18px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 15px rgba(255, 64, 129, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#backToTop:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px rgba(255, 64, 129, 0.9);
}

/* ❤️ Corazones flotantes ❤️ */
.floating-heart {
  position: fixed;
  bottom: 0;
  font-size: 24px;
  color: #ff4d6d;
  animation: flotar linear forwards;
  z-index: 9999;
}

@keyframes flotar {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

.footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #ccc;
    font-style: italic;
}

.footer {
  color: #ff4081;
  text-decoration: none;
}

/* Responsivo */
@media (max-width: 600px) {
  .card {
    width: 100%;
    padding: 15px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .text {
    font-size: 1rem;
  }
}

/* ===== BOTÓN DE MÚSICA ===== */
.music-control {
  position: fixed;
  arriba: 10 px;
  left: 20px;
  z-index: 10;
}

#musicBtn {
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

#musicBtn:hover {
  background: #ad1457;
}
#audioPlayer {
  display: none;
}
