/* style/resources-payment-methods.css */
.page-resources-payment-methods {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* Matches body background from shared.css */
}

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

.page-resources-payment-methods__hero-section {
    position: relative;
    padding: 100px 20px 60px;
    padding-top: var(--header-offset, 120px);
    background-color: #007bff;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-resources-payment-methods__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 123, 255, 0.6));
    z-index: 0;
}

.page-resources-payment-methods__hero-section > .page-resources-payment-methods__container {
    position: relative;
    z-index: 1;
}

.page-resources-payment-methods__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-resources-payment-methods__btn-primary,
.page-resources-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;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-payment-methods__btn-primary {
    background-color: #ffc107;
    color: #121212; /* Dark text on bright background */
    border: 2px solid #ffc107;
}

.page-resources-payment-methods__btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #121212;
}

.page-resources-payment-methods__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-payment-methods__btn-secondary:hover {
    background-color: #ffffff;
    color: #007bff;
}

.page-resources-payment-methods__overview-section,
.page-resources-payment-methods__withdrawal-section,
.page-resources-payment-methods__faq-section {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-resources-payment-methods__deposit-section,
.page-resources-payment-methods__security-section,
.page-resources-payment-methods__cta-bottom-section {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast */
    color: #ffffff;
    padding: 60px 0;
}

.page-resources-payment-methods__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-payment-methods__overview-section .page-resources-payment-methods__section-title,
.page-resources-payment-methods__withdrawal-section .page-resources-payment-methods__section-title,
.page-resources-payment-methods__faq-section .page-resources-payment-methods__section-title {
    color: #007bff;
}

.page-resources-payment-methods__deposit-section .page-resources-payment-methods__section-title,
.page-resources-payment-methods__security-section .page-resources-payment-methods__section-title,
.page-resources-payment-methods__cta-bottom-section .page-resources-payment-methods__section-title {
    color: #ffc107;
}

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

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

.page-resources-payment-methods__subsection-title {
    font-size: 1.8em;
    color: #007bff;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(0, 123, 255, 0.3);
    padding-bottom: 10px;
}

.page-resources-payment-methods__deposit-section .page-resources-payment-methods__subsection-title,
.page-resources-payment-methods__security-section .page-resources-payment-methods__subsection-title {
    color: #ffc107;
    border-bottom-color: rgba(255, 193, 7, 0.3);
}

.page-resources-payment-methods__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-resources-payment-methods__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-resources-payment-methods__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #007bff;
}

.page-resources-payment-methods__deposit-section .page-resources-payment-methods__list-item::before,
.page-resources-payment-methods__security-section .page-resources-payment-methods__list-item::before {
    color: #ffc107;
}

.page-resources-payment-methods__method-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-resources-payment-methods__overview-section .page-resources-payment-methods__method-card,
.page-resources-payment-methods__withdrawal-section .page-resources-payment-methods__method-card {
    background-color: #f8f9fa; /* Light background on light section */
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-payment-methods__card-title {
    font-size: 1.6em;
    color: #ffc107;
    margin-bottom: 20px;
    text-align: center;
}

.page-resources-payment-methods__overview-section .page-resources-payment-methods__card-title,
.page-resources-payment-methods__withdrawal-section .page-resources-payment-methods__card-title {
    color: #007bff;
}

.page-resources-payment-methods__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-resources-payment-methods__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

/* FAQ Section */
.page-resources-payment-methods__faq-item {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #333333;
}

.page-resources-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: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    color: #007bff;
}

.page-resources-payment-methods__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-payment-methods__faq-title {
    margin: 0;
    color: #007bff;
}

.page-resources-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffc107;
}

.page-resources-payment-methods__faq-item.active .page-resources-payment-methods__faq-toggle {
    transform: rotate(45deg);
    color: #007bff;
}

.page-resources-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f8f9fa;
    color: #333333;
}

.page-resources-payment-methods__faq-item.active .page-resources-payment-methods__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-payment-methods__faq-answer p {
    margin-bottom: 0;
    font-size: 1.05em;
}

.page-resources-payment-methods__cta-bottom-section {
    text-align: center;
    padding: 80px 0;
    background-color: #007bff;
    color: #ffffff;
}

.page-resources-payment-methods__cta-bottom-section .page-resources-payment-methods__section-title {
    color: #ffc107;
}

.page-resources-payment-methods__cta-bottom-section .page-resources-payment-methods__section-title::after {
    background-color: #ffffff;
}

.page-resources-payment-methods__cta-bottom-section .page-resources-payment-methods__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-resources-payment-methods__main-title {
        font-size: 2.8em;
    }

    .page-resources-payment-methods__section-title {
        font-size: 2em;
    }

    .page-resources-payment-methods__subsection-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-resources-payment-methods__hero-section {
        padding: 80px 15px 40px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-payment-methods__main-title {
        font-size: 2em;
    }

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

    .page-resources-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-payment-methods__btn-primary,
    .page-resources-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-payment-methods__section-title {
        font-size: 1.8em;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-payment-methods__subsection-title {
        font-size: 1.3em;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-payment-methods__text-block,
    .page-resources-payment-methods__list-item,
    .page-resources-payment-methods__method-card,
    .page-resources-payment-methods__faq-item {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-resources-payment-methods__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-payment-methods__image-wrapper,
    .page-resources-payment-methods__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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

    .page-resources-payment-methods__faq-item.active .page-resources-payment-methods__faq-answer {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-payment-methods__main-title {
        font-size: 1.8em;
    }

    .page-resources-payment-methods__section-title {
        font-size: 1.6em;
    }

    .page-resources-payment-methods__faq-question {
        font-size: 1em;
    }
}

/* Ensure content images are not small icons */
.page-resources-payment-methods img {
    min-width: 200px;
    min-height: 200px;
}

/* Contrast fixes for specific elements if needed */
.page-resources-payment-methods__dark-bg {
  color: #ffffff;
}
.page-resources-payment-methods__light-bg {
  color: #333333;
}
.page-resources-payment-methods__method-card p {
  color: inherit; /* Inherit from parent card */
}

/* Ensure all image tags within .page-resources-payment-methods conform to minimum size */
.page-resources-payment-methods__image,
.page-resources-payment-methods__image-wrapper img {
  width: 100%; /* Ensure images take full width of their container */
  height: auto; /* Maintain aspect ratio */
  min-width: 200px;
  min-height: 200px;
}

/* CSS for video elements - if any video is used on the page */
.page-resources-payment-methods video,
.page-resources-payment-methods__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-resources-payment-methods__video-section,
.page-resources-payment-methods__video-container,
.page-resources-payment-methods__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-resources-payment-methods video,
  .page-resources-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-payment-methods__video-section,
  .page-resources-payment-methods__video-container,
  .page-resources-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-resources-payment-methods__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  
  .page-resources-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}