/* style/ban-ca.css */
.page-ban-ca {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Text Main */
    background-color: #F5F7FA; /* Background */
    line-height: 1.6;
}

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

.page-ban-ca__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
    background-color: #F5F7FA;
}

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

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

.page-ban-ca__hero-content {
    text-align: center;
    padding: 0 20px 40px;
}

.page-ban-ca__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    color: #E53935;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-ban-ca__hero-description {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.page-ban-ca__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

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

.page-ban-ca__btn-secondary:hover {
    background-color: #E53935;
    color: #ffffff;
}

.page-ban-ca__section {
    padding: 40px 0;
    margin-bottom: 30px;
    background-color: #ffffff; /* Card BG */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__section-title {
    font-size: 2.2em;
    color: #E53935;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-ban-ca__content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.page-ban-ca__text-block {
    flex: 2;
}

.page-ban-ca__text-block p {
    margin-bottom: 15px;
    color: #333333;
}

.page-ban-ca__feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-ban-ca__feature-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #333333;
}

.page-ban-ca__feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #E53935;
}

.page-ban-ca__figure {
    flex: 1;
    margin: 0;
    text-align: center;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
}

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

.page-ban-ca__figcaption {
    font-size: 0.9em;
    color: #555555;
    padding: 10px;
    background-color: #f8f8f8;
    border-top: 1px solid #E0E0E0;
}

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

.page-ban-ca__game-card {
    background-color: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-ban-ca__game-title {
    font-size: 1.5em;
    color: #E53935;
    padding: 15px;
    margin: 0;
}

.page-ban-ca__game-card p {
    padding: 0 15px 15px;
    color: #333333;
}

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

.page-ban-ca__step-card {
    background-color: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__step-title {
    font-size: 1.4em;
    color: #E53935;
    margin-top: 0;
    margin-bottom: 15px;
}

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

.page-ban-ca__tip-card {
    background-color: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__tip-title {
    font-size: 1.4em;
    color: #E53935;
    margin-top: 0;
    margin-bottom: 15px;
}

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

.page-ban-ca__promo-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #333333;
}

.page-ban-ca__promo-list li::before {
    content: '🎁';
    position: absolute;
    left: 0;
}

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

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

.page-ban-ca__faq-question {
    padding: 18px 25px;
    font-size: 1.2em;
    color: #E53935;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fcfcfc;
    border-bottom: 1px solid #E0E0E0;
}

.page-ban-ca__faq-item.active .page-ban-ca__faq-question {
    background-color: #fff0f0;
    border-bottom: none;
}

.page-ban-ca__faq-answer {
    padding: 0 25px;
    color: #333333;
    font-size: 1em;
    line-height: 1.5;
}

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

.page-ban-ca__faq-answer a {
    color: #E53935;
    text-decoration: underline;
}

.page-ban-ca__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-ban-ca__faq-item.active .page-ban-ca__faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-ban-ca__conclusion {
    text-align: center;
}

.page-ban-ca__cta-buttons--center {
    margin-top: 30px;
}

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

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

    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Top section padding */
        margin-bottom: 20px;
    }

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

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

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

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

    .page-ban-ca__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    
    .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;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

    .page-ban-ca__section {
        padding: 20px 0;
        margin-bottom: 20px;
    }

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

    .page-ban-ca__content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .page-ban-ca__text-block, .page-ban-ca__figure {
        flex: none;
        width: 100%;
    }

    .page-ban-ca__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-ban-ca__game-list,
    .page-ban-ca__step-by-step,
    .page-ban-ca__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-ban-ca__game-title,
    .page-ban-ca__step-title,
    .page-ban-ca__tip-title {
        font-size: 1.2em;
    }

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

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

    /* Ensure all content containers are responsive */
    .page-ban-ca__section,
    .page-ban-ca__card,
    .page-ban-ca__container,
    .page-ban-ca__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-ban-ca__hero-section { padding-left: 0; padding-right: 0; } /* Hero image takes full width */
    .page-ban-ca__hero-content { padding-left: 15px; padding-right: 15px; }
}