/* style/ban-ca.css */

:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

.page-ban-ca {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for dark body background */
    background-color: var(--deep-navy);
}

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

.page-ban-ca__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-ban-ca__dark-bg {
    background-color: var(--deep-navy);
    color: var(--text-main);
}

.page-ban-ca__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-align: left;
}

.page-ban-ca__section-title {
    font-size: 2.8em;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
    font-weight: bold;
}

.page-ban-ca__section-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px;
    padding-bottom: 80px;
    background-color: var(--deep-navy);
    overflow: hidden;
}

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

.page-ban-ca__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(79, 168, 255, 0.5);
    border: 2px solid var(--glow-color);
}

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

.page-ban-ca__hero-content {
    text-align: center;
    max-width: 900px;
}

.page-ban-ca__main-title {
    font-size: clamp(2.5em, 4vw, 3.8em);
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--glow-color);
    line-height: 1.2;
    font-weight: 900;
}

.page-ban-ca__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

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

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

.page-ban-ca__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 15px rgba(79, 168, 255, 0.7);
}

.page-ban-ca__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--glow-color);
}

.page-ban-ca__btn-secondary {
    background: var(--card-bg);
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-ban-ca__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--gold-color);
}

/* Features Section */
.page-ban-ca__features-section {
    background-color: var(--primary-color);
    padding: 80px 0;
}

.page-ban-ca__features-section .page-ban-ca__section-title {
    color: var(--gold-color);
}

.page-ban-ca__features-section .page-ban-ca__section-description {
    color: var(--text-main);
}

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

.page-ban-ca__feature-card {
    padding: 30px;
    text-align: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__feature-icon {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px;
}

.page-ban-ca__feature-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-ban-ca__feature-text {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Games Section */
.page-ban-ca__games-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

.page-ban-ca__game-card {
    background-color: var(--card-bg);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-ban-ca__game-card:hover {
    transform: translateY(-10px);
}

.page-ban-ca__game-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.page-ban-ca__game-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ban-ca__game-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-ban-ca__game-trial-wrapper {
    margin-top: 80px;
    padding: 40px;
    background-color: var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--glow-color);
}

.page-ban-ca__game-trial-title {
    font-size: 2.2em;
    color: var(--gold-color);
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
    font-weight: bold;
}

.page-ban-ca__game-trial-description {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-ban-ca__game-trial-frame {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Guide Section */
.page-ban-ca__guide-section {
    background-color: var(--primary-color);
    padding: 80px 0;
}

.page-ban-ca__guide-section .page-ban-ca__section-title {
    color: var(--gold-color);
}

.page-ban-ca__guide-section .page-ban-ca__section-description {
    color: var(--text-main);
}

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

.page-ban-ca__guide-step {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-ban-ca__guide-step:hover {
    transform: translateY(-10px);
}

.page-ban-ca__guide-step-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-ban-ca__guide-step p {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-ban-ca__guide-cta {
    margin-top: 50px;
}

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

.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 {
    padding: 30px;
    text-align: left;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-ban-ca__strategy-card:hover {
    transform: translateY(-10px);
}

.page-ban-ca__strategy-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-ban-ca__strategy-text {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
    background-color: var(--primary-color);
    padding: 80px 0;
}

.page-ban-ca__promotions-section .page-ban-ca__section-title {
    color: var(--gold-color);
}

.page-ban-ca__promotions-section .page-ban-ca__section-description {
    color: var(--text-main);
}

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

.page-ban-ca__promotion-card {
    background-color: var(--card-bg);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-ban-ca__promotion-card:hover {
    transform: translateY(-10px);
}

.page-ban-ca__promotion-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.page-ban-ca__promotion-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ban-ca__promotion-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

.page-ban-ca__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-ban-ca__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-ban-ca__faq-question {
    background-color: var(--primary-color);
    padding: 20px 25px;
    font-size: 1.2em;
    color: var(--gold-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    list-style: none;
}

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

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

.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: 20px 25px;
    background-color: var(--card-bg);
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.6;
    border-top: 1px solid var(--divider-color);
}

/* Conclusion Section */
.page-ban-ca__conclusion-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.page-ban-ca__conclusion-section .page-ban-ca__section-title {
    color: var(--gold-color);
}

.page-ban-ca__conclusion-section .page-ban-ca__section-description {
    color: var(--text-main);
    margin-bottom: 40px;
}

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

.page-ban-ca__cta-button,
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca a[class*="button"],
.page-ban-ca a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__cta-buttons,
.page-ban-ca__button-group,
.page-ban-ca__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .page-ban-ca__container {
        padding: 15px;
    }

    .page-ban-ca__section {
        padding: 40px 0;
    }

    .page-ban-ca__section-title {
        font-size: 2em;
    }

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

    /* Hero Section */
    .page-ban-ca__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

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

    .page-ban-ca__hero-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-ban-ca__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary,
    .page-ban-ca a[class*="button"],
    .page-ban-ca a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-ban-ca__features-grid,
    .page-ban-ca__games-grid,
    .page-ban-ca__guide-steps,
    .page-ban-ca__strategy-grid,
    .page-ban-ca__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ban-ca__feature-card,
    .page-ban-ca__game-card,
    .page-ban-ca__guide-step,
    .page-ban-ca__strategy-card,
    .page-ban-ca__promotion-card {
        padding: 20px;
    }

    .page-ban-ca__feature-title,
    .page-ban-ca__game-title,
    .page-ban-ca__guide-step-title,
    .page-ban-ca__strategy-title,
    .page-ban-ca__promotion-title {
        font-size: 1.3em;
    }

    .page-ban-ca__feature-icon {
        max-width: 100px;
    }

    /* Games Section */
    .page-ban-ca__game-trial-wrapper {
        margin-top: 40px;
        padding: 20px;
    }

    .page-ban-ca__game-trial-title {
        font-size: 1.6em;
    }

    .page-ban-ca__game-trial-description {
        font-size: 0.9em;
        margin-bottom: 20px;
    }

    .page-ban-ca__game-trial-frame {
        height: 400px; /* Adjust height for mobile */
    }

    /* FAQ Section */
    .page-ban-ca__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-ban-ca__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
    }

    /* Universal image responsive styles 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__cta-buttons,
    .page-ban-ca__button-group,
    .page-ban-ca__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-ban-ca__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }

    /* No specific guide-grid mobile layout needed as it defaults to 1 column */
    /* The prompt mentioned '上二下三' for team cards, but this page doesn't use that specific 'team' layout. */
    /* home_content-box is also not present in this page's layout. */
}

/* Placeholder for desktop styles for specific modules that need it, as per instructions. */
/* The current CSS covers general module styles, which adapt via grid/flex to desktop. */
/* If a specific module like a hero carousel or guide box had complex desktop-only arrangements, they would go here. */