.page-bnc {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --section-bg: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;

  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--section-bg); /* Default background for the page content */
}

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

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

.page-bnc__light-bg {
  background-color: #f8f9fa; /* A very light background to ensure dark text contrast */
  color: #333333; /* Dark text for light background */
}

.page-bnc__light-bg .page-bnc__section-title,
.page-bnc__light-bg .page-bnc__card-title {
  color: #000000; /* Ensure titles are very dark on light background */
}

.page-bnc__light-bg .page-bnc__card-text {
  color: #555555; /* Slightly lighter dark text for secondary on light background */
}

.page-bnc__section-title {
  font-size: 2.5em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-bnc__sub-title {
  font-size: 1.8em;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-bnc__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit; /* Inherit from parent section */
}

.page-bnc__card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main);
}

.page-bnc__card-title {
  font-size: 1.4em;
  margin-top: 15px;
  margin-bottom: 10px;
  color: var(--text-main);
}

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

.page-bnc__btn-primary,
.page-bnc__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-bnc__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* Always white for primary button */
  border: 2px solid transparent;
}

.page-bnc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-bnc__btn-secondary {
  background-color: transparent;
  color: var(--primary-color); /* Brand color for secondary button */
  border: 2px solid var(--primary-color);
}

.page-bnc__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-bnc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Hero Section */
.page-bnc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-bnc__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-bnc__hero-content {
  text-align: center;
  margin-top: 40px;
  max-width: 900px;
  z-index: 2;
}

.page-bnc__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

/* About Game Section */
.page-bnc__about-game {
  padding: 80px 0;
  text-align: center;
}

/* Features Section */
.page-bnc__features {
  padding: 80px 0;
}

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

.page-bnc__feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-bnc__feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* How To Play Section */
.page-bnc__how-to-play {
  padding: 80px 0;
  text-align: center;
}

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

.page-bnc__step-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-bnc__step-card .page-bnc__card-title {
  color: #000000;
}

.page-bnc__step-card .page-bnc__card-text {
  color: #555555;
}

.page-bnc__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: var(--button-gradient);
  color: #ffffff;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

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

/* Strategy Section */
.page-bnc__strategy {
  padding: 80px 0;
}

.page-bnc__strategy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-bnc__strategy-image {
  flex: 1 1 45%;
  min-width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-bnc__strategy-text {
  flex: 1 1 45%;
  min-width: 300px;
}

/* Promotions Section */
.page-bnc__promotions {
  padding: 80px 0;
  text-align: center;
}

.page-bnc__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-bnc__promo-item {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-bnc__promo-item .page-bnc__card-title {
  color: #000000;
}

.page-bnc__promo-item .page-bnc__card-text {
  color: #555555;
}

/* Why Choose Section */
.page-bnc__why-choose {
  padding: 80px 0;
}

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

.page-bnc__reason-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
}

/* FAQ Section */
.page-bnc__faq-section {
  padding: 80px 0;
}

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

.page-bnc__faq-item {
  background-color: #ffffff;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #000000;
  border-bottom: 1px solid #e0e0e0;
}

.page-bnc__faq-question:hover {
  background-color: #e5e5e5;
}

.page-bnc__faq-item[open] .page-bnc__faq-question {
  background-color: var(--primary-color);
  color: #ffffff;
  border-bottom: 1px solid var(--deep-green);
}

.page-bnc__faq-item[open] .page-bnc__faq-toggle {
  color: #ffffff;
}

.page-bnc__faq-qtext {
  flex-grow: 1;
}

.page-bnc__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

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

.page-bnc__faq-answer {
  padding: 20px 25px;
  background-color: #ffffff;
  color: #333333;
  font-size: 1em;
  line-height: 1.6;
}

.page-bnc__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-bnc__cta-final {
  padding: 80px 0;
  text-align: center;
}

.page-bnc__cta-content {
  max-width: 900px;
}

/* --- Responsive Design --- */

/* All images basic responsive styles */
.page-bnc img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* All image containers basic responsive styles */
.page-bnc__hero-image-wrapper,
.page-bnc__feature-card,
.page-bnc__strategy-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Desktop video container width */
.page-bnc__video-container {
  width: 100%;
  max-width: 1200px; /* Example max-width for desktop */
}

@media (max-width: 1024px) {
  .page-bnc__section-title {
    font-size: 2em;
  }
  .page-bnc__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-bnc__subtitle {
    font-size: 1.15em;
  }
}

@media (max-width: 768px) {
  .page-bnc {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-bnc__container {
    padding: 0 15px;
  }

  .page-bnc__hero-section,
  .page-bnc__about-game,
  .page-bnc__features,
  .page-bnc__how-to-play,
  .page-bnc__strategy,
  .page-bnc__promotions,
  .page-bnc__why-choose,
  .page-bnc__faq-section,
  .page-bnc__cta-final {
    padding: 40px 0;
  }

  .page-bnc__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-bnc__subtitle {
    font-size: 1em;
  }

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

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-bnc__feature-grid,
  .page-bnc__steps-grid,
  .page-bnc__reason-grid,
  .page-bnc__promo-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-bnc__strategy-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-bnc__strategy-image,
  .page-bnc__strategy-text {
    min-width: unset;
    width: 100%;
  }

  /* Mobile responsive images */
  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile responsive containers for images/videos/buttons */
  .page-bnc__section,
  .page-bnc__card,
  .page-bnc__container,
  .page-bnc__hero-image-wrapper,
  .page-bnc__video-section,
  .page-bnc__video-container,
  .page-bnc__video-wrapper,
  .page-bnc__cta-buttons,
  .page-bnc__button-group,
  .page-bnc__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Small top padding for first section on mobile */
  .page-bnc__hero-section {
    padding-top: 10px !important;
  }
}