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

.page-ban-ca__content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-ban-ca__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-ban-ca__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555555;
}

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #e0f7fa, #bbdefb); /* Light gradient background */
}

.page-ban-ca__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 16px;
    box-sizing: border-box;
}

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

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

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

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

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

/* CTA Buttons */
.page-ban-ca__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-ban-ca__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-ban-ca__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-ban-ca__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-ban-ca__btn-secondary:hover {
    background-color: #e0f7fa;
    color: #1e87c0;
    border-color: #1e87c0;
}

.page-ban-ca__btn-link {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid transparent;
    padding: 8px 15px;
    font-size: 1em;
}
.page-ban-ca__btn-link:hover {
    text-decoration: underline;
    color: #1e87c0;
}

/* Light background sections */
.page-ban-ca__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

/* Dark background sections */
.page-ban-ca__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title,
.page-ban-ca__dark-bg .page-ban-ca__section-description,
.page-ban-ca__dark-bg .page-ban-ca__paragraph,
.page-ban-ca__dark-bg .page-ban-ca__feature-title,
.page-ban-ca__dark-bg .page-ban-ca__feature-text,
.page-ban-ca__dark-bg .page-ban-ca__card-title,
.page-ban-ca__dark-bg .page-ban-ca__card-text,
.page-ban-ca__dark-bg .page-ban-ca__tips-list li,
.page-ban-ca__dark-bg .page-ban-ca__promo-list li,
.page-ban-ca__dark-bg .page-ban-ca__faq-qtext,
.page-ban-ca__dark-bg .page-ban-ca__faq-answer p {
    color: #FFFFFF;
}

.page-ban-ca__dark-bg .page-ban-ca__btn-primary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border-color: #FFFFFF;
}
.page-ban-ca__dark-bg .page-ban-ca__btn-primary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
    border-color: #f0f0f0;
}

.page-ban-ca__dark-bg .page-ban-ca__btn-secondary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border-color: #FFFFFF;
}
.page-ban-ca__dark-bg .page-ban-ca__btn-secondary:hover {
    background-color: #1e87c0;
    border-color: #e0e0e0;
}


/* Intro Section (Module 1) */
.page-ban-ca__intro-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-ban-ca__feature-item {
    background: #f8f8f8;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-ban-ca__icon-box-media {
    width: 180px; /* Smaller for desktop */
    height: 180px; /* Smaller for desktop */
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #26A9E0;
    box-shadow: 0 0 0 5px rgba(38, 169, 224, 0.3);
}

.page-ban-ca__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.page-ban-ca__feature-text {
    font-size: 1em;
    color: #555555;
}

/* About Game Section */
.page-ban-ca__about-game-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-ban-ca__image-block {
    margin: 40px auto;
    text-align: center;
}

.page-ban-ca__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-ban-ca__game-card {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.page-ban-ca__game-card:hover {
    transform: translateY(-8px);
}

.page-ban-ca__game-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-ban-ca__card-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin: 20px 0 10px;
    font-weight: 600;
}

.page-ban-ca__card-text {
    font-size: 1em;
    color: #555555;
    padding: 0 20px 15px;
}

/* Tips Section */
.page-ban-ca__tips-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-ban-ca__tips-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-ban-ca__tips-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-ban-ca__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-ban-ca__tips-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #FFFFFF;
}
.page-ban-ca__dark-bg .page-ban-ca__tips-list li {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
}
.page-ban-ca__light-bg .page-ban-ca__tips-list li {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2326A9E0"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
    color: #333333;
}


.page-ban-ca__tips-list li strong {
    color: #FFFFFF;
}
.page-ban-ca__light-bg .page-ban-ca__tips-list li strong {
    color: #26A9E0;
}


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

.page-ban-ca__tips-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Promo Section */
.page-ban-ca__promo-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-ban-ca__promo-list li {
    background: #f8f8f8;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 50px;
}

.page-ban-ca__promo-list li::before {
    content: '🎁';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
}

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

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

.page-ban-ca__faq-item {
    background: #208cb8; /* Slightly darker primary color for FAQ item */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    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;
    background-color: #26A9E0;
    color: #FFFFFF;
    list-style: none; /* Hide default marker for details */
    -webkit-touch-callout: none; /* Disable text selection on iOS */
    -webkit-user-select: none;   /* Disable text selection on Chrome, Safari, Opera */
    -moz-user-select: none;      /* Disable text selection on Firefox */
    -ms-user-select: none;       /* Disable text selection on Internet Explorer/Edge */
    user-select: none;           /* Standard syntax */
}

.page-ban-ca__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}
.page-ban-ca__faq-question::marker {
    display: none; /* Hide default marker */
}

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

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    width: 24px;
    text-align: center;
}

.page-ban-ca__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: #FFFFFF;
    background-color: #208cb8;
}
.page-ban-ca__faq-answer p {
    margin: 0;
    padding-top: 10px;
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

/* Global image styles for content area */
.page-ban-ca img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-ban-ca__hero-container {
        flex-direction: column;
        text-align: center;
    }
    .page-ban-ca__hero-content {
        text-align: center;
    }
    .page-ban-ca__hero-image {
        order: -1; /* Image above text on smaller screens */
    }
    .page-ban-ca__cta-buttons {
        justify-content: center;
    }
    .page-ban-ca__tips-grid {
        flex-direction: column;
    }
    .page-ban-ca__tips-content,
    .page-ban-ca__tips-image {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 40px;
    }
    .page-ban-ca__hero-container {
        padding: 20px 15px;
        gap: 20px;
    }
    .page-ban-ca__main-title {
        font-size: 2em !important;
        margin-bottom: 15px;
    }
    .page-ban-ca__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-ban-ca__cta-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary,
    .page-ban-ca__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* General Section Styles */
    .page-ban-ca__content-area {
        padding: 20px 15px;
    }
    .page-ban-ca__section-title {
        font-size: 1.8em !important;
        margin-bottom: 15px;
    }
    .page-ban-ca__section-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    /* Module 1 - Intro Section */
    .page-ban-ca__intro-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-ban-ca__features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-ban-ca__icon-box-media {
        width: 150px; /* Smaller for mobile, but still square */
        height: 150px; /* Smaller for mobile, but still square */
        border-width: 3px;
    }
    .page-ban-ca__feature-title {
        font-size: 1.3em;
    }
    .page-ban-ca__feature-text {
        font-size: 0.95em;
    }

    /* About Game Section */
    .page-ban-ca__about-game-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-ban-ca__paragraph {
        font-size: 1em;
    }
    .page-ban-ca__image-block {
        margin: 25px auto;
    }

    /* Game Types Section */
    .page-ban-ca__game-types-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-ban-ca__game-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-ban-ca__card-title {
        font-size: 1.2em;
    }
    .page-ban-ca__card-text {
        font-size: 0.95em;
    }

    /* Tips Section */
    .page-ban-ca__tips-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-ban-ca__tips-grid {
        gap: 25px;
    }
    .page-ban-ca__tips-list li {
        font-size: 1em;
        padding-left: 25px;
        margin-bottom: 10px;
        background-size: 18px;
    }

    /* Promo Section */
    .page-ban-ca__promo-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-ban-ca__promo-list {
        margin-top: 25px;
    }
    .page-ban-ca__promo-list li {
        font-size: 1em;
        padding: 15px 15px 15px 45px;
        margin-bottom: 10px;
    }
    .page-ban-ca__promo-list li::before {
        font-size: 1.3em;
        left: 10px;
    }

    /* FAQ Section */
    .page-ban-ca__faq-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-ban-ca__faq-list {
        margin-top: 25px;
    }
    .page-ban-ca__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-ban-ca__faq-toggle {
        font-size: 1.2em;
        margin-left: 10px;
    }
    .page-ban-ca__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    /* Final CTA Section */
    .page-ban-ca__cta-final-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-ban-ca__cta-buttons--center {
        margin-top: 25px;
    }

    /* Universal image responsive for content area */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-ban-ca__content-area,
    .page-ban-ca__hero-container,
    .page-ban-ca__features-grid,
    .page-ban-ca__feature-item,
    .page-ban-ca__game-cards-grid,
    .page-ban-ca__game-card,
    .page-ban-ca__tips-grid,
    .page-ban-ca__tips-content,
    .page-ban-ca__tips-image,
    .page-ban-ca__promo-list,
    .page-ban-ca__promo-list li,
    .page-ban-ca__faq-list,
    .page-ban-ca__faq-item,
    .page-ban-ca__cta-final-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}