/* style/ban-ca.css */

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

.page-ban-ca {
    font-family: Arial, sans-serif;
    color: var(--mb666-text-main); /* Light text for dark body background */
    background-color: var(--mb666-deep-navy);
    line-height: 1.6;
}

.page-ban-ca__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-ban-ca__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.page-ban-ca__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 20px;
    padding: 0 20px;
}

.page-ban-ca__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--mb666-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(79, 168, 255, 0.6);
}

.page-ban-ca__hero-description {
    font-size: 1.15rem;
    color: var(--mb666-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-ban-ca__btn-primary {
    background: var(--mb666-button-gradient);
    color: var(--mb666-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-ban-ca__btn-secondary {
    background: var(--mb666-card-bg);
    color: var(--mb666-text-main);
    border: 2px solid var(--mb666-border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: var(--mb666-gold-color);
}

.page-ban-ca__section {
    padding: 60px 0;
    background-color: var(--mb666-deep-navy);
}

.page-ban-ca__section-title {
    font-size: 2.5rem;
    color: var(--mb666-gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 8px rgba(79, 168, 255, 0.4);
}

.page-ban-ca__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--mb666-gold-color);
    border-radius: 2px;
}

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

.page-ban-ca__content-wrapper {
    background-color: var(--mb666-card-bg);
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--mb666-border-color);
}

.page-ban-ca__sub-title {
    font-size: 1.8rem;
    color: var(--mb666-secondary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-ban-ca__paragraph {
    font-size: 1rem;
    color: var(--mb666-text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-ban-ca__paragraph a {
    color: var(--mb666-gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-ban-ca__paragraph a:hover {
    color: var(--mb666-glow-color);
    text-decoration: underline;
}

.page-ban-ca__highlight {
    color: var(--mb666-gold-color);
    font-weight: bold;
}

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

.page-ban-ca__list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--mb666-text-secondary);
}

.page-ban-ca__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--mb666-gold-color);
    font-weight: bold;
}

.page-ban-ca__list-ordered {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
    color: var(--mb666-text-secondary);
}

.page-ban-ca__list-ordered .page-ban-ca__list-item {
    padding-left: 0;
}

.page-ban-ca__list-ordered .page-ban-ca__list-item::before {
    content: none;
}

.page-ban-ca__image-figure {
    margin: 30px 0;
    text-align: center;
    background-color: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--mb666-divider-color);
}

.page-ban-ca__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    object-fit: cover;
}

.page-ban-ca__image-caption {
    font-size: 0.9rem;
    color: var(--mb666-text-secondary);
    margin-top: 10px;
    font-style: italic;
}

.page-ban-ca__promo-box {
    background-color: var(--mb666-primary-color);
    border: 2px solid var(--mb666-gold-color);
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__promo-text {
    font-size: 1.2rem;
    color: var(--mb666-text-main);
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-ban-ca__cta-box--final {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px dashed var(--mb666-divider-color);
}

.page-ban-ca__game-trial-wrapper {
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid var(--mb666-border-color);
    text-align: center;
}

.page-ban-ca__game-trial-frame {
    border: none;
    border-radius: 8px;
    width: 100%;
    height: 600px;
    background-color: black;
}

/* Responsive styles for desktop/tablet */
@media (max-width: 1024px) {
    .page-ban-ca__hero-section {
        padding-bottom: 30px;
    }

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

    .page-ban-ca__hero-description {
        font-size: 1.1rem;
    }

    .page-ban-ca__section-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .page-ban-ca__sub-title {
        font-size: 1.6rem;
    }

    .page-ban-ca__content-wrapper {
        padding: 30px;
    }

    .page-ban-ca__btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

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

    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 20px;
    }

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

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

    .page-ban-ca__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-ban-ca__hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-ban-ca__btn,
    .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__section {
        padding: 40px 0;
    }

    .page-ban-ca__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
        padding-bottom: 10px;
    }

    .page-ban-ca__section-title::after {
        width: 60px;
    }

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

    .page-ban-ca__content-wrapper {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-ban-ca__sub-title {
        font-size: 1.4rem;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-ban-ca__paragraph,
    .page-ban-ca__list-item {
        font-size: 0.95rem;
    }

    .page-ban-ca img,
    .page-ban-ca__content-image {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-ban-ca__image-figure {
        margin: 20px 0;
        padding: 10px;
    }

    .page-ban-ca__promo-box {
        padding: 25px;
        margin-top: 30px;
    }

    .page-ban-ca__promo-text {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .page-ban-ca__cta-box {
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-ban-ca__game-trial-wrapper {
        padding: 15px;
    }

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

    .page-ban-ca__cta-box--final {
        margin-top: 40px;
        padding-top: 20px;
    }
}