/* style/payment-methods.css */

.page-payment-methods {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Body background handled by shared.css */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-color: #0a0a0a; /* Ensure a dark background for this section */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-payment-methods__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for title */
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.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;
}

.page-payment-methods__btn-large {
    min-width: 200px;
}

/* General Section Styles */
.page-payment-methods__overview-section,
.page-payment-methods__methods-section,
.page-payment-methods__guide-section,
.page-payment-methods__notes-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
    padding: 60px 0;
}

.page-payment-methods__overview-section,
.page-payment-methods__notes-section,
.page-payment-methods__cta-section {
    background-color: #1a1a1a; /* Lighter dark background for contrast */
    color: #ffffff;
}

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

.page-payment-methods__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

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

.page-payment-methods__image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    min-height: 200px;
}

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

.page-payment-methods__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for card background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-payment-methods__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-payment-methods__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-payment-methods__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Guide Section */
.page-payment-methods__guide-block {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__guide-subtitle {
    font-size: 1.8em;
    color: #EA7C07; /* Login color for guide subtitles */
    margin-bottom: 20px;
    text-align: center;
}

.page-payment-methods__guide-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-payment-methods__guide-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #f0f0f0;
}

.page-payment-methods__guide-list li::before {
    content: '•';
    color: #26A9E0;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

.page-payment-methods__guide-step {
    font-weight: bold;
    color: #26A9E0;
}

.page-payment-methods__guide-image {
    display: block;
    margin: 30px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* Notes Section */
.page-payment-methods__notes-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-payment-methods__notes-list li {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.05em;
    color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__notes-item-title {
    color: #26A9E0;
}

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

.page-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-title {
    font-size: 1.2em;
    color: #ffffff;
    margin: 0;
}

.page-payment-methods__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

.page-payment-methods__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Call to Action Section */
.page-payment-methods__cta-section {
    text-align: center;
    background: linear-gradient(135deg, #26A9E0, #1e87b7); /* Gradient background for CTA */
    padding: 80px 0;
    color: #ffffff;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.3), inset 0 -5px 15px rgba(0,0,0,0.3);
}

.page-payment-methods__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.5em;
    }

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

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

    .page-payment-methods__cta-title {
        font-size: 2.2em;
    }
}

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

    .page-payment-methods__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__container {
        padding: 0 20px;
    }

    .page-payment-methods__overview-section,
    .page-payment-methods__methods-section,
    .page-payment-methods__guide-section,
    .page-payment-methods__notes-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 0;
    }

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

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

    .page-payment-methods__cards-grid {
        grid-template-columns: 1fr;
    }

    .page-payment-methods__card {
        padding: 25px;
    }

    .page-payment-methods__card-image,
    .page-payment-methods__image,
    .page-payment-methods__guide-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-payment-methods__guide-subtitle {
        font-size: 1.5em;
    }

    .page-payment-methods__guide-list li {
        font-size: 1em;
    }

    .page-payment-methods__notes-list li {
        font-size: 1em;
        padding: 15px;
    }

    .page-payment-methods__faq-question {
        padding: 15px 20px;
    }

    .page-payment-methods__faq-title {
        font-size: 1.1em;
    }

    .page-payment-methods__faq-answer {
        padding: 0 20px;
    }

    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding: 10px 20px 20px 20px;
    }

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

    .page-payment-methods__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }

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

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