/* style/ban-ca.css */

:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --page-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --button-gradient: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
}

.page-ban-ca {
    color: var(--text-main);
    background-color: var(--page-bg);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-ban-ca__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-ban-ca__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-ban-ca__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.page-ban-ca__text-block--highlight {
    background-color: rgba(255, 165, 58, 0.1);
    padding: 15px;
    border-left: 5px solid var(--primary-color);
    margin-top: 30px;
    font-style: italic;
}

.page-ban-ca__text-center {
    text-align: center;
}

.page-ban-ca__text-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play,
.page-ban-ca__btn-link,
.page-ban-ca__btn-promo {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-ban-ca__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-ban-ca__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(255, 165, 58, 0.2);
}

.page-ban-ca__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--page-bg);
    box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-ban-ca__btn-primary--large,
.page-ban-ca__btn-secondary--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-ban-ca__btn-play {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    font-size: 0.9em;
    padding: 8px 15px;
    border-radius: 5px;
}

.page-ban-ca__btn-play:hover {
    opacity: 0.9;
}

.page-ban-ca__btn-link {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    font-size: 0.9em;
    padding: 8px 15px;
    border-radius: 5px;
}

.page-ban-ca__btn-link:hover {
    background: var(--secondary-color);
    color: var(--page-bg);
}

.page-ban-ca__btn-promo {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    font-size: 0.95em;
    padding: 10px 20px;
    border-radius: 6px;
    margin-top: 15px;
}

.page-ban-ca__btn-promo:hover {
    opacity: 0.9;
}

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: var(--page-bg);
}

.page-ban-ca__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
}

.page-ban-ca__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-ban-ca__hero-content-wrapper {
    padding: 40px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.page-ban-ca__main-title {
    font-size: clamp(2.5em, 4vw, 3.5em);
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 140, 26, 0.7);
}

.page-ban-ca__hero-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.page-ban-ca__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Intro Section */
.page-ban-ca__intro-section {
    background-color: var(--card-bg);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-ban-ca__image-text-block {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-ban-ca__content-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    display: block;
    max-width: 100%;
    height: auto;
}

.page-ban-ca__text-content {
    flex: 1.5;
}

.page-ban-ca__feature-list {
    list-style: none;
    padding: 0;
}

.page-ban-ca__feature-item {
    background-color: rgba(255, 140, 26, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.page-ban-ca__feature-item strong {
    color: var(--secondary-color);
}

/* Game Showcase Section */
.page-ban-ca__game-showcase-section {
    padding: 60px 0;
    background-color: var(--page-bg);
}

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

.page-ban-ca__game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ban-ca__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-ban-ca__game-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-ban-ca__game-description {
    font-size: 0.95em;
    color: #ccc;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

/* Guide Section */
.page-ban-ca__guide-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.page-ban-ca__step-card {
    background-color: var(--page-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-ban-ca__step-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-ban-ca__step-description {
    font-size: 0.95em;
    color: #ccc;
    margin-bottom: 20px;
}

/* Strategy Section */
.page-ban-ca__strategy-section {
    padding: 60px 0;
    background-color: var(--page-bg);
}

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

.page-ban-ca__strategy-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-ban-ca__strategy-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-ban-ca__strategy-title {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin: 15px 15px 10px;
}

.page-ban-ca__strategy-description {
    font-size: 0.95em;
    color: #ccc;
    padding: 0 15px 20px;
    flex-grow: 1;
}

/* Advantages Section */
.page-ban-ca__advantages-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.page-ban-ca__advantage-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ban-ca__advantage-item {
    background-color: var(--page-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-ban-ca__advantage-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-ban-ca__advantage-description {
    font-size: 0.95em;
    color: #ccc;
}

/* Promotion Section */
.page-ban-ca__promotion-section {
    padding: 60px 0;
    background-color: var(--page-bg);
}

.page-ban-ca__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-ban-ca__promotion-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ban-ca__promotion-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-ban-ca__promotion-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-ban-ca__promotion-description {
    font-size: 0.95em;
    color: #ccc;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

/* FAQ Section */
.page-ban-ca__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

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

.page-ban-ca__faq-item {
    background-color: var(--page-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main);
    background-color: rgba(255, 140, 26, 0.1);
    cursor: pointer;
    list-style: none;
}

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

.page-ban-ca__faq-qtext {
    flex-grow: 1;
    color: var(--secondary-color);
}

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-left: 20px;
    width: 25px;
    text-align: center;
}

.page-ban-ca__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #ccc;
    line-height: 1.7;
}

/* CTA Section Final */
.page-ban-ca__cta-section {
    padding: 80px 0;
    background-image: linear-gradient(rgba(13, 14, 18, 0.9), rgba(13, 14, 18, 0.9)), url('[GALLERY:bg:1920x1080:neww88,fish_shooting_cta,background_pattern]');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.page-ban-ca__cta-buttons-final {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

/* Responsive Styles */

/* Universal image and container responsive styles */
.page-ban-ca img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-ban-ca__section,
.page-ban-ca__card,
.page-ban-ca__container,
.page-ban-ca__hero-cta-buttons,
.page-ban-ca__cta-buttons-final {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Desktop/Tablet transition (e.g., for 2-column layouts) */
@media (max-width: 1024px) {
    .page-ban-ca__container {
        padding: 20px;
    }
    .page-ban-ca__image-text-block {
        flex-direction: column;
        text-align: center;
    }
    .page-ban-ca__content-image {
        margin-bottom: 30px;
    }
}

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

    /* 1. HERO 主图区域 */
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Small top padding, relying on body for header offset */
        padding-bottom: 40px;
    }
    .page-ban-ca__hero-image-wrapper {
        max-height: 300px;
    }
    .page-ban-ca__hero-content-wrapper {
        padding: 30px 15px;
    }
    .page-ban-ca__main-title {
        font-size: clamp(2em, 8vw, 2.5em) !important;
        margin-bottom: 15px;
    }
    .page-ban-ca__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-ban-ca__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* 2. 深色导语区 */
    .page-ban-ca__intro-section {
        padding: 40px 0;
    }
    .page-ban-ca__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-ban-ca__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-ban-ca__sub-title {
        font-size: 1.5em;
    }
    .page-ban-ca__image-text-block {
        flex-direction: column;
        gap: 20px;
    }
    .page-ban-ca__content-image {
        margin-bottom: 20px;
    }

    /* 3. 博客网格 (Game Grid, Strategy Grid, Promotion Cards) */
    .page-ban-ca__game-grid,
    .page-ban-ca__steps-grid,
    .page-ban-ca__strategy-grid,
    .page-ban-ca__advantage-list,
    .page-ban-ca__promotion-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    .page-ban-ca__game-card, .page-ban-ca__step-card, .page-ban-ca__strategy-card, .page-ban-ca__advantage-item, .page-ban-ca__promotion-card {
        margin-left: auto;
        margin-right: auto;
        max-width: 400px; /* Constrain single column width */
    }
    .page-ban-ca__game-image, .page-ban-ca__strategy-image, .page-ban-ca__promotion-image {
        height: 200px;
    }

    /* 4. 通用图片与容器 */
    .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__hero-cta-buttons,
    .page-ban-ca__cta-buttons-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 5. 按钮与按钮容器 */
    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary,
    .page-ban-ca__btn-play,
    .page-ban-ca__btn-link,
    .page-ban-ca__btn-promo,
    .page-ban-ca a[class*="button"],
    .page-ban-ca 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;
    }
    .page-ban-ca__hero-cta-buttons,
    .page-ban-ca__cta-buttons-final {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .page-ban-ca__game-card .page-ban-ca__btn-play,
    .page-ban-ca__step-card .page-ban-ca__btn-link,
    .page-ban-ca__promotion-card .page-ban-ca__btn-promo {
        width: calc(100% - 30px) !important; /* Adjust for padding in card */
        margin-left: 15px;
        margin-right: 15px;
    }

    /* 6. FAQ 与其他模块 */
    .page-ban-ca__faq-section {
        padding: 40px 0;
    }
    .page-ban-ca__faq-list {
        padding: 0 15px;
    }
    .page-ban-ca__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-ban-ca__faq-answer {
        padding: 0 20px 15px;
    }
    .page-ban-ca__cta-section {
        padding: 60px 0;
    }
    .page-ban-ca__cta-buttons-final {
        flex-direction: column;
        gap: 15px;
    }
    .page-ban-ca__promotion-section,
    .page-ban-ca__guide-section,
    .page-ban-ca__advantages-section,
    .page-ban-ca__strategy-section {
        padding: 40px 0;
    }
}

/* Mobile Styles (max-width: 549px) - Further adjustments for smaller screens */
@media (max-width: 549px) {
    .page-ban-ca__game-grid,
    .page-ban-ca__steps-grid,
    .page-ban-ca__strategy-grid,
    .page-ban-ca__advantage-list,
    .page-ban-ca__promotion-cards {
        gap: 20px;
    }
    .page-ban-ca__main-title {
        font-size: clamp(1.8em, 9vw, 2.2em) !important;
    }
    .page-ban-ca__section-title {
        font-size: 1.6em;
    }
}