.page-bnc {
  background-color: var(--background-color, #08160F); /* Fallback to deep green if variable not set */
  color: var(--text-main-color, #F2FFF6); /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-bnc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  text-align: center;
  overflow: hidden;
}

.page-bnc__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 0;
}

.page-bnc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-bnc__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  color: #F2FFF6; /* Ensure text is visible over darkened image */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-bnc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2FFF6;
}

.page-bnc__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-bnc__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-bnc__btn-primary,
.page-bnc__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons adapt to screen width */
}

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

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

.page-bnc__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-bnc__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

.page-bnc__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6; /* Default for dark sections */
}

.page-bnc__dark-section .page-bnc__section-title {
  color: #F2FFF6;
}

.page-bnc__light-bg .page-bnc__section-title {
  color: #11A84E; /* Darker text for light background */
}

.page-bnc__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Secondary text color for general content */
  text-align: justify;
}

.page-bnc__light-bg .page-bnc__text-block {
  color: #333333; /* Darker text for light background */
}

.page-bnc__highlight {
  color: #57E38D;
  font-weight: bold;
}

.page-bnc__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-bnc__overview-section,
.page-bnc__popular-games-section,
.page-bnc__promotions-section,
.page-bnc__faq-section {
  background-color: #08160F;
  padding: 80px 0;
}

.page-bnc__benefits-section,
.page-bnc__login-guide-section,
.page-bnc__tips-section,
.page-bnc__cta-bottom-section {
  background-color: #F2FFF6;
  padding: 80px 0;
  color: #333333; /* Default text color for light sections */
}

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

.page-bnc__benefits-item,
.page-bnc__guide-item,
.page-bnc__tips-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-bnc__light-bg .page-bnc__benefits-item,
.page-bnc__light-bg .page-bnc__guide-item,
.page-bnc__light-bg .page-bnc__tips-item {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-bnc__item-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #57E38D; /* Glow color for titles */
}

.page-bnc__light-bg .page-bnc__item-title {
  color: #11A84E; /* Deep green for light background titles */
}

.page-bnc__item-description {
  font-size: 1rem;
  line-height: 1.5;
  color: #A7D9B8;
}

.page-bnc__light-bg .page-bnc__item-description {
  color: #555555;
}

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

.page-bnc__game-card,
.page-bnc__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #F2FFF6;
}

.page-bnc__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card images */
  object-fit: cover;
  display: block;
}

.page-bnc__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: #57E38D;
}

.page-bnc__card-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
  color: #A7D9B8;
}

.page-bnc__card-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-bnc__card-button:hover {
  opacity: 0.9;
}

.page-bnc__text-link {
  color: #57E38D;
  text-decoration: underline;
}

.page-bnc__text-link:hover {
  color: #2AD16F;
}

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

.page-bnc__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6;
  background-color: #1E3A2A; /* Divider color for question background */
  border-bottom: 1px solid #2E7A4E; /* Border color */
}

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

.page-bnc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D;
  transition: transform 0.3s ease;
}

.page-bnc__faq-item[open] .page-bnc__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-bnc__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.5;
  color: #A7D9B8;
  background-color: #11271B;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-bnc__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-bnc__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }

  .page-bnc__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

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

@media (max-width: 768px) {
  .page-bnc__hero-section {
    padding-top: 10px !important;
    min-height: 400px;
  }

  .page-bnc__hero-content {
    padding: 15px;
  }

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

  .page-bnc__hero-description {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

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

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-bnc__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

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

  .page-bnc__overview-section,
  .page-bnc__benefits-section,
  .page-bnc__popular-games-section,
  .page-bnc__login-guide-section,
  .page-bnc__promotions-section,
  .page-bnc__tips-section,
  .page-bnc__faq-section,
  .page-bnc__cta-bottom-section {
    padding: 40px 0;
  }

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

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

  .page-bnc__hero-image-wrapper,
  .page-bnc__game-cards,
  .page-bnc__promotion-cards,
  .page-bnc__faq-list {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-bnc__benefits-list,
  .page-bnc__guide-list,
  .page-bnc__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-bnc__benefits-item,
  .page-bnc__guide-item,
  .page-bnc__tips-item,
  .page-bnc__game-card,
  .page-bnc__promo-card {
    padding: 20px;
  }

  .page-bnc__card-title {
    margin: 15px 0 10px 0;
  }

  .page-bnc__card-description {
    margin: 0 0 15px 0;
  }

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

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