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

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

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

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

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

.page-ban-ca__section-description--light {
    color: #f0f0f0;
}

/* HERO Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, shared.css handles body padding */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #26A9E0, #4db3e6); /* Light gradient for hero background */
}

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

.page-ban-ca__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: #ffffff; /* White text on blue background */
}

.page-ban-ca__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* H1 font size with clamp */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

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

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

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

.page-ban-ca__hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-ban-ca__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    max-width: 100%; /* For button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__cta-button--primary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-ban-ca__cta-button--primary:hover {
    background-color: #d16e06;
    transform: translateY(-2px);
}

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

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

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

.page-ban-ca__icon-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.page-ban-ca__icon-box {
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-ban-ca__icon-box-media {
    width: 200px; /* Display size */
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #26A9E0;
    box-shadow: 0 0 0 8px 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__icon-box-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-ban-ca__icon-box-description {
    font-size: 1em;
    color: #555555;
}

/* Game Showcase Section */
.page-ban-ca__game-showcase-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-ban-ca__game-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-ban-ca__game-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency, will be responsive */
    object-fit: cover;
    display: block;
}

.page-ban-ca__game-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 20px 15px 10px;
    color: #26A9E0;
}

.page-ban-ca__game-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-ban-ca__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin: 0 15px 20px;
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-ban-ca__cta-button--small:hover {
    background-color: #1e87b7;
}

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

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

.page-ban-ca__guide-step {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.page-ban-ca__guide-step img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-ban-ca__guide-step-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-ban-ca__guide-step-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px;
}

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

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

.page-ban-ca__promo-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding-bottom: 20px;
}

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

.page-ban-ca__promo-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-ban-ca__promo-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px;
}

.page-ban-ca__promo-buttons {
    text-align: center;
}

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

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

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

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #fdfdfd;
    list-style: none; /* Hide default marker for details */
}

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

.page-ban-ca__faq-qtext {
    flex-grow: 1;
    color: #26A9E0;
}

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 15px;
}

.page-ban-ca__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #555555;
    border-top: 1px solid #eee;
}

.page-ban-ca__faq-answer p {
    margin: 0;
}

/* Call to Action Section */
.page-ban-ca__call-to-action-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Primary brand color background */
}

.page-ban-ca__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
    text-align: center;
    border-radius: 10px;
    padding: 40px;
}

.page-ban-ca__call-to-action-section .page-ban-ca__cta-buttons {
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-ban-ca__hero-container {
        flex-direction: column;
        text-align: center;
    }
    .page-ban-ca__hero-content,
    .page-ban-ca__hero-image {
        flex: 1 1 100%;
    }
    .page-ban-ca__hero-buttons {
        justify-content: center;
    }
    .page-ban-ca__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* General content area padding */
    .page-ban-ca__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO Section */
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px;
    }
    .page-ban-ca__hero-title {
        font-size: 1.8em;
    }
    .page-ban-ca__hero-description {
        font-size: 1em;
    }
    .page-ban-ca__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-ban-ca__cta-button {
        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__cta-button--primary,
    .page-ban-ca__cta-button--secondary {
        margin: 0;
    }

    /* Intro Section (Module 1) */
    .page-ban-ca__icon-boxes {
        flex-direction: column;
        gap: 20px;
    }
    .page-ban-ca__icon-box {
        max-width: 100%;
        padding: 15px;
    }
    .page-ban-ca__icon-box-media {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }
    .page-ban-ca__icon-box-title {
        font-size: 1.3em;
    }
    .page-ban-ca__icon-box-description {
        font-size: 0.95em;
    }

    /* Game Showcase Section (Seven Tab Game area adaptation) */
    .page-ban-ca__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-ban-ca__game-card img {
        height: 200px;
    }
    .page-ban-ca__game-title {
        font-size: 1.2em;
    }
    .page-ban-ca__game-description {
        font-size: 0.9em;
    }

    /* Guide Section (Tutorial long text) */
    .page-ban-ca__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-ban-ca__guide-step img {
        
    }
    .page-ban-ca__guide-step-title {
        font-size: 1.2em;
    }

    /* Promo Section */
    .page-ban-ca__promo-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-ban-ca__promo-item img {
        
    }
    .page-ban-ca__promo-title {
        font-size: 1.2em;
    }

    /* FAQ Section */
    .page-ban-ca__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-ban-ca__faq-toggle {
        font-size: 1.3em;
    }
    .page-ban-ca__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }

    /* Call to Action Section */
    .page-ban-ca__call-to-action-section {
        padding: 50px 0;
    }
    .page-ban-ca__section-title {
        font-size: 1.6em;
    }
    .page-ban-ca__section-description {
        font-size: 0.9em;
    }
    .page-ban-ca__dark-section {
        padding: 30px;
    }

    /* Universal image responsiveness for content area */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    /* Exception for circular images to maintain aspect ratio */
    .page-ban-ca__icon-box-media img {
        height: 100% !important; /* Keep height 100% to fill parent circle */
        object-fit: cover !important;
    }
}