/* General styles */
.page-ban-ca {
    font-family: Arial, sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

.page-ban-ca__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
}

.page-ban-ca__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
}

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

.page-ban-ca__text-block {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__text-block--light {
    color: #f0f0f0;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For mobile */
    box-sizing: border-box; /* For mobile */
    white-space: normal; /* For mobile */
    word-wrap: break-word; /* For mobile */
}

.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.4);
}

.page-ban-ca__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

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

.page-ban-ca__btn-secondary:hover {
    background: #e0eaff;
    color: #2F6BFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-ban-ca__hero-section {
    background-color: #F4F7FB; /* Use background color, not image */
    padding-top: 10px; /* Small top padding for fixed header */
    padding-bottom: 60px;
    color: #1F2D3D;
}

.page-ban-ca__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 16px;
    gap: 40px;
}

.page-ban-ca__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-ban-ca__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.page-ban-ca__main-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1F2D3D;
    max-width: 600px;
}

.page-ban-ca__hero-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #1F2D3D;
}

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* For mobile */
}

.page-ban-ca__hero-side-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Intro Section */
.page-ban-ca__intro-section {
    background-color: #FFFFFF; /* Card BG */
    padding: 60px 0;
}

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

.page-ban-ca__feature-item {
    background-color: #F4F7FB; /* Background */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-ban-ca__feature-item:hover {
    transform: translateY(-10px);
}

.page-ban-ca__icon-box-media {
    width: 200px; /* Square */
    height: 200px; /* Square */
    aspect-ratio: 1/1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #D6E2FF; /* Border */
    box-shadow: 0 0 0 8px rgba(47, 107, 255, 0.1); /* Glow */
}

.page-ban-ca__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%; /* Ensure image itself is circular */
}

.page-ban-ca__feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #2F6BFF; /* Primary */
    margin-bottom: 15px;
}

.page-ban-ca__feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
}

/* How-to-Play Section */
.page-ban-ca__how-to-play-section {
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
    padding: 60px 0;
    color: #ffffff;
    text-align: center;
}

.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-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-ban-ca__guide-icon {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    color: #2F6BFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
}

.page-ban-ca__guide-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-ban-ca__guide-description {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
}

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

/* Tips Section */
.page-ban-ca__tips-section {
    background-color: #F4F7FB; /* Background */
    padding: 60px 0;
    color: #1F2D3D;
}

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

.page-ban-ca__tip-card {
    background-color: #ffffff; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.page-ban-ca__tip-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-ban-ca__tip-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2F6BFF; /* Primary */
    padding: 20px 20px 10px;
}

.page-ban-ca__tip-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    padding: 0 20px 20px;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
    padding: 60px 0;
    color: #ffffff;
    text-align: center;
}

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

.page-ban-ca__promo-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.page-ban-ca__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-ban-ca__promo-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    padding: 20px 20px 10px;
}

.page-ban-ca__promo-description {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
    padding: 0 20px 20px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
    background-color: #F4F7FB; /* Background */
    padding: 60px 0;
    color: #1F2D3D;
}

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

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

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #D6E2FF; /* Border */
    list-style: none; /* For details/summary */
}

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

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

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
    color: #2F6BFF; /* Primary */
    border-bottom: none;
}

.page-ban-ca__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: #2F6BFF; /* Primary */
    margin-left: 15px;
}

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

.page-ban-ca__faq-answer {
    padding: 15px 25px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    border-top: 1px solid #D6E2FF;
}

.page-ban-ca__faq-item:not([open]) .page-ban-ca__faq-answer {
    display: none; /* Hide when not open */
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
    padding: 60px 0;
    color: #ffffff;
    text-align: center;
}

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

.page-ban-ca__cta-final-section .page-ban-ca__cta-buttons {
    justify-content: center;
    margin-top: 30px;
}


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

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

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

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

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

    .page-ban-ca__hero-container {
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
    }

    .page-ban-ca__hero-content {
        text-align: center;
    }

    .page-ban-ca__main-title {
        font-size: 36px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .page-ban-ca__hero-description {
        font-size: 18px;
        margin-bottom: 20px;
    }

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

    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    /* Intro Section - Module 1 Three Columns Circular Images */
    .page-ban-ca__intro-section {
        padding: 30px 0;
    }

    .page-ban-ca__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-ban-ca__icon-box-media {
        width: 150px; /* Maintain square for smaller screens */
        height: 150px; /* Maintain square for smaller screens */
        border: 3px solid #D6E2FF;
        box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.1);
    }
    .page-ban-ca__icon-box-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .page-ban-ca__feature-title {
        font-size: 20px;
    }

    .page-ban-ca__feature-description {
        font-size: 15px;
    }

    /* How-to-Play Section */
    .page-ban-ca__how-to-play-section {
        padding: 30px 0;
    }

    .page-ban-ca__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-ban-ca__guide-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);
    }

    .page-ban-ca__guide-title {
        font-size: 20px;
    }

    .page-ban-ca__guide-description {
        font-size: 15px;
    }

    .page-ban-ca__center-cta {
        margin-top: 30px;
    }

    /* Tips Section */
    .page-ban-ca__tips-section {
        padding: 30px 0;
    }

    .page-ban-ca__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-ban-ca__tip-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Ensure images scale */
    }

    .page-ban-ca__tip-card h3 {
        font-size: 20px;
    }

    .page-ban-ca__tip-card p {
        font-size: 15px;
    }

    /* Promotions Section */
    .page-ban-ca__promotions-section {
        padding: 30px 0;
    }

    .page-ban-ca__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-ban-ca__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Ensure images scale */
    }

    .page-ban-ca__promo-title {
        font-size: 20px;
    }

    .page-ban-ca__promo-description {
        font-size: 15px;
    }

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

    .page-ban-ca__faq-list {
        margin-top: 20px;
        max-width: 100%;
        padding-left: 0; /* FAQ list handles its own padding via item */
        padding-right: 0;
    }

    .page-ban-ca__faq-item {
        margin-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-ban-ca__faq-toggle {
        font-size: 20px;
    }

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

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

    .page-ban-ca__cta-final-section .page-ban-ca__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
}

/* General image and container responsiveness for mobile */
@media (max-width: 768px) {
    .page-ban-ca img:not(.page-ban-ca__icon-box-media img) { /* Exclude circular images from height:auto */
        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__feature-item,
    .page-ban-ca__guide-item,
    .page-ban-ca__tip-card,
    .page-ban-ca__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* FAQ item already handles its own padding */
}