/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

/* Shared container for content width */
.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section spacing */
.page-payment-methods__hero-section,
.page-payment-methods__intro-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-section,
.page-payment-methods__tips-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Hero Section */
.page-payment-methods__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* body handles --header-offset */
    padding-bottom: 60px;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.page-payment-methods__hero-image {
    width: 100%;
    max-width: 1920px; /* Request size */
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-payment-methods__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-payment-methods__hero-description {
    font-size: 1.25rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles */
.page-payment-methods__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-payment-methods__text-block {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 25px;
    text-align: justify;
}

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

.page-payment-methods__method-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

.page-payment-methods__method-image {
    width: 100%;
    max-width: 400px; /* Display size */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    min-height: 200px; /* Minimum size */
}

.page-payment-methods__method-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-payment-methods__method-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-payment-methods__method-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
    width: 100%;
}

.page-payment-methods__method-features li {
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.page-payment-methods__method-features li::before {
    content: '✓';
    color: #57E38D; /* Glow */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Security Section */
.page-payment-methods__security-section {
    background-color: #0A4B2C; /* Deep Green */
    padding: 80px 0;
}

.page-payment-methods__security-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.page-payment-methods__security-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: justify;
}

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

.page-payment-methods__security-features li {
    color: #F2FFF6; /* Text Main */
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}

.page-payment-methods__security-features li strong {
    color: #57E38D; /* Glow */
}

.page-payment-methods__security-features li::before {
    content: '🛡️';
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.page-payment-methods__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.page-payment-methods__security-image {
    width: 100%;
    max-width: 600px; /* Display size */
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    min-height: 200px; /* Minimum size */
}

/* Tips Section */
.page-payment-methods__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-payment-methods__tips-list li {
    background-color: #11271B; /* Card BG */
    border-left: 5px solid #57E38D; /* Glow */
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1.05rem;
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__tips-list li strong {
    color: #F2C14E; /* Gold */
}

.page-payment-methods__tips {
    text-align: center;
    font-size: 1.1rem;
    color: #F2FFF6; /* Text Main */
    margin-top: 30px;
    padding: 20px;
    background-color: #1E3A2A; /* Divider */
    border-radius: 8px;
    border: 1px solid #2E7A4E;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-payment-methods__faq-item {
    background-color: #11271B; /* Card BG */
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #2E7A4E; /* Border */
    overflow: hidden;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #1E3A2A; /* Divider */
    border-bottom: 1px solid #2E7A4E;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-payment-methods__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
    background-color: #0A4B2C; /* Deep Green */
}

.page-payment-methods__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-payment-methods__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #57E38D; /* Glow */
    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: 20px 25px;
    font-size: 1.05rem;
    color: #A7D9B8; /* Text Secondary */
}

/* CTA Section */
.page-payment-methods__cta-section {
    text-align: center;
    background-color: #08160F; /* Background */
}

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

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%;
}

.page-payment-methods__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-payment-methods__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
    transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow */
    border: 2px solid #57E38D; /* Glow */
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-payment-methods__btn-secondary:hover {
    background-color: #57E38D;
    color: #08160F; /* Background */
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-payment-methods__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-payment-methods__hero-description {
        font-size: 1.1rem;
    }
    .page-payment-methods__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-payment-methods__security-content {
        flex-direction: column;
    }
    .page-payment-methods__security-text,
    .page-payment-methods__security-image-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section,
    .page-payment-methods__intro-section,
    .page-payment-methods__deposit-methods,
    .page-payment-methods__withdrawal-methods,
    .page-payment-methods__security-section,
    .page-payment-methods__tips-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 0;
    }
    .page-payment-methods__container {
        padding: 0 15px !important;
    }
    .page-payment-methods__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-payment-methods__hero-description,
    .page-payment-methods__text-block,
    .page-payment-methods__method-description,
    .page-payment-methods__method-features li,
    .page-payment-methods__security-features li,
    .page-payment-methods__tips-list li,
    .page-payment-methods__faq-answer {
        font-size: 1rem !important;
    }
    .page-payment-methods__method-grid {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__method-card {
        padding: 25px;
    }
    .page-payment-methods__method-title {
        font-size: 1.5rem;
    }
    .page-payment-methods__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-toggle {
        font-size: 1.5rem;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem !important;
    }

    /* Image responsive adaptions */
    .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__security-image-wrapper,
    .page-payment-methods__method-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

/* Ensure all images are >= 200x200px */
.page-payment-methods img {
    min-width: 200px;
    min-height: 200px;
}

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