/* Base Styles for Payment Methods Page */
.page-payment-methods {
    font-family: Arial, sans-serif;
    color: var(--text-main, #1F2D3D);
    background: var(--background, #F4F7FB);
    line-height: 1.6;
    padding-bottom: 50px;
}

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

.page-payment-methods__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main, #1F2D3D);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-payment-methods__section-intro-text {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-main, #1F2D3D);
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    background-color: #2F6BFF;
    color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    text-align: center;
}

.page-payment-methods__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

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

.page-payment-methods__hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-payment-methods__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

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

.page-payment-methods__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

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

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

/* Overview Section */
.page-payment-methods__overview-section {
    padding: 60px 0;
    background: var(--background, #F4F7FB);
}

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

.page-payment-methods__feature-card {
    background: var(--card-bg, #FFFFFF);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-payment-methods__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 80px;
    min-height: 80px;
}

.page-payment-methods__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 10px;
}

.page-payment-methods__feature-description {
    font-size: 16px;
    color: var(--text-main, #1F2D3D);
}

/* Payment Methods Section */
.page-payment-methods__methods-section {
    padding: 60px 0;
    background: var(--background, #F4F7FB);
}

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

.page-payment-methods__method-card {
    background: var(--card-bg, #FFFFFF);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.page-payment-methods__method-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    min-width: 200px;
    min-height: 200px;
}

.page-payment-methods__method-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 15px;
}

.page-payment-methods__method-description {
    font-size: 16px;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-payment-methods__method-details-list li {
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-main, #1F2D3D);
}

.page-payment-methods__method-card .page-payment-methods__btn-primary {
    margin-top: auto;
    width: 100%;
}

/* Withdrawal Section */
.page-payment-methods__withdrawal-section {
    padding: 80px 0;
    background: var(--main-color, #2F6BFF);
    color: #ffffff;
}

.page-payment-methods__withdrawal-section .page-payment-methods__section-title,
.page-payment-methods__withdrawal-section .page-payment-methods__section-intro-text {
    color: #ffffff;
}

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

.page-payment-methods__step-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--main-color, #2F6BFF);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-payment-methods__step-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-payment-methods__step-description {
    font-size: 16px;
    color: #f0f0f0;
}

.page-payment-methods__withdrawal-cta {
    text-align: center;
    margin-top: 50px;
}

/* Security Section */
.page-payment-methods__security-section {
    padding: 60px 0;
    background: var(--background, #F4F7FB);
}

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

.page-payment-methods__security-item {
    background: var(--card-bg, #FFFFFF);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__security-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 80px;
    min-height: 80px;
}

.page-payment-methods__security-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 10px;
}

.page-payment-methods__security-description {
    font-size: 16px;
    color: var(--text-main, #1F2D3D);
}

/* FAQ Section */
.page-payment-methods__faq-section {
    padding: 60px 0;
    background: var(--background, #F4F7FB);
}

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

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border, #D6E2FF);
  overflow: hidden;
  background: var(--card-bg, #FFFFFF);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: #f8f8f8;
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #1F2D3D);
}
.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--main-color, #2F6BFF);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 25px 25px;
  background: #fdfdfd;
  border-radius: 0 0 12px 12px;
  font-size: 16px;
  color: var(--text-main, #1F2D3D);
}

/* CTA Section */
.page-payment-methods__cta-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #ffffff;
    text-align: center;
}

.page-payment-methods__cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-payment-methods__cta-description {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

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

/* General Image Styles */
.page-payment-methods img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 42px;
    }
    .page-payment-methods__hero-description {
        font-size: 18px;
    }
    .page-payment-methods__btn-primary, .page-payment-methods__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-payment-methods__section-title {
        font-size: 32px;
    }
    .page-payment-methods__section-intro-text {
        font-size: 16px;
    }
    .page-payment-methods__method-cards-grid,
    .page-payment-methods__steps-grid,
    .page-payment-methods__security-features,
    .page-payment-methods__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .page-payment-methods__cta-title {
        font-size: 36px;
    }
    .page-payment-methods__cta-description {
        font-size: 18px;
    }
}

@media (max-width: 849px) {
    .page-payment-methods__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
        position: relative;
        opacity: 0.5;
    }
    .page-payment-methods__hero-image-wrapper {
        position: relative;
        height: auto;
        width: 100%;
    }
    .page-payment-methods__hero-section {
        padding-top: 10px;
        min-height: unset;
        padding-bottom: 40px;
    }
    .page-payment-methods__hero-content {
        padding: 20px 15px;
    }
    .page-payment-methods__hero-title {
        font-size: 36px;
    }
    .page-payment-methods__hero-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__container {
        padding: 0 15px;
    }

    .page-payment-methods__hero-section {
        padding-top: 10px; /* Small top padding */
        min-height: unset;
    }
    .page-payment-methods__hero-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 15px;
    }
    .page-payment-methods__hero-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-payment-methods__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-payment-methods__hero-buttons .page-payment-methods__btn-primary,
    .page-payment-methods__hero-buttons .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__section-title {
        font-size: 28px;
        padding-top: 30px;
        margin-bottom: 15px;
    }
    .page-payment-methods__section-intro-text {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-payment-methods__features-grid,
    .page-payment-methods__method-cards-grid,
    .page-payment-methods__steps-grid,
    .page-payment-methods__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-payment-methods__feature-card,
    .page-payment-methods__method-card,
    .page-payment-methods__step-card,
    .page-payment-methods__security-item {
        padding: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-payment-methods__feature-icon,
    .page-payment-methods__security-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        margin-bottom: 15px;
    }
    .page-payment-methods__feature-title,
    .page-payment-methods__step-title,
    .page-payment-methods__security-title {
        font-size: 20px;
    }
    .page-payment-methods__feature-description,
    .page-payment-methods__step-description,
    .page-payment-methods__security-description {
        font-size: 15px;
    }

    .page-payment-methods__method-image {
        height: 200px;
        margin-bottom: 20px;
        min-width: 200px;
        min-height: 200px;
    }
    .page-payment-methods__method-title {
        font-size: 22px;
    }
    .page-payment-methods__method-description {
        font-size: 15px;
    }
    .page-payment-methods__method-details-list {
        margin-bottom: 20px;
    }
    .page-payment-methods__method-details-list li {
        font-size: 14px;
    }

    .page-payment-methods__withdrawal-section,
    .page-payment-methods__security-section,
    .page-payment-methods__overview-section,
    .page-payment-methods__methods-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 0;
    }
    .page-payment-methods__withdrawal-cta {
        margin-top: 30px;
    }
    .page-payment-methods__withdrawal-cta .page-payment-methods__btn-primary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    details.page-payment-methods__faq-item summary.page-payment-methods__faq-question { padding: 15px; }
    .page-payment-methods__faq-qtext { font-size: 16px; }
    .page-payment-methods__faq-toggle { font-size: 24px; width: 24px; margin-left: 10px; }
    details.page-payment-methods__faq-item .page-payment-methods__faq-answer { padding: 0 15px 15px; font-size: 15px; }

    .page-payment-methods__cta-title {
        font-size: 32px;
    }
    .page-payment-methods__cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-payment-methods__cta-buttons .page-payment-methods__btn-primary,
    .page-payment-methods__cta-buttons .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Ensure all images are responsive */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Ensure all content containers are responsive and prevent overflow */
    .page-payment-methods__overview-section,
    .page-payment-methods__methods-section,
    .page-payment-methods__withdrawal-section,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .page-payment-methods__hero-section .page-payment-methods__hero-image-wrapper {
        overflow-x: hidden;
    }
}