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

.page-payment-methods__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

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

.page-payment-methods__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-payment-methods__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #FFD36B; /* Glow color for main title */
    margin-bottom: 20px;
}

.page-payment-methods__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    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(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure button is not too small */
}

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

.page-payment-methods__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

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

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

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

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

.page-payment-methods__method-card:hover,
.page-payment-methods__feature-item:hover,
.page-payment-methods__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__method-icon,
.page-payment-methods__feature-icon {
    width: 100%; /* Ensure images take card width */
    height: auto;
    max-width: 300px; /* Max width for content images */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__card-title,
.page-payment-methods__feature-title,
.page-payment-methods__step-title {
    font-size: 1.4em;
    color: #FFD36B;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-payment-methods__card-description,
.page-payment-methods__feature-description,
.page-payment-methods__step-description {
    font-size: 0.95em;
    color: #FFF6D6;
}

.page-payment-methods__section-cta-button {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 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 3px 10px rgba(0, 0, 0, 0.2);
    min-width: 180px;
}

.page-payment-methods__section-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__step-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 20px;
    text-align: left; /* Steps might be better left-aligned */
}

.page-payment-methods__step-link {
    color: #F2C14E;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
}

.page-payment-methods__step-link:hover {
    text-decoration: underline;
}

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

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

.page-payment-methods__faq-item:hover {
    background-color: #1A1A1A;
}

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

.page-payment-methods__faq-answer {
    font-size: 0.95em;
    color: #FFF6D6;
}

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

.page-payment-methods__cta-button--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
}

.page-payment-methods__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #F2C14E;
    color: #F2C14E;
    box-shadow: none;
}

.page-payment-methods__cta-button--secondary:hover {
    background-color: #F2C14E;
    color: #111111;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-bottom: 40px;
    }

    .page-payment-methods__main-title {
        font-size: 2em; /* Adjust H1 for mobile */
    }

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

    .page-payment-methods__method-cards,
    .page-payment-methods__security-features,
    .page-payment-methods__steps {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .page-payment-methods__method-icon,
    .page-payment-methods__feature-icon {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    /* Enforce mobile content image constraints */
    .page-payment-methods img {
        max-width: 100% !important;
        height: auto !important;
    }

    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__cta-button {
        width: 100%;
        max-width: 300px; /* Limit button width for better appearance */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Ensure content images are not smaller than 200px */
.page-payment-methods img:not(.page-payment-methods__hero-image) {
    min-width: 200px;
    min-height: 200px;
}