/* style/ban-ca.css */

/* General styles for the page-ban-ca scope */
.page-ban-ca {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background-color: #0A0A0A; /* Page background */
}

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

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

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

.page-ban-ca__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Highlight H1 with auxiliary color */
    letter-spacing: 1px;
}

.page-ban-ca__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: #FFF6D6;
}

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play,
.page-ban-ca__btn-view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    min-width: 180px;
    text-align: center;
}

.page-ban-ca__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
    color: #111111; /* Dark text for bright button */
    border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
    background: transparent;
    color: #FFD36B;
    border: 2px solid #FFD36B;
}

.page-ban-ca__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    transform: translateY(-2px);
}

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

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

/* Intro Section */
.page-ban-ca__intro-section {
    padding: 80px 0;
    background-color: #111111; /* Card BG color for this section */
    color: #FFF6D6;
}

.page-ban-ca__dark-bg { /* For sections with dark background */
    background-color: #111111;
    color: #FFF6D6;
}

.page-ban-ca__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-ban-ca__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD36B;
    letter-spacing: 0.5px;
}

.page-ban-ca__text-block {
    font-size: 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #FFF6D6;
}

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

.page-ban-ca__feature-item {
    text-align: center;
    background-color: #0A0A0A;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #3A2A12; /* Border color */
}

.page-ban-ca__icon-box-media {
    width: 180px; /* Smaller size for round icons on desktop */
    height: 180px;
    aspect-ratio: 1/1;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F2C14E; /* Main color border */
}

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

.page-ban-ca__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2C14E; /* Main color for feature titles */
}

.page-ban-ca__feature-description {
    font-size: 0.95rem;
    color: #FFF6D6;
}

/* Games Section */
.page-ban-ca__games-section {
    padding: 80px 0;
    background-color: #0A0A0A;
    color: #FFF6D6;
}

.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: #111111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 25px;
    border: 1px solid #3A2A12;
}

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

.page-ban-ca__game-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-ban-ca__game-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 20px;
    color: #FFF6D6;
}

.page-ban-ca__btn-play {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-ban-ca__btn-play:hover {
    filter: brightness(1.1);
}

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

.page-ban-ca__guide-list {
    list-style: none;
    padding: 0;
    margin: 50px auto 0;
    max-width: 800px;
}

.page-ban-ca__guide-item {
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__guide-step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFD36B;
}

.page-ban-ca__guide-item p {
    font-size: 1rem;
    color: #FFF6D6;
}

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

/* Strategy Section */
.page-ban-ca__strategy-section {
    padding: 80px 0;
    background-color: #0A0A0A;
    color: #FFF6D6;
}

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

.page-ban-ca__strategy-card {
    background-color: #111111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 25px;
    border: 1px solid #3A2A12;
}

.page-ban-ca__strategy-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-ban-ca__strategy-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-ban-ca__strategy-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 20px;
    color: #FFF6D6;
}

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

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

.page-ban-ca__promo-card {
    background-color: #0A0A0A;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 25px;
    border: 1px solid #3A2A12;
}

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

.page-ban-ca__promo-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFD36B;
}

.page-ban-ca__promo-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 20px;
    color: #FFF6D6;
}

.page-ban-ca__btn-view-more {
    background: #F2C14E;
    color: #111111;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-ban-ca__btn-view-more:hover {
    filter: brightness(1.1);
}

/* Benefits Section */
.page-ban-ca__benefits-section {
    padding: 80px 0;
    background-color: #0A0A0A;
    color: #FFF6D6;
}

.page-ban-ca__benefits-list {
    list-style: none;
    padding: 0;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-ban-ca__benefits-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__benefits-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-ban-ca__benefits-item p {
    font-size: 1rem;
    color: #FFF6D6;
}

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

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

.page-ban-ca__faq-item {
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFD36B;
    cursor: pointer;
    background-color: #111111;
    border-bottom: 1px solid transparent; /* default */
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
    border-bottom: 1px solid #3A2A12; /* Separator when open */
}

.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.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #FFD36B;
    transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

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

/* Final CTA Section */
.page-ban-ca__cta-final {
    padding: 80px 0;
    background-color: #0A0A0A;
    color: #FFF6D6;
    text-align: center;
}

/* General image responsive styles */
.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;
        padding: 30px 20px;
        gap: 30px;
    }

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

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

    .page-ban-ca__description {
        font-size: 1rem;
    }

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

    .page-ban-ca__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .page-ban-ca__features-grid,
    .page-ban-ca__game-list,
    .page-ban-ca__strategy-grid,
    .page-ban-ca__promo-grid,
    .page-ban-ca__benefits-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-ban-ca__icon-box-media {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    /* 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: 20px 15px;
        gap: 20px;
    }
    .page-ban-ca__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-ban-ca__description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .page-ban-ca__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100%; /* Ensure container takes full width */
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container */
    }
    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary,
    .page-ban-ca__btn-play,
    .page-ban-ca__btn-view-more {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        min-width: unset; /* Remove min-width for mobile */
    }

    /* Intro Section (Module 1) */
    .page-ban-ca__intro-section {
        padding: 60px 0;
    }
    .page-ban-ca__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-ban-ca__text-block {
        font-size: 0.9rem;
        margin-bottom: 40px;
    }
    .page-ban-ca__features-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
    .page-ban-ca__icon-box-media {
        width: 200px; /* Maintain square shape */
        height: 200px;
        margin-bottom: 20px;
    }
    .page-ban-ca__feature-title {
        font-size: 1.2rem;
    }

    /* Games Section */
    .page-ban-ca__games-section {
        padding: 60px 0;
    }
    .page-ban-ca__game-list {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
}