/* style/bnc.css */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --page-bg: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-bnc {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--page-bg); /* Page background */
    line-height: 1.6;
}

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

.page-bnc__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-bnc__section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-bnc__text-block {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-bnc__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.page-bnc__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-bnc__cta-button,
.page-bnc__btn-primary,
.page-bnc__btn-secondary,
.page-bnc a[class*="button"],
.page-bnc a[class*="btn"] {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-bnc__cta-button:hover,
.page-bnc__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

.page-bnc__btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 15px;
}

.page-bnc__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* HERO Section */
.page-bnc__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, header offset handled by body */
    background: var(--page-bg);
    overflow: hidden;
}

.page-bnc__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-bnc__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 1200px; /* Constrain image width */
}

.page-bnc__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(255, 211, 107, 0.7);
}

.page-bnc__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-bnc__hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(255, 211, 107, 0.8);
}

.page-bnc__hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-bnc__intro-section {
    background-color: var(--page-bg);
    padding-bottom: 80px;
}

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

.page-bnc__feature-item {
    text-align: left;
}

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

.page-bnc__feature-item p {
    font-size: 16px;
    color: #cccccc;
}

/* Quick Access Section */
.page-bnc__quick-access-section {
    background-color: var(--card-bg);
    padding: 80px 0;
}

.page-bnc__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-bnc__button-group .page-bnc__btn-primary,
.page-bnc__button-group .page-bnc__btn-secondary {
    margin-top: 0;
    min-width: 200px;
}

/* Games Section */
.page-bnc__games-section {
    background-color: var(--page-bg);
}

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

.page-bnc__game-card {
    text-align: left;
    padding: 20px;
}

.page-bnc__game-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
}

.page-bnc__game-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-bnc__game-card p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
}

.page-bnc__game-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-bnc__game-link:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: translateY(-2px);
}

/* Promotions Section */
.page-bnc__promotions-section {
    background-color: var(--card-bg);
    padding: 80px 0;
}

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

.page-bnc__promo-card {
    text-align: left;
    padding: 20px;
}

.page-bnc__promo-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
}

.page-bnc__promo-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-bnc__promo-card p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
}

.page-bnc__promo-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-bnc__promo-link:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: translateY(-2px);
}

/* Security & Support Section */
.page-bnc__security-support-section {
    background-color: var(--page-bg);
}

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

.page-bnc__security-item {
    text-align: left;
    padding: 20px;
}

.page-bnc__security-item img {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    margin: 0 auto 15px auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
}

.page-bnc__security-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-bnc__security-item p {
    font-size: 16px;
    color: #cccccc;
}

/* FAQ Section */
.page-bnc__faq-section {
    background-color: var(--card-bg);
    padding: 80px 0;
}

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

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

details.page-bnc__faq-item summary.page-bnc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-bnc__faq-item summary.page-bnc__faq-question:hover {
    background: #1a1a1a;
}

.page-bnc__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-bnc__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

details.page-bnc__faq-item[open] .page-bnc__faq-toggle {
    transform: rotate(45deg);
}

details.page-bnc__faq-item .page-bnc__faq-answer {
    padding: 0 25px 20px;
    background: #0f0f0f;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 10px 10px;
    text-align: left;
}

details.page-bnc__faq-item .page-bnc__faq-answer p {
    font-size: 16px;
    color: #cccccc;
}

/* Blog Section */
.page-bnc__blog-section {
    background-color: var(--page-bg);
}

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

.page-bnc__blog-card {
    text-align: left;
    padding: 20px;
}

.page-bnc__blog-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
}

.page-bnc__blog-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-bnc__blog-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-bnc__blog-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-bnc__blog-date {
    font-size: 14px;
    color: #888888;
    margin-bottom: 10px;
}

.page-bnc__blog-card p {
    font-size: 16px;
    color: #cccccc;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-bnc__section-title {
        font-size: 32px;
    }
    .page-bnc__text-block {
        font-size: 17px;
    }
    .page-bnc__hero-content h1 {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-bnc__hero-content p {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
    .page-bnc__features-grid,
    .page-bnc__game-grid,
    .page-bnc__promo-grid,
    .page-bnc__security-grid,
    .page-bnc__blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-bnc__section {
        padding: 40px 0;
    }
    .page-bnc__section-title {
        font-size: 28px;
    }
    .page-bnc__text-block {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-bnc__hero-section {
        padding-top: 10px !important; /* Small top padding, header offset handled by body */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-bnc__hero-image img {
        border-radius: 8px;
    }
    .page-bnc__hero-content h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-bnc__hero-content p {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        margin-bottom: 30px;
    }
    .page-bnc__cta-button,
    .page-bnc__btn-primary,
    .page-bnc__btn-secondary,
    .page-bnc a[class*="button"],
    .page-bnc a[class*="btn"] {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0; /* Reset margin for secondary button */
        margin-right: 0;
    }
    .page-bnc__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-bnc__button-group .page-bnc__btn-primary,
    .page-bnc__button-group .page-bnc__btn-secondary {
        width: 100%;
    }

    .page-bnc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-bnc__section,
    .page-bnc__card,
    .page-bnc__container,
    .page-bnc__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-bnc__quick-access-section .page-bnc__container,
    .page-bnc__promotions-section .page-bnc__container,
    .page-bnc__faq-section .page-bnc__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    details.page-bnc__faq-item summary.page-bnc__faq-question {
        padding: 15px;
    }
    .page-bnc__faq-qtext {
        font-size: 16px;
    }
    .page-bnc__faq-toggle {
        font-size: 24px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-bnc__faq-item .page-bnc__faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-bnc__section-title {
        font-size: 24px;
    }
    .page-bnc__text-block {
        font-size: 15px;
    }
    .page-bnc__feature-title,
    .page-bnc__game-title,
    .page-bnc__promo-title,
    .page-bnc__security-title,
    .page-bnc__blog-title {
        font-size: 20px;
    }
}