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

.page-payment-methods {
    color: var(--dk68-text-main); /* Default text color for dark body background */
    background-color: var(--dk68-background-color);
    font-family: Arial, sans-serif;
}

.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__dark-section {
    background-color: var(--dk68-deep-green-color);
    color: var(--dk68-text-main);
}

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

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

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

.page-payment-methods__description {
    font-size: 1.1em;
    color: var(--dk68-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-payment-methods__btn-primary {
    display: inline-block;
    background: var(--dk68-button-gradient);
    color: var(--dk68-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-payment-methods__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--dk68-gold-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

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

.page-payment-methods__card {
    background-color: var(--dk68-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--dk68-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: var(--dk68-text-main);
}

.page-payment-methods__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px;
}

.page-payment-methods__feature-title {
    font-size: 1.5em;
    color: var(--dk68-gold-color);
    margin-bottom: 15px;
}

.page-payment-methods__feature-text {
    font-size: 1em;
    color: var(--dk68-text-secondary);
    line-height: 1.6;
    text-align: left;
}

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

.page-payment-methods__method-card {
    text-align: left;
}

.page-payment-methods__method-title {
    font-size: 1.6em;
    color: var(--dk68-gold-color);
    margin-bottom: 15px;
}

.page-payment-methods__method-description {
    font-size: 1em;
    color: var(--dk68-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-payment-methods__steps {
    list-style: decimal;
    padding-left: 20px;
    text-align: left;
    color: var(--dk68-text-main);
}

.page-payment-methods__steps li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.page-payment-methods__withdrawal-guide .page-payment-methods__content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-payment-methods__withdrawal-guide .page-payment-methods__text-block {
    flex: 2;
    color: var(--dk68-text-main);
}

.page-payment-methods__withdrawal-guide .page-payment-methods__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-payment-methods__subtitle {
    font-size: 1.4em;
    color: var(--dk68-primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-payment-methods__list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--dk68-text-secondary);
}

.page-payment-methods__list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.page-payment-methods__paragraph {
    font-size: 1em;
    color: var(--dk68-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-payment-methods__withdrawal-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--dk68-deep-green-color);
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--dk68-gold-color);
    border-bottom: 1px solid var(--dk68-divider-color);
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question {
    background-color: var(--dk68-primary-color);
}

.page-payment-methods__faq-question:hover {
    background-color: var(--dk68-primary-color);
}

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

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

/* Ensure summary doesn't have default marker */
.page-payment-methods__faq-item summary {
    list-style: none;
}

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

.page-payment-methods__cta-section {
    background-color: var(--dk68-deep-green-color);
    padding: 80px 0;
}

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

.page-payment-methods__cta-section .page-payment-methods__description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-payment-methods__hero-content {
        padding: 0 15px;
    }
    .page-payment-methods__main-title {
        font-size: 2.5em;
    }
    .page-payment-methods__section-title {
        font-size: 2.2em;
    }
    .page-payment-methods__withdrawal-guide .page-payment-methods__content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .page-payment-methods__withdrawal-guide .page-payment-methods__image-block {
        margin-top: 30px;
        width: 80%;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__section {
        padding: 40px 0;
    }
    .page-payment-methods__hero-section {
        padding-bottom: 40px;
    }
    .page-payment-methods__main-title {
        font-size: 2em;
    }
    .page-payment-methods__description {
        font-size: 1em;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__features-grid,
    .page-payment-methods__method-list {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__feature-item,
    .page-payment-methods__method-card,
    .page-payment-methods__faq-item {
        padding: 20px;
    }
    .page-payment-methods__faq-question {
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 15px 20px;
    }
    .page-payment-methods__cta-section {
        padding: 60px 0;
    }

    /* Mobile image responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-payment-methods__hero-image-wrapper,
    .page-payment-methods__withdrawal-guide .page-payment-methods__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-payment-methods__container,
    .page-payment-methods__hero-content,
    .page-payment-methods__features-grid,
    .page-payment-methods__method-list,
    .page-payment-methods__withdrawal-guide .page-payment-methods__content-wrapper,
    .page-payment-methods__faq-list,
    .page-payment-methods__cta-section .page-payment-methods__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Mobile button responsiveness */
    .page-payment-methods__btn-primary,
    .page-payment-methods a[class*="button"],
    .page-payment-methods a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        display: block; /* Ensure buttons stack vertically if needed */
        margin-left: auto; /* Center block buttons */
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__main-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title {
        font-size: 1.6em;
    }
    .page-payment-methods__feature-title {
        font-size: 1.3em;
    }
    .page-payment-methods__method-title {
        font-size: 1.4em;
    }
    .page-payment-methods__subtitle {
        font-size: 1.2em;
    }
}