html {
    height: 100%;
  }
  
  /* TIPO DE LETRA PARA TODA LA PAGINA TOMADA DE GOOGLE FONT*/
  @import url("https://fonts.googleapis.com/css2?family=Merienda:wght@300..900&display=swap");
  /* Fuente moderna para botones/chips */
  @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
  
  /* MARGEN DE TODA LA PAGINA */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* CONFIGURACION PARA EL CUERPO DE LA PAGINA E IMAGEN DE FONDO */
  body {
  height: 100%;
    font-family: "Merienda";
  
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgb(0, 0, 0, 0.7)),
      url(../img/pdfcover.jpg);
    background-attachment: fixed;
    background-size: cover;
    min-height: 100%;
    background-position: center;
    /*display: flex;*/
    flex-direction: column;
  }
  
  /* CONFIGURACION PARA LOS LOGOS DE REDES SOCIALES*/
.redes a img {
    width: 40px;
    display: inline-block;
    margin: 8px;
    
  }
  
/* Barra informativa superior con estilo cristal similar a piano */
.info {
  background: linear-gradient(135deg, rgba(255, 64, 194, 0.75) 0%, rgba(255, 114, 216, 0.62) 60%, rgba(255, 142, 228, 0.58) 100%);
  color: #ffffff;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.25px;
  line-height: 1.45;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(13, 17, 23, 0.32), inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px) saturate(1.15);
  -webkit-backdrop-filter: blur(6px) saturate(1.15);
  text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.18);
}

.info p { 
  margin: 0; 
  font: inherit; 
  letter-spacing: inherit;
}







  /* CONFIGURACION DE LA POCICION DE LA BARRA DE NAV  , INICIO / SABORE ETC */
header {
  padding: 16px 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
}

/* CONFIGURACION DE LA BARRA DE NAVEGACION ORDEN DE LAS OPCIONES INCIO SABORES ETC */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 16px;
}




/* CONFIGURACION DE LA BARRA DE NAVEGACION */
nav ul li a {
  text-decoration: none;
  color: #eaf4ff;
  font-size: 15px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  backdrop-filter: saturate(1.2) blur(4px);
  display: inline-block;
  width: 130px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Aviso central con estilo glass oscuro y tipografía moderna */
h4{
  margin: 8px 0 12px;
  width: 100%;
  max-width: none;
  padding: 12px 18px;
  text-align: center;
  color: #eaf4ff;
  font-size: clamp(14px, 1.6vw, 18px);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.25px;
  background: linear-gradient(135deg, rgba(28, 33, 39, 0.55) 0%, rgba(28, 33, 39, 0.35) 100%);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(13, 17, 23, 0.32), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
  text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.18);
}



.pdfsongsgallery  {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: start;
  justify-content: center;
  padding: 16px 3% 24px;
}

/* Tarjeta moderna para cada elemento */
.pdfsongsgallery > div {
  background: rgba(28, 33, 39, 0.58);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  /* Sombra base + marco neón suave */
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),               /* profundidad */
    0 0 0 1.2px rgba(167, 139, 250, 0.45),         /* anillo tenue */
    0 0 12px rgba(167, 139, 250, 0.35),            /* glow violeta */
    0 0 22px rgba(16, 185, 129, 0.25);             /* glow teal */
  backdrop-filter: blur(6px) saturate(1.05);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  height: 320px;
  display: flex;
  flex-direction: column;
  position: relative;
  will-change: transform, box-shadow;
  animation: neonPulse 4s ease-in-out infinite;
}

.pdfsongsgallery > div:hover {
  transform: translateY(-2px);
  /* Profundidad + brillo neón intensificado */
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.32),
    0 0 0 1.6px rgba(167, 139, 250, 0.6),
    0 0 16px rgba(167, 139, 250, 0.5),
    0 0 34px rgba(16, 185, 129, 0.35);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Menos intensidad de neón en pantallas pequeñas */
@media (max-width: 480px) {
  .pdfsongsgallery > div {
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.26),
      0 0 0 1px rgba(167, 139, 250, 0.35),
      0 0 10px rgba(167, 139, 250, 0.28),
      0 0 18px rgba(16, 185, 129, 0.22);
  }
}

/* Contenedor de imagen dentro de la tarjeta */
.pdfsongsgallery > div .image-wrap {
  position: relative;
}

/* Botón centrado: área clicable solo en el ícono PDF */
.pdfsongsgallery > div > a.pdf-center-click {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  display: block;
  z-index: 3;
}

/* Burbuja PDF centrada como antes */
.pdfsongsgallery > div > a.pdf-center-click::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #a78bfa 0%, #7c3aed 45%, #22d3ee 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32), inset 0 -4px 9px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  filter: saturate(1.1);
  pointer-events: none;
  z-index: 2;
  transition: box-shadow 140ms ease, filter 140ms ease;
}

/* Icono PDF centrado sobre la burbuja */
.pdfsongsgallery > div > a.pdf-center-click::after {
  content: "\f1c1"; /* fa-file-pdf */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f8fafc;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 3;
  transition: color 200ms ease, text-shadow 160ms ease;
}

/* Badge precio estático dentro del enlace de imagen */
.pdfsongsgallery > div .image-wrap .price-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  color: #ffffff;
  background: color-mix(in oklab, #7aa2ff, black 30%);
  border: 1px solid color-mix(in oklab, #7aa2ff, white 30%);
  box-shadow: 0 4px 14px rgba(0,0,0,.38);
  pointer-events: none; /* completamente no interactivo */
  cursor: default;
  transition: none;
  z-index: 4;
}

/* Tooltip accesible: mostrar “Pay” al pasar o enfocar */
.pdfsongsgallery > div > a:last-of-type .price-badge::after {
  content: none;
  display: none;
}

.pdfsongsgallery > div > a:last-of-type .price-badge:hover,
.pdfsongsgallery > div > a:last-of-type .price-badge:focus-visible {
  /* sin efectos de hover/focus */
}

.pdfsongsgallery > div > a.pdf-center-click:hover::before,
.pdfsongsgallery > div > a.pdf-center-click:focus-visible::before {
  /* sin cambio de tamaño; hover sutil */
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36), inset 0 -4px 9px rgba(0, 0, 0, 0.22);
  filter: saturate(1.06) brightness(1.02);
}

.pdfsongsgallery > div > a.pdf-center-click:hover::after,
.pdfsongsgallery > div > a.pdf-center-click:focus-visible::after {
  color: #fdfefe;
  text-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.4);
}



/* Ajuste general; se sobrescribe dentro de la galería */
img{
  width: 200px;
  height: auto;
  margin: 5px;
}



.pdfsongsgallery img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
  background: #000;
}

.pdfsongsgallery h1{
  text-align: center;
  color: #fcfeff;
  font-size: 18px;
  line-height: 1.35;
  margin: 10px 12px 6px;
  min-height: 44px;
  overflow: hidden;
  padding: 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  font-weight: 800;
}

h3{
  text-align: center;
  color: #eaf4ff;
  font-size: 14px;
  font-weight: 700;
}

/* Botón de acción "Escuchar la canción" dentro de la tarjeta */
.pdfsongsgallery a h3{
  display: block;
  width: fit-content;
  margin: 10px auto 14px;
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.55), rgba(16, 185, 129, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  letter-spacing: 0.2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight: 700;
}
.pdfsongsgallery a:hover h3{
  filter: brightness(1.08);
  transform: translateY(-1px);
}


.pdfsongsgallery img:hover{
  filter: brightness(1.06);
}

@media (max-width: 600px) {
  .pdfsongsgallery {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding-top: 110px;
  }
  .pdfsongsgallery h1 { font-size: 16px; }
}
/* Títulos en tarjetas: fuente moderna y una sola línea */
.pdfsongsgallery h1 {
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  font-weight: 600;
  font-size: clamp(0.85rem, 0.9vw + 0.45rem, 1.05rem);
  line-height: 1.2;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Más pequeño en móviles */
@media (max-width: 480px) {
  .pdfsongsgallery h1 {
    font-size: 0.85rem;
    letter-spacing: 0.1px;
  }
}

@media (max-width: 360px) {
  .pdfsongsgallery h1 {
    font-size: 0.8rem;
  }
}
/* Quitar decoración del texto "Escuchar la canción" en todas las tarjetas */
.pdfsongsgallery a {
  text-decoration: none;
}

.pdfsongsgallery a h3 {
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 10px auto 14px;
  display: block;
  width: fit-content;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pdfsongsgallery a h3:hover {
  transform: none;
  filter: none;
}
/* Estilo moderno para el texto "Escuchar la canción" */
.pdfsongsgallery a h3 {
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: #e5e7eb; /* slate-200 ligeramente más claro */
  position: relative;
  padding: 0 2px;
  transition: color 0.25s ease;
}

.pdfsongsgallery a h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #a78bfa, #c084fc);
  transition: width 0.25s ease;
}

.pdfsongsgallery a:hover h3,
.pdfsongsgallery a:focus-visible h3 {
  color: #f1f5f9; /* casi blanco, más liviano */
}

.pdfsongsgallery a:hover h3::after,
.pdfsongsgallery a:focus-visible h3::after {
  width: 100%;
}

.pdfsongsgallery a:focus-visible h3 {
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.45);
  border-radius: 4px;
}
@keyframes neonPulse {
  0% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.28),
      0 0 0 1.2px rgba(167, 139, 250, 0.45),
      0 0 12px rgba(167, 139, 250, 0.35),
      0 0 22px rgba(16, 185, 129, 0.25);
  }
  50% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.30),
      0 0 0 1.4px rgba(167, 139, 250, 0.55),
      0 0 14px rgba(167, 139, 250, 0.42),
      0 0 26px rgba(16, 185, 129, 0.30);
  }
  100% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.28),
      0 0 0 1.2px rgba(167, 139, 250, 0.45),
      0 0 12px rgba(167, 139, 250, 0.35),
      0 0 22px rgba(16, 185, 129, 0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdfsongsgallery > div { animation: none; }
}
/* Más pequeño en móviles: banners .info y h4 */
@media (max-width: 480px) {
  .info { font-size: clamp(13px, 1.5vw, 17px); padding: 10px 14px; letter-spacing: 0.2px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14); }
  h4 { font-size: clamp(13px, 1.5vw, 17px); padding: 10px 14px; letter-spacing: 0.2px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14); }
}

@media (max-width: 360px) {
  .info { font-size: clamp(12px, 1.4vw, 16px); padding: 8px 12px; letter-spacing: 0.2px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12); }
  h4 { font-size: clamp(12px, 1.4vw, 16px); padding: 8px 12px; letter-spacing: 0.2px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12); }
}
