/* style/bnc.css */

/* General styles for the page-bnc scope */
.page-bnc {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main - light text for dark background */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-bnc__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-bnc__text-content {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-bnc__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px; /* Adjust as needed */
  background-color: #0A4B2C; /* Deep Green for hero section background */
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-bnc__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-bnc__hero-content {
  position: relative; /* Ensure content is above image filter */
  text-align: center;
  padding-top: 40px; /* Space between image and content */
  z-index: 2;
  max-width: 900px;
}

.page-bnc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.page-bnc__hero-description {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-bnc__btn-primary,
.page-bnc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff; /* White text for buttons */
  border: none;
}

.page-bnc__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-bnc__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green from button gradient */
  border: 2px solid #2AD16F;
}

.page-bnc__btn-secondary:hover {
  background-color: #2AD16F;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Card styles */
.page-bnc__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  color: #F2FFF6; /* Text Main */
}

.page-bnc__card:hover {
  transform: translateY(-5px);
}

.page-bnc__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Intro Section */
.page-bnc__intro-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-bnc__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-bnc__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

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

/* Game Types Section */
.page-bnc__game-types-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-bnc__game-image {
  width: 100%;
  height: 250px; /* Fixed height for game images */
  object-fit: cover;
}

.page-bnc__game-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-bnc__game-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1; /* Push button to bottom */
  margin-bottom: 20px;
}

.page-bnc__game-button {
  width: 100%;
  margin-top: auto; /* Align button at bottom */
}

/* Guide Section */
.page-bnc__guide-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-bnc__step-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-bnc__step-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-bnc__step-button {
  width: 100%;
  margin-top: auto;
}

/* Promotions Section */
.page-bnc__promotions-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-bnc__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-bnc__promo-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-bnc__promo-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-bnc__promo-button {
  width: 100%;
  margin-top: auto;
}

/* Benefits Section */
.page-bnc__benefits-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-bnc__benefit-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
  text-align: left;
}

.page-bnc__benefit-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

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

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

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

.page-bnc__faq-item {
  margin-bottom: 20px;
  text-align: left;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 20px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
}

.page-bnc__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #F2C14E; /* Gold */
  padding: 10px 0;
}

.page-bnc__faq-item summary::-webkit-details-marker {
  display: none; /* Hide for Webkit browsers */
}

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

.page-bnc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #57E38D; /* Glow */
}

.page-bnc__faq-item[open] .page-bnc__faq-toggle {
  content: "−";
}

.page-bnc__faq-answer {
  padding-top: 15px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #2E7A4E; /* Border */
  margin-top: 15px;
}

/* Conclusion Section */
.page-bnc__conclusion-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

  .page-bnc__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-bnc__text-content {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-bnc__hero-content {
    padding-top: 20px;
  }

  .page-bnc__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust for smaller screens */
  }

  .page-bnc__hero-description {
    font-size: 1em;
  }

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

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9em;
    width: 100% !important; /* Force full width for buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-bnc__features-grid,
  .page-bnc__game-cards-grid,
  .page-bnc__guide-steps,
  .page-bnc__promo-grid,
  .page-bnc__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-bnc__card {
    padding: 20px;
  }

  /* Ensure all images are responsive */
  .page-bnc img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all sections/containers with images are responsive */
  .page-bnc__hero-section,
  .page-bnc__intro-section,
  .page-bnc__game-types-section,
  .page-bnc__guide-section,
  .page-bnc__promotions-section,
  .page-bnc__benefits-section,
  .page-bnc__faq-section,
  .page-bnc__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Specific padding for sections */
  .page-bnc__intro-section,
  .page-bnc__game-types-section,
  .page-bnc__guide-section,
  .page-bnc__promotions-section,
  .page-bnc__benefits-section,
  .page-bnc__faq-section,
  .page-bnc__conclusion-section {
    padding: 40px 0;
  }

  .page-bnc__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }

  /* Card and item specific padding for mobile */
  .page-bnc__feature-item,
  .page-bnc__game-card,
  .page-bnc__step-item,
  .page-bnc__promo-card,
  .page-bnc__benefit-item,
  .page-bnc__faq-item {
    padding-left: 15px;
    padding-right: 15px;
  }
}