:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #FFFFFF;
    --background-dark: #26A9E0;
    --button-login-color: #EA7C07;
    --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default dark text on light body background */
    line-height: 1.6;
    background-color: var(--background-light);
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.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__section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-payment-methods__section-title--white {
    color: var(--text-light);
}

.page-payment-methods__paragraph {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__paragraph--white {
    color: var(--text-light);
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), #4CAF50); /* Adjusted for visual appeal */
    color: var(--text-light);
}

.page-payment-methods__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-payment-methods__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-payment-methods__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-payment-methods__main-title {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1.1;
    color: var(--text-light);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-payment-methods__btn-primary {
    background: var(--button-login-color);
    color: var(--text-light);
    border: 2px solid var(--button-login-color);
}

.page-payment-methods__btn-primary:hover {
    background: #c76506; /* Darken on hover */
    border-color: #c76506;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-payment-methods__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-payment-methods__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Intro Section */
.page-payment-methods__intro-section {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-payment-methods__image-wrapper {
    margin-top: 40px;
    text-align: center;
}

.page-payment-methods__image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 800px; /* Limit max width for content images */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Deposit/Withdrawal Methods Section */
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods {
    background-color: var(--background-dark);
    color: var(--text-light);
}

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

.page-payment-methods__card {
    background: var(--background-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-payment-methods__card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency in cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-payment-methods__card-text {
    font-size: 16px;
    line-height: 1.6;
}

/* Step-by-step Guides */
.page-payment-methods__deposit-guide,
.page-payment-methods__withdrawal-guide {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-payment-methods__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-payment-methods__step-item {
    background: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__step-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-payment-methods__step-text {
    font-size: 16px;
    line-height: 1.6;
}

/* Limits and Fees */
.page-payment-methods__limits-fees {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-payment-methods__info-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__info-list--white {
    color: var(--text-light);
}

.page-payment-methods__info-item {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-payment-methods__info-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color); /* White checkmark */
    font-size: 20px;
    line-height: 1;
}

/* Security and Support */
.page-payment-methods__security-support {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-payment-methods__security-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__feature-item {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-payment-methods__feature-item::before {
    content: '🛡️';
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    background-color: var(--background-light);
    color: var(--text-dark);
}