/* style/payment-methods.css */
.page-payment-methods {
    color: #333333; /* Dark text for light body background */
    background-color: #ffffff; /* Explicitly set page background to white */
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-payment-methods__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    background-color: #000000;
    color: #ffffff;
}

.page-payment-methods__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.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: 40px;
    color: #f0f0f0;
}

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

.page-payment-methods__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1.1em;
}

.page-payment-methods__button--register {
    background-color: #000000;
    color: #FFFFFF; /* White text as specified */
    border: 2px solid #FFFFFF;
}

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

.page-payment-methods__button--login {
    background-color: #FCBC45; /* Yellow background as specified */
    color: #000000; /* Dark text for contrast */
    border: 2px solid #FCBC45;
}

.page-payment-methods__button--login:hover {
    background-color: #e0a53b;
    color: #000000;
}

.page-payment-methods__button--deposit, 
.page-payment-methods__button--withdraw, 
.page-payment-methods__button--join {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin-top: 20px;
}

.page-payment-methods__button--deposit:hover, 
.page-payment-methods__button--withdraw:hover, 
.page-payment-methods__button--join:hover {
    background-color: #e0a53b;
    color: #000000;
}

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

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

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

.page-payment-methods__image {
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-payment-methods__text-content {
    font-size: 1em;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #444444;
}

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

.page-payment-methods__method-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
    min-height: 200px; /* Ensure cards have minimum height */
}

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

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

.page-payment-methods__card-description {
    font-size: 1em;
    color: #666666;
}

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

.page-payment-methods__security-item {
    background-color: #f8f8f8;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #FCBC45;
    border-radius: 5px;
    font-size: 1.05em;
    color: #444444;
}

.page-payment-methods__security-item strong {
    color: #000000;
}

.page-payment-methods__faq-item {
    background-color: #f8f8f8;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

.page-payment-methods__faq-answer {
    font-size: 1em;
    color: #555555;
}

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

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

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

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding: 60px 15px;
    }

    .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: 15px;
    }

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

    .page-payment-methods__overview-section,
    .page-payment-methods__deposit-section,
    .page-payment-methods__withdrawal-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: 1.8em;
    }

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

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

    .page-payment-methods__image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not styled smaller than 200px */
        min-height: 200px;
    }
    
    .page-payment-methods__method-card, 
    .page-payment-methods__security-item, 
    .page-payment-methods__faq-item {
        padding: 20px;
    }

    .page-payment-methods__card-title {
        font-size: 1.5em;
    }

    .page-payment-methods__faq-question {
        font-size: 1.1em;
    }

    .page-payment-methods__text-content {
        font-size: 0.95em;
    }

    /* Ensure all images within .page-payment-methods are responsive and not too small */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title {
        font-size: 1.6em;
    }
    .page-payment-methods__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}