/* style/payment-methods.css */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg); /* Inherit from shared */
}

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

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

.page-payment-methods__dark-bg {
    background-color: #000000;
    color: #ffffff;
}

.page-payment-methods__light-bg {
    background-color: #f8f9fa;
    color: #333333;
}

/* Hero Section */
.page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    background-color: #000000;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-payment-methods__hero-section .page-payment-methods__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-payment-methods__hero-content {
    flex: 1;
    min-width: 50%;
}

.page-payment-methods__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700;
    line-height: 1.2;
}

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

.page-payment-methods__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 400px;
}

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

/* General Titles and Text */
.page-payment-methods__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__light-bg .page-payment-methods__section-title {
    color: #000000;
    text-shadow: none;
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-payment-methods__light-bg .page-payment-methods__text-block {
    color: #555555;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-payment-methods__btn-primary {
    background-color: #FFD700;
    color: #000000;
    border: 2px solid #FFD700;
}

.page-payment-methods__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #000000;
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 20px;
}

.page-payment-methods__btn-secondary:hover {
    background-color: #FFD700;
    color: #000000;
}

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

/* Card Styles */
.page-payment-methods__card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-payment-methods__light-bg .page-payment-methods__card {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Features Grid */
.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-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.page-payment-methods__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-payment-methods__light-bg .page-payment-methods__feature-title {
    color: #000000;
}

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

.page-payment-methods__method-card {
    text-align: left;
    padding: 20px;
}

.page-payment-methods__method-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-payment-methods__method-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-payment-methods__light-bg .page-payment-methods__method-title {
    color: #000000;
}

/* Guide List */
.page-payment-methods__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-payment-methods__guide-list li {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700;
    color: #ffffff;
}

.page-payment-methods__light-bg .page-payment-methods__guide-list li {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #FFD700;
}

.page-payment-methods__guide-step-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-payment-methods__light-bg .page-payment-methods__guide-step-title {
    color: #000000;
}

.page-payment-methods__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Transaction Info */
.page-payment-methods__transaction-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__info-card {
    text-align: left;
}

.page-payment-methods__info-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-payment-methods__info-card ul {
    list-style: none;
    padding: 0;
}

.page-payment-methods__info-card ul li {
    margin-bottom: 8px;
    color: #e0e0e0;
}

/* Security List */
.page-payment-methods__security-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
}

.page-payment-methods__security-list li {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: #f0f0f0;
}

.page-payment-methods__security-list li strong {
    color: #FFD700;
}

.page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

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

.page-payment-methods__troubleshoot-item {
    text-align: left;
    padding: 20px;
}

.page-payment-methods__troubleshoot-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-payment-methods__light-bg .page-payment-methods__troubleshoot-title {
    color: #000000;
}

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

.page-payment-methods__faq-item {
    margin-bottom: 15px;
    overflow: hidden;
    padding: 0;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.page-payment-methods__light-bg .page-payment-methods__faq-question {
    background: #e9ecef;
    color: #000000;
}

.page-payment-methods__faq-question:hover {
    background-color: rgba(255, 215, 0, 0.25);
}

.page-payment-methods__light-bg .page-payment-methods__faq-question:hover {
    background-color: #dee2e6;
}

.page-payment-methods__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    flex-grow: 1;
}

.page-payment-methods__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
    transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.page-payment-methods__light-bg .page-payment-methods__faq-answer {
    background: #ffffff;
    color: #555555;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px 25px;
}

.page-payment-methods__faq-answer p {
    margin: 0;
    padding-top: 10px;
}

/* Call to Action Section */
.page-payment-methods__call-to-action {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #000000;
    color: #ffffff;
}

.page-payment-methods__call-to-action .page-payment-methods__section-title {
    color: #FFD700;
}

.page-payment-methods__call-to-action .page-payment-methods__text-block {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.8em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__hero-section .page-payment-methods__container {
        flex-direction: column;
        text-align: center;
    }
    .page-payment-methods__hero-content {
        order: 2;
        text-align: center;
    }
    .page-payment-methods__hero-image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }
    .page-payment-methods__btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-payment-methods__btn-primary, .page-payment-methods__btn-secondary {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__hero-description,
    .page-payment-methods__text-block,
    .page-payment-methods__info-card ul li,
    .page-payment-methods__security-list li,
    .page-payment-methods__faq-answer p {
        font-size: 1em;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-payment-methods__section {
        padding: 40px 0;
    }
    .page-payment-methods__container {
        padding: 0 15px;
    }

    /* Image Responsive Adaption */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__hero-section,
    .page-payment-methods__cta-buttons,
    .page-payment-methods__features-grid,
    .page-payment-methods__methods-grid,
    .page-payment-methods__transaction-info,
    .page-payment-methods__troubleshoot-grid,
    .page-payment-methods__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-payment-methods__hero-section {
        padding-top: var(--header-offset, 120px) !important; 
    }

    /* Button Responsive Adaption */
    .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;
        margin-left: 0 !important; /* Override desktop margin for secondary button */
        margin-top: 10px; /* Add vertical spacing for stacked buttons */
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__hero-description {
        font-size: 0.95em;
    }
    .page-payment-methods__feature-title,
    .page-payment-methods__method-title,
    .page-payment-methods__guide-step-title,
    .page-payment-methods__info-title,
    .page-payment-methods__troubleshoot-title,
    .page-payment-methods__faq-question h3 {
        font-size: 1.1em;
    }
    .page-payment-methods__faq-question {
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 0 20px;
    }
    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding: 15px 20px 20px;
    }
}