/* style/payment-methods.css */

/* Base styling for the page content, ensuring proper spacing from the fixed header */
.page-payment-methods {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content starts below the fixed header */
    background-color: #FFFFFF; /* Explicitly set for content area if needed, though body handles it */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-payment-methods__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Login button color for emphasis */
}

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

.page-payment-methods__hero-image {
    margin-bottom: 40px;
}

.page-payment-methods__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-payment-methods__button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 10px;
    font-size: 1.1em;
    min-width: 150px; /* Ensure buttons are not too small */
}

.page-payment-methods__button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000; /* Dark text for white background */
    border: 2px solid #FFFFFF;
}

.page-payment-methods__button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FCBC45;
}

.page-payment-methods__button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for yellow background */
    border: 2px solid #FCBC45;
}

.page-payment-methods__button--login:hover {
    background-color: transparent;
    color: #FCBC45;
    border-color: #FCBC45;
}

/* General Section Styling */
.page-payment-methods__introduction,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-measures,
.page-payment-methods__fees-limits,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Light background for content sections */
    color: #333333; /* Dark text for light background */
}

.page-payment-methods__introduction,
.page-payment-methods__security-measures,
.page-payment-methods__faq-section {
    background-color: #f8f8f8; /* Slightly off-white for visual separation */
}

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

.page-payment-methods__section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.page-payment-methods__note {
    font-style: italic;
    font-size: 0.95em;
    color: #555555;
    margin-top: 30px;
}

.page-payment-methods__note a {
    color: #000000;
    text-decoration: underline;
}

.page-payment-methods__note a:hover {
    color: #FCBC45;
}

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

.page-payment-methods__method-card {
    background-color: #000000; /* Dark background for method cards */
    color: #FFFFFF; /* Light text for dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-payment-methods__method-icon {
    margin-bottom: 20px;
}

.page-payment-methods__method-icon img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-payment-methods__method-title {
    font-size: 1.8em;
    color: #FCBC45;
    margin-bottom: 15px;
}

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

.page-payment-methods__method-details {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
    width: 100%;
    max-width: 300px;
}

.page-payment-methods__method-details li {
    margin-bottom: 10px;
    font-size: 0.95em;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
}

.page-payment-methods__method-details li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

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

.page-payment-methods__feature-item {
    background-color: #FFFFFF; /* Light background for feature items */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #eee;
}

.page-payment-methods__feature-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-payment-methods__feature-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
}

.page-payment-methods__feature-description {
    font-size: 1em;
    color: #555555;
}

/* Fees and Limits Table */
.page-payment-methods__table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.page-payment-methods__transaction-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensure table is readable on smaller screens */
}

.page-payment-methods__transaction-table th,
.page-payment-methods__transaction-table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
    font-size: 0.95em;
}

.page-payment-methods__transaction-table th {
    background-color: #000000; /* Dark header */
    color: #FFFFFF; /* Light text */
    font-weight: bold;
    text-transform: uppercase;
}

.page-payment-methods__transaction-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.page-payment-methods__transaction-table tr:hover {
    background-color: #f0f0f0;
}

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

.page-payment-methods__faq-item {
    background-color: #FFFFFF; /* Light background for FAQ items */
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.page-payment-methods__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer; /* Indicates it's interactive */
    position: relative;
    padding-right: 30px;
}

.page-payment-methods__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question::after {
    transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
    font-size: 1em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-top: 0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 15px;
}

/* Call to Action Section */
.page-payment-methods__cta-section {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF; /* Light text */
    text-align: center;
    padding: 80px 20px;
}

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

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

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

    .page-payment-methods__method-grid,
    .page-payment-methods__security-features {
        grid-template-columns: 1fr;
    }

    .page-payment-methods__button {
        padding: 12px 25px;
        font-size: 1em;
        margin: 8px;
    }

    /* Mobile image rules */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Maintain min-size */
        min-height: 200px; /* Maintain min-size */
    }

    .page-payment-methods__transaction-table th,
    .page-payment-methods__transaction-table td {
        padding: 10px;
        font-size: 0.85em;
    }
}

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

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

    .page-payment-methods__hero-section,
    .page-payment-methods__introduction,
    .page-payment-methods__deposit-methods,
    .page-payment-methods__withdrawal-methods,
    .page-payment-methods__security-measures,
    .page-payment-methods__fees-limits,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 0;
    }
}