/*
===============================================
REGALOS.CSS - Sección de regalos
===============================================
*/

/* CONTENEDOR PRINCIPAL DE REGALOS */
.regalos {
  background: linear-gradient(135deg, #f8f8f8 0%, #fefefe 100%);
  position: relative;
  text-align: center;
}

.regalos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(158, 133, 186, 0.2),
    transparent
  );
}

/* TÍTULO DE LA SECCIÓN */
.regalos-title {
  color: #2c2c2c;
  margin-bottom: 2rem;
  position: relative;
}

.regalos-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(
    135deg,
    var(--color-lila-oscuro) 0%,
    var(--color-lila-principal) 100%
  );
  border-radius: 2px;
}

/* CONTENIDO DE LA SECCIÓN */
.regalos-content {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1s ease-out;
}

.regalos-intro {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
  text-align: center;
  width: 100%;
}

/* OPCIÓN DE REGALO (tarjeta centrada) */
.regalo-opcion {
  background: linear-gradient(135deg, #fefefe, #f8f8f8);
  border: 2px solid rgba(158, 133, 186, 0.2);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.regalo-opcion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(158, 133, 186, 0.05),
    rgba(211, 195, 228, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.regalo-opcion:hover::before {
  opacity: 1;
}

.regalo-opcion:hover {
  border-color: rgba(158, 133, 186, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(158, 133, 186, 0.2);
}

.regalo-opcion h4 {
  color: #2c2c2c;
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.regalo-opcion > p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Bloque alias + titular y agradecimiento apilados y centrados */
.cuentas-bancarias {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  width: 100%;
}

/* INFORMACIÓN DE CUENTA */
.cuenta-info {
  background: rgba(158, 133, 186, 0.1);
  border: 1px solid rgba(158, 133, 186, 0.3);
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 380px;
}

.cuenta-info:hover {
  background: rgba(158, 133, 186, 0.15);
  border-color: rgba(158, 133, 186, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(158, 133, 186, 0.2);
}

.cuenta-info p {
  margin-bottom: 5px;
  font-size: 1.1rem;
  color: #555;
}

.cuenta-info p:last-child {
  margin-bottom: 0;
}

.cuenta-info strong {
  color: #2c2c2c;
  font-weight: 600;
}

.regalos-gracias {
  margin: 0;
  color: var(--color-lila-oscuro);
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
}

/* ANIMACIONES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .regalos-title::after {
    width: 60px;
  }

  .regalos-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .regalo-opcion {
    padding: 20px;
    border-radius: 12px;
  }

  .regalo-opcion h4 {
    font-size: 1.1rem;
  }

  .cuenta-info {
    padding: 12px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .regalo-opcion {
    padding: 15px;
  }

  .regalo-opcion h4 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .regalos-intro {
    font-size: 1rem;
  }

  .cuenta-info {
    padding: 10px;
  }

  .cuenta-info p {
    font-size: 0.85rem;
  }

  .regalos-gracias {
    font-size: 1rem;
  }
}

/* ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) {
  .regalos-content {
    animation: none;
  }

  .regalo-opcion:hover {
    transform: none;
  }
}

/* COMPORTAMIENTO EN DISPOSITIVOS TÁCTILES */
@media (hover: none) {
  .regalo-opcion:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(158, 133, 186, 0.2);
  }

  .regalo-opcion:hover::before {
    opacity: 0;
  }

  .cuenta-info:hover {
    background: rgba(158, 133, 186, 0.1);
    border-color: rgba(158, 133, 186, 0.3);
  }
}
