/* style/payment-methods.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #000000;
    --text-light: #ffffff;
    --bg-dark: #0a0a0a;
    --btn-login: #EA7C07;
}

.page-payment-methods {
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark);
}

.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
}

.page-payment-methods__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-payment-methods__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: var(--text-light);
}

.page-payment-methods__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--secondary-color);
}

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

.page-payment-methods__section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.page-payment-methods__feature-card,
.page-payment-methods__method-card,
.page-payment-methods__tip-card,
.page-payment-methods__card {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-payment-methods__feature-title,
.page-payment-methods__method-title,
.page-payment-methods__tip-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-payment-methods__feature-card p,
.page-payment-methods__method-card p,
.page-payment-methods__tip-card p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-dark);
    flex-grow: 1;
}

.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: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-payment-methods__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

.page-payment-methods__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-payment-methods__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-payment-methods__dark-bg .page-payment-methods__section-title {
    color: var(--primary-color);
}

.page-payment-methods__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-payment-methods__light-bg .page-payment-methods__section-title {
    color: var(--primary-color);
}

.page-payment-methods__withdrawal-guide {
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
    color: var(--text-dark);
}

.page-payment-methods__guide-step {
    margin-bottom: 30px;
}

.page-payment-methods__guide-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-payment-methods__guide-step p,
.page-payment-methods__guide-list {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-payment-methods__guide-list {
    list-style-type: decimal;
    padding-left: 25px;
}

.page-payment-methods__guide-list li {
    margin-bottom: 8px;
}

.page-payment-methods__cta-bottom {
    margin-top: 50px;
}

.page-payment-methods__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-payment-methods__faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    list-style: none;
}

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

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

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f9f9f9;
}

.page-payment-methods__call-to-action {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-payment-methods__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-payment-methods__cta-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.8em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    }
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__section {
        padding: 50px 15px;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-payment-methods__feature-grid, 
    .page-payment-methods__method-cards, 
    .page-payment-methods__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-payment-methods__feature-card,
    .page-payment-methods__method-card,
    .page-payment-methods__tip-card,
    .page-payment-methods__card {
        padding: 25px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        font-size: 1em;
        padding: 12px 25px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-payment-methods__hero-actions,
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__guide-title {
        font-size: 1.5em;
    }
    .page-payment-methods__guide-step p,
    .page-payment-methods__guide-list {
        font-size: 1em;
    }
    .page-payment-methods__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-payment-methods__cta-title {
        font-size: 1.8em;
    }
    .page-payment-methods__cta-description {
        font-size: 1em;
    }

    /* Mobile image and video responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__cta-title {
        font-size: 1.5em;
    }
}