/* style/bnc.css */
/* Body background color is #08160F (dark), so text should be light. */
/* Card background color is #11271B (dark), so text on cards should be light. */

.page-bnc {
  color: #F2FFF6; /* Text Main */
  background-color: transparent; /* Rely on body background from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-bnc__section-title,
.page-bnc__main-title {
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-bnc__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  margin-top: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__paragraph {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
  text-align: justify;
}

.page-bnc__paragraph strong {
  color: #F2FFF6;
}

/* 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;
}

.page-bnc__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-bnc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-bnc__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 1;
  padding: 20px;
  margin-top: -100px; /* Pull content up slightly over image bottom */
  max-width: 900px;
}

.page-bnc__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-bnc__btn-primary,
.page-bnc__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
}

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-bnc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-bnc__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
  box-shadow: 0 2px 10px rgba(87, 227, 141, 0.2);
}

.page-bnc__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

/* Intro Section */
.page-bnc__intro-section {
  padding: 60px 0;
  background-color: transparent;
}

/* Features Section */
.page-bnc__features-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-bnc__feature-card.page-bnc__card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-bnc__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-bnc__feature-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-bnc__feature-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

/* Game Showcase Section */
.page-bnc__game-showcase-section {
  padding: 60px 0;
  background-color: transparent;
}

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

.page-bnc__game-card.page-bnc__card {
  background-color: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-bnc__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-bnc__game-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-bnc__game-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9em;
  margin-bottom: 20px;
}

/* How to Play Section */
.page-bnc__how-to-play-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-bnc__step-card.page-bnc__card {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-bnc__step-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-bnc__step-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.2em;
  margin-bottom: 10px;
}

.page-bnc__step-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9em;
}

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

/* Promotions Section */
.page-bnc__promotions-section {
  padding: 60px 0;
  background-color: transparent;
}

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

.page-bnc__promotion-card.page-bnc__card {
  background-color: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-bnc__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-bnc__promotion-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-bnc__promotion-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9em;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-bnc__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-bnc__faq-item.page-bnc__card {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-bnc__faq-question::-webkit-details-marker {
  display: none;
}

.page-bnc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

.page-bnc__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

/* Final CTA Section */
.page-bnc__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background-color: transparent;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-bnc__hero-content {
    margin-top: -50px;
  }
}

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

  .page-bnc__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-bnc__section-title {
    font-size: 1.8em;
  }

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

  .page-bnc__hero-content {
    margin-top: -30px; /* Adjust for smaller screens */
  }

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

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

  /* All containers with images/content */
  .page-bnc__section,
  .page-bnc__card,
  .page-bnc__container,
  .page-bnc__hero-section,
  .page-bnc__intro-section,
  .page-bnc__features-section,
  .page-bnc__game-showcase-section,
  .page-bnc__how-to-play-section,
  .page-bnc__promotions-section,
  .page-bnc__faq-section,
  .page-bnc__cta-final-section,
  .page-bnc__hero-image-wrapper,
  .page-bnc__game-list,
  .page-bnc__steps-grid,
  .page-bnc__promotion-grid,
  .page-bnc__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-bnc__feature-grid,
  .page-bnc__game-list,
  .page-bnc__steps-grid,
  .page-bnc__promotion-grid {
    grid-template-columns: 1fr;
  }

  .page-bnc__feature-card.page-bnc__card,
  .page-bnc__game-card.page-bnc__card,
  .page-bnc__step-card.page-bnc__card,
  .page-bnc__promotion-card.page-bnc__card,
  .page-bnc__faq-item.page-bnc__card {
    padding: 20px;
  }

  .page-bnc__faq-question {
    font-size: 1em;
  }

  .page-bnc__faq-answer {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-bnc__hero-content {
    margin-top: -10px;
  }
  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    font-size: 1em;
    padding: 10px 15px;
  }
}

/* Ensure strong contrast for all text elements */
.page-bnc h1, .page-bnc h2, .page-bnc h3, .page-bnc h4, .page-bnc h5, .page-bnc h6 {
  color: #F2FFF6; /* Main Text Color on Dark Background */
}

.page-bnc p, .page-bnc li, .page-bnc__feature-description, .page-bnc__game-description, .page-bnc__step-description, .page-bnc__promotion-description, .page-bnc__faq-answer {
  color: #A7D9B8; /* Secondary Text Color on Dark Background */
}

.page-bnc__card {
  background-color: #11271B; /* Card Background */
  color: #F2FFF6; /* Main Text Color on Card */
}

.page-bnc__card p {
  color: #A7D9B8; /* Secondary Text Color on Card */
}

.page-bnc a {
  color: #57E38D; /* Glow color for links */
}

.page-bnc a:hover {
  color: #F2C14E; /* Gold color for hover */
}