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

.page-bnc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-bnc-text-main); /* Default text color for the page */
  background-color: var(--page-bnc-background); /* Default background for the page */
}

.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: var(--page-bnc-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-bnc__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: var(--page-bnc-gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 900px;
}

.page-bnc__hero-description {
  font-size: 1.2em;
  color: var(--page-bnc-text-secondary);
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-bnc__dark-section {
  background-color: var(--page-bnc-card-bg);
  color: var(--page-bnc-text-main);
}

/* Hero Section */
.page-bnc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: 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: 600px; /* Adjust as needed */
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

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

.page-bnc__hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.page-bnc__btn-primary {
  background: var(--page-bnc-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-bnc__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-bnc__btn-secondary {
  background: transparent;
  color: var(--page-bnc-primary-color);
  border: 2px solid var(--page-bnc-primary-color);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.2);
}

.page-bnc__btn-secondary:hover {
  background-color: rgba(34, 199, 104, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.4);
}

/* Introduction Section */
.page-bnc__introduction-section {
  padding: 60px 0;
  background-color: var(--page-bnc-background);
}

/* Game Types Section */
.page-bnc__game-types-section {
  padding: 60px 0;
}

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

.page-bnc__game-card {
  background-color: var(--page-bnc-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-bnc-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bnc__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-bnc__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-bnc__card-description {
  color: var(--page-bnc-text-secondary);
  margin-bottom: 20px;
}

/* How to Play Section */
.page-bnc__how-to-play-section {
  padding: 60px 0;
  background-color: var(--page-bnc-background);
}

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

.page-bnc__step-item {
  background-color: var(--page-bnc-card-bg);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--page-bnc-border-color);
}

.page-bnc__step-item h3 {
  color: var(--page-bnc-primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-bnc__step-item p {
  color: var(--page-bnc-text-secondary);
}

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

/* Advantages Section */
.page-bnc__advantages-section {
  padding: 60px 0;
}

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

.page-bnc__advantage-item {
  background-color: var(--page-bnc-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-bnc-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bnc__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-bnc__card-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

/* Promotions Section */
.page-bnc__promotions-section {
  padding: 60px 0;
  background-color: var(--page-bnc-background);
}

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

.page-bnc__promo-item {
  background-color: var(--page-bnc-card-bg);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--page-bnc-border-color);
}

.page-bnc__promo-item h3 {
  color: var(--page-bnc-gold-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-bnc__promo-item p {
  color: var(--page-bnc-text-secondary);
}

/* App Download Section */
.page-bnc__app-download-section {
  padding: 60px 0;
}

.page-bnc__app-flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-bnc__app-content,
.page-bnc__app-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-bnc__app-features {
  list-style: disc;
  padding-left: 20px;
  color: var(--page-bnc-text-secondary);
  margin-bottom: 30px;
}

.page-bnc__app-features li {
  margin-bottom: 10px;
}

.page-bnc__app-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* FAQ Section */
.page-bnc__faq-section {
  padding: 60px 0;
  background-color: var(--page-bnc-background);
}

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

.page-bnc__faq-item {
  background-color: var(--page-bnc-card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--page-bnc-border-color);
  overflow: hidden;
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-bnc-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-bnc__faq-question:hover {
  background-color: var(--page-bnc-deep-green);
}

.page-bnc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-bnc-primary-color);
}

.page-bnc__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--page-bnc-text-secondary);
  font-size: 1.05em;
}

/* Conclusion Section */
.page-bnc__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-bnc__section-title {
    font-size: 2em;
  }

  .page-bnc__hero-image-wrapper {
    max-height: 450px;
  }

  .page-bnc__app-flex-container {
    flex-direction: column;
    text-align: center;
  }

  .page-bnc__app-content {
    order: 2;
  }

  .page-bnc__app-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-bnc__app-features {
    text-align: left;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 768px) {
  .page-bnc__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

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

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

  .page-bnc__hero-image-wrapper,
  .page-bnc__app-image-wrapper {
    max-height: 300px;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-bnc__hero-image,
  .page-bnc__card-image,
  .page-bnc__card-icon,
  .page-bnc__app-image,
  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure images scale */
    height: auto !important;
    display: block !important;
  }

  .page-bnc__container,
  .page-bnc__game-card,
  .page-bnc__step-item,
  .page-bnc__advantage-item,
  .page-bnc__promo-item,
  .page-bnc__faq-item,
  .page-bnc__app-content,
  .page-bnc__app-flex-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .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;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-bnc__game-grid,
  .page-bnc__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-bnc__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-bnc__faq-answer {
    font-size: 1em;
    padding: 0 20px 15px 20px;
  }

  .page-bnc__app-features {
    padding-left: 0;
    list-style: none;
  }

  .page-bnc__app-features li {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-bnc__section-title {
    font-size: 1.5em;
  }

  .page-bnc__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-bnc__hero-section,
  .page-bnc__introduction-section,
  .page-bnc__game-types-section,
  .page-bnc__how-to-play-section,
  .page-bnc__advantages-section,
  .page-bnc__promotions-section,
  .page-bnc__app-download-section,
  .page-bnc__faq-section,
  .page-bnc__conclusion-section {
    padding: 30px 15px;
  }
}