:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg-color: #FFFFFF;
    --page-bg-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --custom-color-1776249996415: #000000; /* For main titles */
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

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

.page-bnc__hero-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 40px; /* Space below hero content */
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
}

.page-bnc__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image container */
    margin-bottom: 20px; /* Space between image and text */
}

.page-bnc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

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

.page-bnc__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--custom-color-1776249996415, #000000); /* Use black or a very dark color for H1 */
    margin-bottom: 20px;
    /* Using clamp for responsive font size, avoiding fixed large size */
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Example: 2.5rem on small screens, scales up to 3.5rem */
}

.page-bnc__description {
    font-size: 1.1rem;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 30px;
}

.page-bnc__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-bnc__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-bnc__button--primary {
    background: var(--button-gradient, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
}

.page-bnc__button--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-bnc__button--secondary {
    background-color: var(--card-bg-color, #FFFFFF);
    color: var(--primary-color, #2F6BFF);
    border: 1px solid var(--primary-color, #2F6BFF);
}

.page-bnc__button--secondary:hover {
    background-color: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.page-bnc__button--small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.page-bnc__section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-bnc__features-section,
.page-bnc__how-to-play-section,
.page-bnc__seo-content,
.page-bnc__latest-news {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

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

.page-bnc__feature-card,
.page-bnc__step-card,
.page-bnc__news-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.page-bnc__feature-card img,
.page-bnc__news-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency, will be responsive */
    object-fit: cover;
    display: block;
}

.page-bnc__feature-card {
    padding-bottom: 20px;
}

.page-bnc__feature-image {
    width: 100%;
    height: auto; /* Responsive image */
    min-height: 200px; /* Ensure minimum size */
    object-fit: cover;
}

.page-bnc__card-title,
.page-bnc__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--custom-color-1776249996415, #000000);
    margin: 20px 15px 10px 15px;
}

.page-bnc__card-description,
.page-bnc__step-description {
    font-size: 1rem;
    color: var(--text-main-color, #1F2D3D);
    padding: 0 15px;
    margin-bottom: 20px;
}

.page-bnc__step-card {
    padding: 25px;
    text-align: left;
    position: relative;
}

.page-bnc__step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.page-bnc__step-card .page-bnc__button {
    margin-top: auto; /* Push button to bottom */
    align-self: flex-start;
    margin-left: 15px;
}


.page-bnc__seo-content h2,
.page-bnc__seo-content h3 {
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 20px;
    margin-top: 40px;
}

.page-bnc__seo-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    text-align: center;
}

.page-bnc__seo-content h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.page-bnc__seo-content p {
    margin-bottom: 15px;
    color: var(--text-main-color, #1F2D3D);
}

.page-bnc__seo-content p a {
    color: var(--primary-color, #2F6BFF);
    text-decoration: underline;
}

.page-bnc__seo-content p a:hover {
    color: var(--secondary-color, #6FA3FF);
}

.page-bnc__button--bottom-cta {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-bnc__news-card {
    text-align: left;
}

.page-bnc__news-image {
    min-height: 200px; /* Enforce min size */
}

.page-bnc__news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-bnc__news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-bnc__news-title a {
    color: var(--custom-color-1776249996415, #000000);
    text-decoration: none;
}

.page-bnc__news-title a:hover {
    color: var(--primary-color, #2F6BFF);
}

.page-bnc__news-date {
    font-size: 0.9rem;
    color: #666; /* Using a slightly lighter grey for date */
    margin-bottom: 10px;
}

.page-bnc__news-excerpt {
    font-size: 1rem;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 15px;
    flex-grow: 1; /* Push read more to bottom */
}

.page-bnc__read-more {
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.page-bnc__read-more:hover {
    text-decoration: underline;
}

.page-bnc__view-all-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-bnc__main-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .page-bnc__description {
        font-size: 1rem;
    }

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

    .page-bnc__button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-bnc__features-grid,
    .page-bnc__steps-grid,
    .page-bnc__news-grid {
        grid-template-columns: 1fr;
    }

    .page-bnc__feature-card img,
    .page-bnc__news-card img {
        height: auto; /* Allow height to adjust */
        max-width: 100%; /* Ensure images don't overflow */
        min-height: 200px; /* Maintain minimum size */
    }

    /* Enforce mobile image sizing rules */
    .page-bnc img {
        max-width: 100%;
        height: auto;
    }

    .page-bnc__step-card {
        padding-right: 60px; /* Make space for step number */
    }

    .page-bnc__step-number {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .page-bnc__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-bnc__section-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    .page-bnc__card-title, .page-bnc__step-title {
        font-size: 1.15rem;
    }
    .page-bnc__news-title {
        font-size: 1.1rem;
    }
}

/* Ensure content area images don't go below 200px width/height */
.page-bnc__features-grid img,
.page-bnc__how-to-play-section img,
.page-bnc__seo-content img,
.page-bnc__latest-news img {
    min-width: 200px;
    min-height: 200px;
}
/* Override specific image heights that might conflict with min-height */
.page-bnc__feature-card img,
.page-bnc__news-card img {
    height: auto; /* Let it scale, but respect min-height */
}