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

.page-payment-methods {
    background-color: var(--background-dark);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-payment-methods__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-payment-methods__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--text-main);
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit hero image height */
    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 {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: 40px; /* Space between image and text */
}

.page-payment-methods__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-payment-methods__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
    margin: 10px;
}

.page-payment-methods__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-payment-methods__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--background-dark);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-payment-methods__why-choose-section,
.page-payment-methods__how-to-deposit-section,
.page-payment-methods__how-to-withdraw-section,
.page-payment-methods__faq-section {
    padding: 80px 0;
    background-color: var(--background-dark);
}

.page-payment-methods__dark-bg {
    background-color: var(--card-bg);
}

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

.page-payment-methods__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-payment-methods__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-payment-methods__feature-icon,
.page-payment-methods__method-icon {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__feature-title,
.page-payment-methods__method-title,
.page-payment-methods__step-title,
.page-payment-methods__note-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-payment-methods__feature-description,
.page-payment-methods__method-description,
.page-payment-methods__step-description,
.page-payment-methods__note-description {
    font-size: 1em;
    color: var(--text-secondary);
}

.page-payment-methods__step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-payment-methods__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: var(--text-main);
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(34, 199, 104, 0.6);
}

.page-payment-methods__other-methods {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: var(--deep-green);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.page-payment-methods__other-methods p {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-top: 20px;
}

.page-payment-methods__other-methods a {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
}

.page-payment-methods__other-methods a:hover {
    text-decoration: underline;
}

.page-payment-methods__important-notes-section {
    padding: 80px 0;
    background-color: var(--background-dark);
}

.page-payment-methods__note-item a {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
}

.page-payment-methods__note-item a:hover {
    text-decoration: underline;
}

.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: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-payment-methods__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--gold-color);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    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: var(--border-color);
}

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

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
}

.page-payment-methods__faq-answer {
    padding: 20px 30px;
    font-size: 1em;
    color: var(--text-secondary);
    text-align: left;
}

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

.page-payment-methods__cta-bottom {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--background-dark);
}

.page-payment-methods__cta-bottom .page-payment-methods__section-title {
    color: var(--gold-color);
}

.page-payment-methods__cta-description {
    font-size: 1.2em;
    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;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-payment-methods__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-payment-methods__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-payment-methods__main-title {
        font-size: clamp(1.8em, 6vw, 2.8em);
    }

    .page-payment-methods__hero-description,
    .page-payment-methods__cta-description {
        font-size: 1em;
    }

    .page-payment-methods__hero-section {
        padding-bottom: 40px;
    }

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

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

    .page-payment-methods__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-payment-methods__features-grid,
    .page-payment-methods__methods-grid,
    .page-payment-methods__steps-grid,
    .page-payment-methods__notes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__card {
        padding: 20px;
    }

    .page-payment-methods__feature-icon,
    .page-payment-methods__method-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .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-image-wrapper,
    .page-payment-methods__hero-content,
    .page-payment-methods__other-methods,
    .page-payment-methods__faq-item,
    .page-payment-methods__cta-bottom {
        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;
    }

    .page-payment-methods__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }

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

    .page-payment-methods__why-choose-section,
    .page-payment-methods__deposit-methods-section,
    .page-payment-methods__how-to-deposit-section,
    .page-payment-methods__withdrawal-methods-section,
    .page-payment-methods__how-to-withdraw-section,
    .page-payment-methods__important-notes-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-bottom {
        padding: 40px 0;
    }
}