/* Base styles */
.page-ban-ca {
    color: #FFF6D6; /* Text Main */
    background: #0A0A0A; /* Background */
}

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    background: #0A0A0A; /* Ensure consistent background */
}

.page-ban-ca__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 15px;
    flex-wrap: wrap; /* For responsiveness */
}

.page-ban-ca__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: #FFF6D6; /* Text Main */
}

.page-ban-ca__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2C14E; /* Primary color for emphasis */
}

.page-ban-ca__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
}

.page-ban-ca__hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

.page-ban-ca__cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 180px;
    box-sizing: border-box; /* Crucial for responsiveness */
}

.page-ban-ca__cta-button--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: none;
}

.page-ban-ca__cta-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4);
}

.page-ban-ca__cta-button--secondary {
    background: transparent;
    color: #F2C14E; /* Primary color */
    border: 2px solid #F2C14E; /* Border color */
}

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

.page-ban-ca__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: unset;
}

.page-ban-ca__cta-button--inline {
    display: inline-block;
    padding: 8px 15px;
    font-size: 0.9rem;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    min-width: unset;
    box-sizing: border-box;
}

.page-ban-ca__hero-image {
    flex: 1 1 40%;
    text-align: center;
}

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

/* General Sections */
.page-ban-ca__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
}

.page-ban-ca__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #F2C14E; /* Primary color */
    position: relative;
    padding-bottom: 10px;
}

.page-ban-ca__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFD36B, #F2C14E);
    border-radius: 2px;
}

.page-ban-ca__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #FFD36B; /* Auxiliary color */
}

.page-ban-ca__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6; /* Text Main */
}

.page-ban-ca__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__list li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #FFF6D6; /* Text Main */
}

.page-ban-ca__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #F2C14E;
}

.page-ban-ca__list-highlight {
    color: #FFD36B; /* Auxiliary color */
}

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

.page-ban-ca__dark-section {
    background: #0A0A0A; /* Background */
    color: #FFF6D6; /* Text Main */
}

.page-ban-ca__light-bg {
    background: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
}

.page-ban-ca__medium-bg {
    background: #0A0A0A; /* Default to dark for consistency with brand */
    color: #FFF6D6;
}

.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 {
    text-align: center;
    background: #111111; /* Card BG */
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__icon-box-media {
    width: 180px; /* Reduced for better fit on desktop */
    height: 180px;
    aspect-ratio: 1/1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F2C14E; /* Primary color border */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.5); /* Glow */
}

.page-ban-ca__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Ensure image is also round */
    display: block;
}

.page-ban-ca__feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD36B; /* Auxiliary color */
}

.page-ban-ca__feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
}

/* Game Showcase Section */
.page-ban-ca__game-showcase-section {
    padding: 60px 0;
}

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

.page-ban-ca__game-card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
}

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

.page-ban-ca__game-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 20px 15px 10px;
    color: #F2C14E; /* Primary color */
}

.page-ban-ca__game-card-description {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 15px 20px;
    flex-grow: 1; /* Pushes button to bottom */
    color: #FFF6D6; /* Text Main */
}

.page-ban-ca__game-card .page-ban-ca__cta-button {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

/* Guide Section */
.page-ban-ca__guide-section {
    padding: 60px 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: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 60px;
    color: #FFF6D6; /* Text Main */
}

.page-ban-ca__step-number {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.page-ban-ca__step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD36B; /* Auxiliary color */
}

.page-ban-ca__step-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #FFF6D6; /* Text Main */
}

.page-ban-ca__guide-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Promo Section */
.page-ban-ca__promo-section {
    padding: 60px 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: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
}

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

.page-ban-ca__promo-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 20px 15px 10px;
    color: #F2C14E; /* Primary color */
}

.page-ban-ca__promo-card-description {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 15px 20px;
    flex-grow: 1;
    color: #FFF6D6; /* Text Main */
}

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

/* FAQ Section */
.page-ban-ca__faq-section {
    padding: 60px 0;
}

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

.page-ban-ca__faq-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF6D6; /* Text Main */
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    color: #FFD36B; /* Auxiliary color */
    list-style: none; /* For details/summary */
    position: relative;
}

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

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

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

.page-ban-ca__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 20px;
    color: #F2C14E; /* Primary color */
}

.page-ban-ca__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
}

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

    .page-ban-ca__hero-content {
        flex: 1 1 100%;
    }

    .page-ban-ca__hero-image {
        flex: 1 1 100%;
        margin-top: 30px;
    }

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

@media (max-width: 768px) {
    /* HERO Section */
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Small top padding, relying on body for header offset */
        padding-bottom: 40px;
    }
    .page-ban-ca__hero-container {
        padding: 15px;
        gap: 20px;
    }
    .page-ban-ca__hero-title {
        font-size: clamp(2rem, 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; /* Stack buttons vertically */
        gap: 10px;
        width: 100%;
    }
    .page-ban-ca__cta-button {
        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-image {
        margin-top: 20px;
    }

    /* General Sections */
    .page-ban-ca__content-area {
        padding: 30px 15px;
    }
    .page-ban-ca__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-ban-ca__text-block,
    .page-ban-ca__list li,
    .page-ban-ca__feature-description,
    .page-ban-ca__game-card-description,
    .page-ban-ca__step-description,
    .page-ban-ca__promo-card-description,
    .page-ban-ca__faq-answer p {
        font-size: 0.95rem;
    }
    .page-ban-ca__list li {
        padding-left: 25px;
    }
    .page-ban-ca__list li::before {
        font-size: 0.9rem;
        left: -5px;
    }

    /* Intro Section - Module 1 Three-column intro */
    .page-ban-ca__features-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
    }
    .page-ban-ca__icon-box-media {
        width: 150px; /* Still square */
        height: 150px;
        border-width: 2px;
    }
    .page-ban-ca__feature-title {
        font-size: 1.3rem;
    }

    /* Game Showcase Section - Game cards */
    .page-ban-ca__game-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
    }
    .page-ban-ca__game-image,
    .page-ban-ca__promo-image {
        height: 180px; /* Slightly smaller fixed height */
    }
    .page-ban-ca__game-card .page-ban-ca__cta-button,
    .page-ban-ca__promo-card .page-ban-ca__cta-button {
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
    }

    /* Guide Section */
    .page-ban-ca__guide-steps {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
    }
    .page-ban-ca__guide-step {
        padding: 50px 20px 20px;
    }
    .page-ban-ca__step-number {
        top: 15px;
        left: 20px;
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    .page-ban-ca__step-title {
        font-size: 1.2rem;
    }
    .page-ban-ca__guide-image {
        margin: 30px auto;
    }
    .page-ban-ca__sub-title {
        font-size: 1.3rem;
        margin-top: 30px;
    }

    /* Promo Section - Promo cards */
    .page-ban-ca__promo-cards {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
    }
    .page-ban-ca__promo-card-title {
        font-size: 1.3rem;
    }

    /* FAQ Section */
    .page-ban-ca__faq-list {
        margin-top: 30px;
    }
    .page-ban-ca__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-ban-ca__faq-toggle {
        font-size: 1.5rem;
        margin-left: 15px;
    }
    .page-ban-ca__faq-answer {
        padding: 0 20px 15px;
    }

    /* Universal image and container responsive styles */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important; /* Ensure block-level for max-width to work */
    }
    .page-ban-ca__hero-side-image,
    .page-ban-ca__guide-image,
    .page-ban-ca__game-image,
    .page-ban-ca__promo-image {
        width: 100% !important;
        height: auto !important; /* Override fixed height for responsiveness */
    }
    /* Specific override for icon-box-media img to maintain square aspect */
    .page-ban-ca__icon-box-media img {
        height: 100% !important; /* Maintain height for object-fit */
        width: 100% !important;
        object-fit: cover !important;
    }

    /* All containers */
    .page-ban-ca__section,
    .page-ban-ca__card,
    .page-ban-ca__container,
    .page-ban-ca__hero-container,
    .page-ban-ca__content-area,
    .page-ban-ca__features-grid,
    .page-ban-ca__game-grid,
    .page-ban-ca__guide-steps,
    .page-ban-ca__promo-cards,
    .page-ban-ca__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}