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

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

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-payment-methods__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFD36B;
    margin-bottom: 20px;
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
}

.page-payment-methods__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E5E5E5;
}

.page-payment-methods__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-payment-methods__button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: none;
    cursor: pointer;
}

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

.page-payment-methods__button--secondary {
    background: #111111;
    color: #FFD36B;
    border: 2px solid #3A2A12;
}

.page-payment-methods__button--secondary:hover {
    background: #1A1A1A;
    border-color: #F2C14E;
}

.page-payment-methods__overview-section,
.page-payment-methods__methods-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: #F2C14E;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-payment-methods__section-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #E5E5E5;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__overview-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    min-height: 200px;
}

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

.page-payment-methods__method-card {
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid #3A2A12;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    border-color: #F2C14E;
}

.page-payment-methods__method-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    border-radius: 8px;
}

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

.page-payment-methods__method-description {
    font-size: 0.95em;
    line-height: 1.5;
    color: #C0C0C0;
}

.page-payment-methods__security-features {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
}

.page-payment-methods__feature-item {
    background-color: #111111;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3A2A12;
    color: #E5E5E5;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-payment-methods__feature-item::before {
    content: '✅';
    font-size: 1.2em;
}

.page-payment-methods__faq-item {
    background-color: #111111;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #3A2A12;
    text-align: left;
    transition: border-color 0.3s ease;
}

.page-payment-methods__faq-item:hover {
    border-color: #F2C14E;
}

.page-payment-methods__faq-question {
    font-size: 1.3em;
    color: #FFD36B;
    margin-bottom: 10px;
}

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

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

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

    .page-payment-methods__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

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

    .page-payment-methods__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-payment-methods__button {
        width: 100%;
        max-width: 300px;
    }

    .page-payment-methods__overview-section,
    .page-payment-methods__methods-section,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 15px;
    }

    .page-payment-methods__section-title {
        font-size: 2em;
    }

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

    .page-payment-methods__method-grid {
        grid-template-columns: 1fr;
    }

    .page-payment-methods__security-features {
        grid-template-columns: 1fr;
    }

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

    /* Enforce min-width for images in mobile media query */
    .page-payment-methods__hero-image,
    .page-payment-methods__overview-image,
    .page-payment-methods__method-icon {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum size is maintained */
        min-height: 200px;
    }

    /* Content area images for mobile, ensure they don't cause overflow */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__main-title {
        font-size: clamp(1.5em, 8vw, 2.2em);
    }

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

    .page-payment-methods__button {
        padding: 12px 25px;
        font-size: 0.95em;
    }
}