/* 🔹 Animación de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔹 Animación del brillo del botón */
@keyframes pulseShadow {
  0% {
    box-shadow: 0 0 25px #c600a5,
                0 0 25px #c600a5,
                0 0 5px #c600a5 inset;
  }
  50% {
    box-shadow: 0 0 30px #c600a5,
                0 0 30px #c600a5,
                0 0 10px #c600a5 inset;
  }
  100% {
    box-shadow: 0 0 25px #c600a5,
                0 0 25px #c600a5,
                0 0 5px #c600a5 inset;
  }
}

body {
  font-family: "Bebas Neue", sans-serif;
  background-color: #1D1D27;
  animation: fadeIn 1s ease-in-out;
  background-image: url('./img/diseño.jpg');
  background-size: contain;
  background-position: center;
}

/* 🔹 Logo */
.logo {
  display: flex;
  justify-content: center;
  margin: 0;
}

.logo img {
  width: 15rem;
  animation: rotateIn 2s ease-in-out;
}

/* 🔹 Título principal */
.main-title {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-title p {
  margin: 0;
  font-size: 40px;
  text-shadow: 4px 4px 8px rgba(2, 2, 2, 0.5);
}

.main-title p:first-child {
  color: rgb(255, 255, 255);
}

.main-title p:nth-child(2) {
  color: white;
}

.main-title h2 {
  margin: 0;
  font-size: 40px;
  color: #fcfcfc;
  text-shadow: 4px 4px 8px rgba(2, 2, 2, 0.5);
}

.main-title p, .main-title h2 {
  animation: fadeIn 1.2s ease-in-out;
}

/* 🔹 Bloque CTA (texto + botón) */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cta-text {
  color: #fff;
  font-size: 32px;
  line-height: 1.1;
  text-align: center;
  text-shadow: 4px 4px 8px rgba(2, 2, 2, 0.5);
  margin: 0;
}

/* 🔹 Sección WhatsApp */
.whatsapp {
  margin: 3rem 0 1rem 0;
  display: flex;
  justify-content: center;
}

.button {
  padding: 0.6em 1.3em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 30px;
  background-color: #17171B;
  border-radius: 10px;
  border: 1px solid #c600a5;
  color: aliceblue;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  animation: pulseShadow 2s infinite ease-in-out;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px #c600a5,
              0 0 30px #c600a5,
              0 0 10px #c600a5 inset;
}

/* Ícono WhatsApp nítido */
.button img {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  vertical-align: middle;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* 🔹 Información mínima */
.MINIMO {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.MINIMO p {
  font-size: 25px;
  text-align: center;
}

/* 🔹 Secciones informativas */
.info-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #17171B;
  padding: 10px;
  margin: 30px auto;
  width: 500px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(198, 0, 165, 1);
  animation: fadeIn 1.5s ease-in-out;
}

.info-logo {
  width: 60px;
  height: 60px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid #341e74;
}

/* 🔹 Contenedor de textos bancarios */
.info-text-container {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.info-text {
  color: white;
  font-size: 22px;
  margin: 3px 0;
}

/* 🔹 Términos legales */
.TERMINO {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 40px auto;
  width: 90%;
  max-width: 1200px;
  border-radius: 10px;
}

.TERMINO .info-text {
  text-align: center;
}

/* 🔹 Diseño responsive */
@media (min-width: 320px) and (max-width: 600px) {
  .info-section {
    flex-direction: column;
    padding: 8px;
    margin: 8px auto;
    width: 92%;
  }

  .info-logo {
    margin-bottom: 8px;
    width: 35px;
    height: 35px;
  }

  .info-text {
    font-size: 20px;
    line-height: 1.3;
  }

  .cta-text {
    font-size: 26px;
  }

  .button {
    font-size: 26px;
  }
}


/* 🔹 Centrar el botón completamente */
.cta {
  display: flex;
  justify-content: center;   /* <— centra horizontalmente */
  align-items: center;       /* centra verticalmente dentro del div */
  width: 100%;
  margin: 40px 0;
}

/* 🔹 Botón principal */
.button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #17171B;
  border: none;
  padding: 13px 40px;
  cursor: pointer;
  animation: pulseShadow 2s infinite ease-in-out;
  transition: transform 0.3s ease-in-out;
  
}

/* 🔹 Imagen del botón (tu logo grande y nítido) */
.button img {
  width: 220px;                    /* tamaño grande y nítido */
  height: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 15px rgba(198, 0, 165, 0.9)); /* brillo */
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* 🔹 Efecto hover */
.button:hover img {
  filter: drop-shadow(0 0 25px rgba(198, 0, 165, 1));
  transform: scale(1.05);
}

/* 🔹 Adaptación móvil */
@media (max-width: 600px) {
  .button img {
    width: 160px;
  }
}

/* 🔹 Texto dentro del botón */
.button span {
  font-size: 25px;         /* antes heredaba ~30px, ahora más chico */
  color: #f0f8ff;
  letter-spacing: 1px;
  margin-left: 10px;       /* pequeño espacio respecto a la imagen */
  text-transform: uppercase;
}
