/* style/payment-methods.css */

/* Variables from custom color palette */
:root {
    --page-payment-methods-primary-color: #11A84E;
    --page-payment-methods-secondary-color: #22C768;
    --page-payment-methods-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-payment-methods-card-bg: #11271B;
    --page-payment-methods-background: #08160F;
    --page-payment-methods-text-main: #F2FFF6;
    --page-payment-methods-text-secondary: #A7D9B8;
    --page-payment-methods-border: #2E7A4E;
    --page-payment-methods-glow: #57E38D;
    --page-payment-methods-gold: #F2C14E;
    --page-payment-methods-divider: #1E3A2A;
    --page-payment-methods-deep-green: #0A4B2C;
}

.page-payment-methods {
    font-family: 'Arial', sans-serif;
    background-color: var(--page-payment-methods-background); /* Dark background */
    color: var(--page-payment-methods-text-main); /* Light text on dark background */
}

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

.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    position: relative;
    order: 1; /* Image above content */
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-payment-methods__hero-content {
    order: 2; /* Content below image */
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--page-payment-methods-background);
    border-radius: 8px;
    margin-top: -80px; /* Overlap slightly for visual flow */
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--page-payment-methods-text-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-payment-methods__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--page-payment-methods-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-payment-methods__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 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: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-payment-methods__btn-primary {
    background: var(--page-payment-methods-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(var(--page-payment-methods-primary-color), 0.3);
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: var(--page-payment-methods-glow);
    border: 2px solid var(--page-payment-methods-glow);
}

.page-payment-methods__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--page-payment-methods-glow);
    color: var(--page-payment-methods-background);
    box-shadow: 0 8px 15px rgba(var(--page-payment-methods-glow), 0.3);
}

.page-payment-methods__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--page-payment-methods-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-payment-methods__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--page-payment-methods-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-payment-methods__dark-section {
    background-color: var(--page-payment-methods-card-bg);
    padding: 60px 0;
}

.page-payment-methods__introduction-section,
.page-payment-methods__why-choose-section,
.page-payment-methods__deposit-methods-section,
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdrawal-methods-section,
.page-payment-methods__withdrawal-guide-section,
.page-payment-methods__limits-fees-section,
.page-payment-methods__troubleshooting-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
    padding: 60px 0;
}

.page-payment-methods__why-choose-section,
.page-payment-methods__deposit-guide-section,
.page-payment-methods__troubleshooting-section,
.page-payment-methods__faq-section {
    background-color: var(--page-payment-methods-background);
}

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

.page-payment-methods__card {
    background-color: var(--page-payment-methods-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--page-payment-methods-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__feature-icon,
.page-payment-methods__step-image {
    width: 100%; /* Ensure images are responsive */
    max-width: 250px; /* Adjust max-width for smaller cards */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block; /* Ensure block display for margin auto */
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__feature-title,
.page-payment-methods__method-title,
.page-payment-methods__step-title,
.page-payment-methods__issue-title,
.page-payment-methods__security-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--page-payment-methods-text-main);
    margin-bottom: 15px;
}

.page-payment-methods__feature-description,
.page-payment-methods__method-description,
.page-payment-methods__step-description,
.page-payment-methods__issue-description,
.page-payment-methods__issue-solution,
.page-payment-methods__security-description {
    font-size: 1rem;
    color: var(--page-payment-methods-text-secondary);
    line-height: 1.7;
    text-align: justify;
}

.page-payment-methods__method-details {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-payment-methods__method-details li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__list-icon {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--page-payment-methods-glow);
}

.page-payment-methods__note {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--page-payment-methods-deep-green);
    border-left: 5px solid var(--page-payment-methods-glow);
    border-radius: 8px;
    color: var(--page-payment-methods-text-main);
    font-style: italic;
}

.page-payment-methods__note strong {
    color: var(--page-payment-methods-gold);
}

.page-payment-methods__transaction-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background-color: var(--page-payment-methods-background);
    border-radius: 8px;
    overflow: hidden;
}

.page-payment-methods__transaction-table th,
.page-payment-methods__transaction-table td {
    border: 1px solid var(--page-payment-methods-divider);
    padding: 15px;
    text-align: left;
    color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__transaction-table th {
    background-color: var(--page-payment-methods-deep-green);
    color: var(--page-payment-methods-text-main);
    font-weight: 600;
}

.page-payment-methods__transaction-table tbody tr:nth-child(even) {
    background-color: rgba(var(--page-payment-methods-divider), 0.2);
}

.page-payment-methods__transaction-table-wrapper {
    overflow-x: auto; /* Enable horizontal scrolling for tables on small screens */
    width: 100%;
    box-sizing: border-box;
}

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

.page-payment-methods__contact-cta .page-payment-methods__btn-primary {
    margin-top: 20px;
}

.page-payment-methods__faq-list {
    margin-top: 40px;
}

.page-payment-methods__faq-item {
    background-color: var(--page-payment-methods-card-bg);
    border: 1px solid var(--page-payment-methods-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--page-payment-methods-text-main);
    cursor: pointer;
    background-color: var(--page-payment-methods-deep-green);
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: var(--page-payment-methods-primary-color);
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
    background-color: var(--page-payment-methods-primary-color);
}

.page-payment-methods__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--page-payment-methods-text-main);
    margin-left: 15px;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    color: var(--page-payment-methods-text-main);
}

.page-payment-methods__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--page-payment-methods-text-secondary);
    line-height: 1.7;
    text-align: justify;
    background-color: var(--page-payment-methods-card-bg);
}

.page-payment-methods__faq-answer p {
    margin-bottom: 0;
}

/* Floating buttons */
.page-payment-methods__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-payment-methods__floating-btn {
    display: block;
    padding: 12px 20px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.page-payment-methods__floating-btn--register {
    background: var(--page-payment-methods-button-gradient);
    color: #ffffff;
}

.page-payment-methods__floating-btn--register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--page-payment-methods-primary-color), 0.4);
}

.page-payment-methods__floating-btn--login {
    background-color: var(--page-payment-methods-card-bg);
    color: var(--page-payment-methods-glow);
    border: 1px solid var(--page-payment-methods-glow);
}

.page-payment-methods__floating-btn--login:hover {
    transform: translateY(-2px);
    background-color: var(--page-payment-methods-glow);
    color: var(--page-payment-methods-card-bg);
    box-shadow: 0 6px 18px rgba(var(--page-payment-methods-glow), 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-payment-methods__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }

    .page-payment-methods__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-payment-methods__subtitle {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }

    .page-payment-methods__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }

    .page-payment-methods__text-block {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-bottom: 40px;
    }

    .page-payment-methods__hero-content {
        margin-top: -40px;
        padding: 25px 10px;
    }

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

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__introduction-section,
    .page-payment-methods__why-choose-section,
    .page-payment-methods__deposit-methods-section,
    .page-payment-methods__deposit-guide-section,
    .page-payment-methods__withdrawal-methods-section,
    .page-payment-methods__withdrawal-guide-section,
    .page-payment-methods__limits-fees-section,
    .page-payment-methods__troubleshooting-section,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 0;
    }

    .page-payment-methods__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-payment-methods__card {
        padding: 25px;
    }

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

    .page-payment-methods__feature-icon,
    .page-payment-methods__step-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-payment-methods__transaction-table-wrapper {
        padding: 0 15px;
    }

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

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

    .page-payment-methods__faq-answer {
        font-size: 0.9rem;
        padding: 15px 20px;
    }

    .page-payment-methods__floating-buttons {
        bottom: 15px;
        right: 15px;
        flex-direction: row; /* Floating buttons side-by-side on mobile */
        width: calc(100% - 30px);
        justify-content: space-around;
    }

    .page-payment-methods__floating-btn {
        flex: 1;
        margin: 0 5px; /* Adjust spacing */
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-content {
        margin-top: -20px;
        padding: 20px 10px;
    }

    .page-payment-methods__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-payment-methods__subtitle {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }

    .page-payment-methods__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .page-payment-methods__floating-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
    }

    .page-payment-methods__floating-btn {
        margin: 0;
    }
}