:root {
    --main-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-payment-methods {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--bg-color); /* #08160F */
}

.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding for visual separation from header */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 500px; /* Limit hero image height */
}

.page-payment-methods__hero-content {
    position: relative; 
    z-index: 2; 
    padding: 20px;
    max-width: 900px;
    margin-top: -150px; /* Pull content up over the image */
    background: rgba(8, 22, 15, 0.7); /* Semi-transparent background for readability */
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-payment-methods__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow: #57E38D */
}

.page-payment-methods__main-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-gradient);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box; /* For responsiveness */
    white-space: normal; /* For responsiveness */
    word-wrap: break-word; /* For responsiveness */
}

.page-payment-methods__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4); /* Glow: #57E38D */
}

.page-payment-methods__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--card-bg); /* #11271B */
    border-radius: 10px;
    border: 1px solid var(--divider-color); /* #1E3A2A */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--gold-color); /* #F2C14E */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-payment-methods__section-description {
    font-size: 1.1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.page-payment-methods__feature-card,
.page-payment-methods__method-card,
.page-payment-methods__security-item {
    background-color: var(--deep-green); /* #0A4B2C */
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover,
.page-payment-methods__security-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.3); /* Glow: #57E38D */
}

.page-payment-methods__feature-icon,
.page-payment-methods__method-icon,
.page-payment-methods__security-icon {
    width: 100%;
    height: auto;
    max-width: 200px; /* Ensure images are not too wide in cards */
    margin-bottom: 15px;
    border-radius: 5px;
    display: block; /* Important for max-width to work */
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__feature-title,
.page-payment-methods__method-title,
.page-payment-methods__security-title {
    font-size: 1.4rem;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-payment-methods__feature-text,
.page-payment-methods__method-text,
.page-payment-methods__security-text {
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    line-height: 1.6;
}

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

.page-payment-methods__step-item {
    background-color: var(--deep-green); /* #0A4B2C */
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-payment-methods__step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 10px;
}

.page-payment-methods__step-title {
    font-size: 1.3rem;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-payment-methods__step-text {
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    line-height: 1.6;
}

.page-payment-methods__cta-deposit,
.page-payment-methods__cta-withdraw {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__important-notes {
    background-color: rgba(17, 168, 78, 0.1); /* Primary color with transparency */
    border: 1px solid var(--main-color); /* #11A84E */
    border-left: 5px solid var(--main-color); /* #11A84E */
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.page-payment-methods__notes-title {
    font-size: 1.3rem;
    color: var(--main-color); /* #11A84E */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-payment-methods__notes-list {
    list-style: none;
    padding-left: 0;
}

.page-payment-methods__notes-list li {
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.page-payment-methods__notes-list li::before {
    content: '•';
    color: var(--gold-color); /* #F2C14E */
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    top: -2px;
}

.page-payment-methods__final-note {
    font-size: 1.1rem;
    color: var(--text-main); /* #F2FFF6 */
    text-align: center;
    margin-top: 40px;
    font-style: italic;
}

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

.page-payment-methods__faq-item {
    background-color: var(--deep-green); /* #0A4B2C */
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color); /* #2E7A4E */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-main); /* #F2FFF6 */
}

.page-payment-methods__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-main); /* #F2FFF6 */
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-payment-methods__faq-item summary:hover {
    background-color: rgba(17, 168, 78, 0.2); /* Slightly lighter hover */
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-payment-methods__faq-qtext {
    flex-grow: 1;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color); /* #F2C14E */
}

.page-payment-methods__faq-answer {
    padding: 0 20px 15px;
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    line-height: 1.6;
}

.page-payment-methods__call-to-action {
    text-align: center;
    padding-bottom: 60px;
}

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

.page-payment-methods__cta-register,
.page-payment-methods__cta-promotions {
    padding: 14px 30px;
    font-size: 1.2rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-bottom: 40px;
    }

    .page-payment-methods__hero-content {
        margin-top: -80px; /* Adjust for smaller screens */
        padding: 15px;
    }

    .page-payment-methods__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-payment-methods__main-description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    .page-payment-methods__cta-button {
        padding: 10px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__section {
        margin: 20px auto;
        padding: 15px;
    }

    .page-payment-methods__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-payment-methods__section-description {
        font-size: 1rem;
    }

    .page-payment-methods__features-grid,
    .page-payment-methods__methods-grid,
    .page-payment-methods__security-details,
    .page-payment-methods__step-by-step {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__feature-icon,
    .page-payment-methods__method-icon,
    .page-payment-methods__security-icon {
        max-width: 150px;
    }

    .page-payment-methods__feature-title,
    .page-payment-methods__method-title,
    .page-payment-methods__security-title {
        font-size: 1.2rem;
    }

    .page-payment-methods__step-number {
        font-size: 2rem;
    }

    .page-payment-methods__step-title {
        font-size: 1.1rem;
    }

    .page-payment-methods__notes-title {
        font-size: 1.1rem;
    }

    .page-payment-methods__notes-list li {
        font-size: 0.95rem;
    }

    .page-payment-methods__final-note {
        font-size: 1rem;
    }

    .page-payment-methods__faq-item summary {
        font-size: 1rem;
        padding: 12px 15px;
    }

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

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

    .page-payment-methods__cta-register,
    .page-payment-methods__cta-promotions {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile image responsive styles */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__hero-section,
    .page-payment-methods__overview,
    .page-payment-methods__deposit-guide,
    .page-payment-methods__withdrawal-guide,
    .page-payment-methods__security-commitment,
    .page-payment-methods__faq,
    .page-payment-methods__call-to-action,
    .page-payment-methods__features-grid,
    .page-payment-methods__methods-grid,
    .page-payment-methods__security-details,
    .page-payment-methods__step-by-step,
    .page-payment-methods__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    /* Video section top padding for mobile */
    .page-payment-methods__video-section {
        padding-top: 10px !important;
    }
}