.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #ffffff; /* Explicitly state for clarity, though shared.css might define body */
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom */
    background-color: #f8f9fa; /* Light background for the hero section */
}

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

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-payment-methods__hero-description {
    font-size: 1.15rem;
    color: #555555;
    margin-bottom: 30px;
}

/* General Section Styling */
.page-payment-methods__section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-payment-methods__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-payment-methods__section-description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Color Schemes */
.page-payment-methods__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-payment-methods__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-payment-methods__dark-bg .page-payment-methods__section-title,
.page-payment-methods__dark-bg .page-payment-methods__section-description {
    color: #ffffff;
}

/* CTA Buttons */
.page-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.page-payment-methods__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-payment-methods__btn-primary:hover {
    background-color: #d16d06;
    border-color: #d16d06;
    transform: translateY(-2px);
}

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

.page-payment-methods__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1e87c0;
    transform: translateY(-2px);
}

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

.page-payment-methods__card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
    color: #333333; /* Dark text for white card background */
}

.page-payment-methods__dark-bg .page-payment-methods__card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-payment-methods__card:hover {
    transform: translateY(-5px);
}

.page-payment-methods__card-title {
    font-size: 1.4rem;
    color: #26A9E0; /* Brand color for card titles */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-payment-methods__dark-bg .page-payment-methods__card-title {
    color: #ffffff; /* White title on dark card */
}

.page-payment-methods__card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
}

.page-payment-methods__dark-bg .page-payment-methods__card-text {
    color: #f0f0f0;
}

.page-payment-methods__note {
    font-size: 0.95rem;
    color: #777777;
    margin-top: 30px;
    text-align: center;
}

.page-payment-methods__dark-bg .page-payment-methods__note {
    color: #e0e0e0;
}

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

.page-payment-methods__process-step {
    background-color: #f0f8ff; /* Light blue background for steps */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #d0e8ff;
    color: #333333;
}

.page-payment-methods__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-title {
    font-size: 1.3rem;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-payment-methods__step-description {
    font-size: 0.95rem;
    color: #555555;
}

.page-payment-methods__step-description a {
    color: #EA7C07; /* Link color for CTA within description */
    text-decoration: none;
    font-weight: 600;
}

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

/* Security Section */
.page-payment-methods__security-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-payment-methods__security-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-payment-methods__security-item .page-payment-methods__item-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-payment-methods__security-item .page-payment-methods__item-text {
    font-size: 0.95rem;
    color: #f0f0f0;
    line-height: 1.6;
}

/* FAQ Section */
.page-payment-methods__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-payment-methods__faq-item {
    background-color: #f0f8ff; /* Light blue background for FAQ item */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #d0e8ff;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #26A9E0;
    cursor: pointer;
    background-color: #e6f3ff; /* Lighter blue for question */
    border-bottom: 1px solid #d0e8ff;
    user-select: none;
    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-qtext {
    flex-grow: 1;
}

.page-payment-methods__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-left: 15px;
    color: #26A9E0;
    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: 20px 25px;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    background-color: #f8fcff; /* Even lighter background for answer */
}

/* Bottom CTA Section */
.page-payment-methods__cta-bottom {
    padding: 80px 20px;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-payment-methods__cta-bottom .page-payment-methods__section-title {
    color: #ffffff;
}

.page-payment-methods__cta-bottom .page-payment-methods__section-description {
    color: #f0f0f0;
    margin-bottom: 50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-payment-methods__hero-section {
        padding: 10px 15px 50px;
    }
    .page-payment-methods__hero-image-container {
        margin-bottom: 25px;
    }
    .page-payment-methods__section {
        padding: 50px 15px;
    }
    .page-payment-methods__section-description {
        margin-bottom: 30px;
    }
    .page-payment-methods__method-grid,
    .page-payment-methods__process-flow,
    .page-payment-methods__security-list {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* General content area padding for mobile */
    .page-payment-methods__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsive */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-payment-methods__image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* Video responsive (if any, though none on this page) */
    .page-payment-methods video,
    .page-payment-methods__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .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;
    }
    .page-payment-methods__video-section {
        padding-top: 10px !important; /* Small top padding for video section */
    }

    /* Buttons responsive */
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .page-payment-methods a[class*="button"],
    .page-payment-methods a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px; /* Ensure padding inside button */
    }

    /* FAQ Toggle for mobile */
    .page-payment-methods__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-payment-methods__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .page-payment-methods__hero-section {
        padding: 10px 15px 40px;
    }
    .page-payment-methods__main-title {
        font-size: 2rem;
    }
    .page-payment-methods__hero-description {
        font-size: 1rem;
    }
    .page-payment-methods__section-title {
        font-size: 1.6rem;
    }
    .page-payment-methods__section-description {
        font-size: 1rem;
    }
    .page-payment-methods__card-title,
    .page-payment-methods__step-title,
    .page-payment-methods__security-item .page-payment-methods__item-title {
        font-size: 1.2rem;
    }
    .page-payment-methods__card-text,
    .page-payment-methods__step-description,
    .page-payment-methods__security-item .page-payment-methods__item-text,
    .page-payment-methods__note {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__main-title {
        font-size: 1.8rem;
    }
    .page-payment-methods__section-title {
        font-size: 1.4rem;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}