:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

.page-bnc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark body bg */
    background-color: var(--deep-navy); /* Assuming body background is deep-navy from shared */
}

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

.page-bnc__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.2;
}

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

.page-bnc__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

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

.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;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-bnc__cta-button,
.page-bnc__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

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

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

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

.page-bnc__card-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--gold-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-bnc__card-link:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

/* 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, body handles header offset */
    overflow: hidden;
    background-color: var(--deep-navy);
}

.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;
}

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

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

.page-bnc__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-bnc__hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 30px auto;
}

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

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

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

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

.page-bnc__feature-text {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Quick Links Section */
.page-bnc__quick-links-section {
    padding: 80px 0;
    background-color: #f0f2f5; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-bnc__quick-links-section .page-bnc__section-title,
.page-bnc__quick-links-section .page-bnc__section-description {
    color: #333333; /* Ensure dark text on light background */
}

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

/* Game Showcase Section */
.page-bnc__game-showcase-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

.page-bnc__game-card {
    text-align: center;
}

.page-bnc__game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

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

.page-bnc__game-text {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Promo Section */
.page-bnc__promo-section {
    padding: 80px 0;
    background-color: #f0f2f5; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-bnc__promo-section .page-bnc__section-title,
.page-bnc__promo-section .page-bnc__section-description {
    color: #333333; /* Ensure dark text on light background */
}

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

.page-bnc__promo-card.page-bnc__light-bg {
    background-color: #ffffff; /* White background for light section */
    color: #333333; /* Dark text for white background */
    border: 1px solid #e0e0e0;
}

.page-bnc__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-bnc__promo-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333;
}

.page-bnc__promo-text {
    font-size: 16px;
    color: #555555;
}

/* Security & Support Section */
.page-bnc__security-support-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

.page-bnc__info-item {
    text-align: center;
}

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

.page-bnc__info-text {
    font-size: 16px;
    color: var(--text-secondary);
}

.page-bnc__contact-button-wrapper {
    text-align: center;
    margin-top: 60px;
}

/* FAQ Section */
.page-bnc__faq-section {
    padding: 80px 0;
    background-color: #f0f2f5; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-bnc__faq-section .page-bnc__section-title,
.page-bnc__faq-section .page-bnc__section-description {
    color: #333333; /* Ensure dark text on light background */
}

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

details.page-bnc__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #d0d0d0;
    overflow: hidden;
    background: #ffffff;
}

details.page-bnc__faq-item summary.page-bnc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    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: #f5f5f5;
}

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

.page-bnc__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-bnc__faq-item .page-bnc__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    color: #555555;
    font-size: 16px;
}

/* Blog/News Section */
.page-bnc__blog-news-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

.page-bnc__blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-bnc__blog-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-bnc__blog-title a {
    color: var(--text-main);
    text-decoration: none;
}

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

.page-bnc__blog-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.page-bnc__blog-excerpt {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-bnc__view-all-button {
    text-align: center;
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-bnc__section-title {
        font-size: 32px;
    }
    .page-bnc__hero-description {
        font-size: 18px;
    }
    .page-bnc__game-card img,
    .page-bnc__promo-card img,
    .page-bnc__blog-card img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-bnc__container {
        padding: 20px 15px;
    }

    .page-bnc__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

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

    .page-bnc__hero-description {
        font-size: 16px;
    }

    .page-bnc__cta-button,
    .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: 12px 20px;
        font-size: 16px;
    }

    .page-bnc__button-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-bnc__section-title {
        font-size: 28px;
    }

    .page-bnc__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-bnc__features-grid,
    .page-bnc__game-grid,
    .page-bnc__promo-grid,
    .page-bnc__info-grid,
    .page-bnc__blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-bnc__game-card img,
    .page-bnc__promo-card img,
    .page-bnc__blog-card img {
        
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-bnc__game-card,
    .page-bnc__promo-card,
    .page-bnc__blog-card,
    .page-bnc__info-item {
        padding: 25px;
    }

    .page-bnc__faq-qtext {
        font-size: 16px;
    }

    details.page-bnc__faq-item summary.page-bnc__faq-question {
        padding: 15px 18px;
    }

    details.page-bnc__faq-item .page-bnc__faq-answer {
        padding: 0 18px 18px;
    }

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

@media (max-width: 480px) {
    .page-bnc__section-title {
        font-size: 24px;
    }
    .page-bnc__main-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    .page-bnc__cta-button {
        font-size: 14px;
        padding: 10px 25px;
    }
}

/* Color Contrast Fixes */
.page-bnc__dark-bg {
    background-color: var(--deep-navy);
    color: var(--text-main);
}

.page-bnc__light-bg {
    background-color: #f0f2f5;
    color: #333333;
}

.page-bnc__promo-card.page-bnc__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-bnc__text-contrast-fix {
    color: #333333; /* For text on light backgrounds */
}