/* style/bnc.css */

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

.page-bnc h1, .page-bnc h2, .page-bnc h3, .page-bnc h4, .page-bnc h5, .page-bnc h6 {
  color: #F2FFF6;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.page-bnc h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-bnc h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-bnc h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-bnc p {
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 1em;
}

.page-bnc a {
  color: #57E38D;
  text-decoration: none;
}

.page-bnc a:hover {
  text-decoration: underline;
}

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

/* Hero Section */
.page-bnc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px;
  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);
}

.page-bnc__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image, but not overlay text */
  background: linear-gradient(to top, rgba(8, 22, 15, 1), rgba(8, 22, 15, 0.8));
  border-radius: 10px;
  padding-top: 50px;
}

.page-bnc__main-title {
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-bnc__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

.page-bnc__btn-primary,
.page-bnc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  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: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-bnc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-bnc__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

/* Section Titles */
.page-bnc__section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  color: #F2FFF6;
}

.page-bnc__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #F2C14E; /* Gold divider */
  border-radius: 2px;
}

.page-bnc__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #A7D9B8;
  font-size: 1.1rem;
}

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

.page-bnc__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-bnc__text-block {
  flex: 1;
}

.page-bnc__image-block {
  flex: 1;
  min-width: 300px;
}

.page-bnc__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-bnc__why-choose-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG color for dark section */
}

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

.page-bnc__feature-card {
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-bnc__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-bnc__feature-icon {
  width: 100%; /* Ensure images are responsive */
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__feature-title {
  color: #F2C14E; /* Gold color for feature titles */
  margin-bottom: 10px;
}

.page-bnc__feature-description {
  color: #A7D9B8;
}

/* Popular Games Section */
.page-bnc__popular-games-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

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

.page-bnc__game-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-bnc__game-title {
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-bnc__game-description {
  color: #A7D9B8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.page-bnc__btn-text {
  color: #57E38D;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.page-bnc__btn-text:hover {
  text-decoration: underline;
}

/* Strategy Section */
.page-bnc__strategy-section {
  padding: 80px 0;
  background-color: #11271B;
}

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

.page-bnc__strategy-item {
  background-color: #0A4B2C;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #F2C14E; /* Gold accent */
}

.page-bnc__strategy-title {
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-bnc__strategy-description {
  color: #A7D9B8;
}

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

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

.page-bnc__step-card {
  background-color: #11271B;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-bnc__step-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 50%; /* Make icons round */
  border: 3px solid #57E38D;
  padding: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__step-title {
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-bnc__step-description {
  color: #A7D9B8;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

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

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

.page-bnc__faq-item {
  background-color: #0A4B2C;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2E7A4E;
}

.page-bnc__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6;
  background-color: #0A4B2C;
  transition: background-color 0.3s ease;
}

.page-bnc__faq-item summary:hover {
  background-color: #13994A;
}

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

.page-bnc__faq-qtext {
  flex-grow: 1;
  font-size: 1.1rem;
}

.page-bnc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E;
}

.page-bnc__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8;
  font-size: 1rem;
}

/* Conclusion Section */
.page-bnc__conclusion-section {
  padding: 80px 0;
  background-color: #08160F;
  text-align: center;
}

.page-bnc__conclusion-section .page-bnc__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

.page-bnc__conclusion-section .page-bnc__cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bnc__hero-content {
    margin-top: -100px;
  }
  .page-bnc__content-wrapper {
    flex-direction: column;
  }
  .page-bnc__image-block {
    order: -1; /* Image first on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-bnc h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-bnc h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-bnc h3 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }
  .page-bnc p {
    font-size: 1rem;
  }
  .page-bnc__hero-section {
    padding-bottom: 40px;
  }
  .page-bnc__hero-content {
    margin-top: -80px;
    padding-top: 30px;
  }
  .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: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-bnc__section-title {
    margin-bottom: 30px;
  }
  .page-bnc__section-description {
    margin-bottom: 30px;
  }
  .page-bnc__about-section,
  .page-bnc__why-choose-section,
  .page-bnc__popular-games-section,
  .page-bnc__strategy-section,
  .page-bnc__guide-section,
  .page-bnc__faq-section,
  .page-bnc__conclusion-section {
    padding: 50px 0;
  }

  /* Mobile image responsiveness */
  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-bnc__section,
  .page-bnc__card,
  .page-bnc__container,
  .page-bnc__content-wrapper,
  .page-bnc__features-grid,
  .page-bnc__game-list,
  .page-bnc__strategy-grid,
  .page-bnc__guide-steps,
  .page-bnc__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-bnc__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-bnc__hero-content {
    margin-top: -60px;
    padding-top: 20px;
  }
  .page-bnc__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-bnc__intro-text {
    font-size: 1rem;
  }
}

/* Ensure images within content areas are not too small */
.page-bnc__about-section .page-bnc__image,
.page-bnc__why-choose-section .page-bnc__feature-icon,
.page-bnc__popular-games-section .page-bnc__game-thumbnail,
.page-bnc__guide-section .page-bnc__step-icon {
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-bnc__hero-image {
  min-width: 200px;
  min-height: 200px;
}