:root {
  --power-up-pink: #ff3898;
  --glitch-green: #24d46d;
  --bonus-blue: #2227f7;
  --yummy-yellow: #ffd628;

  --neutral-medium: #2227f7; /* Fondo sólido para Contact */
  --neutral-dark: #ccc;
  --neutral-light: #fff;
  --white: #ffffff;
}

/* Fuente general */
body, .contact, .payment-methods, .modal-content {
  font-family: 'Poppins', Arial, sans-serif;
}

/* ==============================
   CONTACT SECTION
============================== */
.contact {
  padding: 100px 0 40px;
  background-color: var(--neutral-medium);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.contact-bg-wave {
  display: none !important;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--yummy-yellow);
}

.contact-info p {
  margin-bottom: 30px;
  font-size: 18px;
  color: var(--white);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--power-up-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  margin-right: 15px;
}

.contact-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--glitch-green);
}

/* Botón abrir modal métodos de pago */
#btnOpenPayments {
  margin-top: 20px;
  background-color: var(--power-up-pink);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#btnOpenPayments:hover {
  background-color: var(--bonus-blue);
}

/* Formulario contacto */
.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  color: #333;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--glitch-green);
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--neutral-dark);
  border-radius: 10px;
  font-size: 16px;
  background-color: var(--neutral-light);
  color: #333;
  transition: border 0.3s ease;
}

.form-control:focus {
  border-color: var(--bonus-blue);
  outline: none;
  background-color: var(--white);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  padding: 15px 30px;
  background: linear-gradient(90deg, #00f5a0, #ff007f, #00c3ff, #ffae00);
  background-size: 400% 400%;
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--bonus-blue);
  transform: translateY(-3px);
}

/* Métodos de pago */
.payment-methods {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  max-width: 400px;
  margin: 20px auto 40px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  color: #333;
}

.payment-methods h3 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.8em;
  color: var(--bonus-blue);
  text-transform: uppercase;
}

.payment-item {
  background: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.payment-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.payment-item h4 {
  margin-bottom: 10px;
  font-size: 1.2em;
  color: var(--power-up-pink);
}

.payment-item img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  max-width: 80vw;
}

.payment-item p {
  font-size: 0.95em;
  color: #555;
  margin: 0 auto;
  max-width: 300px;
}

.payment-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--bonus-blue);
  color: var(--white);
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.payment-button:hover, .payment-button:focus {
  background-color: #1700a3;
  outline: none;
}

/* MODAL ESTILOS */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fefefe;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  padding: 20px 30px;
  position: relative;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.close {
  color: #aaa;
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
}

.modal-content h3 {
  text-align: center;
  margin-bottom: 20px;
}

/* Botón volver dentro modal */
#btnBack {
  background-color: var(--power-up-pink);
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  display: block;
  width: 100%;
  transition: background-color 0.3s ease;
}

#btnBack:hover {
  background-color: var(--bonus-blue);
}

/* Responsive */
@media (max-width: 768px) {
  .contact {
    padding: 50px 20px 40px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info h2 {
    font-size: 28px;
  }

  .contact-info p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .contact-item {
    margin-bottom: 15px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-right: 10px;
  }

  .contact-form {
    padding: 30px 20px;
    box-shadow: none;
  }

  .form-group label {
    font-size: 15px;
  }

  .form-control {
    padding: 12px;
    font-size: 14px;
  }

  textarea.form-control {
    min-height: 120px;
  }

  .submit-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border-radius: 25px;
  }
}

@media (max-width: 480px) {
  .contact-info h2 {
    font-size: 24px;
  }

  .form-control {
    font-size: 13px;
    padding: 10px;
  }

  .payment-methods {
    padding: 15px;
    max-width: 95%;
  }

  .payment-item {
    padding: 12px;
  }

  .payment-item h4 {
    font-size: 1em;
  }

  .payment-item img {
    width: 120px;
  }

  .payment-button {
    padding: 8px 20px;
    font-size: 0.9em;
  }
}
