.page-payment-methods {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

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

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small decorative top margin */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Brand color gradient */
  color: #ffffff;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit image height for hero */
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 20px; /* Spacing below image */
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-payment-methods__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-payment-methods__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__btn-primary:hover {
  background-color: #d16b06;
}

.page-payment-methods__intro-section,
.page-payment-methods__deposit-guide,
.page-payment-methods__withdrawal-guide,
.page-payment-methods__security-info,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
}

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

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

.page-payment-methods__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

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

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

.page-payment-methods__card p {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

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

.page-payment-methods__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-payment-methods__dark-section .page-payment-methods__step-item {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-payment-methods__light-bg .page-payment-methods__step-item {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-payment-methods__step-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-payment-methods__light-bg .page-payment-methods__step-title {
  color: #26A9E0;
}

.page-payment-methods__step-item p {
  font-size: 0.95em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-payment-methods__light-bg .page-payment-methods__step-item p {
  color: #555555;
}

.page-payment-methods__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
  border: 2px solid #ffffff;
  cursor: pointer;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bbd;
}

.page-payment-methods__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
  color: inherit;
}

.page-payment-methods__method-list,
.page-payment-methods__note-list,
.page-payment-methods__security-features {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-payment-methods__method-list li,
.page-payment-methods__note-list li,
.page-payment-methods__security-features li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: inherit;
}

.page-payment-methods__method-list li img,
.page-payment-methods__security-features li img {
  
  
  object-fit: contain;
  margin-right: 15px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.2); /* Light background for icons */
  padding: 5px;
}

.page-payment-methods__light-bg .page-payment-methods__method-list li img,
.page-payment-methods__light-bg .page-payment-methods__security-features li img {
  background-color: #f0f0f0;
}

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

.page-payment-methods__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__dark-section .page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #26A9E0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question {
  background-color: #e0f2f7;
}

.page-payment-methods__dark-section .page-payment-methods__faq-question {
  color: #ffffff;
}

.page-payment-methods__dark-section .page-payment-methods__faq-item[open] > .page-payment-methods__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-payment-methods__dark-section .page-payment-methods__faq-toggle {
  color: #ffffff;
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
}

.page-payment-methods__dark-section .page-payment-methods__faq-answer {
  color: #f0f0f0;
}

.page-payment-methods__cta-section {
  text-align: center;
  background: linear-gradient(135deg, #1a7bbd, #26A9E0); /* Brand color gradient */
  color: #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #ffffff;
}

.page-payment-methods__cta-section p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* All images basic responsive styles */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All buttons basic responsive styles */
.page-payment-methods__cta-button,
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary,
.page-payment-methods a[class*="button"],
.page-payment-methods a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

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

  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-guide,
  .page-payment-methods__withdrawal-guide,
  .page-payment-methods__security-info,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

  .page-payment-methods__feature-cards,
  .page-payment-methods__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-payment-methods__card-title,
  .page-payment-methods__step-title {
    font-size: 1.3em;
  }

  .page-payment-methods__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-payment-methods__method-list li,
  .page-payment-methods__note-list li,
  .page-payment-methods__security-features li {
    font-size: 0.95em;
  }

  .page-payment-methods__method-list li img,
  .page-payment-methods__security-features li img {
    
    
    margin-right: 10px;
  }

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

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

  /* Mobile responsive for images */
  .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__intro-section,
  .page-payment-methods__deposit-guide,
  .page-payment-methods__withdrawal-guide,
  .page-payment-methods__security-info,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile responsive for buttons */
  .page-payment-methods__cta-button,
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-payment-methods__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

/* Ensure no filter is used on images */
.page-payment-methods img {
  filter: none; /* Override any potential filter from shared.css */
}

/* Specific override for hero image filter to ensure text readability */
.page-payment-methods__hero-image {
  filter: brightness(0.7); /* Only allowed for darkening background image for text readability */
}