/* style/bnc.css */

/* Custom colors from requirements */
:root {
    --bnc-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --bnc-card-bg: #11271B;
    --bnc-background: #08160F;
    --bnc-text-main: #F2FFF6;
    --bnc-text-secondary: #A7D9B8;
    --bnc-border: #2E7A4E;
    --bnc-glow: #57E38D;
    --bnc-gold: #F2C14E;
    --bnc-divider: #1E3A2A;
    --bnc-deep-green: #0A4B2C;
}

/* Global page styling, assuming body background is dark based on custom colors */
.page-bnc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--bnc-text-main); /* Light text for dark background */
    background-color: var(--bnc-background); /* Deep green background */
}

/* Base container for content sections */
.page-bnc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Default padding for desktop */
    box-sizing: border-box;
}

/* Section titles */
.page-bnc__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--bnc-text-main);
    line-height: 1.2;
}

/* Main title for hero section */
.page-bnc__main-title {
    font-weight: bold;
    text-align: center;
    color: var(--bnc-gold); /* Using gold for main title for emphasis */
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto 20px auto;
    font-size: clamp(2.5em, 5vw, 3.5em); /* Use clamp for H1 as per requirements */
}

/* Page description/intro text */
.page-bnc__description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--bnc-text-secondary);
}

/* Buttons */
.page-bnc__btn-primary,
.page-bnc__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-bnc__btn-primary {
    background: var(--bnc-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-bnc__btn-secondary {
    background: transparent;
    color: var(--bnc-text-main);
    border: 2px solid var(--bnc-border);
}

.page-bnc__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-bnc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Hero Section */
.page-bnc__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above, text below */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: var(--bnc-background);
    overflow: hidden;
}

.page-bnc__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and text */
}

.page-bnc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
}

.page-bnc__hero-content {
    position: relative; /* Not absolute to avoid overlay */
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 1000px;
}

/* About Section */
.page-bnc__about-section {
    padding: 80px 0;
    background-color: #0d1a14; /* Slightly lighter dark background for contrast */
    color: var(--bnc-text-main);
}

.page-bnc__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-bnc__text-block {
    flex: 1;
}

.page-bnc__text-block p {
    margin-bottom: 15px;
    color: var(--bnc-text-secondary);
}

.page-bnc__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

/* Features Section */
.page-bnc__features-section {
    padding: 80px 0;
    background-color: var(--bnc-background);
    color: var(--bnc-text-main);
}

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

.page-bnc__feature-card {
    background-color: var(--bnc-card-bg); /* Dark card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--bnc-border);
}

.page-bnc__feature-icon {
    width: 100px; /* Display size, imageRequirements handles actual size */
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-bnc__card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--bnc-text-main);
}

/* Gameplay Guide Section */
.page-bnc__gameplay-guide {
    padding: 80px 0;
    background-color: #0d1a14; /* Slightly lighter dark background */
    color: var(--bnc-text-main);
}

.page-bnc__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.page-bnc__guide-list li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 30px;
}

.page-bnc__guide-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--bnc-gold);
    color: var(--bnc-background);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-bnc__list-item-title {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--bnc-text-main);
    margin-bottom: 5px;
}

.page-bnc__guide-list p {
    color: var(--bnc-text-secondary);
}

.page-bnc__btn-full-width {
    width: 100%;
    margin-top: 30px;
}

/* Tips Section */
.page-bnc__tips-section {
    padding: 80px 0;
    background-color: var(--bnc-background);
    color: var(--bnc-text-main);
}

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

.page-bnc__tip-item {
    background-color: var(--bnc-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--bnc-border);
}

/* FAQ Section */
.page-bnc__faq-section {
    padding: 80px 0;
    background-color: #0d1a14; /* Slightly lighter dark background */
    color: var(--bnc-text-main);
}

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

.page-bnc__faq-item {
    background-color: var(--bnc-card-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--bnc-border);
}

.page-bnc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--bnc-text-main);
    cursor: pointer;
    background-color: var(--bnc-deep-green); /* Darker green for question background */
    transition: background-color 0.3s ease;
}

.page-bnc__faq-question:hover {
    background-color: rgba(10, 75, 44, 0.8);
}

.page-bnc__faq-qtext {
    flex-grow: 1;
}

.page-bnc__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--bnc-gold);
}

.page-bnc__faq-item[open] .page-bnc__faq-toggle {
    content: '−';
}

.page-bnc__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: var(--bnc-text-secondary);
    border-top: 1px solid var(--bnc-divider);
}

/* CTA Bottom Section */
.page-bnc__cta-bottom {
    padding: 80px 0;
    background-color: var(--bnc-background);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-bnc__section-title {
        font-size: 2em;
    }
    .page-bnc__main-title {
        font-size: clamp(2em, 4vw, 3em); /* Use clamp for H1 */
    }
    .page-bnc__description {
        font-size: 1em;
    }
    .page-bnc__content-wrapper {
        flex-direction: column;
    }
    .page-bnc__image-block {
        margin-bottom: 30px;
    }
    .page-bnc__hero-image-wrapper {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-bnc {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Mobile image responsiveness */
    .page-bnc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness (if any, though none currently in HTML) */
    .page-bnc video,
    .page-bnc__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    /* Mobile container responsiveness */
    .page-bnc__section,
    .page-bnc__card,
    .page-bnc__container,
    .page-bnc__hero-section,
    .page-bnc__about-section,
    .page-bnc__features-section,
    .page-bnc__gameplay-guide,
    .page-bnc__tips-section,
    .page-bnc__faq-section,
    .page-bnc__cta-bottom,
    .page-bnc__video-section,
    .page-bnc__video-container,
    .page-bnc__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    /* Mobile button responsiveness */
    .page-bnc__btn-primary,
    .page-bnc__btn-secondary,
    .page-bnc a[class*="button"],
    .page-bnc 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; /* Add padding to text within button */
        padding-right: 15px;
    }

    .page-bnc__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to button group */
    }

    .page-bnc__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-bnc__about-section,
    .page-bnc__features-section,
    .page-bnc__gameplay-guide,
    .page-bnc__tips-section,
    .page-bnc__faq-section,
    .page-bnc__cta-bottom {
        padding: 40px 0;
    }

    .page-bnc__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-bnc__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em); /* Adjust clamp for mobile H1 */
    }
    .page-bnc__description {
        font-size: 0.95em;
    }
    .page-bnc__feature-card,
    .page-bnc__tip-item {
        padding: 25px;
    }
    .page-bnc__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-bnc__faq-answer {
        padding: 10px 20px 15px 20px;
    }

    /* Ensure content images are not smaller than 200px (already handled by max-width: 100% for general images) */
    .page-bnc__image-block img {
        min-width: 200px;
        min-height: 200px;
    }
    .page-bnc__feature-icon {
        width: 150px;
        height: 150px;
    }
}

/* Fixed header spacing: body handles padding-top, page sections use small top padding */
.page-bnc__hero-section,
.page-bnc__video-section { /* Added video-section for completeness, though not in HTML */
  padding-top: 10px; /* Small top margin for aesthetic, not for header offset */
}

/* Ensure content area images are not smaller than 200px, including those selected by specific selectors */
.page-bnc__about-section .page-bnc__image,
.page-bnc__gameplay-guide .page-bnc__image,
.page-bnc__features-grid .page-bnc__feature-icon {
    min-width: 200px;
    min-height: 200px;
}