/* style/payment-methods.css */

/* --- General Styles --- */
.page-payment-methods {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    line-height: 1.6;
}

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

.page-payment-methods__section-title {
    font-size: 2.5em; /* Adjusted for desktop, will be responsive */
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-payment-methods__sub-title {
    font-size: 1.8em; /* Adjusted for desktop */
    font-weight: 600;
    color: #57E38D; /* Glow */
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-payment-methods__text-block {
    font-size: 1em;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-payment-methods__text-block a {
    color: #57E38D; /* Glow for links */
    text-decoration: none;
}

.page-payment-methods__text-block a:hover {
    text-decoration: underline;
}

.page-payment-methods__highlight-text {
    color: #F2C14E; /* Gold */
    font-weight: bold;
}

.page-payment-methods__list-item {
    margin-bottom: 10px;
    color: #A7D9B8; /* Text Secondary */
}

/* --- Buttons --- */
.page-payment-methods__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.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;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width calculation */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-payment-methods__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
}

.page-payment-methods__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow */
    border: 2px solid #57E38D; /* Glow */
}

.page-payment-methods__btn-secondary:hover {
    background-color: #57E38D; /* Glow */
    color: #08160F; /* Background */
    transform: translateY(-2px);
}

/* --- Image Styles (Global) --- */
.page-payment-methods img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto;
}

/* --- Hero Section --- */
.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px; /* Adjusted for desktop */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Background */
    box-sizing: border-box;
}

.page-payment-methods__hero-image {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 0; /* Hero image typically full width, no border radius */
    margin-bottom: 30px; /* Space between image and content */
}

.page-payment-methods__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods__main-title {
    /* No fixed font-size for H1 */
    font-weight: bold;
    line-height: 1.1;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive H1 font size */
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__hero-description a {
    color: #57E38D; /* Glow */
    text-decoration: none;
}

.page-payment-methods__hero-description a:hover {
    text-decoration: underline;
}

/* --- Content Sections --- */
.page-payment-methods__intro-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__conclusion-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-payment-methods__feature-list,
.page-payment-methods__step-list,
.page-payment-methods__info-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-payment-methods__feature-list li,
.page-payment-methods__step-list li,
.page-payment-methods__info-list li {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 10px;
}

.page-payment-methods__feature-list li strong,
.page-payment-methods__step-list li strong,
.page-payment-methods__info-list li strong {
    color: #F2FFF6; /* Text Main */
}

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

.page-payment-methods__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-methods__faq-item summary {
    list-style: none; /* Hide default marker for details tag */
}

.page-payment-methods__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for details tag in WebKit */
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    color: #F2FFF6; /* Text Main */
    background-color: #11271B; /* Card BG */
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: #1E3A2A; /* Divider - slightly darker for hover */
}

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

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-payment-methods__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
}

/* --- Responsive Images, Videos, Buttons (General) --- */
.page-payment-methods img,
.page-payment-methods video {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* --- Media Queries for Responsive Design --- */
@media (max-width: 768px) {
    .page-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-payment-methods__container {
        padding: 0 15px; /* Adjust padding for mobile */
    }

    .page-payment-methods__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset, this is extra */
    }

    .page-payment-methods__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Smaller H1 on mobile */
        margin-bottom: 15px;
    }

    .page-payment-methods__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-payment-methods__section-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .page-payment-methods__sub-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-payment-methods__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        margin-top: 30px;
    }

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important; /* Full width buttons on mobile */
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Force all images to be responsive on mobile */
    .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__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* Video specific responsive styles if any video is added */
    .page-payment-methods video,
    .page-payment-methods__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .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;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-payment-methods__video-section {
        padding-top: 10px !important; /* Small top padding for video section on mobile */
    }

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

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

    .page-payment-methods__intro-section,
    .page-payment-methods__deposit-section,
    .page-payment-methods__withdrawal-section,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__conclusion-section {
        padding: 40px 0;
    }
}

/* --- Color Contrast Fix (Emergency) --- */
.page-payment-methods__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-payment-methods__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}