.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-payment-methods__hero-section {
    position: relative;
    text-align: center;
    padding-top: 10px; /* Small top padding as body handles main offset */
    padding-bottom: 40px;
    background-color: #0a0a0a;
    overflow: hidden;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px;
}

.page-payment-methods__hero-content {
    padding: 20px;
    max-width: 900px;
    margin: 20px auto 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.page-payment-methods__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-payment-methods__subtitle {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary,
.page-payment-methods__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 10px;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-payment-methods__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

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

.page-payment-methods__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdrawal-guide-section,
.page-payment-methods__limits-fees-section,
.page-payment-methods__cta-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark for contrast */
}

.page-payment-methods__text-block {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: justify;
}

.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: rgba(255, 255, 255, 0.08);
    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;
    color: #ffffff;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

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

.page-payment-methods__method-icon {
    width: 200px; /* Minimum size */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-payment-methods__method-title {
    font-size: 1.5rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-payment-methods__method-description {
    font-size: 1rem;
    color: #e0e0e0;
    flex-grow: 1;
}

.page-payment-methods__guide-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-payment-methods__step-list {
    list-style: none;
    padding: 0;
    flex: 1;
}

.page-payment-methods__step-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #26A9E0;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__step-description {
    font-size: 1rem;
    color: #e0e0e0;
}

.page-payment-methods__guide-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-payment-methods__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-payment-methods__faq-section {
    padding: 60px 0;
    background-color: #0a0a0a;
}

.page-payment-methods__faq-list {
    margin-top: 40px;
}

.page-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFFFFF;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

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

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

.page-payment-methods__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
    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: 15px 25px 20px;
    font-size: 1rem;
    color: #e0e0e0;
    background-color: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .page-payment-methods__hero-content {
        max-width: 700px;
    }
    .page-payment-methods__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-payment-methods__guide-content {
        flex-direction: column;
    }
    .page-payment-methods__step-list, .page-payment-methods__guide-image-wrapper {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-payment-methods__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 20px;
    }
    .page-payment-methods__hero-image {
        max-height: 400px;
    }
    .page-payment-methods__hero-content {
        margin-top: 15px;
        padding: 15px;
    }
    .page-payment-methods__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    .page-payment-methods__subtitle {
        font-size: 1rem;
    }

    /* 通用图片与容器 */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-payment-methods__container,
    .page-payment-methods__method-card,
    .page-payment-methods__step-item,
    .page-payment-methods__faq-item,
    .page-payment-methods__guide-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-payment-methods__text-block {
        font-size: 0.95rem;
    }

    /* 产品展示图区域 (Methods Grid) */
    .page-payment-methods__methods-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }
    .page-payment-methods__method-card {
        padding: 25px;
    }
    .page-payment-methods__method-icon {
        width: 150px;
        height: 100px;
    }

    /* 按钮与按钮容器 */
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .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;
        margin: 10px 0;
        padding: 12px 15px; /* Adjust padding for smaller screens */
    }
    .page-payment-methods__cta-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        padding: 0 15px; /* Add padding to wrapper */
    }

    /* 其他内容模块 (FAQ, Step List) */
    .page-payment-methods__step-item {
        padding: 15px 20px;
    }
    .page-payment-methods__step-title {
        font-size: 1.15rem;
    }
    .page-payment-methods__faq-question {
        font-size: 1.05rem;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-toggle {
        font-size: 1.5rem;
    }
    .page-payment-methods__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95rem;
    }
    .page-payment-methods__overview-section, 
    .page-payment-methods__deposit-guide-section, 
    .page-payment-methods__withdrawal-guide-section, 
    .page-payment-methods__limits-fees-section, 
    .page-payment-methods__cta-section, 
    .page-payment-methods__security-section, 
    .page-payment-methods__faq-section {
        padding: 40px 0;
    }
}