.page-ban-ca {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background: #B71C1C; /* Background color for the page content */
}

/* General container for content sections */
.page-ban-ca__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

/* Headings */
.page-ban-ca__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Avoid large fixed font-size for H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFF5E1;
}

.page-ban-ca__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: bold;
    color: #FFF5E1;
    text-align: center;
    margin-bottom: 20px;
}

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

.page-ban-ca__feature-title,
.page-ban-ca__game-card-title,
.page-ban-ca__guide-step-title,
.page-ban-ca__tips-item-title,
.page-ban-ca__promo-card-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #F4D34D; /* Gold */
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.page-ban-ca__game-card-title a,
.page-ban-ca__promo-card-title a {
    color: #F4D34D; /* Gold */
    text-decoration: none;
}

.page-ban-ca__game-card-title a:hover,
.page-ban-ca__promo-card-title a:hover {
    text-decoration: underline;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons adapt */
}

.page-ban-ca__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom color */
    color: #7A0E0E; /* Deep Red for text on gold button */
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__btn-secondary {
    background: #E53935; /* Auxiliary color */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border custom color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-secondary:hover {
    background: #C91F17; /* Main color */
    border-color: #FFCC66; /* Glow */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-ban-ca__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background: #B71C1C; /* Use background color for this section */
}

.page-ban-ca__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 16px;
    gap: 24px;
    justify-content: center; /* Center items for better layout */
}

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

.page-ban-ca__hero-image {
    flex: 1 1 45%;
    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 8px 20px rgba(0, 0, 0, 0.4);
}

/* Intro Section (Module 1) */
.page-ban-ca__intro-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #7A0E0E; /* Deep Red for contrast */
    color: #FFF5E1;
}

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

.page-ban-ca__feature-item {
    text-align: center;
    background: #D32F2F; /* Card BG */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__icon-box-media {
    width: 240px; /* Recommended 400x400 for feature, scaled down */
    height: 240px;
    aspect-ratio: 1/1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #F4D34D; /* Gold border */
    box-shadow: 0 0 15px #FFCC66; /* Glow effect */
}

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

.page-ban-ca__feature-text {
    color: #FFF5E1;
}

/* Games Section */
.page-ban-ca__games-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #B71C1C; /* Background color */
}

.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: #D32F2F; /* Card BG */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-ban-ca__game-card-title {
    padding: 15px 15px 0;
}

.page-ban-ca__game-card-text {
    color: #FFF5E1;
    padding: 0 15px 15px;
    flex-grow: 1;
}

.page-ban-ca__game-card-button {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

/* Guide Section */
.page-ban-ca__guide-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #7A0E0E; /* Deep Red */
    color: #FFF5E1;
}

.page-ban-ca__guide-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.page-ban-ca__guide-step-item {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; /* Allow wrapping */
}

.page-ban-ca__guide-step-item--reverse {
    flex-direction: row-reverse;
}

.page-ban-ca__guide-step-image {
    flex: 1 1 45%;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__guide-step-content {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-ban-ca__guide-step-text {
    color: #FFF5E1;
    margin-bottom: 20px;
}

/* Tips Section */
.page-ban-ca__tips-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #B71C1C; /* Background color */
    color: #FFF5E1;
}

.page-ban-ca__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.page-ban-ca__tips-item {
    background: #D32F2F; /* Card BG */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__tips-item-text {
    color: #FFF5E1;
}

/* Promo Section */
.page-ban-ca__promo-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #7A0E0E; /* Deep Red */
    color: #FFF5E1;
}

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

.page-ban-ca__promo-card {
    background: #D32F2F; /* Card BG */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-ban-ca__promo-card-title {
    padding: 15px 15px 0;
}

.page-ban-ca__promo-card-text {
    color: #FFF5E1;
    padding: 0 15px 15px;
    flex-grow: 1;
}

.page-ban-ca__promo-card-button {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

/* FAQ Section */
.page-ban-ca__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #B71C1C; /* Background color */
    color: #FFF5E1;
}

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

.page-ban-ca__faq-item {
    background: #D32F2F; /* Card BG */
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #E53935;
}

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

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

.page-ban-ca__faq-question::marker {
    display: none; /* Hide default marker for other browsers */
}

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFCC66; /* Glow */
}

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

.page-ban-ca__faq-answer p {
    margin-bottom: 10px;
    color: #FFF5E1;
}

.page-ban-ca__faq-answer .page-ban-ca__link {
    color: #FFD86A; /* Lighter gold for links */
    text-decoration: underline;
}

.page-ban-ca__faq-answer .page-ban-ca__link:hover {
    color: #E6B800;
}

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

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

    .page-ban-ca__main-title {
        font-size: 2em;
        text-align: center;
    }

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

    .page-ban-ca__hero-content {
        flex: 1 1 100%;
        text-align: center;
    }

    .page-ban-ca__hero-image {
        flex: 1 1 100%;
    }

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

    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-ban-ca__section-title {
        font-size: 1.8em;
    }

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

    .page-ban-ca__features-grid,
    .page-ban-ca__game-cards-grid,
    .page-ban-ca__promo-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-ban-ca__icon-box-media {
        width: 150px; /* Adjust size for mobile, still square */
        height: 150px;
        margin-bottom: 15px;
    }

    .page-ban-ca__game-card-image,
    .page-ban-ca__promo-card-image {
        height: 180px; /* Adjust image height for mobile cards */
    }

    .page-ban-ca__guide-step-item,
    .page-ban-ca__guide-step-item--reverse {
        flex-direction: column;
        gap: 20px;
    }

    .page-ban-ca__guide-step-image {
        flex: 1 1 100%;
        min-width: unset;
        max-width: 100%;
    }

    .page-ban-ca__guide-step-content {
        flex: 1 1 100%;
        text-align: center;
    }

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

    .page-ban-ca__tips-item {
        padding: 20px;
    }

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

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

    /* General image and container responsiveness */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-ban-ca__section,
    .page-ban-ca__card,
    .page-ban-ca__container,
    .page-ban-ca__hero-container,
    .page-ban-ca__features-grid,
    .page-ban-ca__game-cards-grid,
    .page-ban-ca__guide-steps,
    .page-ban-ca__tips-list,
    .page-ban-ca__promo-cards-grid,
    .page-ban-ca__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Specific override for icon-box-media img to maintain circular shape */
    .page-ban-ca__icon-box-media img {
        height: 100% !important;
        object-fit: cover !important;
    }
}