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

.page-ban-ca {
    color: var(--text-main);
    background-color: var(--deep-navy-bg);
    font-family: Arial, sans-serif;
}

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

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

.page-ban-ca__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

.page-ban-ca__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-ban-ca__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-ban-ca__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-ban-ca__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
}

.page-ban-ca__btn-small {
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 6px;
}

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.page-ban-ca__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

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

.page-ban-ca__hero-title {
    font-size: clamp(2.5em, 5vw, 3.8em);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-ban-ca__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
}

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

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

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

/* Intro Section */
.page-ban-ca__intro-section {
    background-color: var(--deep-navy-bg);
    padding: 80px 0;
}

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

.page-ban-ca__feature-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__icon-box-media {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--glow-color);
}

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

.page-ban-ca__feature-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Game Types Section */
.page-ban-ca__game-types-section {
    background-color: var(--deep-navy-bg);
    padding: 80px 0;
}

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

.page-ban-ca__game-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

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

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

.page-ban-ca__game-title {
    font-size: 1.5em;
    color: var(--gold-color);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-ban-ca__game-description {
    font-size: 1em;
    color: var(--text-secondary);
    padding: 0 20px 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.page-ban-ca__game-card .page-ban-ca__btn {
    margin: 0 20px 20px;
    align-self: flex-start;
}

.page-ban-ca__game-trial-section {
    margin-top: 80px;
    text-align: center;
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__game-trial-title {
    font-size: 2em;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-ban-ca__game-trial-frame {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background-color: #000;
    width: 100%;
    height: 600px;
    display: block;
    margin-top: 30px;
}

/* Guide Section */
.page-ban-ca__guide-section {
    background-color: var(--deep-navy-bg);
    padding: 80px 0;
}

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

.page-ban-ca__guide-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-ban-ca__guide-step-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-ban-ca__guide-item p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-ban-ca__guide-item a {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-ban-ca__guide-item a:hover {
    color: var(--glow-color);
}

.page-ban-ca__guide-tips {
    margin-top: 60px;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__guide-tip-title {
    font-size: 2em;
    color: var(--gold-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-ban-ca__guide-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-ban-ca__guide-tips ul li {
    font-size: 1.1em;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-ban-ca__guide-tips ul li::before {
    content: '✓';
    color: var(--gold-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

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

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

.page-ban-ca__promo-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

.page-ban-ca__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-ban-ca__promo-title {
    font-size: 1.5em;
    color: var(--gold-color);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-ban-ca__promo-description {
    font-size: 1em;
    color: var(--text-secondary);
    padding: 0 20px 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.page-ban-ca__promo-card .page-ban-ca__btn {
    margin: 0 20px 20px;
    align-self: flex-start;
}

.page-ban-ca__cta-promo-area {
    text-align: center;
    margin-top: 50px;
}

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

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

.page-ban-ca__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: var(--text-main);
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.25em;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-question:hover {
    background-color: #1a4a90;
}

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

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

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
    transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    border-top: 1px solid var(--divider-color);
}

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

.page-ban-ca__faq-answer a {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-ban-ca__faq-answer a:hover {
    color: var(--glow-color);
}

/* 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__hero-image {
        order: -1; /* Image above text on smaller screens */
    }

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

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

@media (max-width: 768px) {
    .page-ban-ca__container {
        padding: 20px 15px;
    }

    .page-ban-ca__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-ban-ca__hero-container {
        padding: 40px 15px;
        gap: 30px;
    }

    .page-ban-ca__hero-title {
        font-size: clamp(2em, 8vw, 2.8em);
    }

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

    .page-ban-ca__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-ban-ca__btn {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-ban-ca__intro-section, 
    .page-ban-ca__game-types-section, 
    .page-ban-ca__guide-section, 
    .page-ban-ca__promo-section, 
    .page-ban-ca__faq-section {
        padding: 40px 0;
    }

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

    .page-ban-ca__text-block {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Module 1: Features Grid */
    .page-ban-ca__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-ban-ca__icon-box-media {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .page-ban-ca__feature-title {
        font-size: 1.3em;
    }

    /* Game List */
    .page-ban-ca__game-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

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

    .page-ban-ca__game-title {
        font-size: 1.3em;
    }

    .page-ban-ca__game-trial-section {
        margin-top: 50px;
        padding: 30px 15px;
    }

    .page-ban-ca__game-trial-title {
        font-size: 1.5em;
    }

    .page-ban-ca__game-trial-frame {
        height: 350px;
    }

    /* Guide Section */
    .page-ban-ca__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-ban-ca__guide-step-title {
        font-size: 1.4em;
    }

    .page-ban-ca__guide-tips {
        margin-top: 40px;
        padding: 30px 20px;
    }

    .page-ban-ca__guide-tip-title {
        font-size: 1.6em;
    }

    .page-ban-ca__guide-tips ul li {
        font-size: 1em;
        padding-left: 25px;
    }

    /* Promo Section */
    .page-ban-ca__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-ban-ca__promo-image {
        height: 200px;
    }

    .page-ban-ca__promo-title {
        font-size: 1.3em;
    }

    .page-ban-ca__cta-promo-area {
        margin-top: 30px;
    }

    /* FAQ Section */
    .page-ban-ca__faq-list {
        margin-top: 30px;
    }

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

    .page-ban-ca__faq-toggle {
        font-size: 1.3em;
    }

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

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

    .page-ban-ca__container,
    .page-ban-ca__hero-cta-buttons,
    .page-ban-ca__game-list,
    .page-ban-ca__promo-cards,
    .page-ban-ca__guide-steps,
    .page-ban-ca__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-ban-ca__hero-cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}