.page-ban-ca {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #F5F7FA;
}

.page-ban-ca__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px;
    color: #ffffff;
    overflow: hidden;
    padding-top: 10px; /* Small top padding as per instruction */
}

.page-ban-ca__hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

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

.page-ban-ca__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text readability */
    border-radius: 10px;
    margin-top: 60px;
}

.page-ban-ca__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-ban-ca__description {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.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;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    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: 2px solid #E53935;
}

.page-ban-ca__btn-primary:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca__btn-secondary:hover {
    background: #f0f0f0;
    color: #FF5A4F;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__btn-large {
    min-width: 220px;
    font-size: 1.2rem;
    padding: 18px 35px;
}

.page-ban-ca__section {
    padding: 60px 0;
    background-color: #F5F7FA;
    text-align: center;
}

.page-ban-ca__section--intro {
    padding-top: 40px;
}

.page-ban-ca__dark-section {
    background-color: #E53935;
    color: #ffffff;
}

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

.page-ban-ca__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #E53935;
    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-color: #FF5A4F;
    border-radius: 2px;
}

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

.page-ban-ca__section-title--white::after {
    background-color: #ffffff;
}

.page-ban-ca__text-block {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: left;
    font-size: 1.05rem;
    color: #333333;
}

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

.page-ban-ca__text-block ul {
    list-style: disc inside;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-ban-ca__text-block li {
    margin-bottom: 10px;
}

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

.page-ban-ca__feature-item,
.page-ban-ca__game-card,
.page-ban-ca__promo-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ban-ca__feature-item:hover,
.page-ban-ca__game-card:hover,
.page-ban-ca__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-ban-ca__feature-item img,
.page-ban-ca__game-card img,
.page-ban-ca__promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
    width: 100%; /* Ensure images fill their container */
}

.page-ban-ca__feature-title,
.page-ban-ca__game-title,
.page-ban-ca__promo-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #E53935;
    margin-bottom: 15px;
}

.page-ban-ca__game-card p,
.page-ban-ca__promo-card p {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-ban-ca__btn-play,
.page-ban-ca__btn-promo,
.page-ban-ca__btn-step,
.page-ban-ca__btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    margin-top: auto; /* Push buttons to the bottom of cards */
}

.page-ban-ca__btn-play,
.page-ban-ca__btn-promo,
.page-ban-ca__btn-step {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 1px solid #E53935;
}

.page-ban-ca__btn-play:hover,
.page-ban-ca__btn-promo:hover,
.page-ban-ca__btn-step:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

.page-ban-ca__btn-text {
    background: transparent;
    color: #E53935;
    border: 1px solid #E53935;
}

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

.page-ban-ca__other-games {
    margin-top: 40px;
    font-size: 1.05rem;
    text-align: center;
}

.page-ban-ca__other-games a {
    color: #E53935;
    text-decoration: none;
    font-weight: 600;
}

.page-ban-ca__other-games a:hover {
    text-decoration: underline;
}

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

.page-ban-ca__step-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ban-ca__step-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    object-fit: cover;
}

.page-ban-ca__step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.page-ban-ca__step-item p {
    font-size: 0.95rem;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-ban-ca__btn-full-width {
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0 auto;
    padding: 15px 20px;
    font-size: 1.1rem;
}

.page-ban-ca__promo-note {
    font-size: 0.9rem;
    color: #777777;
    margin-top: 20px;
}

.page-ban-ca__promo-note a {
    color: #E53935;
    text-decoration: none;
    font-weight: 600;
}

.page-ban-ca__promo-note a:hover {
    text-decoration: underline;
}

.page-ban-ca__description--white {
    color: #f0f0f0;
}

.page-ban-ca__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

details.page-ban-ca__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
}

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
    background: #f5f5f5;
}

.page-ban-ca__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}

.page-ban-ca__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #555555;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-ban-ca__hero-content {
        margin-top: 40px;
        padding: 30px 15px;
    }

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

    .page-ban-ca__description {
        font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    }

    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-ban-ca__btn-large {
        min-width: unset;
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .page-ban-ca__section {
        padding: 50px 0;
    }

    .page-ban-ca__section-title {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        margin-bottom: 30px;
    }

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

    .page-ban-ca__feature-item,
    .page-ban-ca__game-card,
    .page-ban-ca__promo-card {
        padding: 25px;
    }

    .page-ban-ca__feature-title,
    .page-ban-ca__game-title,
    .page-ban-ca__promo-title {
        font-size: 1.2rem;
    }

    .page-ban-ca__btn-play,
    .page-ban-ca__btn-promo,
    .page-ban-ca__btn-step {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .page-ban-ca__guide-steps {
        gap: 20px;
    }

    .page-ban-ca__step-title {
        font-size: 1.15rem;
    }

    details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
        padding: 15px 18px;
    }

    .page-ban-ca__faq-qtext {
        font-size: 15px;
    }

    details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
        padding: 0 18px 18px;
    }
}

@media (max-width: 849px) {
    .page-ban-ca__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
}

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

    .page-ban-ca__hero-section {
        padding-bottom: 20px;
        padding-top: 10px; /* Consistent small top padding */
    }

    .page-ban-ca__hero-content {
        margin-top: 20px;
        padding: 25px 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

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

    .page-ban-ca__description {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 25px;
    }

    /* Buttons and button containers */
    .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-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary,
    .page-ban-ca a[class*="button"],
    .page-ban-ca a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        font-size: 1rem !important;
    }

    .page-ban-ca__btn-large {
        font-size: 1.1rem !important;
        padding: 15px 20px !important;
    }

    .page-ban-ca__section {
        padding: 40px 0;
    }

    .page-ban-ca__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-ban-ca__text-block {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .page-ban-ca__text-block ul {
        padding-left: 15px;
    }

    .page-ban-ca__features-grid,
    .page-ban-ca__game-list-grid,
    .page-ban-ca__promo-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-ban-ca__feature-item,
    .page-ban-ca__game-card,
    .page-ban-ca__promo-card {
        padding: 20px;
    }

    .page-ban-ca__feature-item img,
    .page-ban-ca__game-card img,
    .page-ban-ca__promo-card img,
    .page-ban-ca__guide-steps img,
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
        object-fit: cover;
    }

    .page-ban-ca__feature-title,
    .page-ban-ca__game-title,
    .page-ban-ca__promo-title {
        font-size: 1.15rem;
    }

    .page-ban-ca__game-card p,
    .page-ban-ca__promo-card p {
        font-size: 0.9rem;
    }

    .page-ban-ca__btn-play,
    .page-ban-ca__btn-promo,
    .page-ban-ca__btn-step {
        width: 100%;
        max-width: 100%;
        font-size: 0.95rem;
        padding: 10px 15px;
    }

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

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

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

    .page-ban-ca__step-item p {
        font-size: 0.9rem;
    }

    .page-ban-ca__btn-full-width {
        max-width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
    }

    details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
        padding: 15px;
    }

    .page-ban-ca__faq-qtext {
        font-size: 15px;
    }

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

/* Ensure content area images and containers are responsive and don't overflow */
.page-ban-ca__section,
.page-ban-ca__card,
.page-ban-ca__container,
.page-ban-ca__hero-section,
.page-ban-ca__hero-content {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-ban-ca__text-block a {
    color: #E53935;
    text-decoration: underline;
}

.page-ban-ca__text-block a:hover {
    color: #FF5A4F;
}