.page-ban-ca {
    font-family: Arial, sans-serif;
    background-color: var(--background-color, #0D0E12);
    color: var(--text-main, #FFF3E6);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
.page-ban-ca__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 40px;
    background: linear-gradient(180deg, rgba(255,165,58,0.1) 0%, rgba(13,14,18,0.1) 100%);
}

.page-ban-ca__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}

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

.page-ban-ca__hero-content {
    max-width: 800px;
    padding: 0 15px;
}

.page-ban-ca__main-title {
    font-size: 2.8em;
    font-weight: bold;
    color: var(--text-main, #FFF3E6);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-ban-ca__description {
    font-size: 1.1em;
    color: var(--text-main, #FFF3E6);
    margin-bottom: 30px;
}

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-ban-ca__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border: none;
}

.page-ban-ca__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-ban-ca__btn-secondary {
    background: transparent;
    color: #FF8C1A;
    border: 2px solid #FF8C1A;
}

.page-ban-ca__btn-secondary:hover {
    background: rgba(255, 140, 26, 0.1);
    transform: translateY(-2px);
}

/* General Section Styles */
.page-ban-ca__section-title {
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-main, #FFF3E6);
}

.page-ban-ca__text-block {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--text-main, #FFF3E6);
}

.page-ban-ca__dark-section {
    background-color: var(--background-color, #0D0E12);
    padding: 60px 0;
    color: var(--text-main, #FFF3E6);
}

.page-ban-ca__light-bg {
    background-color: var(--card-bg, #17191F);
    padding: 60px 0;
    color: var(--text-main, #FFF3E6);
}

/* About Section */
.page-ban-ca__about-section .page-ban-ca__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.page-ban-ca__guide-item {
    background-color: var(--card-bg, #17191F);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, #A84F0C);
}

.page-ban-ca__guide-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-ban-ca__guide-title {
    font-size: 1.5em;
    color: #FF8C1A;
    margin-bottom: 15px;
}

/* Game Showcase Section */
.page-ban-ca__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-ban-ca__game-tile {
    background-color: var(--card-bg, #17191F);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, #A84F0C);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-ban-ca__game-image {
    width: 100%;
    height: 250px; /* Fixed height for desktop */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    aspect-ratio: 1 / 1;
}

.page-ban-ca__game-title {
    font-size: 1.3em;
    color: #FF8C1A;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-ban-ca__game-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__game-btn:hover {
    opacity: 0.9;
}

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

.page-ban-ca__advantage-item {
    background-color: var(--card-bg, #17191F);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, #A84F0C);
}

.page-ban-ca__advantage-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-ban-ca__advantage-title {
    font-size: 1.4em;
    color: #FF8C1A;
    margin-bottom: 15px;
}

/* Promotions Section */
.page-ban-ca__promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.page-ban-ca__promo-item {
    background-color: var(--card-bg, #17191F);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, #A84F0C);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-ban-ca__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-ban-ca__promo-title {
    font-size: 1.3em;
    color: #FF8C1A;
    margin-bottom: 10px;
}

.page-ban-ca__promo-description {
    font-size: 0.95em;
    color: var(--text-main, #FFF3E6);
    flex-grow: 1;
}

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

/* FAQ Section */
.page-ban-ca__faq-list {
    margin-top: 40px;
}

.page-ban-ca__faq-item {
    background-color: var(--card-bg, #17191F);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #A84F0C);
    overflow: hidden;
}

.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: #FF8C1A;
    cursor: pointer;
    background-color: #1f2229;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
    border-bottom-color: var(--border-color, #A84F0C);
}

.page-ban-ca__faq-question:hover {
    background-color: #2a2d36;
}

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

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow, #FFB04D);
}

.page-ban-ca__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--text-main, #FFF3E6);
}

/* Final CTA Section */
.page-ban-ca__final-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(90deg, #D96800 0%, #FF8C1A 100%);
}

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

.page-ban-ca__final-cta .page-ban-ca__text-block {
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* General image responsive styles */
.page-ban-ca img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .page-ban-ca__main-title {
        font-size: 2.5em;
    }

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

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

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

    /* Hero Section */
    .page-ban-ca__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    
    .page-ban-ca__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        max-height: none !important;
    }

    .page-ban-ca__main-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
        margin-bottom: 10px;
    }

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

    .page-ban-ca__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    
    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Section Titles */
    .page-ban-ca__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

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

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

    .page-ban-ca__guide-image {
        max-height: 200px;
        margin-bottom: 15px;
    }

    /* Game Showcase Section */
    .page-ban-ca__game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        overflow-x: hidden !important;
        padding: 0 15px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .page-ban-ca__game-tile {
        padding: 15px;
    }

    .page-ban-ca__game-image {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }

    .page-ban-ca__game-title {
        font-size: 1.1em;
    }

    .page-ban-ca__game-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    /* Advantages Section */
    .page-ban-ca__advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-ban-ca__advantage-icon {
        width: 200px !important;
        height: 200px !important;
        margin-bottom: 15px;
    }

    .page-ban-ca__advantage-title {
        font-size: 1.2em;
    }

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

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

    .page-ban-ca__promo-image {
        height: 150px;
        margin-bottom: 15px;
    }

    .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.2em;
    }

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

    /* Final CTA Section */
    .page-ban-ca__final-cta {
        padding: 50px 0;
    }
}