/* Base Styles for .page-ban-ca */
.page-ban-ca {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background-color: #140C0C; /* Background */
}

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

.page-ban-ca__section-title {
    font-size: 2.5em;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-ban-ca__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #C61F1F;
    border-radius: 2px;
}

.page-ban-ca__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__highlight {
    color: #F3C54D;
    font-weight: bold;
}

.page-ban-ca__card {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    color: #FFF1E8;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
    color: #FFF1E8;
    border: none;
}

.page-ban-ca__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
    background-color: transparent;
    color: #F3C54D; /* Gold */
    border: 2px solid #F3C54D; /* Gold */
}

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

.page-ban-ca__btn-outline {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    color: #F3C54D;
    border: 1px solid #F3C54D;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__btn-outline:hover {
    background-color: #F3C54D;
    color: #140C0C;
}

/* HERO Section */
.page-ban-ca__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 50px;
    overflow: hidden;
    background-color: #140C0C;
}

.page-ban-ca__hero-section .page-ban-ca__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-ban-ca__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}

.page-ban-ca__hero-content {
    position: relative;
    z-index: 1;
    color: #FFF1E8;
}

.page-ban-ca__main-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #F3C54D; /* Gold */
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

/* Intro Section */
.page-ban-ca__intro-section {
    padding: 80px 0;
    background-color: #140C0C;
}

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

.page-ban-ca__feature-item {
    text-align: center;
}

.page-ban-ca__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-ban-ca__feature-title {
    font-size: 1.5em;
    color: #F3C54D;
    margin-bottom: 15px;
}

/* Game Showcase Section */
.page-ban-ca__game-showcase-section {
    padding: 80px 0;
    background-color: #1A0D0D;
}

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

.page-ban-ca__game-card {
    text-align: center;
}

.page-ban-ca__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-ban-ca__game-title {
    font-size: 1.6em;
    color: #F3C54D;
    margin-bottom: 10px;
}

/* Guide Section */
.page-ban-ca__guide-section {
    padding: 80px 0;
    background-color: #C61F1F; /* Deep Red for contrast */
    color: #FFF1E8;
}

.page-ban-ca__guide-section .page-ban-ca__section-title {
    color: #F3C54D;
}

.page-ban-ca__guide-section .page-ban-ca__text-block {
    color: #FFF1E8;
}

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

.page-ban-ca__step-item {
    background-color: #7E0D0D; /* Deep Red */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__step-title {
    font-size: 1.5em;
    color: #F3C54D;
    margin-bottom: 15px;
}

/* Strategy Section */
.page-ban-ca__strategy-section {
    padding: 80px 0;
    background-color: #140C0C;
}

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

.page-ban-ca__strategy-title {
    font-size: 1.5em;
    color: #F3C54D;
    margin-bottom: 15px;
}

/* Promo Section */
.page-ban-ca__promo-section {
    padding: 80px 0;
    background-color: #1A0D0D;
}

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

.page-ban-ca__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-ban-ca__promo-title {
    font-size: 1.5em;
    color: #F3C54D;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
    padding: 80px 0;
    background-color: #C61F1F; /* Deep Red for contrast */
    color: #FFF1E8;
}

.page-ban-ca__faq-section .page-ban-ca__section-title {
    color: #F3C54D;
}

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

.page-ban-ca__faq-item {
    background-color: #7E0D0D; /* Deep Red */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.3em;
    font-weight: bold;
    color: #FFF1E8;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.page-ban-ca__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
    transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: #FFF1E8;
}

/* Conclusion Section */
.page-ban-ca__conclusion-section {
    padding: 80px 0;
    background-color: #140C0C;
}

.page-ban-ca__conclusion-section .page-ban-ca__cta-buttons {
    margin-top: 50px;
}

/* General image styling */
.page-ban-ca img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-ban-ca__main-title {
        font-size: 2.8em;
    }
    .page-ban-ca__hero-description {
        font-size: 1.2em;
    }
    .page-ban-ca__section-title {
        font-size: 2em;
    }
    .page-ban-ca__features-grid,
    .page-ban-ca__game-grid,
    .page-ban-ca__steps-grid,
    .page-ban-ca__strategy-cards,
    .page-ban-ca__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .page-ban-ca__feature-image,
    .page-ban-ca__promo-image {
        height: 180px;
    }
    .page-ban-ca__game-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .page-ban-ca {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-ban-ca__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    /* HERO 主图区域 */
    .page-ban-ca__hero-section {
        padding-top: 10px;
        padding-bottom: 30px;
    }
    .page-ban-ca__hero-image {
        border-radius: 10px;
        margin-bottom: 20px;
    }
    .page-ban-ca__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-ban-ca__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    /* 按钮与按钮容器 */
    .page-ban-ca__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary {
        padding: 10px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-ban-ca__btn-outline {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    /* Section titles */
    .page-ban-ca__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-ban-ca__text-block {
        font-size: 1em;
    }

    /* General containers & images for various sections */
    .page-ban-ca__intro-section,
    .page-ban-ca__game-showcase-section,
    .page-ban-ca__guide-section,
    .page-ban-ca__strategy-section,
    .page-ban-ca__promo-section,
    .page-ban-ca__faq-section,
    .page-ban-ca__conclusion-section {
        padding: 50px 0;
    }
    .page-ban-ca__features-grid,
    .page-ban-ca__game-grid,
    .page-ban-ca__steps-grid,
    .page-ban-ca__strategy-cards,
    .page-ban-ca__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    /* 通用图片与容器 */
    .page-ban-ca__feature-image,
    .page-ban-ca__game-image,
    .page-ban-ca__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    /* Card padding adjustment */
    .page-ban-ca__card {
        padding: 20px;
    }

    /* FAQ Section */
    .page-ban-ca__faq-list {
        margin-top: 30px;
    }
    .page-ban-ca__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-ban-ca__faq-answer {
        font-size: 0.95em;
        padding: 0 20px 15px;
    }

    /* Generic image & container rules for mobile */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-ban-ca__section,
    .page-ban-ca__card,
    .page-ban-ca__container,
    .page-ban-ca__features-grid,
    .page-ban-ca__game-grid,
    .page-ban-ca__steps-grid,
    .page-ban-ca__strategy-cards,
    .page-ban-ca__promo-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}