/* Base styles for the Bắn Cá page */
.page-ban-ca {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #F4F7FB; /* Background color from custom palette */
}

/* Dark background sections */
.page-ban-ca__dark-bg {
    background-color: #2F6BFF;
    color: #ffffff;
}

/* Light background sections */
.page-ban-ca__light-bg {
    background-color: #F4F7FB;
    color: #1F2D3D;
}

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

.page-ban-ca__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: inherit;
}

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

.page-ban-ca__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-ban-ca__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.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 {
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
    z-index: 1;
}

.page-ban-ca__hero-title {
    font-size: 3.2em;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

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

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

.page-ban-ca__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

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

.page-ban-ca__btn-secondary {
    background-color: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn-secondary:hover {
    background-color: #e0eaff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__btn-outline {
    background: transparent;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
}

.page-ban-ca__btn-outline:hover {
    background-color: #2F6BFF;
    color: #ffffff;
}

/* Featured Games Section */
.page-ban-ca__featured-games-section .page-ban-ca__section-title,
.page-ban-ca__featured-games-section .page-ban-ca__text-block {
    color: #ffffff;
}

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

.page-ban-ca__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-ban-ca__game-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-ban-ca__game-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-ban-ca__game-description {
    color: #f0f0f0;
    font-size: 1em;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-ban-ca__more-games-text {
    text-align: center;
    margin-top: 40px;
    color: #ffffff;
}

/* Guide Section */
.page-ban-ca__guide-step {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__guide-subtitle {
    font-size: 1.8em;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-ban-ca__ordered-list,
.page-ban-ca__unordered-list {
    list-style-position: inside;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-ban-ca__ordered-list li,
.page-ban-ca__unordered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #1F2D3D;
}

/* Promotions Section */
.page-ban-ca__promotions-section .page-ban-ca__section-title,
.page-ban-ca__promotions-section .page-ban-ca__text-block,
.page-ban-ca__promotions-section .page-ban-ca__promo-footer-text {
    color: #ffffff;
}

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

.page-ban-ca__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-ban-ca__promo-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-ban-ca__promo-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-ban-ca__promo-description {
    color: #f0f0f0;
    font-size: 1em;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-ban-ca__promo-footer-text {
    text-align: center;
    margin-top: 40px;
}

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

.page-ban-ca__benefit-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-ban-ca__benefit-title {
    font-size: 1.8em;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-ban-ca__benefit-description {
    color: #1F2D3D;
    font-size: 1em;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-ban-ca__faq-section .page-ban-ca__section-title,
.page-ban-ca__faq-section .page-ban-ca__text-block {
    color: #ffffff;
}

.page-ban-ca__faq-list {
    margin-top: 30px;
}

.page-ban-ca__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

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

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

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    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 25px;
    font-size: 1.05em;
    color: #f0f0f0;
}

.page-ban-ca__faq-answer p {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-ban-ca__faq-more {
    text-align: center;
    margin-top: 40px;
}

/* Conclusion Section */
.page-ban-ca__conclusion-section .page-ban-ca__section-title,
.page-ban-ca__conclusion-section .page-ban-ca__text-block {
    color: #1F2D3D;
}

.page-ban-ca__conclusion-cta {
    text-align: center;
    margin-top: 40px;
}

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

    .page-ban-ca__container {
        padding: 20px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* HERO 主图区域 */
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Rely on body for header offset */
        padding-bottom: 40px;
    }

    .page-ban-ca__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

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

    .page-ban-ca__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    /* Buttons and Button Containers */
    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary,
    .page-ban-ca__btn-outline,
    .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__conclusion-cta,
    .page-ban-ca__faq-more {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-ban-ca__text-block {
        font-size: 0.95em;
    }

    /* Featured Games Section */
    .page-ban-ca__game-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ban-ca__game-card {
        padding: 20px;
    }

    /* Guide Section */
    .page-ban-ca__guide-step {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-ban-ca__guide-subtitle {
        font-size: 1.5em;
    }

    /* Promotions Section */
    .page-ban-ca__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ban-ca__promo-card {
        padding: 20px;
    }

    /* Why Choose Section */
    .page-ban-ca__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ban-ca__benefit-card {
        padding: 20px;
    }

    .page-ban-ca__benefit-title {
        font-size: 1.5em;
    }

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

    .page-ban-ca__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

/* Placeholder for modules not present on this page, but required for CSS output */
/* Long text gold frame (not applicable for this page, but required in output if homepage) */
.page-ban-ca__home-content { /* No gold frame on ban-ca page */ }

/* Game carousel (not applicable for non-homepage) */
.page-ban-ca__row-games, .page-ban-ca__games-title, .page-ban-ca__slider-wrapper, .page-ban-ca__slider-track, .page-ban-ca__game-slide { /* Not applicable for non-homepage */ }

/* Cooperative brands six-grid (not applicable for non-homepage) */
.page-ban-ca__banners-top-wrapper, .page-ban-ca__banner-item img { /* Not applicable for non-homepage */ }

/* Blog card section (not applicable for this page, but required in output if homepage) */
.page-ban-ca__blog-masonry, .page-ban-ca__blog-card-link, .page-ban-ca__blog-slider-track, .page-ban-ca__blog-slide { /* Not applicable for non-homepage */ }