.page-payment-methods {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
    padding-bottom: 40px;
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-payment-methods__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per instruction */
    margin-bottom: 40px;
    overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    height: auto;
    max-height: 600px;
    overflow: hidden;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-payment-methods__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px;
    text-align: center;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
    position: relative;
    z-index: 1;
}

.page-payment-methods__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
}

.page-payment-methods__description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__cta-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slightly reverse gradient on hover */
}

.page-payment-methods__cta-button--secondary {
    background: #6FA3FF; /* Auxiliary color */
    color: #1F2D3D; /* Text Main for better contrast */
    margin-top: 20px;
}

.page-payment-methods__cta-button--secondary:hover {
    background: #2F6BFF; /* Main color on hover */
    color: #FFFFFF; /* White text on hover for contrast */
}

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

.page-payment-methods__introduction-section,
.page-payment-methods__methods-list-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section {
    padding: 40px 0;
    background-color: #FFFFFF; /* Card BG */
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__section-title {
    font-size: 2em;
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.page-payment-methods__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2F6BFF; /* Main color */
    border-radius: 2px;
}

.page-payment-methods__text {
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
    text-align: justify;
}

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

.page-payment-methods__method-card {
    background-color: #F4F7FB; /* Background */
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
}

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-payment-methods__method-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    max-height: 167px; /* Aspect ratio 600x400 */
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size for images */
    min-height: 133px; /* Enforce minimum size for images */
}

.page-payment-methods__method-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
}

.page-payment-methods__method-description {
    font-size: 0.95em;
    color: #1F2D3D; /* Text Main */
}

.page-payment-methods__withdrawal-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.page-payment-methods__withdrawal-text {
    flex: 1;
    min-width: 300px;
}

.page-payment-methods__withdrawal-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-payment-methods__withdrawal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px;
    min-height: 150px; /* Aspect ratio 800x600 */
}

.page-payment-methods__withdrawal-steps {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-payment-methods__step-item {
    background-color: #F4F7FB; /* Background */
    border-left: 4px solid #2F6BFF; /* Main color */
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: #1F2D3D; /* Text Main */
    font-size: 1.05em;
}

.page-payment-methods__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-payment-methods__feature-item {
    background-color: #F4F7FB; /* Background */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #D6E2FF; /* Border */
}

.page-payment-methods__feature-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #2F6BFF; /* Main color */
    margin-bottom: 10px;
}

.page-payment-methods__feature-description {
    font-size: 0.95em;
    color: #1F2D3D; /* Text Main */
}

.page-payment-methods__security-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px;
    min-height: 112px; /* Aspect ratio 1200x675 */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-payment-methods__hero-content {
        transform: translateY(-30px);
        padding: 15px;
    }

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

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

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

    .page-payment-methods__withdrawal-content {
        flex-direction: column;
    }

    /* Important: Mobile content area images must use max-width: 100%; height: auto; */
    .page-payment-methods__hero-image,
    .page-payment-methods__method-icon,
    .page-payment-methods__withdrawal-image,
    .page-payment-methods__security-image {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content area images are not smaller than 200px (CSS rule) */
    /* These min-width/height are already set for desktop and will apply to mobile as well if max-width:100% does not shrink them further than 200px */
}