/* style/payment-methods.css */

:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --background-page: #F4F7FB;
    --text-main: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

.page-payment-methods {
    font-family: Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--background-page); /* Assuming a light body background for readability */
}

.page-payment-methods__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
}

.page-payment-methods__hero-image-container {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap with image slightly for visual effect */
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-payment-methods__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-payment-methods__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.6);
}

.page-payment-methods__btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

.page-payment-methods__introduction-section,
.page-payment-methods__payment-methods-overview,
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdrawal-guide-section,
.page-payment-methods__faq-section,
.page-payment-methods__conclusion-section {
    padding: 60px 0;
}

.page-payment-methods__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    color: var(--text-black);
    text-align: center;
    margin-bottom: 25px;
}

.page-payment-methods__section-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-main);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-payment-methods__text-block {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-payment-methods__method-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__method-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-payment-methods__method-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 20px;
}

.page-payment-methods__method-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
    color: var(--text-main);
}

.page-payment-methods__method-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95em;
}

.page-payment-methods__feature-icon {
    color: #28a745; /* Green checkmark */
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

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

.page-payment-methods__step-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.page-payment-methods__step-number {
    background: var(--primary-color);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

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

.page-payment-methods__step-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-main);
}

.page-payment-methods__note {
    background-color: #e6f0ff;
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-top: 40px;
    border-radius: 8px;
    font-size: 0.95em;
    color: var(--text-main);
}

.page-payment-methods__withdrawal-steps {
    list-style: decimal;
    padding-left: 25px;
    color: var(--text-main);
    max-width: 800px;
    margin: 40px auto;
    font-size: 1em;
    line-height: 1.8;
}

.page-payment-methods__withdrawal-steps li {
    margin-bottom: 15px;
}

.page-payment-methods__withdrawal-steps li strong {
    color: var(--text-black);
}

.page-payment-methods__important-notes-section {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 80px 0;
}

.page-payment-methods__important-notes-section .page-payment-methods__section-title,
.page-payment-methods__important-notes-section .page-payment-methods__section-description,
.page-payment-methods__important-notes-section .page-payment-methods__text-block {
    color: #ffffff;
}

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

.page-payment-methods__notes-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1em;
    line-height: 1.7;
}

.page-payment-methods__list-icon {
    color: #ffc107; /* Warning yellow */
    margin-right: 15px;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
}

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

.page-payment-methods__faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-black);
    cursor: pointer;
    outline: none;
    list-style: none; /* Remove default marker */
}

.page-payment-methods__faq-item summary::-webkit-details-marker {
    display: none; /* Hide Chrome/Safari default marker */
}

.page-payment-methods__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-main);
    text-align: justify;
}

.page-payment-methods__conclusion-section {
    text-align: center;
    background-color: var(--secondary-color);
    padding: 80px 0;
    color: #ffffff;
}

.page-payment-methods__conclusion-section .page-payment-methods__section-title,
.page-payment-methods__conclusion-section .page-payment-methods__text-block {
    color: #ffffff;
}

/* General image responsiveness */
.page-payment-methods img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-payment-methods__hero-content {
        margin-top: -80px;
        padding: 30px 15px;
    }

    .page-payment-methods__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

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

    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__introduction-section,
    .page-payment-methods__payment-methods-overview,
    .page-payment-methods__deposit-guide-section,
    .page-payment-methods__withdrawal-guide-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__conclusion-section {
        padding: 40px 0;
    }

    .page-payment-methods__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-payment-methods__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-payment-methods__text-block {
        font-size: 0.95em;
        padding: 0 15px;
    }

    .page-payment-methods__container {
        padding: 0 15px;
    }

    .page-payment-methods__methods-grid,
    .page-payment-methods__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__method-card,
    .page-payment-methods__step-card {
        padding: 25px;
    }

    .page-payment-methods__method-title {
        font-size: 1.3em;
    }

    .page-payment-methods__withdrawal-steps {
        font-size: 0.95em;
        padding-left: 20px;
        margin: 30px auto;
    }

    .page-payment-methods__important-notes-section {
        padding: 60px 0;
    }

    .page-payment-methods__notes-list {
        margin: 30px auto;
    }

    .page-payment-methods__notes-list li {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

    .page-payment-methods__faq-item summary {
        font-size: 1em;
        padding: 18px 20px;
    }

    .page-payment-methods__faq-answer {
        font-size: 0.95em;
        padding: 0 20px 18px 20px;
    }

    /* Universal image and container responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__methods-grid,
    .page-payment-methods__guide-steps,
    .page-payment-methods__faq-list,
    .page-payment-methods__notes-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */
        /* padding-right: 15px; */
    }

    /* Ensure content sections have padding on mobile if needed */
    .page-payment-methods__introduction-section .page-payment-methods__container,
    .page-payment-methods__payment-methods-overview .page-payment-methods__container,
    .page-payment-methods__deposit-guide-section .page-payment-methods__container,
    .page-payment-methods__withdrawal-guide-section .page-payment-methods__container,
    .page-payment-methods__faq-section .page-payment-methods__container,
    .page-payment-methods__conclusion-section .page-payment-methods__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}