.page-ban-ca {
    font-family: Arial, sans-serif;
    color: #FFF1E8; /* Main text color for dark background */
    background-color: #140C0C; /* Body background color */
}

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

.page-ban-ca__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as shared.css handles body padding */
    margin-bottom: 40px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-ban-ca__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for hero image */
}

.page-ban-ca__hero-content {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    color: #FFF1E8;
    margin-top: -100px; /* Adjust to place content below image, but visually integrated */
    position: relative;
    z-index: 1;
}

.page-ban-ca__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: #F3C54D; /* Gold color for main title */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-ban-ca__description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__game-play-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__btn-primary,
.page-ban-ca__game-play-button {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #ffffff;
    border: none;
}

.page-ban-ca__btn-primary:hover,
.page-ban-ca__game-play-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
    background: transparent;
    color: #F3C54D; /* Gold color for secondary button text */
    border: 2px solid #F3C54D; /* Gold border */
}

.page-ban-ca__btn-secondary:hover {
    background: #F3C54D;
    color: #140C0C; /* Dark text on gold hover */
    transform: translateY(-2px);
}

.page-ban-ca__intro-section,
.page-ban-ca__games-section,
.page-ban-ca__guide-section,
.page-ban-ca__tips-section,
.page-ban-ca__promotions-section,
.page-ban-ca__faq-section,
.page-ban-ca__conclusion-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: #140C0C; /* Consistent background */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent content overflow */
}

.page-ban-ca__section-title {
    font-size: 2.5rem;
    color: #F3C54D; /* Gold color for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-ban-ca__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #C61F1F; /* Deep Red underline */
    border-radius: 2px;
}

.page-ban-ca__text-block {
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF1E8;
}

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

.page-ban-ca__game-card,
.page-ban-ca__tip-card {
    background-color: #2A1212; /* Card background */
    border: 1px solid #6A1E1E; /* Card border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards are same height */
}

.page-ban-ca__game-image,
.page-ban-ca__tip-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent image size */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #6A1E1E;
}

.page-ban-ca__game-title,
.page-ban-ca__tip-title {
    font-size: 1.5rem;
    color: #F3C54D;
    margin: 20px 15px 10px;
}

.page-ban-ca__game-description,
.page-ban-ca__tip-description {
    font-size: 1rem;
    color: #FFF1E8;
    padding: 0 15px 20px;
    line-height: 1.6;
    flex-grow: 1; /* Allow description to take available space */
}

.page-ban-ca__game-play-button {
    margin: 0 15px 20px;
    padding: 12px 25px;
    font-size: 1rem;
    max-width: calc(100% - 30px); /* Adjust max-width for padding */
}

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

.page-ban-ca__guide-step {
    background-color: #2A1212;
    border: 1px solid #6A1E1E;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #C61F1F; /* Deep Red for step number background */
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
}

.page-ban-ca__step-title {
    font-size: 1.3rem;
    color: #F3C54D;
    margin-bottom: 10px;
}

.page-ban-ca__step-description {
    font-size: 1rem;
    color: #FFF1E8;
    line-height: 1.6;
}

.page-ban-ca__promotions-section {
    text-align: center;
}

.page-ban-ca__promotion-card {
    background-color: #2A1212;
    border: 1px solid #6A1E1E;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: row; /* Default desktop layout */
    align-items: center;
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-ban-ca__promotion-content {
    width: 50%;
    padding: 30px;
    text-align: left;
}

.page-ban-ca__promotion-title {
    font-size: 1.8rem;
    color: #F3C54D;
    margin-bottom: 15px;
}

.page-ban-ca__promotion-description {
    font-size: 1.05rem;
    color: #FFF1E8;
    line-height: 1.7;
    margin-bottom: 25px;
}

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

.page-ban-ca__faq-item {
    background-color: #2A1212;
    border: 1px solid #6A1E1E;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFF1E8;
    cursor: pointer;
    background-color: #C61F1F; /* Deep Red for FAQ question background */
    user-select: none;
}

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

.page-ban-ca__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    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: 20px 25px;
    background-color: #2A1212;
    color: #FFF1E8;
    line-height: 1.7;
    border-top: 1px solid #6A1E1E;
    font-size: 1rem;
}

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

.page-ban-ca__faq-footer {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: #FFF1E8;
}

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

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

    .page-ban-ca__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-ban-ca__description {
        font-size: 1.1rem;
    }

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

    .page-ban-ca__promotion-card {
        flex-direction: column;
    }

    .page-ban-ca__promotion-image,
    .page-ban-ca__promotion-content {
        width: 100%;
        padding: 25px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-ban-ca {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-ban-ca__hero-section {
        padding-top: 10px;
        margin-bottom: 20px;
    }

    .page-ban-ca__hero-image {
        max-height: 300px;
    }

    .page-ban-ca__hero-content {
        padding: 20px 15px;
        margin-top: -60px;
    }

    .page-ban-ca__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        margin-bottom: 10px;
    }

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

    .page-ban-ca__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
    }

    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary,
    .page-ban-ca__game-play-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* General image and container responsiveness for mobile */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-ban-ca__container,
    .page-ban-ca__intro-section,
    .page-ban-ca__games-section,
    .page-ban-ca__guide-section,
    .page-ban-ca__tips-section,
    .page-ban-ca__promotions-section,
    .page-ban-ca__faq-section,
    .page-ban-ca__conclusion-section,
    .page-ban-ca__game-card,
    .page-ban-ca__tip-card,
    .page-ban-ca__guide-step,
    .page-ban-ca__promotion-card,
    .page-ban-ca__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-ban-ca__text-block {
        font-size: 0.95rem;
    }

    .page-ban-ca__games-grid,
    .page-ban-ca__tips-grid,
    .page-ban-ca__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ban-ca__game-image,
    .page-ban-ca__tip-image {
        height: 180px;
    }

    .page-ban-ca__game-title,
    .page-ban-ca__tip-title {
        font-size: 1.3rem;
    }

    .page-ban-ca__promotion-image {
        height: 200px;
    }

    .page-ban-ca__promotion-title {
        font-size: 1.5rem;
    }

    .page-ban-ca__promotion-description {
        font-size: 0.95rem;
    }

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

    .page-ban-ca__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}