/* ===== SECCIÓN DE REGALOS ===== */
.gifts-section {
  background: linear-gradient(
    135deg,
    rgba(255, 250, 231, 0.7) 0%,
    rgba(255, 250, 231, 0.5) 50%,
    rgba(255, 250, 231, 0.7) 100%
  );
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.gifts-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23d4af37" opacity="0.1"/></svg>')
    repeat;
  animation: float 20s linear infinite;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-50px, -50px) rotate(360deg);
  }
}

/* ===== CONTENIDO DE REGALOS ===== */
.gifts-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.gifts-text {
  margin-bottom: var(--space-lg);
}

.gifts-text p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-text-dark);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

/* ===== BOTÓN DE REGALOS ===== */
.gifts-button {
  background: linear-gradient(
    135deg,
    var(--color-verde-oliva-claro) 0%,
    var(--color-verde-oliva) 100%
  );
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 50px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.gifts-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.gifts-button:active {
  transform: translateY(-1px);
}

.gifts-button .fas {
  color: var(--color-white);
  font-size: 1.1rem;
}

/* ===== MODAL DE REGALOS ===== */
.gifts-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.gifts-modal.active {
  opacity: 1;
  visibility: visible;
}

.gifts-modal .modal-content {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gifts-modal.active .modal-content {
  transform: scale(1);
}

/* ===== CERRAR MODAL ===== */
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 3rem;
  color: var(--color-text-light);
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--color-text-dark);
}

/* ===== TÍTULO DEL MODAL ===== */
.modal-title {
  font-family: "Nefelibata Script", sans-serif;
  font-size: 2.2rem;
  color: var(--color-verde-oliva-claro);
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-right: 30px;
}

/* ===== CUENTAS BANCARIAS ===== */
.bank-accounts {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.account-card {
  background: linear-gradient(
    135deg,
    var(--color-cream) 0%,
    var(--color-white) 100%
  );
  padding: var(--space-md);
  border-radius: var(--border-radius);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  transition: all 0.3s ease;
}

.account-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

/* ===== ÍCONO DEL BANCO ===== */
.bank-icon {
  background: var(--color-verde-oliva-claro);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px var(--color-verde-oliva-claro);
}

.bank-icon .fas {
  font-size: 1.2rem;
  color: var(--color-white);
}

/* ===== DETALLES DE LA CUENTA ===== */
.account-details {
  flex: 1;
}

.account-details h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.account-details p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.account-details strong {
  color: var(--color-verde-oliva-claro);
  font-weight: 600;
}

/* ===== NOTA DEL MODAL ===== */
.modal-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-light);
  font-style: italic;
  border-top: 1px solid var(--color-primary);
  padding-top: var(--space-md);
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .gifts-section {
    padding: var(--space-lg) 0;
  }

  .gifts-text p {
    font-size: 1rem;
  }

  .gifts-button {
    font-size: 1.1rem;
    padding: var(--space-sm) var(--space-md);
  }

  .gifts-modal .modal-content {
    padding: var(--space-lg);
    margin: var(--space-sm);
  }

  .modal-title {
    font-size: 1.8rem;
  }

  .account-card {
    padding: var(--space-sm);
  }

  .bank-icon {
    width: 45px;
    height: 45px;
  }

  .bank-icon .fas {
    font-size: 1.1rem;
  }

  .account-details h4 {
    font-size: 1.1rem;
  }

  .account-details p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .gifts-button {
    font-size: 1rem;
    gap: var(--space-xs);
  }

  .gifts-modal .modal-content {
    padding: var(--space-md);
    width: 95%;
  }

  .modal-title {
    font-size: 1.6rem;
    margin-bottom: var(--space-md);
  }

  .account-card {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .bank-icon {
    align-self: center;
    width: 40px;
    height: 40px;
  }

  .account-details {
    text-align: left;
  }

  .account-details p {
    font-size: 0.8rem;
  }

  .modal-note {
    font-size: 0.9rem;
  }
}

/* ===== ANIMACIÓN DE ENTRADA ===== */
.gifts-section {
  animation: fadeInScale 0.8s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
