.page-ban-ca {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Assuming body background is light */
}

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

.page-ban-ca__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-ban-ca__description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-ban-ca__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Aspect ratio 1200/675 = 16/9 */
    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;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    border-radius: 10px;
    margin-top: -80px; /* Overlap with image slightly for visual effect */
    position: relative;
    z-index: 1;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-ban-ca__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 900;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-ban-ca__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-ban-ca__btn-primary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

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

.page-ban-ca__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #017439;
}

/* About Section */
.page-ban-ca__about-section {
    padding: 60px 0;
}

.page-ban-ca__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.page-ban-ca__text-block p {
    margin-bottom: 1em;
}

/* Why Choose Section */
.page-ban-ca__why-choose-section {
    padding: 60px 0;
    background-color: #017439; /* Brand dark background */
    color: #ffffff; /* White text for dark background */
}

.page-ban-ca__why-choose-section .page-ban-ca__section-title {
    color: #ffffff; /* White title */
}

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

.page-ban-ca__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-ban-ca__feature-icon {
    width: 100%;
    max-width: 200px; /* Adjust as needed, ensure >200px */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-ban-ca__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Game Types Section */
.page-ban-ca__game-types-section {
    padding: 60px 0;
}

.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: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ban-ca__game-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3; /* 800x600 */
    margin-bottom: 15px;
}

.page-ban-ca__game-title {
    font-size: 1.6em;
    font-weight: bold;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-ban-ca__game-card p {
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1; /* Make paragraphs take available space */
}

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

.page-ban-ca__guide-section .page-ban-ca__section-title {
    color: #ffffff;
}

.page-ban-ca__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__guide-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

/* Strategy Section */
.page-ban-ca__strategy-section {
    padding: 60px 0;
}

.page-ban-ca__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__strategy-list li {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.page-ban-ca__strategy-list-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #017439;
    margin-bottom: 10px;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
    padding: 60px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-ban-ca__promotions-section .page-ban-ca__section-title {
    color: #ffffff;
}

.page-ban-ca__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__promo-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

/* FAQ Section */
.page-ban-ca__faq-section {
    padding: 60px 0;
}

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

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

.page-ban-ca__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    color: #017439;
    outline: none;
}

.page-ban-ca__faq-item summary::-webkit-details-marker {
    display: none; /* Hide for Webkit browsers */
}

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

.page-ban-ca__faq-qtext {
    flex-grow: 1;
}

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-ban-ca__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: #555555;
}

.page-ban-ca__faq-answer p {
    margin-bottom: 1em;
}

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

.page-ban-ca__cta-final-section .page-ban-ca__section-title {
    color: #ffffff;
}

.page-ban-ca__cta-final-section .page-ban-ca__description {
    color: #ffffff;
}


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

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

    .page-ban-ca__hero-content-wrapper {
        margin-top: -60px;
        max-width: 700px;
        padding: 30px 15px;
    }

    .page-ban-ca__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }

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

    .page-ban-ca__feature-grid,
    .page-ban-ca__game-list {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

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

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

    .page-ban-ca__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
        padding-top: 15px;
    }

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

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

    .page-ban-ca__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-ban-ca__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-ban-ca__hero-content-wrapper {
        margin-top: -40px;
        padding: 25px 15px;
        max-width: 95%;
    }

    .page-ban-ca__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em); /* Adjust clamp for smaller screens */
        margin-bottom: 15px;
    }

    .page-ban-ca__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .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;
    }

    /* About Section */
    .page-ban-ca__about-section {
        padding: 40px 0;
    }
    .page-ban-ca__text-block {
        font-size: 1em;
    }

    /* Why Choose Section */
    .page-ban-ca__why-choose-section {
        padding: 40px 0;
    }
    .page-ban-ca__feature-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
    }
    .page-ban-ca__feature-card {
        padding: 20px;
        max-width: 100% !important; /* Ensure card itself is responsive */
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto;
    }
    .page-ban-ca__feature-icon {
        max-width: 200px; /* Ensure it's still >200px if possible, but responsive */
        width: 100% !important;
        height: auto !important;
    }

    /* Game Types Section */
    .page-ban-ca__game-types-section {
        padding: 40px 0;
    }
    .page-ban-ca__game-list {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
    }
    .page-ban-ca__game-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto;
    }
    .page-ban-ca__game-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Guide Section */
    .page-ban-ca__guide-section {
        padding: 40px 0;
    }
    .page-ban-ca__guide-list li {
        padding: 20px;
    }

    /* Strategy Section */
    .page-ban-ca__strategy-section {
        padding: 40px 0;
    }
    .page-ban-ca__strategy-list li {
        padding: 20px;
    }

    /* Promotions Section */
    .page-ban-ca__promotions-section {
        padding: 40px 0;
    }
    .page-ban-ca__promo-list li {
        padding: 20px;
    }

    /* FAQ Section */
    .page-ban-ca__faq-section {
        padding: 40px 0;
    }
    .page-ban-ca__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-ban-ca__faq-answer {
        padding: 0 20px 15px;
    }

    /* Final CTA Section */
    .page-ban-ca__cta-final-section {
        padding: 40px 0;
    }

    /* General image responsive styles */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-ban-ca__section,
    .page-ban-ca__card,
    .page-ban-ca__container,
    .page-ban-ca__text-block,
    .page-ban-ca__feature-card,
    .page-ban-ca__game-card,
    .page-ban-ca__guide-list li,
    .page-ban-ca__strategy-list li,
    .page-ban-ca__promo-list li,
    .page-ban-ca__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Specific override for feature-grid to make sure it wraps correctly */
    .page-ban-ca__feature-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px;
    }
}