/* Base styles for the payment methods page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* From shared.css, dark background */
}

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

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

.page-payment-methods__section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
}

.page-payment-methods__section-intro {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px;
}

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

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

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

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

.page-payment-methods__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 20px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 40px;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: #F3F8FF; /* Text Main */
  border: 2px solid #2B73F6;
}

.page-payment-methods__btn-secondary:hover {
  background: rgba(43, 115, 246, 0.1);
  transform: translateY(-3px);
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods .page-payment-methods__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-payment-methods__method-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-payment-methods__method-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__card-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF; /* Text Main */
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-payment-methods__card-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Withdrawal Guide Section */
.page-payment-methods__withdrawal-guide {
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
}

.page-payment-methods__withdrawal-guide .page-payment-methods__section-title,
.page-payment-methods__withdrawal-guide .page-payment-methods__section-intro {
  color: #F3F8FF;
}

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

.page-payment-methods__step-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
}

.page-payment-methods__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-payment-methods__step-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

.page-payment-methods__info-block {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 12px;
  padding: 40px;
}

.page-payment-methods__info-image {
  max-width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__info-content {
  flex: 1;
}

.page-payment-methods__info-title {
  font-size: 28px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
}

.page-payment-methods__info-description {
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Important Notes Section */
.page-payment-methods__important-notes .page-payment-methods__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-payment-methods__notes-item {
  background: #10233F; /* Card BG */\  border: 1px solid #244D84; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
}

.page-payment-methods__notes-heading {
  font-size: 22px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-payment-methods__notes-item p {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
}

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

.page-payment-methods__text-link:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
  text-align: center;
}

.page-payment-methods__faq-section .page-payment-methods__section-title {
  color: #F3F8FF;
}

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

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG */
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: #1B3357; /* Divider - slightly lighter dark */
}

.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #F3F8FF; /* Text Main */
  text-align: left;
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 8px 8px;
}

.page-payment-methods__faq-answer p {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

/* Conclusion Section */
.page-payment-methods__conclusion {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #113B7A;
}

.page-payment-methods__conclusion .page-payment-methods__section-title,
.page-payment-methods__conclusion .page-payment-methods__section-intro {
  color: #F3F8FF;
}

/* General image styles for content area */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__container {
    padding: 20px 30px;
  }

  .page-payment-methods__section-title {
    font-size: 34px;
  }

  .page-payment-methods__hero-description {
    font-size: 18px;
  }

  .page-payment-methods__info-block {
    flex-direction: column;
    text-align: center;
  }

  .page-payment-methods__info-image {
    max-width: 80%;
    margin-bottom: 30px;
  }

  .page-payment-methods__info-content {
    padding: 0;
  }

  .page-payment-methods__info-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-payment-methods__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
  }
  .page-payment-methods__hero-image-wrapper {
    position: relative;
    height: 250px;
    margin-bottom: 20px;
  }
  .page-payment-methods__hero-image {
    object-fit: contain !important; /* Mobile: contain to prevent cropping */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    filter: brightness(0.6); /* Less darkening for smaller screens */
  }
  .page-payment-methods__hero-content {
    padding: 0 15px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(28px, 8vw, 42px);
    margin-bottom: 15px;
  }
  .page-payment-methods__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  
  /* 按钮与按钮容器 */
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods__card-btn,
  .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;
    display: flex;
    flex-direction: column;
  }

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

  .page-payment-methods__section {
    padding: 40px 0;
  }

  .page-payment-methods__section-title {
    font-size: 28px;
  }

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

  /* 通用图片与容器 */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__info-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 (methods-grid) */
  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-payment-methods__method-card {
    padding: 20px;
  }
  .page-payment-methods__method-icon {
    max-width: 180px;
    margin-bottom: 20px;
  }
  .page-payment-methods__method-title {
    font-size: 20px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-payment-methods__withdrawal-guide .page-payment-methods__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
  }
  .page-payment-methods__step-card {
    padding: 20px;
  }
  .page-payment-methods__info-block {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  .page-payment-methods__info-image {
    max-width: 100%;
    margin-bottom: 0;
  }
  .page-payment-methods__info-title {
    font-size: 22px;
  }
  .page-payment-methods__info-description {
    font-size: 15px;
  }

  .page-payment-methods__notes-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-payment-methods__notes-item {
    padding: 20px;
  }
  .page-payment-methods__notes-heading {
    font-size: 20px;
  }
  .page-payment-methods__notes-item p {
    font-size: 15px;
  }

  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
    padding: 15px;
  }
  .page-payment-methods__faq-qtext {
    font-size: 16px;
  }
  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
    padding: 0 15px 15px;
  }
  .page-payment-methods__faq-answer p {
    font-size: 15px;
  }

  .page-payment-methods__conclusion {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}