:root {
    --primary-color: #FF8C1A; /* Main color */
    --secondary-color: #FFA53A; /* Accent color */
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg: #17191F;
    --site-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

/* Base styles for the page-bnc scope */
.page-bnc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--site-bg); /* Ensure body background is honored by shared.css */
    padding-bottom: 50px; /* Add some padding at the bottom */
}

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

.page-bnc__dark-bg {
    background-color: var(--card-bg); /* Using card-bg for dark sections */
    color: var(--text-main);
}

.page-bnc__section-title {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
    line-height: 1.2;
}

.page-bnc__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main);
}

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

.page-bnc__center-text {
    text-align: center;
}

/* 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 in shared.css */
    background-color: var(--site-bg);
}

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

.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: 8px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 140, 26, 0.6);
}

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

.page-bnc__main-title {
    /* Do not set fixed font-size for H1 */
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 140, 26, 0.8);
    max-width: 900px;
    margin: 0 auto 20px auto;
}

/* CTA Buttons */
.page-bnc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-bnc__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-bnc__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
    background: var(--deep-orange);
}

.page-bnc__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
}

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

.page-bnc__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

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

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

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

.page-bnc__feature-title {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-bnc__feature-description {
    color: var(--text-main);
    font-size: 1em;
}

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

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

.page-bnc__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 165, 58, 0.4);
}

.page-bnc__game-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-height: 200px; /* Enforce minimum size for card images */
    min-width: 200px;
}

.page-bnc__game-title {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-bnc__game-description {
    color: var(--text-main);
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-bnc__view-all-games {
    margin-top: 40px;
}

/* Guide Section */
.page-bnc__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-bnc__guide-item {
    background: var(--card-bg);
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-bnc__guide-step-title {
    color: var(--secondary-color);
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-bnc__guide-step-description {
    color: var(--text-main);
    font-size: 1em;
}

/* Strategy Section */
.page-bnc__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-bnc__strategy-item {
    background: var(--card-bg);
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-bnc__strategy-title {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-bnc__strategy-description {
    color: var(--text-main);
    font-size: 1em;
}

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

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

.page-bnc__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 165, 58, 0.4);
}

.page-bnc__promo-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-height: 200px; /* Enforce minimum size for card images */
    min-width: 200px;
}

.page-bnc__promo-title {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-bnc__promo-description {
    color: var(--text-main);
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-bnc__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

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 3px 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 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--primary-color);
    font-weight: 700;
}

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: rgba(255, 140, 26, 0.1);
}

.page-bnc__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
    color: var(--primary-color);
}

.page-bnc__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-bnc__faq-item .page-bnc__faq-answer {
    padding: 0 20px 20px;
    background: var(--site-bg);
    border-radius: 0 0 10px 10px;
    color: var(--text-main);
    font-size: 1em;
}

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

/* Image Wrapper for content images */
.page-bnc__image-wrapper {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-bnc__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-bnc__section-title {
        font-size: 2.5em;
    }
    .page-bnc__main-title {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .page-bnc {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-bnc__section {
        padding: 40px 0;
    }
    .page-bnc__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-bnc__main-title {
        /* H1 font-size rule: no fixed value, use clamp if needed */
        font-size: clamp(2em, 8vw, 3em); /* Example clamp for responsive H1 */
        margin-bottom: 15px;
    }
    .page-bnc__description,
    .page-bnc__text-content {
        font-size: 1em;
    }

    /* HERO Section */
    .page-bnc__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-bnc__hero-image img {
        border-radius: 4px;
    }
    .page-bnc__hero-content {
        margin-top: 10px;
    }

    /* CTA Buttons */
    .page-bnc__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        margin-top: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    .page-bnc__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Grids */
    .page-bnc__features-grid,
    .page-bnc__game-cards-grid,
    .page-bnc__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-bnc__feature-card,
    .page-bnc__game-card,
    .page-bnc__promo-card {
        padding: 20px;
        text-align: center; /* Center align for mobile */
    }

    .page-bnc__feature-title,
    .page-bnc__game-title,
    .page-bnc__promo-title {
        font-size: 1.3em;
    }

    /* Guide & Strategy List */
    .page-bnc__guide-item,
    .page-bnc__strategy-item {
        padding: 20px;
    }
    .page-bnc__guide-step-title,
    .page-bnc__strategy-title {
        font-size: 1.2em;
    }

    /* FAQ */
    details.page-bnc__faq-item summary.page-bnc__faq-question {
        padding: 15px;
    }
    .page-bnc__faq-qtext {
        font-size: 1em;
    }
    .page-bnc__faq-toggle {
        font-size: 20px;
        width: 24px;
    }
    details.page-bnc__faq-item .page-bnc__faq-answer {
        padding: 0 15px 15px;
    }

    /* Image responsiveness */
    .page-bnc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-bnc__section,
    .page-bnc__card,
    .page-bnc__container,
    .page-bnc__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-bnc__image-wrapper {
        margin-left: 0;
        margin-right: 0;
    }
}