.page-bnc {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: #f5f5f5; /* Fallback for body if shared.css doesn't define --background-color clearly */
}

.page-bnc__dark-section {
  background: #B71C1C; /* Custom background color */
  color: #FFF5E1; /* Custom text color for dark backgrounds */
}

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

.page-bnc__text-main {
  color: #FFF5E1; /* Custom text color */
}

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

.page-bnc__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-bnc__hero-image-wrapper {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

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

.page-bnc__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: -200px auto 0 auto; /* Pull content up slightly over the image, but not covering it */
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF5E1;
}

.page-bnc__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFCC66; /* Glow color for main title */
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.7);
}

.page-bnc__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-bnc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-bnc__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-bnc__btn-secondary {
  background: transparent;
  color: #FFF5E1; /* Custom text color */
  border: 2px solid #F4D34D; /* Gold border */
}

.page-bnc__btn-secondary:hover {
  background: rgba(244, 211, 77, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-bnc__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #C91F17; /* Main color for section titles */
}

.page-bnc__dark-section .page-bnc__section-title {
  color: #FFF5E1; /* Text Main for titles in dark sections */
}

.page-bnc__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-bnc__guide-section {
  padding: 60px 0;
}

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

.page-bnc__guide-item {
  text-align: center;
  background: #D32F2F; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
}

.page-bnc__guide-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce min size */
}

.page-bnc__guide-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F4D34D; /* Gold color */
}

.page-bnc__guide-text {
  font-size: 1rem;
}

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

.page-bnc__games-section {
  padding: 60px 0;
}

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

.page-bnc__game-card {
  background: #D32F2F; /* Card BG color */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF5E1;
}

.page-bnc__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-bnc__game-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFCC66; /* Glow color */
}

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

.page-bnc__btn-link {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-bnc__promotions-section {
  padding: 60px 0;
}

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

.page-bnc__promo-card {
  background: #D32F2F; /* Card BG color */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF5E1;
}

.page-bnc__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-bnc__promo-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFCC66;
}

.page-bnc__promo-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.page-bnc__why-choose-section {
  padding: 60px 0;
}

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

.page-bnc__feature-item {
  background: #D32F2F; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF5E1;
}

.page-bnc__feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F4D34D;
}

.page-bnc__feature-description {
  font-size: 1rem;
}

.page-bnc__faq-section {
  padding: 60px 0;
}

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

.page-bnc__faq-item {
  background: #D32F2F; /* Card BG color */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-bnc__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFF5E1;
}

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

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-bnc__faq-qtext {
  flex-grow: 1;
  text-align: left;
  color: #FFCC66;
}

.page-bnc__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #F4D34D;
}

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

.page-bnc__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #FFF5E1;
  text-align: justify;
}

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

.page-bnc__copyright {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #777;
  background-color: #eee;
}

/* All images base responsive styles */
.page-bnc img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-bnc__hero-content {
    margin-top: -150px;
    padding: 30px;
  }

  .page-bnc__main-title {
    font-size: 2.8rem;
  }

  .page-bnc__section-title {
    font-size: 2.2rem;
  }

  .page-bnc__guide-steps,
  .page-bnc__games-grid,
  .page-bnc__promo-cards,
  .page-bnc__features-grid {
    grid-template-columns: 1fr;
  }

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

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    width: 100%;
  }

  .page-bnc__game-image,
  .page-bnc__promo-image,
  .page-bnc__guide-image {
    height: auto; /* Allow height to adjust naturally */
  }
}

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

  /* HERO 主图区域 */
  .page-bnc__hero-section {
    padding-top: 10px !important; /* Fixed small top padding */
    padding-bottom: 20px;
  }

  .page-bnc__hero-image-wrapper {
    height: 300px; /* Adjust hero image height for mobile */
  }

  .page-bnc__hero-content {
    margin-top: -100px; /* Adjust pull-up for mobile */
    padding: 20px;
    max-width: calc(100% - 30px); /* Account for padding on container */
  }

  .page-bnc__main-title {
    font-size: 2rem !important;
  }

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

  /* 产品展示图区域 */
  .page-bnc__games-grid {
    grid-template-columns: 1fr !important; /* Single column for games */
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-bnc__game-card {
    padding: 15px;
  }

  .page-bnc__game-image {
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* 通用图片与容器 */
  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-bnc__container,
  .page-bnc__section,
  .page-bnc__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-bnc__cta-button,
  .page-bnc__btn-primary,
  .page-bnc__btn-secondary,
  .page-bnc a[class*="button"],
  .page-bnc a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-bnc__cta-buttons,
  .page-bnc__button-group,
  .page-bnc__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }

  /* 其他内容模块 */
  .page-bnc__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 20px;
  }

  .page-bnc__text-block {
    font-size: 0.95rem;
  }

  .page-bnc__guide-item,
  .page-bnc__promo-card,
  .page-bnc__feature-item,
  .page-bnc__faq-item {
    padding: 20px;
  }

  .page-bnc__guide-title,
  .page-bnc__game-title,
  .page-bnc__promo-title,
  .page-bnc__feature-title {
    font-size: 1.4rem;
  }

  .page-bnc__faq-item summary {
    font-size: 1rem;
  }

  .page-bnc__faq-toggle {
    font-size: 1.5rem;
  }
}