/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Main text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    padding: 100px 0 60px; /* Adjust for header offset */
    padding-top: var(--header-offset, 120px);
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Brand color as background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.page-payment-methods__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Slightly transparent to allow text to stand out */
}

.page-payment-methods__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 900px;
}

.page-payment-methods__hero-description a {
    color: #FFFF00; /* Yellow for links in hero */
    text-decoration: underline;
}

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

/* Section Titles */
.page-payment-methods__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Brand color for titles */
    font-weight: bold;
}

.page-payment-methods__hero-section .page-payment-methods__section-title,
.page-payment-methods__methods-section .page-payment-methods__section-title,
.page-payment-methods__guide-section .page-payment-methods__section-title,
.page-payment-methods__faq-section .page-payment-methods__section-title,
.page-payment-methods__cta-final-section .page-payment-methods__section-title {
    color: #ffffff; /* White for titles on dark background sections */
}

/* Text Blocks */
.page-payment-methods__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #ffffff; /* Default text color for page */
}

.page-payment-methods__text-block a {
    color: #FFFF00; /* Yellow for links in text blocks */
    text-decoration: underline;
}

/* Intro Section */
.page-payment-methods__intro-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

/* Methods Section */
.page-payment-methods__methods-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

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

.page-payment-methods__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards on dark sections */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff; /* Light text for cards */
}

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

.page-payment-methods__card-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%; /* Ensure image fills card width */
    min-height: 200px; /* Enforce minimum size */
}

.page-payment-methods__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for card titles on dark background sections */
    flex-grow: 1; /* Allow title to take available space */
}

.page-payment-methods__card-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-payment-methods__card-description a {
    color: #FFFF00; /* Yellow for links in card description */
    text-decoration: underline;
}

/* Withdrawal Section */
.page-payment-methods__withdrawal-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

/* Guide Section */
.page-payment-methods__guide-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-payment-methods__guide-item {
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__guide-title {
    font-size: 1.8em;
    color: #FFFF00; /* Yellow for guide titles */
    margin-bottom: 20px;
}

.page-payment-methods__guide-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-payment-methods__guide-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-payment-methods__guide-list li strong {
    color: #ffffff;
}

.page-payment-methods__guide-list li a {
    color: #FFFF00; /* Yellow for links in guide list */
    text-decoration: underline;
}

.page-payment-methods__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Tips Section */
.page-payment-methods__tips-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

.page-payment-methods__tips-list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-payment-methods__tips-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-payment-methods__tips-list li strong {
    color: #ffffff;
}

.page-payment-methods__tips-list li a {
    color: #FFFF00; /* Yellow for links in tips list */
    text-decoration: underline;
}

.page-payment-methods__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* FAQ Section */
.page-payment-methods__faq-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    color: #ffffff;
    background-color: #017439; /* Brand color for question background */
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: #015f2f; /* Slightly darker on hover */
}

.page-payment-methods__faq-title {
    margin: 0;
    color: #ffffff;
    font-weight: normal;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFF00; /* Yellow for toggle icon */
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign */
}

.page-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #e0e0e0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 20px 25px;
}

.page-payment-methods__faq-answer p {
    margin: 0;
    color: #e0e0e0;
}

.page-payment-methods__faq-answer a {
    color: #FFFF00; /* Yellow for links in FAQ answer */
    text-decoration: underline;
}

/* Final CTA Section */
.page-payment-methods__cta-final-section {
    padding: 80px 0;
    text-align: center;
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-payment-methods__cta-final-section .page-payment-methods__section-title {
    color: #ffffff;
}

.page-payment-methods__cta-final-section .page-payment-methods__text-block {
    margin-bottom: 40px;
}

.page-payment-methods__cta-final-section .page-payment-methods__text-block a {
    color: #FFFF00; /* Yellow for links in final CTA */
    text-decoration: underline;
}

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

/* Buttons */
.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-payment-methods__btn-primary {
    background-color: #C30808; /* Red for primary buttons */
    color: #FFFF00; /* Yellow for primary button text */
    border: 2px solid #C30808;
}

.page-payment-methods__btn-primary:hover {
    background-color: #9e0606;
    border-color: #9e0606;
    color: #ffffff;
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Yellow for secondary button text */
    border: 2px solid #FFFF00; /* Yellow border */
}

.page-payment-methods__btn-secondary:hover {
    background-color: #FFFF00;
    color: #0a0a0a; /* Dark text on yellow hover */
}

.page-payment-methods__cta-bottom {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.8em;
    }

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

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
        min-height: 400px;
    }

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

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

    .page-payment-methods__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
}