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

.page-bnc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light backgrounds */
  background-color: var(--hay88-background); /* Override for page specific background */
}

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

.page-bnc__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-bnc__highlight {
  color: var(--hay88-gold);
  font-weight: bold;
}

.page-bnc__link {
  color: var(--hay88-green-secondary);
  text-decoration: underline;
}

.page-bnc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles --header-offset */
  text-align: center;
  overflow: hidden;
}

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

.page-bnc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-bnc__main-title {
  color: var(--hay88-text-main);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.page-bnc__hero-description {
  color: var(--hay88-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-bnc__cta-buttons.page-bnc__center-align {
  justify-content: center;
}

.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;
  text-align: center;
}

.page-bnc__btn-primary {
  background: var(--hay88-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-bnc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-bnc__btn-secondary {
  background: #ffffff;
  color: var(--hay88-green-main);
  border: 2px solid var(--hay88-green-main);
}

.page-bnc__btn-secondary:hover {
  background: var(--hay88-green-main);
  color: #ffffff;
}

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

.page-bnc__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #333333; /* Default for light backgrounds */
}

.page-bnc__dark-bg .page-bnc__section-title,
.page-bnc__text-main {
  color: var(--hay88-text-main);
}

.page-bnc__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-bnc__text-secondary {
  color: var(--hay88-text-secondary);
}

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

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

.page-bnc__card {
  background-color: var(--hay88-card-bg);
  border: 1px solid var(--hay88-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--hay88-text-main);
}

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

.page-bnc__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--hay88-text-main);
}

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

.page-bnc__game-item .page-bnc__card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.page-bnc__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: block;
}

.page-bnc__game-item .page-bnc__card-title {
  padding: 15px 20px 0;
  font-size: 1.3em;
  color: var(--hay88-text-main);
}

.page-bnc__game-description {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: var(--hay88-text-secondary);
}

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

.page-bnc__step-item .page-bnc__card {
  text-align: left;
}

.page-bnc__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--hay88-text-main);
}

.page-bnc__tips-list {
  list-style: disc inside;
  margin-left: 20px;
  font-size: 1.05em;
  color: var(--hay88-text-secondary);
}

.page-bnc__tips-list li {
  margin-bottom: 10px;
}

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

.page-bnc__promo-item .page-bnc__card {
  text-align: left;
}

.page-bnc__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--hay88-text-main);
}

.page-bnc__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-bnc__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-bnc__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-bnc__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

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

.page-bnc__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  color: #333333;
}

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

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

.page-bnc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-bnc__faq-item[open] .page-bnc__faq-toggle {
  transform: rotate(45deg);
}

.page-bnc__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

.page-bnc__final-cta-section {
  text-align: center;
  padding: 80px 20px;
}

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

@media (max-width: 768px) {
  .page-bnc {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-bnc__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-bnc__main-title {
    font-size: 2em;
  }

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

  .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: 1em;
  }

  .page-bnc__container {
    padding: 30px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-bnc__section-title {
    font-size: 1.8em;
  }

  .page-bnc__text-block {
    font-size: 1em;
  }

  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-bnc__card,
  .page-bnc__game-item,
  .page-bnc__step-item,
  .page-bnc__promo-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px;
  }

  .page-bnc__video-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }

  .page-bnc__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-bnc__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

@media (max-width: 480px) {
  .page-bnc__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }

  .page-bnc__main-title {
    font-size: 1.7em;
  }

  .page-bnc__section-title {
    font-size: 1.5em;
  }

  .page-bnc__container {
    padding: 20px 10px;
  }

  .page-bnc__advantage-grid,
  .page-bnc__game-list,
  .page-bnc__steps-grid,
  .page-bnc__promo-list {
    gap: 20px;
  }
}