/* style/bnc.css */
/* Custom CSS variables for color contrast */
:root {
  --main-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;

  /* RGB values for transparency calculations if needed */
  --main-color-rgb: 17, 168, 78;
}

/* Base styles for the page-bnc content */
.page-bnc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background, #08160F); /* Ensure consistency with body background */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Ensure all images are responsive by default */
.page-bnc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Section styling */
.page-bnc__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-bnc__dark-section {
  background-color: var(--deep-green, #0A4B2C); /* Using Deep Green for dark sections */
  color: var(--text-main, #F2FFF6);
}

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

.page-bnc__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
  font-weight: bold;
}

.page-bnc__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-bnc__text-link {
  color: var(--main-color, #11A84E);
  text-decoration: none;
  font-weight: bold;
}
.page-bnc__text-link:hover {
  text-decoration: underline;
  color: var(--gold, #F2C14E);
}

/* Hero Section */
.page-bnc__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Stack image then content */
  align-items: center;
  justify-content: center;
  padding-top: 0; /* Handled by body padding-top */
  min-height: 70vh; /* Ensure hero section has a decent height */
  background-color: var(--background, #08160F); /* Fallback background */
}

.page-bnc__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-bnc__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-bnc__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  line-height: 1.2;
}

.page-bnc__subtitle {
  font-size: clamp(1.1em, 2vw, 1.4em);
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
  max-width: 700px;
}

.page-bnc__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%; /* Ensure button group is responsive */
}

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

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-bnc__btn-secondary {
  background: transparent;
  color: var(--main-color, #11A84E);
  border: 2px solid var(--main-color, #11A84E);
}

.page-bnc__btn-secondary:hover {
  background: var(--main-color, #11A84E);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-bnc__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Image wrapper for general content images */
.page-bnc__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.page-bnc__image-wrapper .page-bnc__image {
  border-radius: 10px;
  object-fit: cover;
}


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

.page-bnc__benefit-card {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--border, #2E7A4E);
}

.page-bnc__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-bnc__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 0; /* Icons typically not rounded */
}

.page-bnc__card-title {
  font-size: 1.5em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-bnc__card-text {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* Game Types Section */
.page-bnc__game-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-bnc__game-item {
  background-color: var(--card-bg, #11271B);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
}

.page-bnc__game-name {
  font-size: 1.4em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-bnc__game-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.9em;
  margin-bottom: 15px;
}

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

/* Guide Section */
.page-bnc__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-bnc__guide-item {
  background-color: var(--card-bg, #11271B);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
}

.page-bnc__guide-step-title {
  font-size: 1.3em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-bnc__guide-step-text {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* Strategy Section */
.page-bnc__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-bnc__strategy-item {
  background-color: var(--card-bg, #11271B);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
}

.page-bnc__strategy-title {
  font-size: 1.3em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-bnc__strategy-text {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* Promotions Section */
.page-bnc__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-bnc__promo-item {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
}

.page-bnc__promo-title {
  font-size: 1.4em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-bnc__promo-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* Safety & Support Section */
.page-bnc__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-bnc__safety-item {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
}

.page-bnc__safety-title {
  font-size: 1.4em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-bnc__safety-text {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* FAQ Section */
.page-bnc__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-bnc__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--card-bg, #11271B);
  transition: background-color 0.3s ease;
}

.page-bnc__faq-question:hover {
  background-color: rgba(var(--main-color-rgb, 17, 168, 78), 0.1); /* Slight hover effect */
}

.page-bnc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--main-color, #11A84E);
  margin-left: 15px;
}

.page-bnc__faq-answer {
  padding: 0 25px 18px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
}

.page-bnc__faq-item[open] .page-bnc__faq-question {
  background-color: rgba(var(--main-color-rgb, 17, 168, 78), 0.15);
}

/* Hide default details marker */
.page-bnc__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-bnc__faq-item summary {
  list-style: none;
}


/* Final CTA Section */
.page-bnc__final-cta-section {
  padding: 80px 0;
  background-color: var(--deep-green, #0A4B2C);
}

.page-bnc__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-bnc__hero-content {
    padding: 30px 15px;
  }
  .page-bnc__section-title {
    font-size: 2em;
  }
  .page-bnc__benefits-grid,
  .page-bnc__game-list,
  .page-bnc__promo-list,
  .page-bnc__safety-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-bnc__section {
    padding: 40px 0;
  }
  .page-bnc__section-title {
    font-size: 1.8em;
  }
  .page-bnc__text-block {
    font-size: 1em;
  }
  .page-bnc__hero-section {
    min-height: 60vh;
  }
  .page-bnc__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }
  .page-bnc__subtitle {
    font-size: clamp(1em, 3vw, 1.2em);
  }
  .page-bnc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to buttons container */
  }
  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    width: 100%; /* Ensure buttons take full width */
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Image responsive rules */
  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-bnc__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px; /* Add padding to image container */
    margin-left: auto;
    margin-right: auto;
  }
  .page-bnc__image {
    border-radius: 8px !important; /* Ensure border-radius is applied */
  }

  .page-bnc__container {
    padding: 0 15px;
  }
  .page-bnc__video-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-bnc__benefit-card,
  .page-bnc__game-item,
  .page-bnc__guide-item,
  .page-bnc__strategy-item,
  .page-bnc__promo-item,
  .page-bnc__safety-item {
    padding: 20px;
  }
  .page-bnc__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-bnc__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-bnc__section-title {
    font-size: 1.5em;
  }
  .page-bnc__main-title {
    font-size: clamp(1.8em, 9vw, 2.2em);
  }
  .page-bnc__subtitle {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }
  .page-bnc__benefits-grid,
  .page-bnc__game-list,
  .page-bnc__promo-list,
  .page-bnc__safety-list {
    grid-template-columns: 1fr;
  }
}

/* Ensure text on dark backgrounds is light */
.page-bnc,
.page-bnc__card,
.page-bnc__benefit-card,
.page-bnc__game-item,
.page-bnc__guide-item,
.page-bnc__strategy-item,
.page-bnc__promo-item,
.page-bnc__safety-item,
.page-bnc__faq-item {
  color: var(--text-main, #F2FFF6);
}

.page-bnc p,
.page-bnc li,
.page-bnc__card-text,
.page-bnc__game-description,
.page-bnc__guide-step-text,
.page-bnc__strategy-text,
.page-bnc__promo-description,
.page-bnc__safety-text,
.page-bnc__faq-answer {
  color: var(--text-secondary, #A7D9B8);
}

.page-bnc__section-title,
.page-bnc__card-title,
.page-bnc__game-name,
.page-bnc__guide-step-title,
.page-bnc__strategy-title,
.page-bnc__promo-title,
.page-bnc__safety-title,
.page-bnc__faq-question .page-bnc__faq-qtext {
  color: var(--text-main, #F2FFF6);
}