/* style/payment-methods.css */

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

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

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

.page-payment-methods__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Assumes shared.css doesn't set body padding-top */
}

.page-payment-methods__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-payment-methods__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    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;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-payment-methods__btn-primary {
    background-color: #C30808; /* Đăng ký/Đăng nhập color */
    color: #FFFF00; /* Đăng ký/Đăng nhập font color */
    border: 2px solid #C30808;
}

.page-payment-methods__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-payment-methods__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

/* Intro Section */
.page-payment-methods__intro-section {
    padding: 80px 0;
}

.page-payment-methods__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-payment-methods__dark-bg .page-payment-methods__section-title {
    color: #ffffff;
}

.page-payment-methods__dark-bg .page-payment-methods__section-description {
    color: #f0f0f0;
}

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

.page-payment-methods__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-payment-methods__feature-item:hover {
    transform: translateY(-10px);
}

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

.page-payment-methods__feature-item p {
    color: #f0f0f0;
}

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

.page-payment-methods__main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 50px;
    display: block;
}

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

.page-payment-methods__method-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-payment-methods__method-title {
    font-size: 1.6em;
    color: #FFFF00; /* Highlight color */
    margin-bottom: 15px;
}

.page-payment-methods__method-card p {
    color: #cccccc;
    margin-bottom: 15px;
}

.page-payment-methods__method-card ul {
    list-style: disc;
    padding-left: 20px;
    color: #cccccc;
}

.page-payment-methods__method-card ul li {
    margin-bottom: 5px;
}

/* Guide Section */
.page-payment-methods__guide-section {
    padding: 80px 0;
}

.page-payment-methods__guide-block {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.page-payment-methods__guide-subtitle {
    font-size: 2em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

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

.page-payment-methods__step-item {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.page-payment-methods__step-number {
    font-size: 2.5em;
    color: #017439;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-payment-methods__step-title {
    font-size: 1.3em;
    color: #FFFF00; /* Highlight color */
    margin-bottom: 10px;
}

.page-payment-methods__step-item p {
    color: #cccccc;
}

.page-payment-methods__note {
    text-align: center;
    color: #f0f0f0;
    margin-top: 30px;
    font-size: 1.1em;
}

.page-payment-methods__process-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 50px;
    display: block;
}

/* Security Section */
.page-payment-methods__security-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.page-payment-methods__security-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
}

.page-payment-methods__security-text {
    flex: 1;
    min-width: 300px;
}

.page-payment-methods__security-text p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-payment-methods__security-text strong {
    color: #FFFF00;
}

.page-payment-methods__security-image {
    flex: 1;
    min-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    padding: 80px 0;
}

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

.page-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    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;
    cursor: pointer;
    background-color: #017439;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: #028e46;
}

.page-payment-methods__faq-title {
    margin: 0;
    color: #ffffff;
    font-size: 1em;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 25px;
    background-color: #1a1a1a;
    color: #cccccc;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

.page-payment-methods__faq-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 50px;
    display: block;
}

/* CTA Section */
.page-payment-methods__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #0a0a0a;
}

/* Links */
.page-payment-methods a {
    color: #FFFF00;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 3em;
    }
    .page-payment-methods__hero-description {
        font-size: 1.1em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__security-content {
        flex-direction: column;
    }
    .page-payment-methods__security-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-description {
        font-size: 0.95em;
    }
    .page-payment-methods__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
    }

    /* Images responsive */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-payment-methods__container,
    .page-payment-methods__hero-content,
    .page-payment-methods__intro-section,
    .page-payment-methods__methods-section,
    .page-payment-methods__guide-section,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-payment-methods__guide-block {
        padding: 20px;
    }
    .page-payment-methods__guide-subtitle {
        font-size: 1.5em;
    }
    .page-payment-methods__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 15px 20px;
    }
    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__hero-description {
        font-size: 0.9em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__feature-title,
    .page-payment-methods__method-title,
    .page-payment-methods__step-title {
        font-size: 1.2em;
    }
    .page-payment-methods__faq-title {
        font-size: 1em;
    }
}