/* style/bnc.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-bnc {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
}

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

.page-bnc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-bnc__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-bnc__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-bnc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 40, 27, 0.7); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-bnc__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
}

.page-bnc__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

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

.page-bnc__btn-primary,
.page-bnc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-bnc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-bnc__btn-secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-bnc__btn-secondary:hover {
  background: #2E7A4E; /* Border color */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-bnc__intro-section,
.page-bnc__features-section,
.page-bnc__game-types-section,
.page-bnc__promotions-section,
.page-bnc__guide-section,
.page-bnc__faq-section,
.page-bnc__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-bnc__intro-section:last-of-type,
.page-bnc__cta-section:last-of-type {
  border-bottom: none;
}

.page-bnc__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-bnc__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

.page-bnc__text-block a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

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

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

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

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

.page-bnc__feature-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-bnc__feature-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-bnc__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

.page-bnc__game-list,
.page-bnc__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-bnc__game-item,
.page-bnc__guide-item {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-bnc__game-item-title,
.page-bnc__guide-item-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-bnc__game-item-description,
.page-bnc__guide-item-description {
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-bnc__promotion-card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-bnc__promotion-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-bnc__promotion-description {
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-bnc__faq-item {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

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

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

.page-bnc__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border color with transparency */
}

.page-bnc__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6;
}

.page-bnc__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-bnc__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

.page-bnc__faq-answer p {
  margin: 0;
}

.page-bnc__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-bnc__hero-content {
    padding: 30px 15px;
  }

  .page-bnc__main-title {
    font-size: clamp(26px, 3.8vw, 44px);
  }

  .page-bnc__section-title {
    font-size: clamp(22px, 3.2vw, 36px);
  }

  .page-bnc__features-grid,
  .page-bnc__promotions-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-bnc__hero-section {
    padding-bottom: 40px;
  }

  .page-bnc__hero-content {
    width: calc(100% - 30px);
    margin: 0 15px;
  }

  .page-bnc__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-bnc__description {
    font-size: 1em;
  }

  .page-bnc__section-title {
    font-size: clamp(20px, 5vw, 32px);
    margin-bottom: 30px;
  }

  .page-bnc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-bnc__intro-section,
  .page-bnc__features-section,
  .page-bnc__game-types-section,
  .page-bnc__promotions-section,
  .page-bnc__guide-section,
  .page-bnc__faq-section,
  .page-bnc__cta-section {
    padding: 40px 0;
  }

  .page-bnc__container {
    padding: 0 15px;
  }

  .page-bnc__features-grid,
  .page-bnc__promotions-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Mobile image/video/button rules */
  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-bnc__section,
  .page-bnc__card,
  .page-bnc__container,
  .page-bnc__hero-image-wrapper,
  .page-bnc__hero-content,
  .page-bnc__feature-card,
  .page-bnc__promotion-card,
  .page-bnc__game-item,
  .page-bnc__guide-item,
  .page-bnc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-bnc__hero-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

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

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

@media (max-width: 480px) {
  .page-bnc__main-title {
    font-size: clamp(22px, 7vw, 30px);
  }

  .page-bnc__section-title {
    font-size: clamp(18px, 6vw, 28px);
  }

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    font-size: 0.9em;
  }
}