/* style/payment-methods.css */

/* Base styles for the page content */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #ffffff; /* Explicitly set for clarity, though shared might define */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #000000; /* Dark background for hero */
    color: #ffffff; /* White text for dark background */
    padding: 80px 0; /* Adjust padding as needed, the padding-top for header offset is on main */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.4; /* Slightly dim image for text readability */
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

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

.page-payment-methods__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-payment-methods__hero-description {
    font-size: 1.3em;
    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: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 150px;
    text-align: center;
    cursor: pointer;
}

.page-payment-methods__button--register {
    background-color: #FFFFFF; /* White for Register */
    color: #000000; /* Dark text for white button */
    border: 2px solid #FFFFFF;
}

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

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

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

/* Overview Section */
.page-payment-methods__overview-section {
    padding: 80px 0;
    text-align: center;
    background-color: #f8f8f8;
}

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

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

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

.page-payment-methods__card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

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

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

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

/* Deposit & Withdrawal Sections */
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section {
    padding: 80px 0;
}

.page-payment-methods__container--reverse {
    display: flex;
    flex-direction: row-reverse; /* Reverse order for image on left */
    align-items: center;
    gap: 50px;
}

.page-payment-methods__container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-payment-methods__content-block {
    flex: 1;
    padding: 20px 0;
}

.page-payment-methods__sub-title {
    font-size: 1.6em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-payment-methods__image-block {
    flex: 1;
    text-align: center;
}

.page-payment-methods__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-payment-methods__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-payment-methods__numbered-list {
    list-style: decimal;
    padding-left: 20px;
    margin: 30px 0;
}

.page-payment-methods__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #444444;
    position: relative;
    padding-left: 30px;
}

.page-payment-methods__list-item::before {
    content: '✓'; /* Checkmark icon */
    color: #FCBC45;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.page-payment-methods__numbered-list .page-payment-methods__list-item::before {
    content: none; /* Remove checkmark for numbered list */
}

.page-payment-methods__info-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 30px;
}

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

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

/* Security Section */
.page-payment-methods__security-section {
    background-color: #f8f8f8;
    padding: 80px 0;
    text-align: center;
}

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

.page-payment-methods__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-payment-methods__feature-item:hover {
    transform: translateY(-8px);
}

.page-payment-methods__feature-icon {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

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

.page-payment-methods__feature-text {
    color: #666666;
    font-size: 0.95em;
}

.page-payment-methods__security-cta {
    margin-top: 40px;
    font-size: 1.1em;
    color: #555555;
}

.page-payment-methods__text-link {
    color: #FCBC45; /* Yellow for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-payment-methods__text-link:hover {
    color: #e0a530;
    text-decoration: underline;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-payment-methods__faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 20px;
}

.page-payment-methods__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: bold;
}

.page-payment-methods__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
    content: '-';
    transform: rotate(0deg); /* No rotation for minus */
}

.page-payment-methods__faq-answer {
    font-size: 1em;
    color: #666666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
    padding-top: 0;
}

.page-payment-methods__faq-answer.active {
    max-height: 500px; /* Increased max-height for longer answers */
    padding-top: 15px;
}

.page-payment-methods__faq-cta {
    margin-top: 40px;
    font-size: 1.1em;
    text-align: center;
    color: #555555;
}

/* CTA Section */
.page-payment-methods__cta-section {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

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

.page-payment-methods__button--register-large {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 18px 40px;
    font-size: 1.2em;
}

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

.page-payment-methods__button--promo {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
    padding: 18px 40px;
    font-size: 1.2em;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .page-payment-methods__hero-title {
        font-size: 2.5em;
    }
    .page-payment-methods__hero-description {
        font-size: 1.1em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__container,
    .page-payment-methods__container--reverse {
        flex-direction: column;
        gap: 30px;
    }
    .page-payment-methods__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__button {
        width: 80%;
        max-width: 300px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* Mobile content area image constraint */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
    }
    .page-payment-methods__hero-section {
        padding: 60px 0;
    }
    .page-payment-methods__hero-title {
        font-size: 2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__sub-title {
        font-size: 1.4em;
    }
    .page-payment-methods__card-title {
        font-size: 1.5em;
    }
    .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: 50px 0;
    }
    .page-payment-methods__grid {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__button {
        width: 90%;
        max-width: 350px;
    }
    .page-payment-methods__container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__hero-description {
        font-size: 0.9em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__sub-title {
        font-size: 1.2em;
    }
    .page-payment-methods__card-title {
        font-size: 1.5em;
    }
    .page-payment-methods__button {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    .page-payment-methods__button--register-large,
    .page-payment-methods__button--promo {
        padding: 15px 25px;
        font-size: 1em;
    }
}