.page-ban-ca {
    font-family: Arial, sans-serif;
    color: #333333;
    background-color: #F5F7FA;
    line-height: 1.6;
}

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

.page-ban-ca__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
    background-color: #F5F7FA;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.page-ban-ca__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-ban-ca__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with image for visual flow */
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.page-ban-ca__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: #E53935;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-outline {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-ban-ca__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

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

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

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

.page-ban-ca__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: #E53935;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

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

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

.page-ban-ca__light-bg {
    background-color: #F5F7FA;
    padding: 60px 0;
}

.page-ban-ca__dark-section {
    background-color: #E53935;
    color: #ffffff;
    padding: 60px 0;
}

.page-ban-ca__dark-section .page-ban-ca__section-title,
.page-ban-ca__dark-section .page-ban-ca__text-block {
    color: #ffffff;
}

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

.page-ban-ca__card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    color: #333333;
    height: 100%;
}

.page-ban-ca__feature-icon {
    width: 100%;
    height: 200px; /* Fixed height for feature images */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-ban-ca__feature-title {
    font-size: 1.4em;
    color: #E53935;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-ban-ca__feature-description {
    font-size: 0.95em;
    color: #333333;
    flex-grow: 1;
}

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

.page-ban-ca__game-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for game thumbnails */
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-ban-ca__game-title {
    font-size: 1.3em;
    color: #E53935;
    margin-bottom: 10px;
    font-weight: 600;
}

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

.page-ban-ca__btn-outline {
    background: transparent;
    color: #E53935;
    border: 2px solid #E53935;
    margin-top: auto;
}

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

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

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

.page-ban-ca__step-number {
    font-size: 2.5em;
    color: #FF5A4F;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-ban-ca__step-title {
    font-size: 1.3em;
    color: #E53935;
    margin-bottom: 10px;
    font-weight: 600;
}

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

.page-ban-ca__strategy-list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 30px;
    color: #333333;
}

.page-ban-ca__strategy-item {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-ban-ca__strategy-item strong {
    color: #E53935;
}

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

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

.page-ban-ca__promo-title {
    font-size: 1.4em;
    color: #E53935;
    margin-bottom: 10px;
    font-weight: 600;
}

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

.page-ban-ca__benefits-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-ban-ca__benefit-item {
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1em;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-ban-ca__benefit-item::before {
    content: '✅';
    font-size: 1.2em;
    color: #FF5A4F;
}

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

.page-ban-ca__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333;
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: #E53935;
    cursor: pointer;
    list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    color: #E53935;
    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: 1em;
    line-height: 1.6;
    color: #333333;
}

.page-ban-ca__faq-answer p {
    margin-bottom: 15px;
}

.page-ban-ca__faq-answer .page-ban-ca__btn-primary {
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Ensure all images are responsive by default */
.page-ban-ca img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page-ban-ca__hero-content {
        margin-top: -40px; /* Adjust overlap for mobile */
        padding: 30px 15px;
    }

    .page-ban-ca__main-title {
        font-size: 2em; /* Smaller font size for mobile */
    }

    .page-ban-ca__hero-description {
        font-size: 1em;
    }

    .page-ban-ca__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .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 !important;
        padding-right: 15px !important;
    }

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

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

    .page-ban-ca__features-grid,
    .page-ban-ca__game-list,
    .page-ban-ca__steps-grid,
    .page-ban-ca__promotions-grid {
        grid-template-columns: 1fr; /* Single column layout for grids */
        gap: 20px;
    }

    .page-ban-ca__feature-icon,
    .page-ban-ca__game-thumbnail,
    .page-ban-ca__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        object-fit: cover;
    }

    .page-ban-ca__step-number {
        font-size: 2em;
    }

    .page-ban-ca__promo-card,
    .page-ban-ca__feature-card,
    .page-ban-ca__game-item,
    .page-ban-ca__step-card {
        padding: 25px;
    }

    .page-ban-ca__benefit-item {
        font-size: 0.95em;
        padding: 12px 15px;
    }

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

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

    .page-ban-ca__faq-answer .page-ban-ca__btn-primary {
        width: auto !important; /* Allow small button to size content */
        max-width: fit-content !important;
    }

    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-ban-ca__hero-section,
    .page-ban-ca__about-section,
    .page-ban-ca__features-section,
    .page-ban-ca__game-types-section,
    .page-ban-ca__guide-section,
    .page-ban-ca__strategy-section,
    .page-ban-ca__promotions-section,
    .page-ban-ca__why-choose-section,
    .page-ban-ca__faq-section,
    .page-ban-ca__cta-final-section {
        padding: 40px 0;
    }
}