/* style/bnc.css */

/* Custom Colors */
:root {
  --bnc-bg-primary: #08160F;
  --bnc-card-bg: #11271B;
  --bnc-text-main: #F2FFF6;
  --bnc-text-secondary: #A7D9B8;
  --bnc-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --bnc-border-color: #2E7A4E;
  --bnc-glow-color: #57E38D;
  --bnc-gold-color: #F2C14E;
  --bnc-divider-color: #1E3A2A;
  --bnc-deep-green: #0A4B2C;
}

/* General Page Styles */
.page-bnc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--bnc-text-main); /* Default text color for dark background */
  background-color: var(--bnc-bg-primary); /* Default background */
}

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

.page-bnc__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--bnc-text-main);
  line-height: 1.2;
}

.page-bnc__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: var(--bnc-text-secondary);
}

.page-bnc__text-main {
  color: var(--bnc-text-main);
}

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

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

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

/* Buttons */
.page-bnc__btn-primary,
.page-bnc__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-bnc__btn-primary {
  background: var(--bnc-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-bnc__btn-secondary {
  background: transparent;
  color: var(--bnc-glow-color);
  border: 2px solid var(--bnc-glow-color);
}

.page-bnc__btn-secondary:hover {
  background: var(--bnc-glow-color);
  color: var(--bnc-bg-primary);
}

.page-bnc__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
}

/* Card Styles */
.page-bnc__card {
  background-color: var(--bnc-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--bnc-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bnc__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px var(--bnc-glow-color);
}

.page-bnc__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
  color: var(--bnc-text-main);
}

.page-bnc__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-bnc__card-title a:hover {
  color: var(--bnc-glow-color);
}

/* Hero Section */
.page-bnc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-bnc__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
  display: block;
}

.page-bnc__hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.page-bnc__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  color: var(--bnc-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-bnc__description {
  font-size: 1.2em;
  color: var(--bnc-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Introduction Section */
.page-bnc__introduction-section {
  padding: 80px 0;
  text-align: center;
}

/* Why Choose Section */
.page-bnc__why-choose-section {
  padding: 80px 0;
}

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

.page-bnc__feature-card {
  text-align: center;
  padding: 30px;
}

.page-bnc__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* Games Showcase Section */
.page-bnc__games-showcase {
  padding: 80px 0;
  text-align: center;
}

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

.page-bnc__game-card {
  text-align: center;
  padding: 25px;
}

.page-bnc__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

/* Guide Section */
.page-bnc__guide-section {
  padding: 80px 0;
}

.page-bnc__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 30px;
  font-size: 1.1em;
  color: var(--bnc-text-secondary);
}

.page-bnc__guide-list li {
  margin-bottom: 15px;
}

.page-bnc__guide-list strong {
  color: var(--bnc-text-main);
}

/* Tips Section */
.page-bnc__tips-section {
  padding: 80px 0;
  text-align: center;
}

.page-bnc__tips-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 30px;
  text-align: left;
  font-size: 1.1em;
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-bnc__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  font-size: 1.1em;
}

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

.page-bnc__promotion-list li::before {
  content: '✨';
  font-size: 1.5em;
  line-height: 1;
}

/* Download App Section */
.page-bnc__download-app-section {
  padding: 80px 0;
  text-align: center;
}

.page-bnc__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-bnc__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.page-bnc__app-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-bnc__app-benefits {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-bnc__app-benefits li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-bnc__app-benefits li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
}

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

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

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

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: var(--bnc-deep-green);
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15em;
  color: var(--bnc-text-main);
  position: relative;
  list-style: none; /* For details/summary */
}

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

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

.page-bnc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--bnc-glow-color);
}

.page-bnc__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--bnc-text-secondary);
}

/* Conclusion Section */
.page-bnc__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

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

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

  .page-bnc__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

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

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

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

  .page-bnc__hero-section,
  .page-bnc__introduction-section,
  .page-bnc__why-choose-section,
  .page-bnc__games-showcase,
  .page-bnc__guide-section,
  .page-bnc__tips-section,
  .page-bnc__promotions-section,
  .page-bnc__download-app-section,
  .page-bnc__faq-section,
  .page-bnc__conclusion-section {
    padding: 40px 0;
  }

  .page-bnc__hero-image,
  .page-bnc__feature-image,
  .page-bnc__game-image,
  .page-bnc__app-image,
  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-bnc__hero-section,
  .page-bnc__introduction-section,
  .page-bnc__why-choose-section,
  .page-bnc__games-showcase,
  .page-bnc__guide-section,
  .page-bnc__tips-section,
  .page-bnc__promotions-section,
  .page-bnc__download-app-section,
  .page-bnc__faq-section,
  .page-bnc__conclusion-section,
  .page-bnc__card,
  .page-bnc__container,
  .page-bnc__cta-buttons,
  .page-bnc__app-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-bnc__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-bnc__app-content {
    flex-direction: column;
  }

  .page-bnc__app-text {
    text-align: center;
  }

  .page-bnc__app-benefits {
    text-align: left;
  }

  .page-bnc__guide-list,
  .page-bnc__tips-list {
    padding-left: 20px;
  }

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

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