.page-payment-methods {
    background-color: #000000;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 20px; /* Small padding to ensure content isn't flush with footer */
}

.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 for the first section */
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Max height for desktop hero image */
}

.page-payment-methods__hero-content {
    padding: 20px;
    text-align: center;
    max-width: 960px;
    margin-top: 20px; /* Separates content from image */
    background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent background for readability */
    border-radius: 8px;
}

.page-payment-methods__main-title {
    color: #FFFFFF;
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__hero-description {
    color: #E5E5E5;
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__hero-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-payment-methods__hero-button--deposit {
    background-color: #FCBC45; /* Login color for primary action */
    color: #000000;
}

.page-payment-methods__hero-button--deposit:hover {
    background-color: #FFD700;
}

.page-payment-methods__introduction,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-payment-methods__section-title {
    color: #FFFFFF;
    font-size: clamp(1.5em, 2.5vw, 2em);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-payment-methods__section-description {
    color: #E5E5E5;
    font-size: 1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__method-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.page-payment-methods__method-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 25px;
    flex: 1 1 calc(33% - 40px);
    max-width: 350px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 250px;
}

.page-payment-methods__method-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
}

.page-payment-methods__method-title {
    color: #FFFFFF;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-payment-methods__method-text {
    color: #CCCCCC;
    font-size: 0.95em;
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #FCBC45;
    color: #000000;
}

.page-payment-methods__cta-button:hover {
    background-color: #FFD700;
}

.page-payment-methods__security-image {
    width: 800px;
    height: 600px;
    max-width: 100%;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    object-fit: cover;
}

.page-payment-methods__faq-items {
    margin-top: 30px;
    text-align: left;
}

.page-payment-methods__faq-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__faq-question {
    color: #FFFFFF;
    font-size: 1.2em;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-payment-methods__faq-answer {
    color: #CCCCCC;
    font-size: 1em;
    line-height: 1.5;
}

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

.page-payment-methods__cta-button--login {
    background-color: #FCBC45;
    color: #000000;
}

.page-payment-methods__cta-button--login:hover {
    background-color: #FFD700;
}

.page-payment-methods__cta-button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #FCBC45;
}

.page-payment-methods__cta-button--register:hover {
    background-color: #F0F0F0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-payment-methods__hero-content {
        padding: 15px;
        margin-top: 15px;
    }

    .page-payment-methods__main-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }

    .page-payment-methods__hero-description {
        font-size: 1em;
    }

    .page-payment-methods__section-title {
        font-size: clamp(1.3em, 5vw, 1.8em);
    }

    .page-payment-methods__method-card {
        flex: 1 1 calc(50% - 20px);
        max-width: 400px;
    }

    .page-payment-methods__method-icon {
        width: 150px;
        height: 150px;
    }

    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-payment-methods__hero-image,
    .page-payment-methods__deposit-methods img,
    .page-payment-methods__withdrawal-methods img,
    .page-payment-methods__security-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__introduction,
    .page-payment-methods__deposit-methods,
    .page-payment-methods__withdrawal-methods,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 30px 15px;
    }

    .page-payment-methods__method-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .page-payment-methods__method-icon {
        width: 200px; /* Ensure minimum size */
        height: 200px;
    }
}

/* Ensure all images in content area are at least 200px */
.page-payment-methods img:not(.page-payment-methods__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Mobile content image overflow prevention */
@media (max-width: 768px) {
    .page-payment-methods img {
        max-width: 100% !important;
        height: auto !important;
    }
}