:root {
    --main-color: #113B7A;
    --aux-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border: #244D84;
    --glow: #4FA8FF;
    --gold: #F2C14E;
    --divider: #1B3357;
    --deep-navy: #08162B;
}

.page-ban-ca {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page, light on dark body */
}

.page-ban-ca__dark-section {
    background: var(--deep-navy); /* From custom palette */
    color: var(--text-main); /* Light text on dark background */
}

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

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* ~10px top padding as per rule */
    padding-bottom: 60px;
    background: var(--card-bg); /* Use a dark background for hero to match brand */
    color: var(--text-main);
}

.page-ban-ca__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
}

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

.page-ban-ca__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold); /* Use gold for emphasis */
}

.page-ban-ca__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-ban-ca__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

/* Buttons */
.page-ban-ca__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Custom button color */
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-ban-ca__btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border); /* Custom border color */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

/* Section common styles */
.page-ban-ca__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gold); /* Gold for titles */
}

.page-ban-ca__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

/* Intro Section */
.page-ban-ca__intro-section {
    padding: 80px 0;
}

.page-ban-ca__icon-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.page-ban-ca__icon-box {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background: var(--card-bg); /* Dark background for card */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    box-sizing: border-box;
}

.page-ban-ca__icon-box-media {
    width: 240px;
    height: 240px;
    aspect-ratio: 1/1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--glow); /* Glow color for border */
    box-shadow: 0 0 15px var(--glow);
}

.page-ban-ca__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.page-ban-ca__icon-box-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-ban-ca__icon-box-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Games Showcase Section */
.page-ban-ca__games-showcase-section {
    padding: 80px 0;
    background: var(--card-bg);
}

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

.page-ban-ca__game-card {
    background: var(--deep-navy);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.page-ban-ca__game-card:hover {
    transform: translateY(-5px);
}

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

.page-ban-ca__game-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    padding: 20px 20px 10px;
}

.page-ban-ca__game-card-title a {
    color: var(--gold); /* Gold for linked titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-ban-ca__game-card-title a:hover {
    color: var(--text-main);
}

.page-ban-ca__game-card-text {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 0 20px 20px;
}

/* Guide Section */
.page-ban-ca__guide-section {
    padding: 80px 0;
}

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

.page-ban-ca__guide-step {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

.page-ban-ca__guide-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__guide-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-ban-ca__guide-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-ban-ca__guide-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    color: var(--gold);
}

.page-ban-ca__guide-tips {
    max-width: 800px;
    margin: 0 auto 0;
    list-style: none;
    padding: 0;
    text-align: left;
    color: var(--text-secondary);
}

.page-ban-ca__guide-tips li {
    background: var(--card-bg);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    position: relative;
    padding-left: 40px;
}

.page-ban-ca__guide-tips li::before {
    content: '✓';
    color: var(--glow);
    position: absolute;
    left: 15px;
    font-weight: bold;
}

/* Promo Section */
.page-ban-ca__promo-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.page-ban-ca__promo-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

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

.page-ban-ca__promo-content .page-ban-ca__section-title,
.page-ban-ca__promo-content .page-ban-ca__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

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

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

/* Trust Section */
.page-ban-ca__trust-section {
    padding: 80px 0;
}

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

.page-ban-ca__benefit-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

.page-ban-ca__benefit-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-ban-ca__benefit-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.page-ban-ca__trust-image {
    text-align: center;
    margin-top: 40px;
}

.page-ban-ca__trust-side-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

/* FAQ Section */
.page-ban-ca__faq-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.page-ban-ca__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-ban-ca__faq-item {
    background: var(--deep-navy);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-ban-ca__faq-item summary {
    list-style: none; /* Remove default marker */
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

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

.page-ban-ca__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow);
    transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-ban-ca__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-answer {
    max-height: 500px; /* Sufficiently large for content */
    transition: max-height 0.5s ease-in;
}

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

/* Bottom CTA Section */
.page-ban-ca__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

.page-ban-ca__bottom-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-ban-ca__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-ban-ca__section-title {
        font-size: 2rem;
    }
    .page-ban-ca__hero-container,
    .page-ban-ca__promo-container {
        flex-direction: column;
        text-align: center;
    }
    .page-ban-ca__hero-content,
    .page-ban-ca__promo-content {
        text-align: center;
    }
    .page-ban-ca__promo-content .page-ban-ca__section-title,
    .page-ban-ca__promo-content .page-ban-ca__section-description {
        text-align: center;
    }
    .page-ban-ca__hero-image,
    .page-ban-ca__promo-image {
        order: -1; /* Image appears above content on smaller screens */
    }
    .page-ban-ca__icon-box {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    /* General content area padding and width */
    .page-ban-ca__container,
    .page-ban-ca__hero-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Fixed top padding */
        padding-bottom: 40px;
    }
    .page-ban-ca__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-ban-ca__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-ban-ca__hero-cta-buttons {
        flex-direction: column; /* Buttons stack vertically */
        gap: 15px;
    }
    .page-ban-ca__hero-image {
        margin-top: 30px;
        order: -1; /* Image above text */
    }
    .page-ban-ca__hero-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Buttons */
    .page-ban-ca__cta-button,
    .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;
        padding-right: 15px;
    }
    .page-ban-ca__hero-cta-buttons,
    .page-ban-ca__bottom-cta-buttons {
        flex-direction: column !important; /* Ensure buttons stack */
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }


    /* Section common styles */
    .page-ban-ca__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .page-ban-ca__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    /* Intro Section - Module 1 */
    .page-ban-ca__intro-section {
        padding: 60px 0;
    }
    .page-ban-ca__icon-box {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .page-ban-ca__icon-box-media {
        width: 200px !important; /* Still square */
        height: 200px !important; /* Still square */
        margin-bottom: 15px;
    }
    .page-ban-ca__icon-box-title {
        font-size: 1.3rem;
    }

    /* Games Showcase Section */
    .page-ban-ca__games-showcase-section {
        padding: 60px 0;
    }
    .page-ban-ca__game-card-image {
        height: 180px; /* Adjust height for mobile */
    }
    .page-ban-ca__game-card-title {
        font-size: 1.4rem;
    }

    /* Guide Section */
    .page-ban-ca__guide-section {
        padding: 60px 0;
    }
    .page-ban-ca__guide-step {
        padding: 25px;
    }
    .page-ban-ca__guide-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.8rem;
    }
    .page-ban-ca__guide-title {
        font-size: 1.3rem;
    }
    .page-ban-ca__guide-subtitle {
        font-size: 1.5rem;
        margin-top: 40px;
    }
    .page-ban-ca__guide-tips li {
        padding: 12px 15px 12px 35px;
        font-size: 0.95rem;
    }

    /* Promo Section */
    .page-ban-ca__promo-section {
        padding: 60px 0;
    }
    .page-ban-ca__promo-container {
        flex-direction: column;
        gap: 30px;
    }
    .page-ban-ca__promo-content {
        order: 1; /* Content below image */
    }
    .page-ban-ca__promo-image {
        order: -1; /* Image above content */
    }
    .page-ban-ca__promo-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }


    /* Trust Section */
    .page-ban-ca__trust-section {
        padding: 60px 0;
    }
    .page-ban-ca__benefits-grid {
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .page-ban-ca__benefit-title {
        font-size: 1.2rem;
    }
    .page-ban-ca__trust-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* FAQ Section */
    .page-ban-ca__faq-section {
        padding: 60px 0;
    }
    .page-ban-ca__faq-list {
        margin-top: 30px;
    }
    .page-ban-ca__faq-item summary {
        padding: 15px;
        font-size: 1.1rem;
    }
    .page-ban-ca__faq-toggle {
        font-size: 1.5rem;
    }
    .page-ban-ca__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.95rem;
    }

    /* Bottom CTA Section */
    .page-ban-ca__cta-bottom-section {
        padding: 60px 0;
    }

    /* General image responsiveness for all content images */
    .page-ban-ca img:not(.page-ban-ca__icon-box-media img) { /* Exclude icon-box-media img */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-ban-ca__icon-box-media img { /* Specific rule for square images */
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }

    /* Ensure all containers with images also adapt */
    .page-ban-ca__section,
    .page-ban-ca__card,
    .page-ban-ca__container,
    .page-ban-ca__game-card,
    .page-ban-ca__icon-box,
    .page-ban-ca__guide-step,
    .page-ban-ca__benefit-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by .page-ban-ca__container */
    }
}