/* style/payment-methods.css */

/* Base styles for the page, ensuring text is visible on a dark body background */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    line-height: 1.6;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding as body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1a1a2e; /* Dark background for hero section */
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Spacing between image and content */
}

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

.page-payment-methods__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-payment-methods__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive H1 font size */
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-payment-methods__hero-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* CTA Buttons in Hero */
.page-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.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;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-payment-methods__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-payment-methods__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Section Common Styles */
.page-payment-methods__section {
    padding: 60px 0;
    background-color: #1a1a2e; /* Consistent dark background */
}

.page-payment-methods__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-payment-methods__section-title--light {
    color: #ffffff; /* White title for dark sections */
}

.page-payment-methods__section-description {
    font-size: 1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-payment-methods__section-description--light {
    color: #ffffff;
}

/* Deposit Methods Grid */
.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: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff; /* Light text for card content */
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-payment-methods__method-icon {
    width: 250px; /* Increased size, min 200px */
    height: 180px; /* Increased size, min 200px */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px; /* Added for aesthetic */
}

.page-payment-methods__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-payment-methods__card-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

.page-payment-methods__cta-buttons--center {
    margin-top: 40px;
}

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

.page-payment-methods__step-card {
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff; /* Light text for card content */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-payment-methods__step-icon {
    width: 280px; /* Increased size, min 200px */
    height: 180px; /* Increased size, min 200px */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px; /* Added for aesthetic */
}

/* FAQ Section */
.page-payment-methods__faq-section {
    background-color: #1a1a2e; /* Consistent dark background */
}

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

.page-payment-methods__faq-item {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background for FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff; /* Light text */
}

.page-payment-methods__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    outline: none;
    font-weight: bold;
    font-size: 1.1em;
    color: #26A9E0; /* Brand color for questions */
    list-style: none; /* Remove default marker */
}

.page-payment-methods__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-payment-methods__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95em;
    color: #e0e0e0;
}

/* Bottom CTA Section */
.page-payment-methods__cta-bottom {
    padding: 80px 0;
    background-color: #26A9E0; /* Use brand color for background */
    text-align: center;
}

.page-payment-methods__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-payment-methods__cta-image {
    width: 600px; /* Example size */
    height: 338px; /* Example size */
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__cta-text-wrapper {
    max-width: 800px;
}

.page-payment-methods__btn-primary--light {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}

.page-payment-methods__btn-primary--light:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-payment-methods__hero-section {
        padding: 40px 0;
        padding-top: 10px;
    }
    .page-payment-methods__section {
        padding: 40px 0;
    }
    .page-payment-methods__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-payment-methods__section-title {
        font-size: clamp(1.6em, 4.5vw, 2.2em);
    }
    .page-payment-methods__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-payment-methods__cta-bottom {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding: 30px 0;
        padding-top: 10px !important; /* body handles header offset, small top padding */
    }
    .page-payment-methods__section {
        padding: 30px 0;
    }
    .page-payment-methods__container {
        padding: 0 15px; /* Add side padding for mobile */
    }

    /* Images responsiveness */
    .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__method-card,
    .page-payment-methods__step-card,
    .page-payment-methods__cta-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-payment-methods__method-icon,
    .page-payment-methods__step-icon {
        width: 100% !important; /* Make icons take full width of card */
        height: auto !important;
        max-width: 250px !important; /* Still ensure they don't get too large */
    }

    /* Buttons responsiveness */
    .page-payment-methods__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important; /* Adjust padding for mobile */
    }
    .page-payment-methods__cta-buttons--center {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    /* Grid layouts */
    .page-payment-methods__methods-grid,
    .page-payment-methods__process-steps {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .page-payment-methods__hero-content,
    .page-payment-methods__cta-content {
        padding: 0 15px;
    }

    .page-payment-methods__cta-bottom {
        padding: 40px 0;
    }
    .page-payment-methods__cta-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-payment-methods__cta-text-wrapper {
        text-align: center;
    }

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