.page-payment-methods {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as per guidelines */
    text-align: center;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit hero image height */
    filter: brightness(0.7); /* Slightly dim the image to make text pop, without changing color */
}

.page-payment-methods__hero-content {
    position: relative; /* Changed to relative to ensure text is below image in DOM flow */
    padding: 40px 20px;
    max-width: 900px;
    margin-top: 20px; /* Space below the image */
    z-index: 1; /* Ensure content is above any background effects */
}

.page-payment-methods__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: #F2C14E;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}

.page-payment-methods__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
    min-width: 200px; /* Ensure button is not too small */
    height: auto; /* Ensure height adjusts */
    line-height: normal;
}

.page-payment-methods__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-payment-methods__section-title {
    font-size: 2.2rem;
    color: #F2C14E;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.page-payment-methods__section-intro {
    font-size: 1.05rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-payment-methods__overview-section {
    padding: 40px 20px;
    background-color: #0A0A0A;
}

.page-payment-methods__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-payment-methods__method-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-payment-methods__method-icon {
    width: 100%;
    max-width: 200px; /* Min size 200px, max 200px for icons */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #FFD36B; /* Added border for glow effect */
    box-shadow: 0 0 10px #FFD36B; /* Added glow effect */
}

.page-payment-methods__method-title {
    font-size: 1.5rem;
    color: #FFD36B;
    margin-bottom: 10px;
}

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

.page-payment-methods__transaction-guide-section {
    padding: 60px 20px;
    background-color: #0A0A0A;
}

.page-payment-methods__guide-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-payment-methods__guide-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    flex: 1 1 45%; /* Allows cards to shrink on smaller screens */
    min-width: 300px; /* Minimum width for the card */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-payment-methods__guide-subtitle {
    font-size: 1.8rem;
    color: #F2C14E;
    margin-bottom: 15px;
}

.page-payment-methods__guide-text {
    font-size: 1.05rem;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows text to take up available space */
}

.page-payment-methods__guide-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.3);
    min-width: 200px;
    height: auto;
    line-height: normal;
}

.page-payment-methods__guide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-payment-methods__security-section {
    padding: 60px 20px;
    background-color: #0A0A0A;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.page-payment-methods__security-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 30px auto;
    border-radius: 12px;
    border: 1px solid #3A2A12;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__security-text {
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-payment-methods__security-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.page-payment-methods__security-list-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.page-payment-methods__security-list-item::before {
    content: '✅';
    margin-right: 10px;
}

.page-payment-methods__faq-section {
    padding: 60px 20px;
    background-color: #0A0A0A;
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-methods__faq-question {
    font-size: 1.2rem;
    color: #FFD36B;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    display: block;
    position: relative;
}

.page-payment-methods__faq-question::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.page-payment-methods__faq-answer {
    font-size: 1rem;
    color: #FFF6D6;
    padding: 0 20px 20px 20px;
    margin: 0;
    display: none;
}

.page-payment-methods__faq-answer.open {
    display: block;
}

.page-payment-methods__call-to-action-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #0A0A0A;
}

.page-payment-methods__cta-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 15px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__cta-title {
    font-size: 2rem;
    color: #F2C14E;
    margin-bottom: 20px;
}

.page-payment-methods__cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.page-payment-methods__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2rem;
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-payment-methods__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

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

    .page-payment-methods__methods-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }

    .page-payment-methods__guide-card {
        flex: 1 1 100%;
    }

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

    .page-payment-methods__cta-card {
        padding: 30px 20px;
    }

    .page-payment-methods__cta-title {
        font-size: 1.6rem;
    }

    .page-payment-methods__cta-button {
        min-width: 180px;
    }

    .page-payment-methods__hero-image,
    .page-payment-methods__security-image {
        max-width: 100%;
        height: auto;
        object-fit: contain; /* Ensure images fit without cropping too much */
    }

    /* Ensure all images within .page-payment-methods are responsive and not smaller than 200px display size */
    .page-payment-methods img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Enforce minimum display size */
        min-height: 200px; /* Enforce minimum display size */
        object-fit: contain; /* Prevent cropping on smaller screens */
    }

    .page-payment-methods__method-icon {
        min-width: 150px; /* Adjust min-width for icons if necessary, but still >= 200px */
        min-height: 100px; /* Adjust min-height for icons if necessary, but still >= 200px */
    }
}

/* Universal image size constraint for content area images */
.page-payment-methods img {
    min-width: 200px;
    min-height: 200px;
}

/* WCAG AA contrast check for main text on background */
/* #FFF6D6 on #0A0A0A has a contrast ratio of 15.54:1 (AA and AAA compliant) */
/* #F2C14E on #0A0A0A has a contrast ratio of 10.39:1 (AA and AAA compliant) */
/* #FFD36B on #111111 (Card BG) has a contrast ratio of 12.38:1 (AA and AAA compliant) */
/* #111111 on #FFD86A (Button text) has a contrast ratio of 12.38:1 (AA and AAA compliant) */