.page-ban-ca {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding as shared.css handles body padding */
    padding-bottom: 40px;
    background-color: #017439; /* Primary brand color for hero background */
    color: #ffffff; /* White text for dark background */
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-ban-ca__hero-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-ban-ca__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.page-ban-ca__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-ban-ca__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for main title on dark green background */
}

.page-ban-ca__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0; /* Slightly off-white for description */
}

.page-ban-ca__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* For mobile responsiveness */
    max-width: 100%;
    box-sizing: border-box;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-ban-ca__btn-primary {
    background-color: #C30808; /* Red for primary CTA */
    color: #FFFF00; /* Yellow text for primary CTA */
    border: 2px solid #C30808;
}

.page-ban-ca__btn-primary:hover {
    background-color: #e02020;
    transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
    background-color: #FFFFFF; /* White for secondary CTA */
    color: #C30808; /* Red text for secondary CTA */
    border: 2px solid #C30808;
}

.page-ban-ca__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-ban-ca__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

.page-ban-ca__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #017439; /* Primary brand color for titles */
}

.page-ban-ca__dark-section {
    background-color: #017439; /* Dark green background */
    color: #ffffff; /* White text */
    padding: 60px 0;
}

.page-ban-ca__dark-section .page-ban-ca__section-title {
    color: #FFFF00; /* Yellow title on dark green background */
}

.page-ban-ca__about-game-section,
.page-ban-ca__gameplay-guide-section,
.page-ban-ca__why-choose-section {
    padding: 60px 0;
}

.page-ban-ca p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-ban-ca p a {
    color: #C30808;
    text-decoration: underline;
}

.page-ban-ca p a:hover {
    color: #e02020;
}

.page-ban-ca img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

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

.page-ban-ca__feature-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    color: #333333;
}

.page-ban-ca__feature-item .page-ban-ca__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #017439;
}

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

.page-ban-ca__advantage-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    color: #333333;
}

.page-ban-ca__advantage-item .page-ban-ca__advantage-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #017439;
}

.page-ban-ca__final-cta {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 50px;
    color: #017439;
}

.page-ban-ca__final-cta a {
    color: #C30808;
    text-decoration: underline;
    font-weight: 700;
}

.page-ban-ca__final-cta a:hover {
    color: #e02020;
}

/* FAQ Section */
.page-ban-ca__faq-section {
    padding: 60px 0;
    background-color: #017439; /* Dark green background */
    color: #ffffff; /* White text */
}

.page-ban-ca__faq-section .page-ban-ca__section-title {
    color: #FFFF00; /* Yellow title on dark green background */
}

.page-ban-ca__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background for items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none; /* Hide default marker for <summary> */
    color: #ffffff;
}

.page-ban-ca__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for <summary> in webkit */
}

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

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-ban-ca__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
    transform: rotate(45deg); /* Change + to X */
}

.page-ban-ca__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    line-height: 1.7;
    background-color: rgba(255, 255, 255, 0.03);
    color: #f0f0f0;
}

.page-ban-ca__faq-answer p {
    margin-bottom: 0;
}

.page-ban-ca__faq-answer a {
    color: #FFFF00; /* Yellow for links in FAQ answer */
    text-decoration: underline;
}

.page-ban-ca__faq-answer a:hover {
    color: #FFD700;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-ban-ca {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO 主图区域 */
    .page-ban-ca__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

    .page-ban-ca__main-title {
        font-size: 2.2rem;
    }

    .page-ban-ca__description {
        font-size: 1rem;
    }

    .page-ban-ca__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        padding: 0 15px;
    }

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

    /* 长文区 & 通用容器 */
    .page-ban-ca__container {
        padding: 15px;
    }

    .page-ban-ca__about-game-section,
    .page-ban-ca__gameplay-guide-section,
    .page-ban-ca__why-choose-section,
    .page-ban-ca__strategy-tips-section,
    .page-ban-ca__faq-section {
        padding: 30px 0;
    }

    .page-ban-ca__section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .page-ban-ca p {
        font-size: 0.95rem;
    }

    /* 通用图片与容器 */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 15px auto;
    }
    
    .page-ban-ca__game-features,
    .page-ban-ca__advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ban-ca__feature-item,
    .page-ban-ca__advantage-item {
        padding: 20px;
    }

    .page-ban-ca__feature-item .page-ban-ca__feature-title,
    .page-ban-ca__advantage-item .page-ban-ca__advantage-title {
        font-size: 1.3rem;
    }

    .page-ban-ca__final-cta {
        font-size: 1rem;
        margin-top: 30px;
    }

    /* FAQ Section */
    .page-ban-ca__faq-list {
        margin-top: 20px;
    }

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

    .page-ban-ca__faq-toggle {
        font-size: 1.2rem;
    }

    .page-ban-ca__faq-answer {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}