/* style/bnc.css */

/* --- General Styles and Variables --- */
:root {
    --page-bnc-primary-color: #11A84E; /* Main color */
    --page-bnc-secondary-color: #22C768; /* Auxiliary color */
    --page-bnc-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    --page-bnc-card-bg: #11271B; /* Card background */
    --page-bnc-background: #08160F; /* General dark background */
    --page-bnc-text-main: #F2FFF6; /* Main text color for dark backgrounds */
    --page-bnc-text-secondary: #A7D9B8; /* Secondary text color for dark backgrounds */
    --page-bnc-border-color: #2E7A4E; /* Border color */
    --page-bnc-glow-color: #57E38D; /* Glow color */
    --page-bnc-gold-color: #F2C14E; /* Gold color */
    --page-bnc-divider-color: #1E3A2A; /* Divider color */
    --page-bnc-deep-green: #0A4B2C; /* Deep green color */
    --page-bnc-light-text-on-white: #333333; /* Default text color for light backgrounds */
    --page-bnc-white-bg: #ffffff; /* White background */
}

/* --- Base Page Styles --- */
.page-bnc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-bnc-light-text-on-white); /* Default for sections on body background */
    background-color: var(--page-bnc-white-bg); /* Body background is #fff, so this is default */
}

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

.page-bnc__dark-bg {
    background-color: var(--page-bnc-background);
    color: var(--page-bnc-text-main);
}

.page-bnc__light-bg {
    background-color: var(--page-bnc-white-bg); /* Body background is #fff */
    color: var(--page-bnc-light-text-on-white); /* Dark text on light background */
}

.page-bnc__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit from parent section (dark-bg or light-bg) */
}

.page-bnc__paragraph {
    margin-bottom: 1em;
    color: inherit; /* Inherit from parent section */
}

.page-bnc__text-secondary {
    color: var(--page-bnc-text-secondary); /* Use for secondary text on dark backgrounds */
}

.page-bnc__text-contrast-fix {
    color: var(--page-bnc-light-text-on-white); /* Ensure dark text on light backgrounds */
}


/* --- Buttons --- */
.page-bnc__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-bnc__btn-primary,
.page-bnc__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Important for max-width */
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-bnc__btn-primary {
    background: var(--page-bnc-button-gradient);
    color: var(--page-bnc-text-main); /* White-ish text on dark button */
    border: none;
}

.page-bnc__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-bnc__btn-secondary {
    background-color: transparent;
    color: var(--page-bnc-primary-color); /* Green text on transparent/light background */
    border: 2px solid var(--page-bnc-primary-color);
}

.page-bnc__btn-secondary:hover {
    background-color: var(--page-bnc-primary-color);
    color: var(--page-bnc-text-main);
    transform: translateY(-2px);
}

/* --- Image and Video Base Styles --- */
.page-bnc img,
.page-bnc video {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure images fill container without distortion */
}

.page-bnc__image-full-width {
    width: 100%;
    margin: 30px 0;
    border-radius: 10px;
}

/* --- Hero Section --- */
.page-bnc__hero-section {
    position: relative;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 500px;
}

.page-bnc__hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Constrain video width */
    margin: 0 auto 30px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.page-bnc__hero-video {
    width: 100%;
    height: auto;
    display: block;
}

.page-bnc__hero-content {
    text-align: center;
    max-width: 900px;
    margin-top: 30px;
}

.page-bnc__main-title {
    font-size: 3.2em;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--page-bnc-gold-color);
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-bnc__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--page-bnc-text-main);
}

/* --- About Section --- */
.page-bnc__about-section {
    padding: 80px 0;
}

.page-bnc__content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* --- Games Section --- */
.page-bnc__games-section {
    padding: 80px 0;
}

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

.page-bnc__game-card {
    background-color: var(--page-bnc-card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-bnc-text-main);
}

.page-bnc__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-bnc__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-bnc__card-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-bnc-gold-color);
}

.page-bnc__card-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    color: var(--page-bnc-text-secondary);
    flex-grow: 1; /* Make description take available space */
}

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

.page-bnc__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-bnc__step-item {
    background-color: var(--page-bnc-white-bg); /* Use white for guide steps */
    border: 1px solid var(--page-bnc-border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--page-bnc-light-text-on-white); /* Dark text on white background */
}

.page-bnc__step-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-bnc-primary-color);
}

.page-bnc__step-item .page-bnc__btn-primary,
.page-bnc__step-item .page-bnc__btn-secondary {
    margin-top: 15px;
    margin-right: 10px;
}

/* --- Strategy Section --- */
.page-bnc__strategy-section {
    padding: 80px 0;
}

.page-bnc__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-bnc__strategy-item {
    background-color: var(--page-bnc-card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--page-bnc-text-main);
}

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

/* --- Promotions Section --- */
.page-bnc__promotions-section {
    padding: 80px 0;
}

.page-bnc__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-bnc__promo-item {
    background-color: var(--page-bnc-white-bg); /* White background for promo items */
    border: 1px solid var(--page-bnc-border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--page-bnc-light-text-on-white); /* Dark text on white background */
}

.page-bnc__promo-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-bnc-primary-color);
}

/* --- Platform Section --- */
.page-bnc__platform-section {
    padding: 80px 0;
}

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

.page-bnc__platform-card {
    background-color: var(--page-bnc-card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 30px;
    text-align: center;
    color: var(--page-bnc-text-main);
}

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

.page-bnc__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-bnc__faq-item {
    background-color: var(--page-bnc-white-bg); /* White background for FAQ items */
    border: 1px solid var(--page-bnc-border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-bnc-light-text-on-white); /* Dark text on white background */
}

.page-bnc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--page-bnc-white-bg);
    color: var(--page-bnc-primary-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-bnc__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

.page-bnc__faq-question:hover {
    background-color: #f0f0f0;
}

.page-bnc__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-bnc__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--page-bnc-light-text-on-white); /* Dark text on white background */
}

/* --- Conclusion Section --- */
.page-bnc__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* --- Copyright Section --- */
.page-bnc__copyright-section {
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9em;
    color: var(--page-bnc-text-secondary);
    background-color: var(--page-bnc-background);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-bnc__main-title {
        font-size: 2.8em;
    }
    .page-bnc__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-bnc__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-bnc__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

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

    .page-bnc__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-bnc__btn-primary,
    .page-bnc__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-bnc__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-bnc__game-grid {
        grid-template-columns: 1fr;
    }

    .page-bnc__step-item,
    .page-bnc__strategy-item,
    .page-bnc__promo-item,
    .page-bnc__platform-card {
        padding: 20px;
    }

    .page-bnc__step-title,
    .page-bnc__strategy-title,
    .page-bnc__promo-title,
    .page-bnc__card-title {
        font-size: 1.4em;
    }

    /* Mobile image and video responsiveness */
    .page-bnc img,
    .page-bnc video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-bnc__hero-video-wrapper,
    .page-bnc__video-container,
    .page-bnc__video-wrapper,
    .page-bnc__container,
    .page-bnc__content-wrapper,
    .page-bnc__game-grid,
    .page-bnc__platform-features,
    .page-bnc__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
}

@media (max-width: 480px) {
    .page-bnc__main-title {
        font-size: 1.8em;
    }
    .page-bnc__section-title {
        font-size: 1.5em;
    }
    .page-bnc__hero-section {
        min-height: 400px;
    }
}

/* Ensure content area images do not shrink below 200px */
.page-bnc__content-area img,
.page-bnc__games-section img,
.page-bnc__guide-section img,
.page-bnc__strategy-section img,
.page-bnc__promotions-section img,
.page-bnc__platform-section img {
    min-width: 200px;
    min-height: 200px;
}

/* Specific styling for FAQ details/summary to hide default marker */
.page-bnc__faq-item summary {
    list-style: none; /* For Firefox */
}
.page-bnc__faq-item summary::-webkit-details-marker {
    display: none; /* For Chrome/Safari */
}