/* style/payment-methods.css */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure consistency with shared body background */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    box-sizing: border-box;
}

.page-payment-methods__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
    padding: 20px;
}

.page-payment-methods__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-payment-methods__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Primary color */
    color: #000000; /* Contrasting text color */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-payment-methods__cta-button:hover {
    background-color: #e6c200;
    color: #8B0000;
}

.page-payment-methods__cta-button--secondary {
    background-color: #8B0000; /* Secondary color */
    color: #FFD700; /* Contrasting text color */
    border: 2px solid #FFD700;
}

.page-payment-methods__cta-button--secondary:hover {
    background-color: #a00000;
    color: #ffffff;
}

/* Section Styling */
.page-payment-methods__overview-section,
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdrawal-guide-section,
.page-payment-methods__promo-section,
.page-payment-methods__faq-section,
.page-payment-methods__contact-section {
    padding: 80px 0;
    box-sizing: border-box;
}

.page-payment-methods__dark-bg {
    background-color: #0d0d0d; /* Slightly lighter dark for sections */
    color: #ffffff;
}

.page-payment-methods__light-bg {
    background-color: #1a1a1a; /* Dark gray for alternating sections */
    color: #f0f0f0;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-payment-methods__link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-payment-methods__link:hover {
    color: #ffffff;
    text-decoration: underline;
}

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

.page-payment-methods__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent for dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

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

/* Method Items */
.page-payment-methods__method-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
}

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

.page-payment-methods__method-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
}

.page-payment-methods__method-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.page-payment-methods__method-steps li {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    margin-bottom: 10px;
    border-left: 3px solid #FFD700;
    font-size: 1em;
    color: #f0f0f0;
}

.page-payment-methods__method-image {
    display: block;
    margin: 30px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__note {
    font-style: italic;
    color: #FFD700;
    text-align: center;
    margin-top: 20px;
}

/* Promotion Section */
.page-payment-methods__promo-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.page-payment-methods__promo-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
}

.page-payment-methods__promo-subtitle {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-payment-methods__promo-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-payment-methods__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    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;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

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

/* Contact Section */
.page-payment-methods__contact-section .page-payment-methods__cta-button {
    margin-top: 30px;
}

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

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-payment-methods__hero-title {
        font-size: 2.5em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__text-block {
        font-size: 1em;
    }
    .page-payment-methods__feature-grid {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__promo-content {
        flex-direction: column;
    }
    .page-payment-methods__promo-text,
    .page-payment-methods__promo-image {
        max-width: 100%;
    }

    /* Mobile image responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Mobile video responsiveness - no videos on this page, but keeping for completeness */
    .page-payment-methods video,
    .page-payment-methods__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Mobile button responsiveness */
    .page-payment-methods__cta-button,
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .page-payment-methods a[class*="button"],
    .page-payment-methods a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    /* Mobile container responsiveness */
    .page-payment-methods__container,
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__method-item,
    .page-payment-methods__promo-text,
    .page-payment-methods__promo-image,
    .page-payment-methods__faq-list,
    .page-payment-methods__promo-content,
    .page-payment-methods__cta-buttons,
    .page-payment-methods__button-group,
    .page-payment-methods__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    .page-payment-methods__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-payment-methods__faq-answer {
        padding: 0 15px;
    }
    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 2em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}