/* style/payment-methods.css */
.page-payment-methods {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-payment-methods__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
}

.page-payment-methods__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.page-payment-methods__hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
}

.page-payment-methods__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-payment-methods__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;
    white-space: nowrap;
    min-width: 150px;
    text-align: center;
}

.page-payment-methods__button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-payment-methods__button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
}

.page-payment-methods__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-payment-methods__button--login:hover {
    background-color: transparent;
    color: #FCBC45;
}

.page-payment-methods__section {
    padding: 60px 20px;
    text-align: center;
}

.page-payment-methods__section--overview {
    background-color: #f8f8f8;
}

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

.page-payment-methods__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

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

.page-payment-methods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-payment-methods__card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.page-payment-methods__card:hover {
    transform: translateY(-5px);
}

.page-payment-methods__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-payment-methods__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #000000;
}

.page-payment-methods__card-text {
    margin-bottom: 20px;
    color: #666666;
}

.page-payment-methods__card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: #444444;
}

.page-payment-methods__card-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.page-payment-methods__card-features li::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #FCBC45;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.page-payment-methods__button--deposit, .page-payment-methods__button--learn-more {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: auto; /* Push button to bottom */
}

.page-payment-methods__button--deposit:hover, .page-payment-methods__button--learn-more:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-payment-methods__section--deposit-guide, .page-payment-methods__section--withdrawal-guide {
    background-color: #FFFFFF;
}

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

.page-payment-methods__step {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-payment-methods__step-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #000000;
}

.page-payment-methods__step-text {
    color: #666666;
    margin-bottom: 20px;
}

.page-payment-methods__button--login-small, .page-payment-methods__button--start-deposit, .page-payment-methods__button--start-withdrawal {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 8px 18px;
    font-size: 0.9em;
    margin-top: auto;
}

.page-payment-methods__button--login-small:hover, .page-payment-methods__button--start-deposit:hover, .page-payment-methods__button--start-withdrawal:hover {
    background-color: #e0a538;
    border-color: #e0a538;
}

.page-payment-methods__section--security {
    background-color: #000000;
    color: #FFFFFF;
}

.page-payment-methods__section--security .page-payment-methods__section-title {
    color: #FFFFFF;
}

.page-payment-methods__section--security .page-payment-methods__section-description {
    color: #CCCCCC;
}

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

.page-payment-methods__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__feature-icon {
    width: 200px; /* Enforce min width */
    height: 150px; /* Enforce min height */
    object-fit: contain;
    margin-bottom: 15px;
    filter: none; /* Ensure no color filters */
}

.page-payment-methods__feature-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #FCBC45;
}

.page-payment-methods__feature-text {
    color: #E0E0E0;
}

.page-payment-methods__cta {
    margin-top: 50px;
}

.page-payment-methods__button--learn-more-security {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-payment-methods__button--learn-more-security:hover {
    background-color: #e0a538;
    border-color: #e0a538;
}

.page-payment-methods__section--faq {
    background-color: #f8f8f8;
}

.page-payment-methods__faq-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.page-payment-methods__faq-answer {
    color: #555555;
    line-height: 1.5;
}

.page-payment-methods__button--view-all-faq, .page-payment-methods__button--contact-support {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin: 10px;
}

.page-payment-methods__button--view-all-faq:hover, .page-payment-methods__button--contact-support:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-payment-methods__section--call-to-action {
    background-color: #FCBC45;
    color: #000000;
    padding: 80px 20px;
}

.page-payment-methods__section--call-to-action .page-payment-methods__section-title {
    color: #000000;
}

.page-payment-methods__section--call-to-action .page-payment-methods__section-description {
    color: #333333;
    margin-bottom: 40px;
}

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

.page-payment-methods__button--register-large {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-payment-methods__button--register-large:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-payment-methods__button--promotions {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-payment-methods__button--promotions:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #000000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.8em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px);
    }
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .page-payment-methods__button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-payment-methods__section {
        padding: 40px 15px;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-description {
        font-size: 0.95em;
    }
    .page-payment-methods__grid, .page-payment-methods__steps, .page-payment-methods__security-features {
        grid-template-columns: 1fr;
    }
    /* Mobile image responsiveness - CRITICAL */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
        width: auto; /* Allow width to adjust based on max-width */
        min-width: 200px; /* Ensure images are not too small, but still responsive */
        min- /* Ensure images are not too small, but still responsive */
    }
    .page-payment-methods__card-image, .page-payment-methods__step-icon, .page-payment-methods__feature-icon {
        width: 100%; /* Take full width of parent */
        height: auto;
        max-width: 100%;
        min-height: 200px; /* Maintain minimum size for content images */
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__button {
        width: 90%;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__button--register-large, .page-payment-methods__button--promotions {
        padding: 12px 25px;
        font-size: 1em;
    }
}