/* style/payment-methods.css */

/* General Styles */
.page-payment-methods {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #F2FFF6;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  color: #A7D9B8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding */
  overflow: hidden;
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -300px; /* Pull content up over the image, but not overlapping text */
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-payment-methods__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #F2FFF6;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-payment-methods__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-payment-methods__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F;
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

/* Overview Section */
.page-payment-methods__overview-section {
  padding: 60px 0;
  background-color: #0A4B2C;
}

.page-payment-methods__overview-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  max-width: 1000px;
  min-width: 200px;
  object-fit: cover;
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods {
  padding: 60px 0;
  background-color: #08160F;
}

.page-payment-methods__method-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__card-text {
  color: #A7D9B8;
  font-size: 1em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-payment-methods__card-list {
  list-style-type: disc;
  margin-left: 20px;
  color: #A7D9B8;
}

.page-payment-methods__card-list li {
  margin-bottom: 5px;
}

/* Withdrawal Process Section */
.page-payment-methods__withdrawal-process {
  padding: 60px 0;
  background-color: #0A4B2C;
}

.page-payment-methods__ordered-list,
.page-payment-methods__unordered-list {
  max-width: 800px;
  margin: 20px auto 40px auto;
  padding-left: 20px;
  color: #F2FFF6;
  font-size: 1.1em;
}

.page-payment-methods__ordered-list li,
.page-payment-methods__unordered-list li {
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-payment-methods__ordered-list li strong {
  color: #2AD16F;
}

/* Security Section */
.page-payment-methods__security-section {
  padding: 60px 0;
  background-color: #08160F;
  text-align: center;
}

.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  max-width: 800px;
  min-width: 200px;
  object-fit: cover;
}

.page-payment-methods__security-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-payment-methods__security-features li {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 15px 25px;
  color: #F2FFF6;
  font-weight: bold;
  font-size: 1.1em;
  flex: 1 1 calc(50% - 20px);
  max-width: 400px;
  text-align: left;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-payment-methods__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6;
  background-color: #11271B;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #1E3A2A;
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-item summary {
  list-style: none;
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-payment-methods__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8;
  font-size: 1em;
  line-height: 1.6;
}

/* CTA Section */
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #08160F;
  text-align: center;
}

.page-payment-methods__cta-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  max-width: 1000px;
  min-width: 200px;
  object-fit: cover;
}

.page-payment-methods__cta-buttons--bottom {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    margin-top: -200px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__container,
  .page-payment-methods__hero-content,
  .page-payment-methods__method-cards,
  .page-payment-methods__ordered-list,
  .page-payment-methods__unordered-list,
  .page-payment-methods__security-features,
  .page-payment-methods__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__section-title {
    font-size: 2em;
  }

  .page-payment-methods__hero-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

  .page-payment-methods__hero-description {
    font-size: 1em;
  }

  .page-payment-methods__hero-content {
    margin-top: -150px;
    padding: 20px 15px;
  }

  .page-payment-methods__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-process,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__security-features li {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Mobile image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-process,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__faq-item,
  .page-payment-methods__hero-cta-buttons,
  .page-payment-methods__cta-buttons--bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-payment-methods__faq-answer {
    padding: 0 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-content {
    margin-top: -100px;
  }
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__sub-title {
    font-size: 1.5em;
  }
}