/* style/bnc.css */

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

.page-bnc {
    background-color: var(--page-bnc-bg-color); /* Dark background from custom colors */
    color: var(--page-bnc-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

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

.page-bnc__video-wrapper {
    position: relative;
    width: 100%; /* Desktop width: 100% */
    max-width: 1400px; /* Max width for video */
    aspect-ratio: 16/9;
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: var(--page-bnc-deep-green);
}

.page-bnc__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-bnc__hero-content {
    width: 100%; /* Ensure content block also takes full width */
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-bnc__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    color: var(--page-bnc-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-bnc__description {
    font-size: 1.15rem;
    color: var(--page-bnc-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-bnc__btn-primary {
    background: var(--page-bnc-button-gradient);
    color: var(--page-bnc-text-main);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-bnc__btn-secondary {
    background-color: transparent;
    color: var(--page-bnc-gold-color);
    border: 2px solid var(--page-bnc-gold-color);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-bnc__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

.page-bnc__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--page-bnc-gold-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
}

.page-bnc__section-description {
    font-size: 1.1rem;
    color: var(--page-bnc-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-bnc__intro-section,
.page-bnc__game-types-section,
.page-bnc__guide-section,
.page-bnc__promotions-section,
.page-bnc__features-section,
.page-bnc__faq-section,
.page-bnc__cta-bottom {
    padding: 60px 0;
    position: relative;
}

.page-bnc__dark-section {
    background-color: var(--page-bnc-card-bg);
}

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

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

.page-bnc__text-block p {
    margin-bottom: 20px;
    color: var(--page-bnc-text-main);
    font-size: 1.05rem;
}

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

.page-bnc__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

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

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

.page-bnc__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-bnc__card-title {
    font-size: 1.5rem;
    color: var(--page-bnc-gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-bnc__card-text {
    font-size: 1rem;
    color: var(--page-bnc-text-secondary);
}

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

.page-bnc__step-item {
    background-color: var(--page-bnc-deep-green);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--page-bnc-gold-color);
}

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

.page-bnc__step-item p {
    color: var(--page-bnc-text-main);
    font-size: 1rem;
}

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

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

.page-bnc__promo-card .page-bnc__btn-primary {
    margin-top: 20px;
}

.page-bnc__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.page-bnc__feature-item {
    padding: 20px;
    background-color: var(--page-bnc-card-bg);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    color: var(--page-bnc-text-main);
    border: 1px solid var(--page-bnc-border-color);
}

.page-bnc__feature-icon {
    width: 80px; /* Ensure icon size is consistent with min-size 200px requirement for general images */
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(1.2) drop-shadow(0 0 5px var(--page-bnc-glow-color));
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-bnc__feature-text {
    font-size: 1rem;
    color: var(--page-bnc-text-secondary);
}

.page-bnc__faq-list {
    margin-top: 40px;
}

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

.page-bnc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--page-bnc-text-main);
    cursor: pointer;
    background-color: var(--page-bnc-deep-green);
    border-bottom: 1px solid var(--page-bnc-divider-color);
}

.page-bnc__faq-item[open] .page-bnc__faq-question {
    border-bottom: 1px solid var(--page-bnc-divider-color);
}

.page-bnc__faq-qtext {
    flex-grow: 1;
    color: var(--page-bnc-gold-color);
}

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

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

.page-bnc__faq-item summary {
    list-style: none;
}

.page-bnc__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--page-bnc-text-secondary);
}

.page-bnc__faq-answer p {
    margin-bottom: 15px;
    color: var(--page-bnc-text-main);
}

.page-bnc__faq-answer .page-bnc__btn-primary {
    margin-top: 10px;
}

.page-bnc__cta-bottom {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-bnc__cta-bottom .page-bnc__btn-primary,
.page-bnc__cta-bottom .page-bnc__btn-secondary {
    font-size: 1.2rem;
    padding: 18px 35px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-bnc__content-grid {
        flex-direction: column;
    }
    .page-bnc__image-wrapper {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-bnc__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-bnc__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
    .page-bnc__hero-content {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .page-bnc__container {
        padding: 0 15px;
    }
    .page-bnc__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-bnc__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-bnc__description {
        font-size: 1rem;
    }
    .page-bnc__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-bnc__btn-primary,
    .page-bnc__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-bnc__intro-section,
    .page-bnc__game-types-section,
    .page-bnc__guide-section,
    .page-bnc__promotions-section,
    .page-bnc__features-section,
    .page-bnc__faq-section,
    .page-bnc__cta-bottom {
        padding: 40px 0;
    }
    .page-bnc__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-bnc__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-bnc__card {
        padding: 20px;
    }
    .page-bnc__card-title {
        font-size: 1.3rem;
    }
    .page-bnc__card-text {
        font-size: 0.9rem;
    }
    .page-bnc__guide-steps {
        gap: 20px;
    }
    .page-bnc__step-title {
        font-size: 1.2rem;
    }
    .page-bnc__step-item p {
        font-size: 0.95rem;
    }
    .page-bnc__feature-title {
        font-size: 1.2rem;
    }
    .page-bnc__feature-text {
        font-size: 0.95rem;
    }
    .page-bnc__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-bnc__faq-qtext {
        font-size: 1rem;
    }
    .page-bnc__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    /* Image Responsive */
    .page-bnc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-bnc__section,
    .page-bnc__card,
    .page-bnc__container,
    .page-bnc__video-wrapper,
    .page-bnc__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-bnc__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-bnc__video,
    .page-bnc__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        overflow: hidden !important;
    }
    .page-bnc__feature-icon {
        min-width: 200px !important;
        min-height: 200px !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100px !important; /* Adjust if original was small, but ensure min 200px is met for content images */
        object-fit: contain;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .page-bnc__hero-section {
        padding-bottom: 30px;
    }
    .page-bnc__main-title {
        font-size: 1.8rem;
    }
    .page-bnc__description {
        font-size: 0.9rem;
    }
    .page-bnc__cta-buttons {
        gap: 10px;
    }
    .page-bnc__btn-primary,
    .page-bnc__btn-secondary {
        font-size: 0.95rem;
    }
    .page-bnc__section-title {
        font-size: 1.4rem;
    }
    .page-bnc__section-description {
        font-size: 0.9rem;
    }
    .page-bnc__game-cards,
    .page-bnc__guide-steps,
    .page-bnc__promo-cards,
    .page-bnc__features-grid {
        grid-template-columns: 1fr;
    }
    .page-bnc__card-title {
        font-size: 1.2rem;
    }
    .page-bnc__step-title,
    .page-bnc__feature-title {
        font-size: 1.1rem;
    }
    .page-bnc__faq-question {
        font-size: 0.95rem;
    }
    .page-bnc__faq-answer p {
        font-size: 0.9rem;
    }
}