.page-ban-ca {
    font-family: Arial, sans-serif;
    color: var(--text-main, #F2FFF6); /* Default text color for the page */
    background-color: var(--background, #08160F); /* Default background for the page */
}

.page-ban-ca__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-ban-ca__section-title {
    font-size: 2.5em;
    color: var(--text-main, #F2FFF6);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-ban-ca__section-description {
    font-size: 1.1em;
    color: var(--text-secondary, #A7D9B8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure button does not overflow */
}

.page-ban-ca__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-ban-ca__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-ban-ca__btn-secondary {
    background: transparent;
    color: var(--glow, #57E38D);
    border: 2px solid var(--glow, #57E38D);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-ban-ca__btn-secondary:hover {
    background-color: rgba(87, 227, 141, 0.1);
    color: #F2FFF6;
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

/* HERO Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--background, #08160F);
}

.page-ban-ca__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-ban-ca__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
}

.page-ban-ca__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Using clamp for responsive H1 */
    color: var(--text-main, #F2FFF6);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-ban-ca__hero-description {
    font-size: 1.15em;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-ban-ca__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 500px; /* Limit width of button group */
}

.page-ban-ca__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-ban-ca__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-ban-ca__intro-section {
    background-color: var(--card-bg, #11271B); /* Use Card BG for this section */
    padding: 60px 0;
}

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

.page-ban-ca__feature-item {
    text-align: center;
    background-color: var(--background, #08160F); /* Inner background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #2E7A4E);
}

.page-ban-ca__icon-box-media {
    width: 200px; /* Fixed width for square */
    height: 200px; /* Fixed height for square */
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glow, #57E38D);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-ban-ca__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the circular area */
    display: block;
}

.page-ban-ca__feature-title {
    font-size: 1.5em;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ban-ca__feature-text {
    font-size: 1em;
    color: var(--text-secondary, #A7D9B8);
    line-height: 1.6;
}

/* Game Showcase Section */
.page-ban-ca__game-showcase-section {
    padding: 60px 0;
    background-color: var(--background, #08160F);
}

.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-color: var(--card-bg, #11271B);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--border, #2E7A4E);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-ban-ca__game-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-ban-ca__game-title {
    font-size: 1.6em;
    color: var(--text-main, #F2FFF6);
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-ban-ca__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-ban-ca__game-title a:hover {
    color: var(--glow, #57E38D);
}

.page-ban-ca__game-description {
    font-size: 0.95em;
    color: var(--text-secondary, #A7D9B8);
    margin: 0 15px 20px;
    flex-grow: 1; /* Allow description to take available space */
    line-height: 1.5;
}

.page-ban-ca__game-card .page-ban-ca__btn-primary {
    margin: 0 15px 20px;
    width: calc(100% - 30px); /* Adjust width to fit padding */
}

/* Guide Section */
.page-ban-ca__guide-section {
    background-color: var(--card-bg, #11271B);
    padding: 60px 0;
}

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

.page-ban-ca__guide-item {
    background-color: var(--background, #08160F);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #2E7A4E);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-ban-ca__guide-media {
    width: 100%;
    max-width: 350px; /* Limit image width */
    height: 200px; /* Fixed height for consistency */
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca__guide-title {
    font-size: 1.4em;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ban-ca__guide-text {
    font-size: 0.95em;
    color: var(--text-secondary, #A7D9B8);
    line-height: 1.6;
}

/* Promo Section */
.page-ban-ca__promo-section {
    padding: 60px 0;
    background-color: var(--background, #08160F);
}

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

.page-ban-ca__promo-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--border, #2E7A4E);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-ban-ca__promo-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-ban-ca__promo-title {
    font-size: 1.6em;
    color: var(--text-main, #F2FFF6);
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-ban-ca__promo-text {
    font-size: 0.95em;
    color: var(--text-secondary, #A7D9B8);
    margin: 0 15px 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.page-ban-ca__promo-card .page-ban-ca__btn-primary {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

/* FAQ Section */
.page-ban-ca__faq-section {
    background-color: var(--card-bg, #11271B);
    padding: 60px 0;
}

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

.page-ban-ca__faq-item {
    background-color: var(--background, #08160F);
    border: 1px solid var(--border, #2E7A4E);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(17, 168, 78, 0.1); /* Slight highlight */
    transition: background-color 0.3s ease;
}

.page-ban-ca__faq-item summary:hover {
    background-color: rgba(17, 168, 78, 0.2);
}

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

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

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-ban-ca__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--text-secondary, #A7D9B8);
    line-height: 1.6;
    border-top: 1px solid var(--divider, #1E3A2A);
}

/* Final CTA Section */
.page-ban-ca__cta-section {
    padding: 60px 0;
    background-color: var(--background, #08160F);
    text-align: center;
}

.page-ban-ca__cta-section .page-ban-ca__section-title {
    font-size: 2.8em;
}

.page-ban-ca__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap */
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-ban-ca__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-ban-ca__hero-content {
        text-align: center;
    }

    .page-ban-ca__hero-cta-buttons {
        justify-content: center;
    }

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

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

    /* HERO Section */
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 40px;
    }
    .page-ban-ca__hero-container {
        padding: 30px 15px;
        gap: 30px;
    }
    .page-ban-ca__hero-title {
        font-size: 2em !important; /* Specific mobile size */
        margin-bottom: 15px;
    }
    .page-ban-ca__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-ban-ca__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
    }
    .page-ban-ca__hero-image {
        width: 100%;
    }
    .page-ban-ca__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Intro Section */
    .page-ban-ca__intro-section {
        padding: 40px 0;
    }
    .page-ban-ca__section-title {
        font-size: 1.8em !important;
        margin-bottom: 15px;
    }
    .page-ban-ca__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    .page-ban-ca__container {
        padding: 30px 15px;
    }
    .page-ban-ca__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-ban-ca__icon-box-media {
        width: 180px; /* Still square */
        height: 180px; /* Still square */
        margin-bottom: 15px;
    }
    .page-ban-ca__icon-box-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .page-ban-ca__feature-item {
        padding: 25px;
    }
    .page-ban-ca__feature-title {
        font-size: 1.3em;
    }

    /* Game Showcase Section */
    .page-ban-ca__game-showcase-section {
        padding: 40px 0;
    }
    .page-ban-ca__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-ban-ca__game-card img {
         /* Adjust height for mobile */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Ensure responsiveness */
    }
    .page-ban-ca__game-title {
        font-size: 1.4em;
        margin: 15px 15px 8px;
    }
    .page-ban-ca__game-description {
        margin: 0 15px 15px;
    }
    .page-ban-ca__game-card .page-ban-ca__btn-primary {
        margin: 0 15px 15px;
        max-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
    }

    /* Guide Section */
    .page-ban-ca__guide-section {
        padding: 40px 0;
    }
    .page-ban-ca__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-ban-ca__guide-item {
        padding: 25px;
    }
    .page-ban-ca__guide-media {
        max-width: 100%;
        height: 180px; /* Adjust height for mobile */
    }
    .page-ban-ca__guide-media img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-ban-ca__guide-title {
        font-size: 1.3em;
    }

    /* Promo Section */
    .page-ban-ca__promo-section {
        padding: 40px 0;
    }
    .page-ban-ca__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-ban-ca__promo-card img {
         /* Adjust height for mobile */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-ban-ca__promo-title {
        font-size: 1.4em;
        margin: 15px 15px 8px;
    }
    .page-ban-ca__promo-text {
        margin: 0 15px 15px;
    }
    .page-ban-ca__promo-card .page-ban-ca__btn-primary {
        margin: 0 15px 15px;
        max-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
    }

    /* FAQ Section */
    .page-ban-ca__faq-section {
        padding: 40px 0;
    }
    .page-ban-ca__faq-list {
        margin-top: 30px;
        padding: 0 15px;
    }
    .page-ban-ca__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-ban-ca__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.9em;
    }

    /* Final CTA Section */
    .page-ban-ca__cta-section {
        padding: 40px 0;
    }
    .page-ban-ca__cta-section .page-ban-ca__section-title {
        font-size: 2em !important;
    }
    .page-ban-ca__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-ban-ca__cta-buttons .page-ban-ca__btn-primary,
    .page-ban-ca__cta-buttons .page-ban-ca__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* General image and container responsiveness */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-ban-ca__container,
    .page-ban-ca__section,
    .page-ban-ca__card,
    .page-ban-ca__game-card,
    .page-ban-ca__promo-card,
    .page-ban-ca__feature-item,
    .page-ban-ca__guide-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}