.page-payment-methods {
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-payment-methods__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: #000000; /* Dark background for hero content */
}

.page-payment-methods__hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image slightly to ensure text readability */
}

.page-payment-methods__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF; /* Light text on dark image background */
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.page-payment-methods__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FCBC45; /* Login button color for emphasis */
}

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

.page-payment-methods__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-payment-methods__hero-button {
    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;
    white-space: nowrap;
}

.page-payment-methods__hero-button--deposit {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-payment-methods__hero-button--deposit:hover {
    background-color: #e0a33c;
    border-color: #e0a33c;
}

.page-payment-methods__hero-button--register {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-payment-methods__hero-button--register:hover {
    background-color: #FFFFFF;
    color: #000000;
}

.page-payment-methods__overview-section,
.page-payment-methods__methods-section,
.page-payment-methods__how-to-guide-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__additional-info-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-payment-methods__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-payment-methods__text-content {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-payment-methods__method-card {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-payment-methods__method-icon {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure images are not too small */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: contain;
    margin: 0 auto 25px;
    border-radius: 8px;
}

.page-payment-methods__card-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

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

.page-payment-methods__features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.page-payment-methods__list-item {
    color: #333333;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95em;
}

.page-payment-methods__list-item::before {
    content: '✔';
    color: #FCBC45;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-payment-methods__card-button {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-payment-methods__card-button:hover {
    background-color: #333333;
}

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

.page-payment-methods__step-card {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__step-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
}

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

.page-payment-methods__step-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure images are not too small */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
}

.page-payment-methods__cta-block {
    background-color: #000000;
    color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
}

.page-payment-methods__cta-text {
    font-size: 1.5em;
    margin-bottom: 25px;
    font-weight: bold;
    color: #FCBC45;
}

.page-payment-methods__cta-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-payment-methods__cta-button:hover {
    background-color: #e0a33c;
}

.page-payment-methods__faq-item {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-payment-methods__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #FCBC45;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-payment-methods__faq-answer {
    color: #555555;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding-top: 0;
}

.page-payment-methods__faq-answer.open {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

.page-payment-methods__additional-info-section {
    background-color: #F0F0F0;
}

.page-payment-methods__additional-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-payment-methods__additional-button {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-payment-methods__additional-button:hover {
    background-color: #333333;
}

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

@media (max-width: 768px) {
    .page-payment-methods {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    }
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__hero-button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-payment-methods__overview-section,
    .page-payment-methods__methods-section,
    .page-payment-methods__how-to-guide-section,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__additional-info-section {
        padding: 40px 0;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__text-content {
        font-size: 0.95em;
    }
    .page-payment-methods__grid,
    .page-payment-methods__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__method-card,
    .page-payment-methods__step-card {
        padding: 25px;
    }
    .page-payment-methods__method-icon,
    .page-payment-methods__step-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-payment-methods__cta-text {
        font-size: 1.2em;
    }
    .page-payment-methods__additional-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__additional-button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-payment-methods__container img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__hero-description {
        font-size: 0.9em;
    }
    .page-payment-methods__hero-button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__card-title {
        font-size: 1.5em;
    }
    .page-payment-methods__step-title {
        font-size: 1.3em;
    }
    .page-payment-methods__cta-text {
        font-size: 1em;
    }
}