/* style/bnc.css */

/* General styles */
.page-bnc {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background color */
  line-height: 1.6;
}

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

.page-bnc__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-bnc__main-title {
  font-size: clamp(32px, 5vw, 60px);
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  max-width: 900px; /* To prevent H1 from being too wide */
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__description {
  font-size: clamp(16px, 2vw, 20px);
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF1E8;
}

.page-bnc__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #FFF1E8;
}

.page-bnc__dark-bg {
  background-color: #140C0C;
  color: #FFF1E8;
}

.page-bnc__dark-section {
  background-color: #2A1212; /* Card B G for darker sections */
  color: #FFF1E8;
  padding: 60px 0;
  margin-bottom: 40px;
}

/* Hero Section */
.page-bnc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 0 60px 0; /* body already handles --header-offset, this is small top padding */
  overflow: hidden;
}

.page-bnc__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-bnc__hero-content {
  position: relative; /* Ensure content is above image but not overlapping it */
  z-index: 1;
  max-width: 1000px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* CTA Buttons */
.page-bnc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container takes full width for responsive wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-bnc__cta-buttons--small {
  margin-top: 15px;
  margin-bottom: 25px;
}

.page-bnc__btn-primary,
.page-bnc__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 180px; /* Minimum width for buttons */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  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-color: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
}

.page-bnc__btn-secondary:hover {
  background-color: #F3C54D;
  color: #140C0C; /* Background color */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-bnc__intro-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-bnc__feature-card {
  background-color: #140C0C; /* Background color for cards */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-bnc__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it doesn't have extra space below */
}

.page-bnc__card-title {
  font-size: 22px;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-bnc__card-text {
  font-size: 16px;
  color: #FFF1E8;
}

/* How to Play Section */
.page-bnc__how-to-play-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-bnc__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-bnc__step-item {
  background-color: #2A1212; /* Card B G */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-bnc__step-title {
  font-size: 24px;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-bnc__step-text {
  font-size: 17px;
  color: #FFF1E8;
}

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

.page-bnc__tip-card {
  background-color: #140C0C; /* Background color for cards */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

/* Promotions Section */
.page-bnc__promotions-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-bnc__promo-card {
  background-color: #2A1212; /* Card B G */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-bnc__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* FAQ Section */
.page-bnc__faq-section {
  padding: 60px 0;
}

.page-bnc__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__faq-item {
  background-color: #140C0C; /* Background color */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-bnc__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  background-color: #2A1212; /* Card B G */
  transition: background-color 0.3s ease;
}

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

.page-bnc__faq-item summary:hover {
  background-color: #7E0D0D; /* Deep Red */
}

.page-bnc__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-bnc__faq-toggle {
  font-size: 24px;
  line-height: 1;
}

.page-bnc__faq-item[open] .page-bnc__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-bnc__faq-answer {
  padding: 20px 25px 25px 25px;
  font-size: 16px;
  color: #FFF1E8;
  background-color: #140C0C; /* Background color */
}

/* Bottom CTA Section */
.page-bnc__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
  background-color: #2A1212; /* Card B G */
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-bnc__hero-content {
    max-width: 800px;
  }
}

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

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

  .page-bnc__main-title {
    font-size: 40px;
  }

  .page-bnc__description {
    font-size: 18px;
  }

  .page-bnc__hero-section {
    padding-bottom: 40px;
  }

  .page-bnc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to prevent buttons touching edges */
  }

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    min-width: unset;
  }

  .page-bnc__features-grid,
  .page-bnc__tips-grid,
  .page-bnc__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-bnc__feature-card,
  .page-bnc__tip-card,
  .page-bnc__promo-card,
  .page-bnc__step-item {
    padding: 20px;
  }

  .page-bnc__feature-image,
  .page-bnc__promo-image {
    height: 180px;
  }

  .page-bnc__card-title {
    font-size: 20px;
  }

  .page-bnc__step-title {
    font-size: 22px;
  }

  .page-bnc__text-block,
  .page-bnc__card-text,
  .page-bnc__step-text,
  .page-bnc__faq-answer {
    font-size: 16px;
  }

  .page-bnc__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-bnc__faq-answer {
    padding: 15px 20px 20px 20px;
  }

  /* Force responsive images and video */
  .page-bnc img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-bnc video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-bnc__section,
  .page-bnc__card,
  .page-bnc__container,
  .page-bnc__hero-image-wrapper,
  .page-bnc__cta-buttons,
  .page-bnc__promo-cards-grid,
  .page-bnc__features-grid,
  .page-bnc__tips-grid,
  .page-bnc__faq-list,
  .page-bnc__video-section,
  .page-bnc__video-container,
  .page-bnc__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px; /* Ensure content has side padding */
    padding-right: 15px; /* Ensure content has side padding */
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-bnc__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset, this is small top padding */
  }
}

@media (max-width: 480px) {
  .page-bnc__main-title {
    font-size: 32px;
  }
  .page-bnc__section-title {
    font-size: 28px;
  }
  .page-bnc__description {
    font-size: 16px;
  }
  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    font-size: 15px;
    padding: 10px 15px;
  }
}