/* style/payment-methods.css */

/* Custom Colors */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --body-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 {
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--body-bg); /* Body background from custom colors */
}

/* General Section Styling */
.page-payment-methods__hero-section,
.page-payment-methods__introduction-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.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;
}

.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.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

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

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

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
}

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

.page-payment-methods__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for readability */
    border-radius: 8px;
    margin-top: -100px; /* Overlap image slightly for visual effect, ensuring text is below the image */
    position: relative;
    z-index: 1;
}

.page-payment-methods__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

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

.page-payment-methods__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-payment-methods__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

.page-payment-methods__cta-button--small {
    padding: 12px 25px;
    font-size: 1em;
}

.page-payment-methods__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Image Styling */
.page-payment-methods__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    max-width: 800px; /* Constrain content images */
}

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

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

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

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

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

.page-payment-methods__card-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.page-payment-methods__card-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 0.95em;
}

.page-payment-methods__card-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--glow-color);
}

.page-payment-methods__card-note {
    font-size: 0.9em;
    color: var(--gold-color);
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
}

/* Security Section */
.page-payment-methods__security-list {
    list-style-type: none;
    padding: 0;
    margin: 30px 0;
}

.page-payment-methods__security-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-main);
}

.page-payment-methods__security-list li strong {
    color: var(--primary-color);
}

.page-payment-methods__security-list li::before {
    content: '🔒';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5em;
    color: var(--glow-color);
}

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

.page-payment-methods__tips-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-main);
}

.page-payment-methods__tips-list li strong {
    color: var(--gold-color);
}

.page-payment-methods__tips-list li::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5em;
    color: var(--gold-color);
}

/* FAQ Section */
.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-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--deep-green);
    transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-item summary:hover {
    background-color: rgba(16, 75, 44, 0.8);
}

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

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

.page-payment-methods__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* CTA Section */
.page-payment-methods__cta-section {
    text-align: center;
    background: var(--deep-green);
    padding: 80px 0;
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--primary-color);
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-payment-methods__cta-section .page-payment-methods__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: var(--text-main);
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .page-payment-methods__hero-content {
        margin-top: -80px;
    }
}

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

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

    .page-payment-methods__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

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

    .page-payment-methods__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-payment-methods__text-block {
        font-size: 0.95em;
    }

    .page-payment-methods__method-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__method-card,
    .page-payment-methods__faq-item {
        padding: 20px;
    }

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

    .page-payment-methods__card-list li,
    .page-payment-methods__security-list li,
    .page-payment-methods__tips-list li {
        font-size: 0.9em;
        padding-left: 30px;
    }

    .page-payment-methods__security-list li::before,
    .page-payment-methods__tips-list li::before {
        font-size: 1.2em;
    }

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

    .page-payment-methods__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
    }

    /* Mobile image and video responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-payment-methods video,
    .page-payment-methods__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-payment-methods__hero-section,
    .page-payment-methods__introduction-section,
    .page-payment-methods__deposit-section,
    .page-payment-methods__withdrawal-section,
    .page-payment-methods__security-section,
    .page-payment-methods__tips-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section,
    .page-payment-methods__container,
    .page-payment-methods__hero-image-wrapper,
    .page-payment-methods__video-section,
    .page-payment-methods__video-container,
    .page-payment-methods__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-payment-methods__hero-section {
        padding-top: 10px !important;
    }

    /* Buttons */
    .page-payment-methods__cta-button,
    .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;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    
    .page-payment-methods__cta-buttons,
    .page-payment-methods__button-group,
    .page-payment-methods__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-content {
        margin-top: -40px;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__main-title {
        font-size: clamp(1.5em, 8vw, 2.2em);
    }
}