/* style/payment-methods.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --page-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-payment-methods {
    background-color: var(--page-bg);
    color: var(--text-main);
    font-family: Arial, sans-serif;
}

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

.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
    margin-top: 40px; /* Space between image and text */
}

.page-payment-methods__main-title {
    color: var(--text-main);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.page-payment-methods__hero-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-payment-methods__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.page-payment-methods__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-payment-methods__cta-button--wide {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

.page-payment-methods__section-title {
    color: var(--text-main);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-payment-methods__intro-section, 
.page-payment-methods__deposit-guide-section, 
.page-payment-methods__withdrawal-guide-section, 
.page-payment-methods__security-policy-section, 
.page-payment-methods__faq-section, 
.page-payment-methods__conclusion-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

.page-payment-methods__intro-section:last-of-type, 
.page-payment-methods__conclusion-section:last-of-type {
    border-bottom: none;
}

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

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

.page-payment-methods__grid-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-payment-methods__method-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__card-title {
    color: var(--gold-color);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-payment-methods__card-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-payment-methods__step-list, 
.page-payment-methods__bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-payment-methods__step-list li, 
.page-payment-methods__bullet-list li {
    color: var(--text-main);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.page-payment-methods__step-list li:before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--deep-green);
    color: var(--text-main);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.page-payment-methods__step-list li:nth-child(1):before { content: '1'; }
.page-payment-methods__step-list li:nth-child(2):before { content: '2'; }
.page-payment-methods__step-list li:nth-child(3):before { content: '3'; }
.page-payment-methods__step-list li:nth-child(4):before { content: '4'; }
.page-payment-methods__step-list li:nth-child(5):before { content: '5'; }

.page-payment-methods__bullet-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-color);
    font-size: 1.2rem;
    line-height: 1;
}

.page-payment-methods__card-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
}

.page-payment-methods__security-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 40px 0;
    min-width: 200px;
    min-height: 200px;
}

.page-payment-methods__faq-list {
    margin-top: 40px;
}

.page-payment-methods__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-payment-methods__faq-question:hover {
    background-color: var(--deep-green);
}

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

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    content: '−';
}

.page-payment-methods__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.page-payment-methods__faq-answer p {
    margin-bottom: 0;
}

.page-payment-methods__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-payment-methods__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

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

.page-payment-methods__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-payment-methods__copyright-info {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--divider-color);
    margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-payment-methods__container {
        padding: 0 15px;
    }

    .page-payment-methods__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-payment-methods__hero-description {
        font-size: 1rem;
    }

    .page-payment-methods__cta-button {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__cta-button--wide {
        max-width: 100% !important;
    }

    .page-payment-methods__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 30px;
        margin-top: 40px;
    }

    .page-payment-methods__intro-section, 
    .page-payment-methods__deposit-guide-section, 
    .page-payment-methods__withdrawal-guide-section, 
    .page-payment-methods__security-policy-section, 
    .page-payment-methods__faq-section, 
    .page-payment-methods__conclusion-section {
        padding: 40px 0;
    }

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

    .page-payment-methods__grid-image, 
    .page-payment-methods__security-image, 
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-payment-methods__hero-image-wrapper,
    .page-payment-methods__container,
    .page-payment-methods__method-card,
    .page-payment-methods__image-grid,
    .page-payment-methods__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-payment-methods__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-payment-methods__faq-answer {
        padding: 0 20px 15px;
    }

    .page-payment-methods__button-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-payment-methods__btn-primary, 
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    /* Ensure content sections have mobile padding */
    .page-payment-methods__intro-section > .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__security-policy-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 !important;
        padding-right: 15px !important;
    }
    
    .page-payment-methods__hero-section {
        padding-top: 10px !important;
    }
}

/* Ensure no filter on images */
.page-payment-methods img {
    filter: none; /* No CSS filter allowed */
}