/* style/payment-methods.css */

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

.page-payment-methods {
    color: var(--text-main);
    background-color: var(--bg-color-dark); /* Assuming body background is dark from shared */
}

.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0;
    background-color: var(--deep-green);
    overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height to prevent excessive size on large screens */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-payment-methods__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-payment-methods__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-payment-methods__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    line-height: 1.6;
}

.page-payment-methods__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-payment-methods__heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--button-gradient);
    border-radius: 2px;
}

.page-payment-methods p {
    margin-bottom: 1em;
    color: var(--text-main);
}

.page-payment-methods strong {
    color: var(--text-main);
}

.page-payment-methods em {
    color: var(--text-secondary);
    font-style: normal;
}

.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: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__method-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    box-sizing: border-box;
}

.page-payment-methods__method-title {
    font-size: 1.7rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-payment-methods__method-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    text-align: left;
    width: 100%;
}

.page-payment-methods__method-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.page-payment-methods__method-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--glow-color);
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-payment-methods__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-payment-methods__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 15px rgba(42, 209, 111, 0.6);
    transform: translateY(-2px);
}

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

.page-payment-methods__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--bg-color-dark);
    transform: translateY(-2px);
}

.page-payment-methods__sub-heading {
    font-size: 1.8rem;
    color: var(--gold-color);
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
}

.page-payment-methods__info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-payment-methods__info-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.page-payment-methods__info-list li strong {
    color: var(--text-main);
}

.page-payment-methods__security-compliance {
    background-color: var(--deep-green);
    padding: 80px 20px;
    border-radius: 15px;
    margin: 60px auto;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.page-payment-methods__security-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-payment-methods__security-text {
    flex: 1;
    color: var(--text-secondary);
}

.page-payment-methods__security-text p {
    margin-bottom: 1.5em;
}

.page-payment-methods__security-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-payment-methods__security-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.page-payment-methods__security-features li::before {
    content: '🛡️';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.page-payment-methods__security-image {
    flex: 0 0 450px;
    width: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

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

.page-payment-methods__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary compatibility */
}

.page-payment-methods__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-payment-methods__faq-question:hover {
    background-color: var(--deep-green);
    color: var(--gold-color);
}

.page-payment-methods__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 25px;
    text-align: center;
    color: var(--glow-color);
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
    border-bottom: 1px solid var(--border-color);
}

.page-payment-methods__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-payment-methods__faq-answer p {
    margin-bottom: 0;
}

.page-payment-methods__why-choose-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-payment-methods__why-choose-image {
    flex: 0 0 450px;
    width: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-payment-methods__why-choose-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-payment-methods__why-choose-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.page-payment-methods__why-choose-list li strong {
    color: var(--gold-color);
}

.page-payment-methods__why-choose-list li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    line-height: 1;
}

.page-payment-methods__cta {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--deep-green);
    border-radius: 15px;
    margin-top: 60px;
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

.page-payment-methods__cta .page-payment-methods__heading {
    margin-bottom: 30px;
}

.page-payment-methods__cta p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-payment-methods__security-content,
    .page-payment-methods__why-choose-content {
        flex-direction: column;
        text-align: center;
    }

    .page-payment-methods__security-image,
    .page-payment-methods__why-choose-image {
        order: -1; /* Image appears above text on smaller screens */
        width: 100%;
        max-width: 600px;
        margin-bottom: 30px;
    }

    .page-payment-methods__security-features,
    .page-payment-methods__why-choose-list {
        text-align: left;
    }
}

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

    .page-payment-methods__hero-content {
        margin-top: 20px;
    }

    .page-payment-methods__hero-title {
        font-size: 2rem;
    }

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

    .page-payment-methods__content-area {
        padding: 40px 15px;
    }

    .page-payment-methods__heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-payment-methods__method-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__method-card {
        padding: 20px;
    }

    .page-payment-methods__method-image {
        height: 150px;
    }

    .page-payment-methods__method-title {
        font-size: 1.5rem;
    }

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        margin-right: 0;
        margin-bottom: 15px;
        padding: 12px 20px;
        font-size: 1rem;
    }

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

    .page-payment-methods__security-compliance {
        padding: 60px 15px;
        margin: 40px auto;
    }

    .page-payment-methods__security-image,
    .page-payment-methods__why-choose-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-payment-methods__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-payment-methods__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .page-payment-methods__cta {
        padding: 60px 15px;
        margin-top: 40px;
    }

    .page-payment-methods__cta p {
        font-size: 1rem;
    }

    /* Ensure all images and their containers are responsive */
    .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__security-content,
    .page-payment-methods__why-choose-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-payment-methods__hero-section {
        padding-top: 10px !important;
    }
}