.page-ban-ca {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Assuming dark body background from shared.css */
    background-color: var(--bg-color, #1a1a1a); /* Fallback if --bg-color is not set */
}

.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, body handles header offset */
    margin-bottom: 40px;
    background-color: #7A0E0E; /* Deep Red for hero section background */
    overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

.page-ban-ca__hero-content {
    position: relative; /* Ensure content is above image wrapper if needed */
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-ban-ca__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: #FFCC66; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__lead-text {
    font-size: 1.2rem;
    color: #FFF5E1;
    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 */
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%;
    min-width: 200px;
}

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

.page-ban-ca__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__btn-secondary {
    background: #FFF5E1; /* Text Main as background */
    color: #C91F17; /* Primary Red for text */
    border: 2px solid #C91F17;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__btn-secondary:hover {
    background: #C91F17;
    color: #FFF5E1;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-play {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E;
    border: none;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
}

.page-ban-ca__btn-play:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F4D34D; /* Gold for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #FFF5E1;
}

.page-ban-ca__dark-bg {
    background-color: #B71C1C; /* Deep Red for dark sections */
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-ban-ca__introduction-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-ban-ca__game-versions-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: #7A0E0E; /* Another deep red background */
}

.page-ban-ca__game-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: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF5E1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-ban-ca__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #F2B544; /* Border for images */
}

.page-ban-ca__game-card-title {
    font-size: 1.6rem;
    color: #FFCC66; /* Glow color for card titles */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ban-ca__game-card-title a {
    color: #FFCC66;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-ban-ca__game-card-title a:hover {
    color: #F4D34D;
}

.page-ban-ca__game-card-description {
    font-size: 1rem;
    color: #FFF5E1;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take available space */
}

.page-ban-ca__guide-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-ban-ca__guide-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 3px solid #F2B544;
}

.page-ban-ca__guide-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-ban-ca__guide-list li {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for contrast */
    border-left: 5px solid #F4D34D;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #FFF5E1;
}

.page-ban-ca__guide-list li strong {
    color: #FFCC66;
}

.page-ban-ca__strategy-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: #B71C1C;
}

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

.page-ban-ca__strategy-item {
    background: #D32F2F;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF5E1;
    height: 100%; /* Ensure equal height cards */
    display: flex;
    flex-direction: column;
}

.page-ban-ca__strategy-item-title {
    font-size: 1.4rem;
    color: #FFCC66;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ban-ca__strategy-item-description {
    font-size: 1rem;
    color: #FFF5E1;
    flex-grow: 1;
}

.page-ban-ca__promotions-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-ban-ca__promotion-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 3px solid #F2B544;
}

.page-ban-ca__promo-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-ban-ca__promo-list li {
    background: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #E53935; /* Auxiliary red */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #FFF5E1;
}

.page-ban-ca__promo-list li strong {
    color: #FFCC66;
}

.page-ban-ca__advantages-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: #7A0E0E;
}

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

.page-ban-ca__advantage-item {
    background: #D32F2F;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF5E1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-ban-ca__advantage-item-title {
    font-size: 1.4rem;
    color: #FFCC66;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ban-ca__advantage-item-description {
    font-size: 1rem;
    color: #FFF5E1;
    flex-grow: 1;
}

.page-ban-ca__faq-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-ban-ca__faq-list {
    margin-top: 40px;
}

.page-ban-ca__faq-item {
    background: #D32F2F;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.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: #FFCC66;
    cursor: pointer;
    background: #C91F17; /* Primary Red for FAQ question background */
    border-bottom: 1px solid #7A0E0E;
    list-style: none; /* Hide default marker for details summary */
}

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

.page-ban-ca__faq-question:hover {
    background: #E53935; /* Auxiliary red on hover */
}

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

.page-ban-ca__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #FFF5E1;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-ban-ca__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #FFF5E1;
    background: #D32F2F;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-ban-ca__final-cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #B71C1C;
}

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

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

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

    .page-ban-ca__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-ban-ca__game-grid,
    .page-ban-ca__strategy-list,
    .page-ban-ca__advantage-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-ban-ca {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        margin-bottom: 30px;
    }

    .page-ban-ca__hero-content {
        padding: 30px 15px;
    }

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

    .page-ban-ca__lead-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary,
    .page-ban-ca__btn-play {
        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;
    }

    /* Container for buttons */
    .page-ban-ca__cta-buttons,
    .page-ban-ca__button-group,
    .page-ban-ca__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-ban-ca__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        margin-bottom: 25px;
    }

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

    .page-ban-ca__introduction-section,
    .page-ban-ca__game-versions-section,
    .page-ban-ca__guide-section,
    .page-ban-ca__strategy-section,
    .page-ban-ca__promotions-section,
    .page-ban-ca__advantages-section,
    .page-ban-ca__faq-section,
    .page-ban-ca__final-cta-section {
        padding: 40px 0 !important;
        margin-bottom: 30px !important;
    }

    .page-ban-ca__game-grid,
    .page-ban-ca__strategy-list,
    .page-ban-ca__advantage-grid {
        grid-template-columns: 1fr !important; /* Single column layout */
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .page-ban-ca__game-card-image {
        height: auto;
        min-height: 200px; /* Ensure min size */
    }

    .page-ban-ca__guide-image,
    .page-ban-ca__promotion-image {
        max-height: 300px; /* Adjust max height for mobile */
        margin-bottom: 20px;
    }

    .page-ban-ca__guide-list li,
    .page-ban-ca__promo-list li {
        font-size: 1rem;
        padding: 12px 15px;
    }

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

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

    /* General image responsive styles for content area */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* All containers that might hold images or cause overflow */
    .page-ban-ca__container,
    .page-ban-ca__hero-image-wrapper,
    .page-ban-ca__game-card,
    .page-ban-ca__strategy-item,
    .page-ban-ca__advantage-item,
    .page-ban-ca__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}