.page-ban-ca {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Main text color for dark background */
    background-color: #140C0C; /* Page background color */
}

.page-ban-ca__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-ban-ca__section-title {
    font-size: 2.5em;
    color: #F3C54D; /* Gold color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

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

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons adapt to container */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

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

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

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

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

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Specific padding-top */
    padding-bottom: 60px;
    background-color: #140C0C; /* Consistent with body background */
}

.page-ban-ca__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 16px;
    gap: 40px;
}

.page-ban-ca__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: #FFF1E8;
}

.page-ban-ca__hero-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Clamp for h1 font size */
    color: #F3C54D;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-ban-ca__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF1E8;
}

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-ban-ca__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-ban-ca__intro-section {
    background-color: #2A1212; /* Card BG color */
    padding: 60px 0;
}

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

.page-ban-ca__icon-box {
    text-align: center;
    background-color: #140C0C; /* Darker background for individual boxes */
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #6A1E1E; /* Border color */
}

.page-ban-ca__icon-box-media {
    width: 180px; /* Smaller square for intro section */
    height: 180px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F3C54D; /* Gold border for circular images */
}

.page-ban-ca__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%; /* Ensure image itself is circular */
}

.page-ban-ca__icon-box-title {
    font-size: 1.5em;
    color: #F3C54D;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ban-ca__icon-box-text {
    font-size: 1em;
    color: #FFF1E8;
}

/* Guide Section */
.page-ban-ca__guide-section {
    padding: 60px 0;
    background-color: #140C0C;
}

.page-ban-ca__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-ban-ca__guide-item {
    background-color: #2A1212;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #6A1E1E;
    text-align: center;
}

.page-ban-ca__guide-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #D86A14; /* Orange from button gradient */
    margin-bottom: 15px;
}

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

.page-ban-ca__guide-text {
    color: #FFF1E8;
    font-size: 1em;
}

.page-ban-ca__guide-image-wrapper {
    text-align: center;
}

.page-ban-ca__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Game Showcase Section */
.page-ban-ca__game-showcase-section {
    background-color: #2A1212;
    padding: 60px 0;
}

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

.page-ban-ca__game-card {
    background-color: #140C0C;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #6A1E1E;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-ban-ca__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card image display */
    object-fit: cover;
    display: block;
}

.page-ban-ca__game-card-title {
    font-size: 1.4em;
    color: #F3C54D;
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-ban-ca__game-card-text {
    color: #FFF1E8;
    font-size: 0.95em;
    padding: 0 15px 20px;
    flex-grow: 1; /* Allows text to take available space */
}

.page-ban-ca__game-card-button {
    margin: 0 15px 20px;
}

/* Promo Section */
.page-ban-ca__promo-section {
    padding: 60px 0;
    background-color: #140C0C;
}

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

.page-ban-ca__promo-item {
    background-color: #2A1212;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #6A1E1E;
    text-align: center;
}

.page-ban-ca__promo-image {
    width: 100%;
    height: 220px; /* Fixed height for promo images */
    object-fit: cover;
    display: block;
}

.page-ban-ca__promo-title {
    font-size: 1.4em;
    color: #F3C54D;
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-ban-ca__promo-text {
    color: #FFF1E8;
    font-size: 0.95em;
    padding: 0 15px 20px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
    background-color: #2A1212;
    padding: 60px 0;
}

.page-ban-ca__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-ban-ca__faq-item {
    margin-bottom: 15px;
    border: 1px solid #6A1E1E;
    border-radius: 8px;
    overflow: hidden;
    background-color: #140C0C;
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: #F3C54D;
    background-color: #140C0C;
    list-style: none; /* Remove default details marker */
    position: relative;
}

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

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

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-ban-ca__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #FFF1E8;
    background-color: #2A1212; /* Slightly lighter background for answer */
}

/* CTA Section */
.page-ban-ca__cta-section {
    padding: 60px 0;
    background-color: #140C0C;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-ban-ca__hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .page-ban-ca__hero-content,
    .page-ban-ca__hero-image-wrapper {
        flex: 1 1 100%;
    }
    .page-ban-ca__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-ban-ca__container {
        padding: 30px 15px;
    }

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

    .page-ban-ca__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* HERO 双栏 */
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Force 10px padding-top */
        padding-bottom: 40px;
    }
    .page-ban-ca__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-ban-ca__hero-description {
        font-size: 0.95em;
    }

    /* 按钮与按钮容器 */
    .page-ban-ca__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }
    .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-left: 15px;
        padding-right: 15px;
        font-size: 1em;
    }

    /* 模块1 三栏正圆图 */
    .page-ban-ca__intro-grid {
        grid-template-columns: 1fr;
    }
    .page-ban-ca__icon-box-media {
        width: 160px;
        height: 160px;
    }
    .page-ban-ca__icon-box-title {
        font-size: 1.3em;
    }

    /* 教程长文 / 促销 / 信任 / FAQ / 博客 / intro 排版 */
    .page-ban-ca__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-ban-ca__guide-number {
        font-size: 2em;
    }
    .page-ban-ca__guide-title {
        font-size: 1.2em;
    }
    .page-ban-ca__game-grid {
        grid-template-columns: 1fr;
    }
    .page-ban-ca__game-card-image {
        height: 180px;
    }
    .page-ban-ca__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-ban-ca__promo-image {
        height: 180px;
    }
    .page-ban-ca__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-ban-ca__faq-answer {
        padding: 0 20px 15px;
    }

    /* 通用图片与容器 */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-ban-ca__icon-box-media img {
        height: 100% !important; /* Maintain full height within parent circle */
        object-fit: cover !important;
    }
    .page-ban-ca__hero-container,
    .page-ban-ca__intro-section .page-ban-ca__container,
    .page-ban-ca__guide-section .page-ban-ca__container,
    .page-ban-ca__game-showcase-section .page-ban-ca__container,
    .page-ban-ca__promo-section .page-ban-ca__container,
    .page-ban-ca__faq-section .page-ban-ca__container,
    .page-ban-ca__cta-section .page-ban-ca__container,
    .page-ban-ca__icon-box,
    .page-ban-ca__guide-item,
    .page-ban-ca__game-card,
    .page-ban-ca__promo-item,
    .page-ban-ca__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}