/* 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: #222; /* Matches body background from shared.css */
}

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

.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    padding: 80px 20px 40px; /* Adjusted padding-top for header offset */
    padding-top: var(--header-offset, 120px); /* Ensures space for fixed header */
    overflow: hidden;
    background-color: #017439; /* Brand primary color */
}

.page-payment-methods__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #ffffff;
}

.page-payment-methods__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-payment-methods__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.page-payment-methods__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
}

.page-payment-methods__introduction .page-payment-methods__section-title,
.page-payment-methods__withdrawal-methods .page-payment-methods__section-title,
.page-payment-methods__processing .page-payment-methods__section-title,
.page-payment-methods__faq-section .page-payment-methods__section-title {
    color: #017439; /* Brand color for light background sections */
}

.page-payment-methods__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-payment-methods__introduction .page-payment-methods__paragraph,
.page-payment-methods__withdrawal-methods .page-payment-methods__paragraph,
.page-payment-methods__processing .page-payment-methods__paragraph,
.page-payment-methods__faq-section .page-payment-methods__paragraph {
    color: #333333; /* Dark text for light background sections */
}

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

.page-payment-methods__method-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    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;
}

.page-payment-methods__introduction,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__processing,
.page-payment-methods__faq-section {
    background-color: #ffffff; /* Light background for contrast */
    color: #333333;
    padding: 60px 20px;
}

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

.page-payment-methods__method-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-payment-methods__method-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlighted title */
}

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

.page-payment-methods__introduction .page-payment-methods__method-description,
.page-payment-methods__withdrawal-methods .page-payment-methods__method-description,
.page-payment-methods__processing .page-payment-methods__method-description,
.page-payment-methods__faq-section .page-payment-methods__method-description {
    color: #333333; /* Dark text for light background sections */
}

.page-payment-methods__method-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #f0f0f0;
}

.page-payment-methods__method-features li {
    margin-bottom: 8px;
    font-size: 0.95em;
}

.page-payment-methods__method-features li strong {
    color: #FFFF00;
}

.page-payment-methods__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-payment-methods__image-full {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 40px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-payment-methods__list {
    list-style: disc;
    margin-left: 20px;
    color: #f0f0f0;
}

.page-payment-methods__introduction .page-payment-methods__list,
.page-payment-methods__withdrawal-methods .page-payment-methods__list,
.page-payment-methods__processing .page-payment-methods__list,
.page-payment-methods__faq-section .page-payment-methods__list {
    color: #333333; /* Dark text for light background sections */
}

.page-payment-methods__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

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

.page-payment-methods__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #e8e8e8;
    color: #017439; /* Brand color for questions */
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: #dcdcdc;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    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;
    background-color: #fefefe;
    color: #333333;
}

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

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

.page-payment-methods__cta-final {
    background-color: #017439; /* Brand primary color */
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.page-payment-methods__cta-final .page-payment-methods__container {
    position: relative;
    z-index: 2;
}

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

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
}