/* style/payment-methods.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login: #EA7C07;
    --background-color: #FFFFFF;
    --black: #000000;
}

.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-color);
}

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

.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding for first section */
    background-color: var(--background-color);
    color: var(--text-dark);
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

.page-payment-methods__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-payment-methods__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.page-payment-methods__section {
    padding: 60px 0;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-payment-methods__text-block {
    font-size: 1.05em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

.page-payment-methods__overview-methods .page-payment-methods__text-block {
    margin-bottom: 60px;
}

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

.page-payment-methods__card {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

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

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

.page-payment-methods__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-payment-methods__card-text {
    font-size: 1em;
    margin-bottom: 25px;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-payment-methods__btn-primary {
    background-color: var(--button-login);
    color: var(--text-light);
    border: 2px solid var(--button-login);
}

.page-payment-methods__btn-primary:hover {
    background-color: #e06c00;
    border-color: #e06c00;
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

.page-payment-methods__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-payment-methods__deposit-guide,
.page-payment-methods__final-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-payment-methods__deposit-guide .page-payment-methods__section-title,
.page-payment-methods__deposit-guide .page-payment-methods__text-block,
.page-payment-methods__deposit-guide .page-payment-methods__step-title,
.page-payment-methods__final-cta .page-payment-methods__section-title,
.page-payment-methods__final-cta .page-payment-methods__text-block {
    color: var(--text-light);
}

.page-payment-methods__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods__step-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.page-payment-methods__step-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--button-login);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: 700;
}

.page-payment-methods__step-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.page-payment-methods__deposit-guide .page-payment-methods__step-title {
    color: var(--text-light);
}

.page-payment-methods__step-description {
    font-size: 1em;
    color: var(--text-dark);
}

.page-payment-methods__deposit-guide .page-payment-methods__step-description {
    color: var(--text-light);
}

.page-payment-methods__info-block {
    margin-bottom: 40px;
}

.page-payment-methods__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.page-payment-methods__list {
    list-style: disc;
    padding-left: 40px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

.page-payment-methods__list-item {
    margin-bottom: 10px;
}

.page-payment-methods__security-features {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-payment-methods__security-features .page-payment-methods__section-title,
.page-payment-methods__security-features .page-payment-methods__text-block,
.page-payment-methods__security-features .page-payment-methods__feature-title,
.page-payment-methods__security-features .page-payment-methods__feature-description,
.page-payment-methods__security-features .page-payment-methods__link {
    color: var(--text-light);
}

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

.page-payment-methods__feature-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-payment-methods__feature-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-payment-methods__link {
    color: var(--text-light);
    text-decoration: underline;
}

.page-payment-methods__link:hover {
    opacity: 0.8;
}

.page-payment-methods__support-cta {
    text-align: center;
    background-color: var(--background-color);
    color: var(--text-dark);
}

.page-payment-methods__faq-section {
    background-color: #f8f9fa;
    color: var(--text-dark);
}

.page-payment-methods__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-payment-methods__faq-item {
    background: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-color);
    list-style: none;
}

.page-payment-methods__faq-question::-webkit-details-marker {
    display: none;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    margin-left: 15px;
}

.page-payment-methods__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-payment-methods__final-cta {
    text-align: center;
}

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

/* Color Contrast Fixes */
.page-payment-methods__light-bg {
    color: var(--text-dark);
    background-color: var(--background-color);
}

.page-payment-methods__dark-bg {
    color: var(--text-light);
    background-color: var(--primary-color);
}

.page-payment-methods__dark-bg .page-payment-methods__section-title,
.page-payment-methods__dark-bg .page-payment-methods__text-block,
.page-payment-methods__dark-bg .page-payment-methods__step-title,
.page-payment-methods__dark-bg .page-payment-methods__step-description {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-payment-methods__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }

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

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

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

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

    .page-payment-methods__section {
        padding: 40px 0;
    }

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

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

    .page-payment-methods__hero-content,
    .page-payment-methods__container,
    .page-payment-methods__method-cards,
    .page-payment-methods__feature-grid,
    .page-payment-methods__faq-list,
    .page-payment-methods__cta-buttons {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Buttons */
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .page-payment-methods a[class*="button"],
    .page-payment-methods a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important; /* Remove margin for single column layout */
    }

    .page-payment-methods__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .page-payment-methods__step-item {
        padding-left: 50px;
    }

    .page-payment-methods__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }

    .page-payment-methods__step-title {
        font-size: 1.4em;
    }

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

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

    .page-payment-methods__faq-toggle {
        font-size: 1.2em;
    }
}