/* style/payment-methods.css */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from shared.css body */
}

.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;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
  color: #F3F8FF;
  background-color: #08162B;
}

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

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F3F8FF;
  margin-bottom: 20px;
}

.page-payment-methods__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #FFFFFF;
  border: none;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 1px solid #244D84; /* Border Color */
}

.page-payment-methods__btn-secondary:hover {
  background: #244D84; /* Border Color */
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-payment-methods__section {
  padding: 60px 0;
  background-color: #08162B;
}

.page-payment-methods__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F3F8FF;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-payment-methods__description-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #AFC4E8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-payment-methods__text-block {
  font-size: 1rem;
  line-height: 1.7;
  color: #AFC4E8;
  margin-bottom: 20px;
}

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

.page-payment-methods__method-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 150px; /* Ensure icon is not too small but not too big */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__method-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F3F8FF;
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #AFC4E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__method-link {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-payment-methods__method-link:hover {
  text-decoration: underline;
  color: #2B73F6;
}

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

.page-payment-methods__step-item {
  background-color: #10233F;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-payment-methods__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-payment-methods__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F3F8FF;
  margin-bottom: 10px;
}

.page-payment-methods__step-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #AFC4E8;
}

.page-payment-methods__note-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-top: 40px;
  font-weight: 500;
}

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

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

.page-payment-methods__advantage-item {
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  background-color: #10233F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__advantage-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__advantage-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F3F8FF;
  margin-bottom: 15px;
}

.page-payment-methods__advantage-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #AFC4E8;
}

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

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F3F8FF;
  cursor: pointer;
  background-color: #1B3357; /* Divider */
  border-bottom: 1px solid #244D84;
  list-style: none;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid #244D84;
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #4FA8FF;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #AFC4E8;
  background-color: #10233F;
}

.page-payment-methods__cta-final .page-payment-methods__container {
  padding: 50px;
  background-color: #10233F; /* Card BG */
  border-radius: 15px;
  text-align: center;
}

.page-payment-methods__cta-final .page-payment-methods__section-title {
  margin-bottom: 25px;
}

.page-payment-methods__cta-final .page-payment-methods__description-text {
  margin-bottom: 40px;
}

.page-payment-methods__dark-section {
  background-color: #08162B;
}

.page-payment-methods__dark-bg {
  background-color: #08162B;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    padding: 0 40px;
  }

  .page-payment-methods__main-title {
    font-size: 2.8rem;
  }

  .page-payment-methods__section-title {
    font-size: 2.2rem;
  }

  .page-payment-methods__methods-grid,
  .page-payment-methods__guide-steps,
  .page-payment-methods__advantages-grid {
    gap: 20px;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__step-item,
  .page-payment-methods__advantage-item {
    padding: 25px;
  }

  .page-payment-methods__faq-question {
    font-size: 1.05rem;
    padding: 18px 20px;
  }

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

  .page-payment-methods__cta-final .page-payment-methods__container {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 400px;
  }

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

  .page-payment-methods__main-title {
    font-size: 2rem !important;
    margin-bottom: 15px;
  }

  .page-payment-methods__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  /* 其他内容模块 */
  .page-payment-methods__section {
    padding: 40px 0;
  }

  .page-payment-methods__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 30px;
  }

  .page-payment-methods__description-text {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

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

  .page-payment-methods__methods-grid,
  .page-payment-methods__guide-steps,
  .page-payment-methods__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__step-item,
  .page-payment-methods__advantage-item {
    padding: 20px;
  }

  .page-payment-methods__method-title,
  .page-payment-methods__advantage-title {
    font-size: 1.2rem;
  }

  .page-payment-methods__method-description,
  .page-payment-methods__advantage-description,
  .page-payment-methods__step-description,
  .page-payment-methods__text-block,
  .page-payment-methods__note-text {
    font-size: 0.9rem;
  }

  .page-payment-methods__faq-question {
    font-size: 1rem !important;
    padding: 15px 18px;
  }

  .page-payment-methods__faq-answer {
    padding: 15px 18px;
    font-size: 0.9rem;
  }

  .page-payment-methods__cta-final .page-payment-methods__container {
    padding: 30px 15px;
  }
}