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

/* Common container for content sections */
.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Hero Section */
.page-payment-methods__hero-section {
    padding-top: 10px; /* Minimal padding-top, body handles header offset */
    position: relative;
    text-align: center;
    overflow: hidden;
    margin-bottom: 40px;
}
.page-payment-methods__hero-image {
    width: 100%;
    height: 500px; /* Adjust as needed */
    overflow: hidden;
    margin-bottom: 20px;
}
.page-payment-methods__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Default desktop */
    display: block;
}
.page-payment-methods__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 15px;
    position: relative; /* Ensure it's above image if any z-index issues */
    z-index: 1;
}
.page-payment-methods__hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size clamp, no fixed large value */
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}
.page-payment-methods__hero-content p {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
}
.page-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* For mobile */
}
.page-payment-methods__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for bright button */
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    max-width: 100%; /* For mobile */
    box-sizing: border-box; /* For mobile */
    white-space: normal; /* For mobile */
    word-wrap: break-word; /* For mobile */
}
.page-payment-methods__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-payment-methods__section {
    padding: 40px 0;
    margin-bottom: 30px;
    background: #111111; /* Card BG */
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border */
}
.page-payment-methods__section h2 {
    font-size: 2.2rem;
    color: #FFD36B; /* Glow */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}
.page-payment-methods__section h3 {
    font-size: 1.8rem;
    color: #F2C14E; /* Primary color */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}
.page-payment-methods__section p {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 15px;
}
.page-payment-methods__section ul,
.page-payment-methods__section ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}
.page-payment-methods__section ul li,
.page-payment-methods__section ol li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #FFF6D6; /* Text Main */
}
.page-payment-methods__section ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #F2C14E; /* Primary color */
}
.page-payment-methods__section ol li::before {
    content: counter(list-item) '. ';
    counter-increment: list-item;
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #F2C14E;
}

/* Image styles within sections */
.page-payment-methods__section-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #3A2A12;
}
.page-payment-methods__section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section */
.page-payment-methods__faq-section .page-payment-methods__container {
    padding-top: 0;
    padding-bottom: 0;
}
details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: #1a1a1a; /* Slightly darker hover for dark background */
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B; /* Glow */
}
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6; /* Text Main */
}
.page-payment-methods__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin for last p in answer */
}

/* Final CTA Section */
.page-payment-methods__cta-final {
    text-align: center;
    padding: 60px 0;
    background: #111111; /* Card BG */
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border */
    margin-top: 40px;
}
.page-payment-methods__cta-final h2 {
    font-size: 2.5rem;
    color: #FFD36B; /* Glow */
    margin-bottom: 20px;
}
.page-payment-methods__cta-final p {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-content h1 {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-payment-methods__section h2 {
        font-size: 2rem;
    }
    .page-payment-methods__section h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-payment-methods__hero-section {
        padding-top: 10px; /* Minimal padding-top */
        margin-bottom: 30px;
    }
    .page-payment-methods__hero-image {
        height: 300px; /* Adjust height for mobile */
    }
    .page-payment-methods__hero-image img {
        object-fit: contain !important; /* Mobile: contain, not cover */
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-payment-methods__hero-content {
        padding: 15px 10px;
    }
    .page-payment-methods__hero-content h1 {
        font-size: 1.8rem; /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }
    .page-payment-methods__hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-payment-methods__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        font-size: 1rem;
        padding: 12px 20px;
    }

    /* 通用图片与容器 */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-payment-methods__container,
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__box,
    .page-payment-methods__section-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__section {
        padding: 30px 0;
        margin-bottom: 20px;
    }
    .page-payment-methods__section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .page-payment-methods__section h3 {
        font-size: 1.4rem;
        margin-top: 20px;
    }
    .page-payment-methods__section p,
    .page-payment-methods__section ul li,
    .page-payment-methods__section ol li {
        font-size: 0.95rem;
    }

    /* FAQ Section */
    details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
        padding: 15px;
    }
    .page-payment-methods__faq-qtext {
        font-size: 1rem;
    }
    .page-payment-methods__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
        margin-left: 10px;
    }
    details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
        padding: 0 15px 15px;
    }

    /* Final CTA */
    .page-payment-methods__cta-final {
        padding: 40px 15px;
        margin-top: 30px;
    }
    .page-payment-methods__cta-final h2 {
        font-size: 2rem;
    }
    .page-payment-methods__cta-final p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}