.page-payment-methods {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
}

.page-payment-methods__section-padding {
    padding: 60px 0;
}

.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: #C91F17;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-payment-methods__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding to avoid double header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures image covers the area */
    max-height: 675px;
}

.page-payment-methods__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual flow, but text is below image */
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: #C91F17;
    margin-bottom: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

.page-payment-methods__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.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.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-payment-methods__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #FFF5E1;
    border: 2px solid #F4D34D;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-secondary {
    background: #ffffff;
    color: #C91F17;
    border: 2px solid #C91F17;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-payment-methods__feature-card {
    background: #ffffff; /* Light background for features */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-payment-methods__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.page-payment-methods__feature-title {
    font-size: 1.5em;
    color: #C91F17;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-payment-methods__feature-description {
    font-size: 1em;
    color: #555555;
}

/* Dark Section Styling */
.page-payment-methods__dark-section {
    background-color: #B71C1C; /* Custom Background color */
    color: #FFF5E1; /* Text Main color */
}

.page-payment-methods__dark-section .page-payment-methods__section-title {
    color: #FFD86A; /* Gold color for titles on dark background */
}

.page-payment-methods__dark-section .page-payment-methods__section-intro {
    color: #FFCC66;
}

/* Deposit Methods Section */
.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: #ffffff; /* Default light background */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-payment-methods__card-bg {
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
}

.page-payment-methods__card-bg .page-payment-methods__method-title {
    color: #FFD86A;
}

.page-payment-methods__card-bg .page-payment-methods__method-description,
.page-payment-methods__card-bg .page-payment-methods__method-details li,
.page-payment-methods__card-bg .page-payment-methods__method-details li strong {
    color: #FFF5E1;
}

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

.page-payment-methods__method-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.page-payment-methods__method-title {
    font-size: 1.8em;
    color: #C91F17;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.page-payment-methods__method-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-payment-methods__method-details {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.page-payment-methods__method-details li {
    margin-bottom: 10px;
    color: #555555;
}

.page-payment-methods__method-details ol {
    padding-left: 20px;
    margin-top: 10px;
}

.page-payment-methods__method-details ol li {
    margin-bottom: 5px;
    color: #555555;
}

.page-payment-methods__sub-list {
    list-style: disc;
    padding-left: 20px;
}

/* Withdrawal Methods Section */
.page-payment-methods__withdrawal-card,
.page-payment-methods__limits-info,
.page-payment-methods__important-notes {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    color: #333333;
}

.page-payment-methods__text-link {
    color: #C91F17;
    text-decoration: underline;
    font-weight: bold;
}

.page-payment-methods__text-link:hover {
    color: #E53935;
}

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

.page-payment-methods__tip-item {
    background: #D32F2F;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    color: #FFF5E1;
}

.page-payment-methods__tip-item:hover {
    transform: translateY(-10px);
}

.page-payment-methods__tip-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.page-payment-methods__tip-text {
    font-size: 1em;
    color: #FFF5E1;
}

.page-payment-methods__tip-text strong {
    color: #FFD86A;
}

/* FAQ Section */
.page-payment-methods__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__faq-item {
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #C91F17;
    border-bottom: 1px solid #eee;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
    background-color: #f0f0f0;
    border-bottom: none;
}

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

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #E53935;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    content: '−';
}

.page-payment-methods__faq-answer {
    padding: 20px 25px;
    background-color: #ffffff;
    border-top: 1px solid #eee;
    font-size: 1em;
    color: #555555;
}

.page-payment-methods__faq-answer p {
    margin: 0;
}

/* Conclusion Section */
.page-payment-methods__final-cta {
    font-size: 1.2em;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
    color: #FFF5E1;
}

/* --- Responsive Design --- */

@media (max-width: 1024px) {
    .page-payment-methods__section-padding {
        padding: 40px 0;
    }

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

    .page-payment-methods__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

    .page-payment-methods__hero-description {
        font-size: 1.1em;
    }

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-payment-methods__section-title {
        font-size: 2em;
    }

    .page-payment-methods__section-intro {
        font-size: 1em;
    }

    .page-payment-methods__feature-card,
    .page-payment-methods__method-card,
    .page-payment-methods__withdrawal-card,
    .page-payment-methods__limits-info,
    .page-payment-methods__important-notes,
    .page-payment-methods__tip-item {
        padding: 25px;
    }

    .page-payment-methods__feature-title {
        font-size: 1.3em;
    }

    .page-payment-methods__method-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-payment-methods__section-padding {
        padding: 30px 0;
    }

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

    /* Hero Section */
    .page-payment-methods__hero-section {
        flex-direction: column;
        padding-top: 10px !important;
    }

    .page-payment-methods__hero-image {
        object-fit: contain !important; /* Mobile hero image should contain, not cover */
        max-height: none !important;
        aspect-ratio: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-payment-methods__hero-content {
        margin-top: 0; /* Remove overlap on mobile */
        padding: 20px 15px;
        border-radius: 0;
        box-shadow: none;
        background: #ffffff; /* Ensure white background for text on mobile */
        width: 100%;
    }

    .page-payment-methods__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
        margin-bottom: 10px;
    }

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

    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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;
        font-size: 1em;
    }

    .page-payment-methods__section-title {
        font-size: 1.8em;
    }

    .page-payment-methods__section-intro {
        font-size: 0.95em;
    }

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

    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__feature-card,
    .page-payment-methods__method-card,
    .page-payment-methods__withdrawal-card,
    .page-payment-methods__limits-info,
    .page-payment-methods__important-notes,
    .page-payment-methods__tip-item,
    .page-payment-methods__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Features Grid */
    .page-payment-methods__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__feature-icon {
        width: 60px;
        height: 60px;
    }

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

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

    /* Safety Tips List */
    .page-payment-methods__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__tip-icon {
        width: 50px;
        height: 50px;
    }

    /* FAQ Section */
    .page-payment-methods__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

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

    .page-payment-methods__faq-toggle {
        font-size: 1.2em;
    }

    .page-payment-methods__final-cta {
        font-size: 1.1em;
    }
}