:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --light-bg: #1a1a1a;
}

.page-bnc {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default light text for dark body background */
  background-color: var(--background-color);
  line-height: 1.6;
  font-size: 16px;
}

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

.page-bnc__section-title {
  font-size: 36px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-bnc__text-main {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__text-content {
  color: var(--text-main-color);
  margin-bottom: 15px;
}

/* Hero Section */
.page-bnc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-color);
}

.page-bnc__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure width is 100% for flex item */
}

.page-bnc__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-bnc__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.4); /* Glow effect */
}

.page-bnc__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-bnc__hero-title {
  color: var(--secondary-color);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__hero-description {
  color: var(--text-main-color);
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-bnc__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff; /* White text for button for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Button responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-bnc__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.6);
}

.page-bnc__cta-button--secondary {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.page-bnc__cta-button--secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

/* General Section Styles */
.page-bnc__dark-section {
  background-color: var(--background-color);
  padding: 80px 20px;
}

.page-bnc__light-section {
  background-color: var(--light-bg); /* Slightly lighter dark background for contrast */
  padding: 80px 20px;
}

/* Introduction Section */
.page-bnc__introduction-section {
  padding: 80px 20px;
}

.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-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bnc__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-bnc__feature-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-bnc__feature-description {
  color: var(--text-main-color);
  font-size: 15px;
}

.page-bnc__button-group {
  margin-top: 50px;
  text-align: center;
}

/* Quick Links Section */
.page-bnc__quick-links-section {
  padding: 80px 20px;
}

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

.page-bnc__link-card {
  display: block;
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bnc__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-bnc__link-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-bnc__link-description {
  font-size: 14px;
  color: var(--text-main-color);
}

/* Game Intro Section */
.page-bnc__game-intro-section {
  padding: 80px 20px;
}

.page-bnc__game-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-bnc__game-image {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
  width: 100%; /* ensure image takes full available width */
  height: auto;
  max-width: 100%;
}

.page-bnc__game-details {
  flex: 2;
  min-width: 300px;
}

.page-bnc__game-subtitle {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-bnc__game-list li {
  background-color: var(--card-bg);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  display: flex;
  align-items: center;
}

.page-bnc__game-list li::before {
  content: '🐟';
  margin-right: 10px;
  color: var(--secondary-color);
}

.page-bnc__list-link {
  color: var(--text-main-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.page-bnc__list-link:hover {
  color: var(--primary-color);
}

/* Promotions Section */
.page-bnc__promotions-section {
  padding: 80px 20px;
}

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

.page-bnc__promo-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-bnc__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-bnc__promo-image {
  width: 100%;
  height: 225px; /* Fixed height for promo images, min 200px */
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-bnc__promo-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-bnc__promo-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-bnc__promo-description {
  font-size: 14px;
  color: var(--text-main-color);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-bnc__cta-button--small {
  padding: 10px 20px;
  font-size: 15px;
  align-self: flex-start;
}

/* Security & Support Section */
.page-bnc__security-support-section {
  padding: 80px 20px;
}

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

.page-bnc__info-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bnc__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-bnc__info-icon {
  width: 200px;
  height: 150px; /* Min size 200x200, so width/height should be larger or equal to 200px. Adjusted to 200x150 to fit the 400x300 image ratio */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.page-bnc__info-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-bnc__info-description {
  color: var(--text-main-color);
  font-size: 15px;
}

/* FAQ Section */
.page-bnc__faq-section {
  padding: 80px 20px;
}

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

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

details.page-bnc__faq-item summary.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--primary-color);
  font-weight: bold;
}

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

details.page-bnc__faq-item summary.page-bnc__faq-question:hover {
  background: rgba(255, 211, 107, 0.1);
}

.page-bnc__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-bnc__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-bnc__faq-item .page-bnc__faq-answer {
  padding: 0 20px 20px;
  background: rgba(17, 17, 17, 0.8); /* Slightly transparent card bg for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color);
}

details.page-bnc__faq-item .page-bnc__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

/* Latest News Section */
.page-bnc__latest-news-section {
  padding: 80px 20px;
}

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

.page-bnc__news-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-bnc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-bnc__news-image {
  width: 100%;
  height: 225px; /* Fixed height for news images, min 200px */
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-bnc__news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-bnc__news-title {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-bnc__news-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-bnc__news-title a:hover {
  color: var(--secondary-color);
}

.page-bnc__news-date {
  font-size: 14px;
  color: var(--text-main-color);
  opacity: 0.7;
  margin-bottom: 10px;
}

.page-bnc__news-excerpt {
  font-size: 15px;
  color: var(--text-main-color);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-bnc__read-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-bnc__read-more:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bnc__section-title {
    font-size: 32px;
  }
  .page-bnc__hero-title {
    font-size: 38px;
  }
  .page-bnc__hero-description {
    font-size: 17px;
  }
  .page-bnc__cta-button {
    padding: 14px 35px;
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-bnc__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-bnc__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-bnc__hero-title {
    font-size: 32px;
  }
  .page-bnc__hero-description {
    font-size: 16px;
  }
  .page-bnc__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-bnc__cta-button,
  .page-bnc__cta-button--primary,
  .page-bnc__cta-button--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__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-bnc__dark-section,
  .page-bnc__light-section,
  .page-bnc__introduction-section,
  .page-bnc__quick-links-section,
  .page-bnc__game-intro-section,
  .page-bnc__promotions-section,
  .page-bnc__security-support-section,
  .page-bnc__faq-section,
  .page-bnc__latest-news-section {
    padding: 40px 15px;
  }

  .page-bnc__game-showcase {
    flex-direction: column;
    gap: 30px;
  }

  .page-bnc__game-image {
    min-width: unset;
  }

  .page-bnc__promo-image {
    height: 180px;
  }

  .page-bnc__news-image {
    height: 180px;
  }

  .page-bnc__info-icon {
    width: 150px; /* Adjusted to be at least 200px wide, 150px height is okay if original image is 400x300 */
    height: 112px;
  }
  
  /* Image responsiveness for all img tags */
  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-bnc__section,
  .page-bnc__card,
  .page-bnc__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-bnc__faq-item summary.page-bnc__faq-question { padding: 15px; }
  .page-bnc__faq-qtext { font-size: 15px; }
  .page-bnc__faq-toggle { font-size: 20px; width: 24px; height: 24px; }
  details.page-bnc__faq-item .page-bnc__faq-answer { padding: 0 15px 15px; }
}