/* Base Styles */
.page-ban-ca {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Default body background */
}

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

.page-ban-ca__section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

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

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

.page-ban-ca__text-link {
    color: #017439;
    text-decoration: underline;
}

.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 {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: #017439;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: #ffffff;
    text-align: center;
}

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

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

.page-ban-ca__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-ban-ca__main-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #FFFF00; /* Register/Login font color for prominence */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-ban-ca__subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 30px;
    max-width: 800px;
}

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-ban-ca__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-ban-ca__btn-primary:hover {
    background-color: #d11a1a;
    border-color: #d11a1a;
    transform: translateY(-2px);
}

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

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

.page-ban-ca__large-btn {
    padding: 18px 40px;
    font-size: 20px;
}

.page-ban-ca__btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #017439;
    border-radius: 5px;
    color: #017439;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

/* Section Backgrounds */
.page-ban-ca__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

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

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

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

.page-ban-ca__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-ban-ca__feature-card:hover {
    transform: translateY(-5px);
}

.page-ban-ca__feature-card .page-ban-ca__card-title {
    font-size: 22px;
    color: #FFFF00; /* Highlighted text */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-ban-ca__feature-card p {
    font-size: 16px;
    color: #f0f0f0;
}

/* How to Play & Strategies Sections */
.page-ban-ca__step-list,
.page-ban-ca__tips-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 30px;
}

.page-ban-ca__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 17px;
}

.page-ban-ca__dark-section .page-ban-ca__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: #FFFF00;
}

.page-ban-ca__dark-section .page-ban-ca__list-item strong {
    color: #FFFF00;
}

/* Promotions Section */
.page-ban-ca__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-ban-ca__promo-card {
    background-color: #f0fdf4; /* Light green background */
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-ban-ca__promo-card .page-ban-ca__card-title {
    font-size: 24px;
    color: #017439;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-ban-ca__promo-card p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-ban-ca__faq-list {
    margin-top: 30px;
}

.page-ban-ca__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-ban-ca__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    background-color: #f0fdf4;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-ban-ca__faq-item[open] summary {
    background-color: #017439;
    color: #ffffff;
    border-color: #017439;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
    content: '-';
}

.page-ban-ca__faq-toggle {
    font-size: 24px;
    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: 15px 25px 20px;
    font-size: 16px;
    color: #555555;
}

/* CTA Section */
.page-ban-ca__cta-section {
    padding: 80px 20px;
}

.page-ban-ca__cta-section .page-ban-ca__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
}

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

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

    .page-ban-ca__hero-section {
        min-height: auto;
        padding-top: 10px; /* Consistent small top padding */
        padding-bottom: 40px;
    }

    .page-ban-ca__hero-image-wrapper {
        max-height: 50vh;
    }

    .page-ban-ca__main-title {
        font-size: clamp(30px, 8vw, 42px);
    }

    .page-ban-ca__subtitle {
        font-size: clamp(16px, 4vw, 20px);
    }

    .page-ban-ca__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box !important;
    }

    .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__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 20px;
    }

    .page-ban-ca__text-block {
        font-size: 16px;
    }

    .page-ban-ca__features-grid,
    .page-ban-ca__promo-grid {
        grid-template-columns: 1fr;
    }

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

    .page-ban-ca__feature-card .page-ban-ca__card-title,
    .page-ban-ca__promo-card .page-ban-ca__card-title {
        font-size: 20px;
    }

    .page-ban-ca__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }

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

    .page-ban-ca__faq-item summary {
        padding: 15px 20px;
        font-size: 16px;
    }

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

    .page-ban-ca__large-btn {
        padding: 15px 30px;
        font-size: 18px;
    }

    /* Ensure no specific game carousel or partner grid styles are included for non-homepage */
    /* These specific selectors are not applicable for a non-homepage page like 'ban-ca' */
    /* .page-ban-ca__row-games, .page-ban-ca__slider-track, .page-ban-ca__game-slide are forbidden */
    /* .page-ban-ca__banners-top-wrapper, .page-ban-ca__banner-item img are forbidden */
    /* .page-ban-ca__blog-masonry, .page-ban-ca__blog-slider-track, .page-ban-ca__blog-slide are not used in this specific content structure */
}

/* No specific styles for .page-ban-ca__row-games, .page-ban-ca__slider-track, .page-ban-ca__game-slide as per non-homepage rule */
/* No specific styles for .page-ban-ca__banners-top-wrapper, .page-ban-ca__banner-item img as per non-homepage rule */
/* No specific styles for .page-ban-ca__blog-masonry, .page-ban-ca__blog-slider-track, .page-ban-ca__blog-slide as blog is not a primary feature on this page */