/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Section spacing */
.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

.page-payment-methods__subtitle {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-payment-methods__link:hover {
  color: #F2C14E; /* Gold */
}

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

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin-bottom: 30px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-payment-methods__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
  margin-left: 20px;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F; /* Background */
  border-color: #57E38D;
}

/* Benefits Section */
.page-payment-methods__benefits-section {
  background-color: #08160F; /* Background */
}

.page-payment-methods__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-payment-methods__feature-item {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-payment-methods__feature-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

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

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

.page-payment-methods__card {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-payment-methods__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-payment-methods__card-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-payment-methods__card-subtitle {
  font-size: 1.3em;
  color: #57E38D; /* Glow */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-payment-methods__card-text,
.page-payment-methods__card-note {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  margin-bottom: 10px;
}

.page-payment-methods__instruction-list {
  list-style-type: decimal;
  padding-left: 20px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-payment-methods__instruction-list li {
  margin-bottom: 8px;
}

/* Withdrawal Methods Section */
.page-payment-methods__withdrawal-methods {
  background-color: #08160F; /* Background */
}

.page-payment-methods__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-payment-methods__text-column {
  flex: 2;
  min-width: 300px;
  text-align: left;
}

.page-payment-methods__image-column {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.page-payment-methods__image-responsive {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.page-payment-methods__list {
  list-style-type: disc;
  padding-left: 20px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: left;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
}

/* Security Section */
.page-payment-methods__security-section {
  background-color: #11271B; /* Card B G */
  border-top: 1px solid #2E7A4E;
  border-bottom: 1px solid #2E7A4E;
}

.page-payment-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-payment-methods__security-item {
  background-color: #0A4B2C; /* Deep Green */
  padding: 25px;
  border-radius: 8px;
  text-align: left;
  border: 1px solid #2E7A4E;
}

.page-payment-methods__security-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-payment-methods__security-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  background-color: #08160F; /* Background */
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto 30px auto;
  text-align: left;
}

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question {
  border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-payment-methods__faq-item:not([open]) > .page-payment-methods__faq-question {
  border-bottom: none;
}

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

.page-payment-methods__faq-question::marker {
  display: 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; /* Glow */
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card B G */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-payment-methods__faq-answer p {
  margin: 0;
}

.page-payment-methods__image-center {
  margin-top: 40px;
}

/* CTA Section */
.page-payment-methods__cta-section {
  background-color: #11271B; /* Card B G */
  border-top: 1px solid #2E7A4E;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-payment-methods__description {
    font-size: 1.1em;
  }
  .page-payment-methods__feature-item,
  .page-payment-methods__card,
  .page-payment-methods__security-item {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-bottom: 40px;
  }
  .page-payment-methods__hero-content {
    padding: 0 15px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-payment-methods__description {
    font-size: 1em;
  }
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }
  .page-payment-methods__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }
  .page-payment-methods__feature-list,
  .page-payment-methods__card-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .page-payment-methods__text-column,
  .page-payment-methods__image-column {
    min-width: unset;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__faq-list {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-payment-methods__faq-question,
  .page-payment-methods__faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Mobile image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__hero-content,
  .page-payment-methods__content-wrapper,
  .page-payment-methods__text-column,
  .page-payment-methods__image-column,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__faq-list,
  .page-payment-methods__image-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
  }
  .page-payment-methods__deposit-methods .page-payment-methods__card-image {
    max-height: unset;
  }
}