.page-payment-methods {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light backgrounds */
}

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

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

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

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* Assumes shared.css handles body padding-top */
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-payment-methods__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.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;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
  margin: 0 10px;
}

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

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  margin: 0 10px;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: inherit;
}

.page-payment-methods__overview-section,
.page-payment-methods__guide-section,
.page-payment-methods__security-section,
.page-payment-methods__promotions-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 80px 0;
}

.page-payment-methods__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.page-payment-methods__feature-item {
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

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

.page-payment-methods__feature-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-payment-methods__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.page-payment-methods__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: inherit;
}

.page-payment-methods__guide-section.page-payment-methods__light-bg .page-payment-methods__step-item {
  background-color: #f9f9f9;
  color: #333333;
}

.page-payment-methods__step-title {
  font-size: 1.8em;
  color: inherit;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.page-payment-methods__guide-section.page-payment-methods__light-bg .page-payment-methods__step-title {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.page-payment-methods__step-list {
  list-style-type: disc;
  margin-left: 20px;
  line-height: 1.8;
}

.page-payment-methods__step-text {
  line-height: 1.6;
  margin-bottom: 10px;
}

.page-payment-methods__info-text {
  text-align: center;
  font-size: 1em;
  margin-top: 30px;
  line-height: 1.6;
  color: inherit;
}

.page-payment-methods__info-text a {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__info-text a:hover {
  text-decoration: underline;
}

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

.page-payment-methods__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #ffffff;
}

.page-payment-methods__feature-card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-payment-methods__feature-card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-payment-methods__promo-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__promo-card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-payment-methods__promo-card-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__promo-card .page-payment-methods__btn-secondary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 0.9em;
  margin: 0 auto;
}

.page-payment-methods__promo-card .page-payment-methods__btn-secondary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-payment-methods__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-payment-methods__cta-section {
  text-align: center;
  padding: 60px 0;
}

.page-payment-methods__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Ensure all images meet minimum size requirements */
.page-payment-methods img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    padding: 12px 25px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-payment-methods__hero-section {
    height: 450px;
    padding-top: 0; /* Assumes shared.css handles body padding-top */
  }

  .page-payment-methods__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-payment-methods__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 0.9em;
    padding: 10px 20px;
    margin: 5px 0; /* Adjust margin for stacking */
  }

  /* 其他内容模块 */
  .page-payment-methods__overview-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__promotions-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

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

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

  .page-payment-methods__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* 通用图片与容器 */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__feature-item,
  .page-payment-methods__step-item,
  .page-payment-methods__feature-card,
  .page-payment-methods__promo-card,
  .page-payment-methods__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__security-features,
  .page-payment-methods__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__guide-steps {
    gap: 20px;
  }

  .page-payment-methods__step-item,
  .page-payment-methods__feature-item,
  .page-payment-methods__feature-card,
  .page-payment-methods__promo-card {
    padding: 20px;
  }

  .page-payment-methods__step-title,
  .page-payment-methods__feature-title,
  .page-payment-methods__feature-card-title,
  .page-payment-methods__promo-card-title {
    font-size: 1.4em;
  }

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

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

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

  /* 按钮与按钮容器 */
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
  }
}