.page-bnc {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-bnc__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

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

.page-bnc__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  z-index: 1;
}

.page-bnc__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFF3E6;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure H1 doesn't overflow */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-bnc__description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-bnc__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
  border: none;
  cursor: pointer;
}

.page-bnc__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-bnc__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  padding-top: 20px;
}

.page-bnc__intro-section, .page-bnc__features-section, .page-bnc__popular-games-section, .page-bnc__how-to-play-section, .page-bnc__promotions-section, .page-bnc__faq-section, .page-bnc__final-cta-section {
  padding: 60px 0;
}

.page-bnc__text-content {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-bnc__feature-card, .page-bnc__game-card, .page-bnc__step-card {
  background-color: #17191F;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bnc__feature-card:hover, .page-bnc__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 176, 77, 0.2);
}

.page-bnc__feature-image, .page-bnc__game-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Limit image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__feature-title, .page-bnc__game-title, .page-bnc__step-title {
  font-size: 1.4em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-bnc__feature-description, .page-bnc__game-description, .page-bnc__step-description {
  font-size: 0.95em;
  color: #FFF3E6;
}

.page-bnc__play-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-bnc__play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 165, 58, 0.4);
}

.page-bnc__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #D96800;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  color: #FFF3E6;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(255, 176, 77, 0.5);
}

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

.page-bnc__promo-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 28px;
  background-color: #FFA53A;
  color: #0D0E12;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-bnc__promo-button:hover {
  background-color: #FFB04D;
}

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

.page-bnc__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-bnc__faq-question {
  font-size: 1.1em;
  color: #FFA53A;
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  font-weight: bold;
}

.page-bnc__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-bnc__faq-question.active::after {
  content: '-';
  transform: rotate(0deg);
}

.page-bnc__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-bnc__faq-answer p {
  padding-bottom: 18px;
  margin: 0;
  color: #FFF3E6;
}

.page-bnc__faq-item.open .page-bnc__faq-answer {
  max-height: 200px; /* Adjust based on content */
  padding-top: 10px;
}

.page-bnc__final-cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-bnc__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-bnc__container {
    padding: 15px;
  }

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

  .page-bnc__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

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

  .page-bnc__intro-section, .page-bnc__features-section, .page-bnc__popular-games-section, .page-bnc__how-to-play-section, .page-bnc__promotions-section, .page-bnc__faq-section, .page-bnc__final-cta-section {
    padding: 40px 0;
  }

  /* Critical: Prevent content area images from overflowing on mobile */
  .page-bnc img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-bnc__hero-image {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .page-bnc__cta-button, .page-bnc__promo-button, .page-bnc__play-button {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.9em;
  }

  .page-bnc__cta-button--large {
    font-size: 1em;
  }

  .page-bnc__hero-content {
    padding: 30px 15px;
  }

  .page-bnc__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-bnc__faq-answer p {
    font-size: 0.9em;
    padding-bottom: 15px;
  }
}