/* style/payment-methods.css */

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

/* General Page Styles */
.page-payment-methods {
    background-color: var(--page-payment-methods-bg);
    color: var(--page-payment-methods-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__section-title {
    font-size: 2.5rem;
    color: var(--page-payment-methods-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-payment-methods__text-block strong {
    color: var(--page-payment-methods-text-main);
}

.page-payment-methods__image-content {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 40px 0;
    display: block;
    object-fit: cover;
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    background-color: var(--page-payment-methods-deep-green);
}

.page-payment-methods__hero-image {
    width: 100%;
    height: 675px; /* Fixed height for desktop to maintain aspect ratio */
    max-width: 1200px; /* Constrain image width */
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    display: block;
}

.page-payment-methods__hero-content {
    text-align: center;
    max-width: 900px;
    color: var(--page-payment-methods-text-main);
    z-index: 1;
}

.page-payment-methods__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-payment-methods-gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

.page-payment-methods__btn-primary {
    background: var(--page-payment-methods-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-payment-methods__btn-secondary {
    background: var(--page-payment-methods-card-bg);
    color: var(--page-payment-methods-glow);
    border: 2px solid var(--page-payment-methods-glow);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-payment-methods__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--page-payment-methods-glow);
    color: var(--page-payment-methods-bg);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

/* Introduction Section */
.page-payment-methods__introduction-section {
    padding: 80px 0;
    background-color: var(--page-payment-methods-bg);
    color: var(--page-payment-methods-text-secondary);
}

/* Deposit/Withdrawal Methods Section */
.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-methods-section {
    padding: 80px 0;
    background-color: var(--page-payment-methods-deep-green);
    color: var(--page-payment-methods-text-secondary);
}

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

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

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__method-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__method-title {
    font-size: 1.5rem;
    color: var(--page-payment-methods-text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-payment-methods__method-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--page-payment-methods-text-secondary);
}

/* Deposit/Withdrawal Guide Section */
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdrawal-guide-section {
    padding: 80px 0;
    background-color: var(--page-payment-methods-bg);
    color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-payment-methods__step-item {
    background-color: var(--page-payment-methods-card-bg);
    border-left: 5px solid var(--page-payment-methods-glow);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--page-payment-methods-text-secondary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__step-item strong {
    color: var(--page-payment-methods-text-main);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.page-payment-methods__step-item a {
    color: var(--page-payment-methods-glow);
    text-decoration: none;
}

.page-payment-methods__step-item a:hover {
    text-decoration: underline;
}

.page-payment-methods__note {
    font-style: italic;
    color: var(--page-payment-methods-text-secondary);
    margin-top: 30px;
    padding: 15px 20px;
    background-color: var(--page-payment-methods-card-bg);
    border-radius: 8px;
    border: 1px dashed var(--page-payment-methods-border);
}

/* FAQ Section */
.page-payment-methods__faq-section {
    padding: 80px 0;
    background-color: var(--page-payment-methods-deep-green);
    color: var(--page-payment-methods-text-secondary);
}

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

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

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--page-payment-methods-text-main);
    cursor: pointer;
    background-color: var(--page-payment-methods-card-bg);
    border-bottom: 1px solid var(--page-payment-methods-divider);
    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(--page-payment-methods-deep-green);
}

.page-payment-methods__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--page-payment-methods-glow);
    margin-left: 15px;
}

.page-payment-methods__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--page-payment-methods-text-secondary);
    background-color: var(--page-payment-methods-card-bg);
}

/* Benefits Section */
.page-payment-methods__benefits-section {
    padding: 80px 0;
    background-color: var(--page-payment-methods-bg);
    color: var(--page-payment-methods-text-secondary);
}

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

.page-payment-methods__benefits-item {
    background-color: var(--page-payment-methods-card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-payment-methods-border);
}

.page-payment-methods__benefits-title {
    font-size: 1.4rem;
    color: var(--page-payment-methods-text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

/* CTA Section */
.page-payment-methods__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--page-payment-methods-deep-green);
    color: var(--page-payment-methods-text-main);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-image {
        height: 500px;
    }
    .page-payment-methods__section-title {
        font-size: 2rem;
    }
    .page-payment-methods__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-payment-methods__description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-payment-methods__hero-image {
        height: 300px;
        margin-bottom: 30px;
    }
    .page-payment-methods__hero-content {
        padding: 0 15px;
    }
    .page-payment-methods__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-payment-methods__description {
        font-size: 1rem;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }

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

    .page-payment-methods__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-payment-methods__text-block {
        font-size: 1rem;
    }

    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

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

    .page-payment-methods__method-icon {
        width: 120px;
        height: 120px;
    }

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

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

    .page-payment-methods__faq-answer {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
    .page-payment-methods__step-item strong {
        font-size: 1.1rem;
    }
}