/* style/app-features-payment-methods.css */

/* Variables from custom palette */
:root {
    --page-app-features-payment-methods-btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --page-app-features-payment-methods-card-bg: #10233F;
    --page-app-features-payment-methods-text-main: #F3F8FF;
    --page-app-features-payment-methods-text-secondary: #AFC4E8;
    --page-app-features-payment-methods-border: #244D84;
    --page-app-features-payment-methods-glow: #4FA8FF;
    --page-app-features-payment-methods-gold: #F2C14E;
    --page-app-features-payment-methods-divider: #1B3357;
    --page-app-features-payment-methods-deep-navy: #08162B;
}

.page-app-features-payment-methods {
    font-family: 'Arial', sans-serif;
    color: var(--page-app-features-payment-methods-text-main); /* Default text color for dark body bg */
    background-color: var(--page-app-features-payment-methods-deep-navy); /* Ensure consistency with body bg */
    line-height: 1.6;
}

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

.page-app-features-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    color: var(--page-app-features-payment-methods-text-main);
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding for content below */
    overflow: hidden;
}

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

.page-app-features-payment-methods__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Darken image for better text readability */
}

.page-app-features-payment-methods__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
    margin-top: 150px; /* Adjust to ensure content is below header offset and hero image */
}

.page-app-features-payment-methods__main-title {
    font-size: clamp(2.2em, 4vw, 2.8em);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--page-app-features-payment-methods-gold);
    line-height: 1.2;
}

.page-app-features-payment-methods__subtitle {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    color: var(--page-app-features-payment-methods-text-secondary);
}

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

.page-app-features-payment-methods__btn-primary,
.page-app-features-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-app-features-payment-methods__btn-primary {
    background: var(--page-app-features-payment-methods-btn-gradient);
    color: var(--page-app-features-payment-methods-text-main);
    border: 2px solid transparent;
}

.page-app-features-payment-methods__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-app-features-payment-methods__btn-secondary:hover {
    background: var(--page-app-features-payment-methods-gold);
    color: var(--page-app-features-payment-methods-deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-app-features-payment-methods__section {
    padding: 60px 0;
    text-align: center;
}

.page-app-features-payment-methods__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--page-app-features-payment-methods-gold);
}

.page-app-features-payment-methods__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--page-app-features-payment-methods-text-secondary);
}

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

.page-app-features-payment-methods__feature-card {
    background: var(--page-app-features-payment-methods-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--page-app-features-payment-methods-text-main);
    border: 1px solid var(--page-app-features-payment-methods-border);
}

.page-app-features-payment-methods__feature-card:hover {
    transform: translateY(-5px);
}

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

.page-app-features-payment-methods__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-app-features-payment-methods-gold);
}

.page-app-features-payment-methods__feature-card p {
    font-size: 1em;
    color: var(--page-app-features-payment-methods-text-secondary);
}

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

.page-app-features-payment-methods__method-card {
    background: var(--page-app-features-payment-methods-card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid var(--page-app-features-payment-methods-border);
}

.page-app-features-payment-methods__method-card:hover {
    transform: translateY(-5px);
}

.page-app-features-payment-methods__method-icon {
    width: 120px;
    height: 90px;
    margin-bottom: 15px;
    object-fit: contain;
}

.page-app-features-payment-methods__method-card p {
    font-size: 0.95em;
    color: var(--page-app-features-payment-methods-text-secondary);
}

.page-app-features-payment-methods__dark-section {
    background-color: var(--page-app-features-payment-methods-deep-navy);
    color: var(--page-app-features-payment-methods-text-main);
}

.page-app-features-payment-methods__dark-section .page-app-features-payment-methods__section-title,
.page-app-features-payment-methods__dark-section .page-app-features-payment-methods__card-title {
    color: var(--page-app-features-payment-methods-gold);
}

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

.page-app-features-payment-methods__step-card {
    background: var(--page-app-features-payment-methods-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--page-app-features-payment-methods-text-main);
    border: 1px solid var(--page-app-features-payment-methods-border);
}

.page-app-features-payment-methods__step-card h3 {
    color: var(--page-app-features-payment-methods-gold);
}

.page-app-features-payment-methods__step-card p {
    color: var(--page-app-features-payment-methods-text-secondary);
}

.page-app-features-payment-methods__cta-wrapper {
    margin-top: 50px;
}

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

.page-app-features-payment-methods__tech-item {
    background: var(--page-app-features-payment-methods-card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--page-app-features-payment-methods-text-main);
    border: 1px solid var(--page-app-features-payment-methods-border);
}

.page-app-features-payment-methods__tech-item h3 {
    color: var(--page-app-features-payment-methods-gold);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-app-features-payment-methods__tech-item p {
    color: var(--page-app-features-payment-methods-text-secondary);
    font-size: 0.95em;
}

.page-app-features-payment-methods__tips .page-app-features-payment-methods__tip-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 800px;
    text-align: left;
}

.page-app-features-payment-methods__tip-item {
    background: var(--page-app-features-payment-methods-card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: var(--page-app-features-payment-methods-text-main);
    border: 1px solid var(--page-app-features-payment-methods-border);
}

.page-app-features-payment-methods__tip-item strong {
    color: var(--page-app-features-payment-methods-gold);
}

.page-app-features-payment-methods__tip-item:last-child {
    margin-bottom: 0;
}

.page-app-features-payment-methods__faq-section {
    background-color: var(--page-app-features-payment-methods-deep-navy);
    color: var(--page-app-features-payment-methods-text-main);
}

.page-app-features-payment-methods__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

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

.page-app-features-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--page-app-features-payment-methods-gold);
    background: var(--page-app-features-payment-methods-card-bg);
    border-bottom: 1px solid var(--page-app-features-payment-methods-border);
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-app-features-payment-methods__faq-question::-webkit-details-marker {
    display: none;
}

.page-app-features-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
}

.page-app-features-payment-methods__faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--page-app-features-payment-methods-text-secondary);
    font-size: 1em;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-app-features-payment-methods__faq-item[open] .page-app-features-payment-methods__faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding-top: 15px;
}

.page-app-features-payment-methods__faq-item[open] .page-app-features-payment-methods__faq-question {
    border-bottom: none;
}

.page-app-features-payment-methods__cta-bottom {
    padding-bottom: 80px;
}

/* Ensure contrast for text on light background cards if any */
.page-app-features-payment-methods__text-contrast-fix {
    color: #333333; /* Fallback for light text on light background if contrast fails */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-app-features-payment-methods__container {
        padding: 0 15px;
    }

    .page-app-features-payment-methods__hero-section {
        min-height: 450px;
        padding: 10px 0 40px 0;
    }

    .page-app-features-payment-methods__hero-content {
        margin-top: 100px;
        padding: 15px;
    }

    .page-app-features-payment-methods__main-title {
        font-size: 1.8em;
    }

    .page-app-features-payment-methods__subtitle {
        font-size: 0.95em;
    }

    .page-app-features-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px;
    }

    .page-app-features-payment-methods__btn-primary,
    .page-app-features-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-app-features-payment-methods__section {
        padding: 40px 0;
    }

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

    .page-app-features-payment-methods__text-block {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-app-features-payment-methods__why-security .page-app-features-payment-methods__feature-grid,
    .page-app-features-payment-methods__deposit-methods .page-app-features-payment-methods__method-grid,
    .page-app-features-payment-methods__withdrawal-process .page-app-features-payment-methods__steps-grid,
    .page-app-features-payment-methods__security-tech .page-app-features-payment-methods__tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-app-features-payment-methods__feature-card,
    .page-app-features-payment-methods__method-card,
    .page-app-features-payment-methods__step-card,
    .page-app-features-payment-methods__tech-item {
        padding: 20px;
    }

    .page-app-features-payment-methods__card-title {
        font-size: 1.2em;
    }

    .page-app-features-payment-methods__feature-icon,
    .page-app-features-payment-methods__method-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .page-app-features-payment-methods__tip-list {
        padding: 0 15px;
    }

    .page-app-features-payment-methods__tip-item,
    .page-app-features-payment-methods__faq-item {
        margin-bottom: 10px;
    }

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

    /* Image specific mobile styles */
    .page-app-features-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-app-features-payment-methods__hero-image-wrapper,
    .page-app-features-payment-methods__feature-card,
    .page-app-features-payment-methods__method-card,
    .page-app-features-payment-methods__step-card,
    .page-app-features-payment-methods__tech-item,
    .page-app-features-payment-methods__tip-item,
    .page-app-features-payment-methods__faq-item,
    .page-app-features-payment-methods__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Video section top padding for mobile, body padding-top already handled header offset */
    .page-app-features-payment-methods__video-section {
        padding-top: 10px !important;
    }

    /* General content padding for mobile */
    .page-app-features-payment-methods__section .page-app-features-payment-methods__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}