/* style/payment-methods.css */

/* Base styles */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF;
}

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

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-payment-methods__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.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: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-payment-methods__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

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

.page-payment-methods__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a8cc4;
    border-color: #1a8cc4;
}

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

/* Section styles */
.page-payment-methods__hero-section {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-payment-methods__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-payment-methods__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-payment-methods__intro-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__important-notes,
.page-payment-methods__video-section {
    padding: 80px 0;
}

.page-payment-methods__how-to-deposit,
.page-payment-methods__how-to-withdraw,
.page-payment-methods__faq-section,
.page-payment-methods__conclusion-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-payment-methods__how-to-deposit .page-payment-methods__section-title,
.page-payment-methods__how-to-withdraw .page-payment-methods__section-title,
.page-payment-methods__faq-section .page-payment-methods__section-title,
.page-payment-methods__conclusion-section .page-payment-methods__section-title {
    color: #FFFFFF;
}

.page-payment-methods__how-to-deposit .page-payment-methods__text-block,
.page-payment-methods__how-to-withdraw .page-payment-methods__text-block,
.page-payment-methods__faq-section .page-payment-methods__text-block,
.page-payment-methods__conclusion-section .page-payment-methods__text-block {
    color: #f0f0f0;
}

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

.page-payment-methods__card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333;
    min-height: 450px; /* Ensure cards have sufficient height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-payment-methods__card:hover {
    transform: translateY(-10px);
}

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

.page-payment-methods__card-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: contain; /* Ensures image fits without cropping */
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-payment-methods__card-text {
    font-size: 1em;
    color: #555555;
    text-align: justify;
    flex-grow: 1;
}

/* Step lists */
.page-payment-methods__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-payment-methods__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 70px;
    color: #FFFFFF;
}

.page-payment-methods__list-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFFFFF;
    color: #26A9E0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: bold;
}

.page-payment-methods__list-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-payment-methods__list-text {
    font-size: 1em;
    color: #f0f0f0;
    text-align: justify;
}

/* Info list */
.page-payment-methods__info-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-payment-methods__info-list .page-payment-methods__list-item {
    background-color: #FFFFFF;
    color: #333333;
    border-left: 5px solid #26A9E0;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    padding-left: 25px; /* Adjust padding as no counter is used */
}

.page-payment-methods__info-list .page-payment-methods__list-item::before {
    content: none; /* Remove counter */
}

.page-payment-methods__info-list strong {
    color: #26A9E0;
}

/* FAQ section */
.page-payment-methods__faq-list {
    margin-top: 40px;
}

.page-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-methods__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    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: rgba(255, 255, 255, 0.2);
}

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

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

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    content: '−';
}

.page-payment-methods__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    text-align: justify;
}

/* Video section */
.page-payment-methods__video-wrapper {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.page-payment-methods__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
    display: block;
}

/* Utility classes */
.page-payment-methods__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-payment-methods__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 3em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__card {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding: 80px 20px 60px;
    }
    .page-payment-methods__hero-title {
        font-size: 2.5em;
    }
    .page-payment-methods__hero-description {
        font-size: 1.1em;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-payment-methods__text-block {
        font-size: 1em;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        box-sizing: border-box;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-payment-methods__intro-section,
    .page-payment-methods__deposit-methods,
    .page-payment-methods__withdrawal-methods,
    .page-payment-methods__important-notes,
    .page-payment-methods__how-to-deposit,
    .page-payment-methods__how-to-withdraw,
    .page-payment-methods__faq-section,
    .page-payment-methods__conclusion-section,
    .page-payment-methods__video-section {
        padding: 50px 0;
    }

    .page-payment-methods__container {
        padding: 0 15px;
    }

    .page-payment-methods__card {
        padding: 20px;
        min-height: auto;
    }
    .page-payment-methods__card-title {
        font-size: 1.5em;
    }
    .page-payment-methods__card-image {
        height: 150px; /* Adjust for smaller screens */
    }

    .page-payment-methods__list-item {
        padding: 20px 20px 20px 60px;
    }
    .page-payment-methods__list-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
        left: 15px;
    }
    .page-payment-methods__list-title {
        font-size: 1.3em;
    }

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

    /* Ensure all images are responsive and do not overflow */
    .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__video-section,
    .page-payment-methods__video-container,
    .page-payment-methods__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-payment-methods__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset is applied */
    }

    .page-payment-methods__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: 0 !important;
    }
    .page-payment-methods__video {
        width: 100% !important;
        height: 100% !important;
    }
}

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