/* style/bnc.css */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-background-card: #11271B;
    --color-background-body: #08160F;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Body background is handled by shared.css. Ensure text colors contrast. */
.page-bnc {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for sections */
    background-color: var(--color-background-body); /* Set specific background for main content */
}

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

.page-bnc__light-bg {
    background-color: #f8f8f8; /* A lighter background for contrast sections */
    color: #333333; /* Darker text for light backgrounds */
}

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

.page-bnc__section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-gold);
    position: relative;
    padding-bottom: 15px;
}

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

.page-bnc__description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Hero Section */
.page-bnc__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small padding-top, more at bottom */
    overflow: hidden;
}

.page-bnc__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-bnc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-bnc__hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-bnc__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-gold);
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-bnc__hero-content .page-bnc__description {
    font-size: 1.2rem;
    color: var(--color-text-main);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-bnc__btn-primary,
.page-bnc__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-bnc__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid var(--color-glow);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-bnc__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

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

.page-bnc__btn-secondary:hover {
    background-color: var(--color-glow);
    color: var(--color-background-body);
    transform: translateY(-3px);
}

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

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

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

.page-bnc__text-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333333;
}

.page-bnc__image-content {
    flex: 1;
    text-align: center;
}

.page-bnc__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-bnc__features-section {
    padding: 80px 0;
}

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

.page-bnc__feature-card {
    background-color: var(--color-background-card);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.page-bnc__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-bnc__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px; /* Adjust size for feature icons */
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
}

.page-bnc__feature-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.page-bnc__feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

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

.page-bnc__download-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-bnc__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    color: #333333;
}

.page-bnc__step-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    margin: 0 auto 25px;
    border-radius: 8px;
}

.page-bnc__step-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.page-bnc__step-list {
    list-style: decimal;
    text-align: left;
    padding-left: 25px;
    font-size: 1rem;
    line-height: 1.7;
}

.page-bnc__step-list li {
    margin-bottom: 10px;
}

.page-bnc__download-cta {
    margin-top: 60px;
}

/* Gameplay Tips Section */
.page-bnc__gameplay-tips-section {
    padding: 80px 0;
}

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

.page-bnc__tips-list li {
    background-color: var(--color-background-card);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-main);
    border-left: 5px solid var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-bnc__tips-list li strong {
    color: var(--color-gold);
}

.page-bnc__tips-image-wrapper {
    margin-bottom: 40px;
}

.page-bnc__additional-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-secondary);
}

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

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

.page-bnc__faq-item {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-bnc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary element */
}

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

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

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

.page-bnc__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--color-primary);
}

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

.page-bnc__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    background-color: #ffffff;
}

/* CTA Bottom Section */
.page-bnc__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

.page-bnc__btn-large {
    font-size: 1.3rem;
    padding: 18px 40px;
    min-width: 280px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-bnc__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-bnc__image-content {
        margin-top: 30px;
    }

    .page-bnc__hero-section {
        padding-bottom: 40px;
    }

    .page-bnc__main-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }

    .page-bnc__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-bnc__hero-section {
        padding-top: 10px !important; /* Small padding-top for mobile */
        padding-bottom: 30px;
    }

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

    .page-bnc__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

    .page-bnc__btn-primary,
    .page-bnc__btn-secondary {
        width: 100%;
        max-width: 300px !important; /* Constrain button width */
        margin: 0 auto;
        font-size: 1rem;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-bnc__btn-large {
        max-width: 90% !important;
        font-size: 1.1rem;
        padding: 15px 25px;
    }

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

    .page-bnc__download-steps {
        flex-direction: column;
        gap: 30px;
    }

    .page-bnc__step-item {
        min-width: unset;
        width: 100%;
    }

    .page-bnc__text-content p,
    .page-bnc__tips-list li,
    .page-bnc__faq-question,
    .page-bnc__faq-answer {
        font-size: 0.95rem;
    }

    .page-bnc__faq-question {
        padding: 15px 20px;
    }
    
    .page-bnc img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-bnc__hero-image-wrapper,
    .page-bnc__image-content,
    .page-bnc__feature-icon,
    .page-bnc__step-image,
    .page-bnc__tips-image-wrapper,
    .page-bnc__container,
    .page-bnc__hero-content,
    .page-bnc__about-section,
    .page-bnc__features-section,
    .page-bnc__download-guide-section,
    .page-bnc__gameplay-tips-section,
    .page-bnc__faq-section,
    .page-bnc__cta-bottom-section,
    .page-bnc__feature-card,
    .page-bnc__step-item,
    .page-bnc__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    .page-bnc__cta-buttons,
    .page-bnc__download-steps {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 15px;
    }
    .page-bnc__cta-buttons a {
        flex-grow: 1;
        flex-basis: 100%;
    }
}