/* style/payment-methods.css */

/* Base Styles */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default dark text for light background */
    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: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-payment-methods__sub-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 600;
    color: #26A9E0;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-payment-methods__text-block,
.page-payment-methods__list li,
.page-payment-methods__card-text {
    font-size: 17px;
    margin-bottom: 15px;
}

.page-payment-methods__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #26A9E0, #1a7bb0);
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-payment-methods__main-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-payment-methods__description {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-payment-methods__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-payment-methods__btn-primary:hover {
    background-color: #d16b00;
    border-color: #d16b00;
    transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
    background-color: #e0f2ff;
    color: #1a7bb0;
    transform: translateY(-2px);
}

/* Overview Section */
.page-payment-methods__overview-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods-section {
    padding: 60px 0;
    background-color: #f5fafd; /* Light blue tint for medium background */
    color: #333333;
}

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

.page-payment-methods__card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.page-payment-methods__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-payment-methods__card-title {
    font-size: 24px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-payment-methods__card-sub-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a7bb0;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-payment-methods__card-button {
    margin-top: auto; /* Pushes button to the bottom */
    align-self: flex-start;
}

/* Withdraw Guide Section */
.page-payment-methods__withdraw-guide-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

/* Security Section */
.page-payment-methods__security-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #26A9E0, #1a7bb0);
    color: #FFFFFF;
}

.page-payment-methods__security-section .page-payment-methods__section-title,
.page-payment-methods__security-section .page-payment-methods__text-block {
    color: #FFFFFF;
}

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

.page-payment-methods__dark-bg-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    box-shadow: none;
}

.page-payment-methods__dark-bg-card .page-payment-methods__card-title {
    color: #FFFFFF;
}

.page-payment-methods__dark-bg-card .page-payment-methods__card-sub-title {
    color: #f0f0f0;
}

.page-payment-methods__dark-bg-card a {
    color: #f0f0f0;
    text-decoration: underline;
}

.page-payment-methods__dark-bg-card a:hover {
    color: #FFFFFF;
}

/* Tips Section */
.page-payment-methods__tips-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-payment-methods__tips-list li {
    background-color: #f5fafd;
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-payment-methods__tips-list li h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-payment-methods__tips-list li p {
    margin-bottom: 0;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    padding: 60px 0;
    background-color: #f5fafd; /* Light blue tint for medium background */
    color: #333333;
}

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

.page-payment-methods__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-methods__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #26A9E0;
    cursor: pointer;
    outline: none;
    position: relative;
}

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

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

.page-payment-methods__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-payment-methods__faq-toggle {
    font-size: 24px;
    line-height: 1;
    width: 24px;
    text-align: center;
}

.page-payment-methods__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    color: #555555;
}

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

/* Conclusion Section */
.page-payment-methods__conclusion-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #26A9E0, #1a7bb0);
    color: #FFFFFF;
    text-align: center;
}

.page-payment-methods__conclusion-section .page-payment-methods__section-title,
.page-payment-methods__conclusion-section .page-payment-methods__sub-title,
.page-payment-methods__conclusion-section .page-payment-methods__text-block {
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-payment-methods__hero-image {
        max-height: 450px;
    }
    .page-payment-methods__method-cards,
    .page-payment-methods__security-features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-payment-methods__hero-image {
        max-height: 300px;
    }
    .page-payment-methods__main-title {
        font-size: 36px;
    }
    .page-payment-methods__description {
        font-size: 16px;
    }
    .page-payment-methods__section-title {
        font-size: 30px;
    }
    .page-payment-methods__sub-title {
        font-size: 22px;
    }
    .page-payment-methods__text-block,
    .page-payment-methods__list li,
    .page-payment-methods__card-text {
        font-size: 16px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .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: 12px 20px;
        font-size: 16px;
    }
    .page-payment-methods__container,
    .page-payment-methods__method-cards,
    .page-payment-methods__security-features,
    .page-payment-methods__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-payment-methods__card-image {
        height: 180px;
    }
    .page-payment-methods__card {
        padding: 20px;
    }
    .page-payment-methods__faq-item summary {
        font-size: 18px;
        padding: 15px;
    }
    .page-payment-methods__faq-answer {
        padding: 0 15px 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__main-title {
        font-size: 28px;
    }
    .page-payment-methods__section-title {
        font-size: 24px;
    }
    .page-payment-methods__sub-title {
        font-size: 20px;
    }
    .page-payment-methods__faq-item summary {
        font-size: 16px;
    }
    .page-payment-methods__card-title {
        font-size: 20px;
    }
}