.page-ban-ca {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Main text color for dark background */
    background-color: #0D0E12; /* Body background from shared */
}

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

.page-ban-ca__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #FFB04D; /* Glow color for titles */
    text-shadow: 0 0 8px rgba(255, 176, 77, 0.5);
}

.page-ban-ca__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #FFF3E6;
}

/* Hero Section */
.page-ban-ca__hero-section {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small padding, relying on body for header offset */
    padding-bottom: 50px;
    background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%);
    position: relative;
    overflow: hidden;
}

.page-ban-ca__hero-image-container {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #A84F0C; /* Border color */
}

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

.page-ban-ca__hero-content-wrapper {
    max-width: 900px;
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.page-ban-ca__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 clamp for responsiveness */
    font-weight: 900;
    color: #FFB04D; /* Glow color */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.7);
}

.page-ban-ca__subtitle {
    font-size: 1.3em;
    color: #FFF3E6;
    margin-bottom: 30px;
}

.page-ban-ca__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
    width: 100%; /* For mobile button wrap */
    max-width: 100%; /* For mobile button wrap */
    box-sizing: border-box;
}

.page-ban-ca__cta-buttons--centered {
    margin-top: 40px;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding in width */
    text-align: center;
}

.page-ban-ca__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    border: 2px solid #A84F0C;
}

.page-ban-ca__btn-primary:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__btn-secondary {
    background: #17191F;
    color: #FFA53A;
    border: 2px solid #FFA53A;
}

.page-ban-ca__btn-secondary:hover {
    background: #0D0E12;
    color: #FFF3E6;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Section Backgrounds & Text Colors */
.page-ban-ca__dark-bg {
    background-color: #0D0E12;
    color: #FFF3E6;
    padding: 60px 0;
}

.page-ban-ca__light-bg {
    background-color: #17191F; /* Card background for contrast */
    color: #FFF3E6;
    padding: 60px 0;
}

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

.page-ban-ca__card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF3E6; /* Text Main for cards */
}

.page-ban-ca__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__card-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #FFA53A; /* Auxiliary color for card titles */
    margin-bottom: 15px;
}

.page-ban-ca__card-text {
    font-size: 1em;
    color: #FFF3E6;
}

/* Games Showcase Section */
.page-ban-ca__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-ban-ca__game-card {
    text-align: center;
}

.page-ban-ca__game-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #A84F0C;
    display: block; /* For image responsiveness */
}

.page-ban-ca__btn-play {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    border: 2px solid #A84F0C;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-ban-ca__btn-play:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

/* Guide Section */
.page-ban-ca__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

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

/* App Download Section */
.page-ban-ca__app-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-ban-ca__app-text-content {
    flex: 1;
    min-width: 300px;
}

.page-ban-ca__app-image-container {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-ban-ca__app-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    border: 2px solid #A84F0C;
}

.page-ban-ca__download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* For mobile button wrap */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
}

/* FAQ Section */
.page-ban-ca__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: #FFA53A;
    cursor: pointer;
    background-color: #17191F;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-question:hover {
    background-color: #0D0E12;
}

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    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: 0 25px 20px;
    font-size: 1em;
    color: #FFF3E6;
    line-height: 1.6;
}

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

/* Conclusion Section */
.page-ban-ca__cta-content {
    text-align: center;
}

/* --- Responsive Styles --- */
/* General responsive rules for images and buttons */
.page-ban-ca img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play,
.page-ban-ca a[class*="button"],
.page-ban-ca a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__cta-buttons,
.page-ban-ca__download-buttons,
.page-ban-ca__button-group,
.page-ban-ca__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .page-ban-ca__section-title {
        font-size: 2em;
    }
    .page-ban-ca__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-ban-ca__subtitle {
        font-size: 1.1em;
    }
    .page-ban-ca__hero-image-container {
        margin-left: 20px;
        margin-right: 20px;
    }
    .page-ban-ca__app-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-ban-ca__app-image-container {
        order: -1; /* Image above text on mobile */
    }
    .page-ban-ca__download-buttons {
        justify-content: center;
    }
}


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

    .page-ban-ca__dark-bg,
    .page-ban-ca__light-bg {
        padding: 40px 0;
    }

    .page-ban-ca__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    /* Hero Section - Mobile */
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
        padding-bottom: 30px;
    }

    .page-ban-ca__hero-content-wrapper {
        margin-bottom: 20px;
    }

    .page-ban-ca__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust H1 for smaller screens */
    }

    .page-ban-ca__subtitle {
        font-size: 1em;
    }

    .page-ban-ca__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }

    .page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play,
.page-ban-ca a[class*="button"],
.page-ban-ca a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Features Section - Mobile */
    .page-ban-ca__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ban-ca__card-title {
        font-size: 1.3em;
    }

    /* Games Showcase Section - Mobile */
    .page-ban-ca__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Guide Section - Mobile */
    .page-ban-ca__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Promotions Section - Mobile */
    .page-ban-ca__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* App Download Section - Mobile */
    .page-ban-ca__app-content-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .page-ban-ca__download-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* FAQ Section - Mobile */
    .page-ban-ca__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-ban-ca__faq-answer {
        padding: 0 20px 15px;
    }

    /* All images must be responsive and not overflow */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-ban-ca__hero-image-container,
    .page-ban-ca__game-image,
    .page-ban-ca__app-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}