/* style/bnc.css */

/* --- Base Styles & Typography --- */
.page-bnc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-bnc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-bnc__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-bnc__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F, #13994A); /* Button gradient for accent */
  border-radius: 2px;
}

.page-bnc__description,
.page-bnc__text-block,
.page-bnc p {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

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

.page-bnc__section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-bnc__section--dark {
  background-color: #08160F; /* Background */
}

/* --- Buttons --- */
.page-bnc__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Ensure padding/border included in width */
  max-width: 100%; /* For responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

.page-bnc__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-bnc__btn--secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-bnc__btn--secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Border color with transparency */
  transform: translateY(-2px);
}

.page-bnc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

/* --- Hero Section --- */
.page-bnc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image/video on top, content below */
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  background-color: #08160F; /* Background */
  overflow: hidden;
}

.page-bnc__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio for video */
  height: 0;
  margin-bottom: 40px; /* Space between video and content */
}

.page-bnc__hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer; /* Indicate clickable */
}

.page-bnc__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px 80px; /* Adjust padding to separate from next section */
  max-width: 900px;
}

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

.page-bnc__feature-card {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-bnc__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain; /* Ensure full image is visible */
}

.page-bnc__feature-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-bnc__feature-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 0;
}

/* --- Download Steps --- */
.page-bnc__download-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-bnc__download-item {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  box-sizing: border-box;
}

.page-bnc__download-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-bnc__download-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-bnc__step-list {
  list-style-type: decimal;
  padding-left: 20px;
  text-align: left;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

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

.page-bnc__step-list li:last-child {
  margin-bottom: 0;
}

/* --- Game Cards Grid --- */
.page-bnc__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-bnc__game-card {
  background-color: #11271B; /* Card B G */
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-bnc__game-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-bnc__game-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 0;
}

/* --- Tips Grid --- */
.page-bnc__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-bnc__tip-item {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-bnc__tip-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-bnc__tip-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: left;
  margin-bottom: 0;
}

/* --- Promotions Grid --- */
.page-bnc__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-bnc__promotion-card {
  background-color: #11271B; /* Card B G */
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-bnc__promotion-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-bnc__promotion-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-bnc__promotion-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 0;
}

/* --- FAQ Section --- */
.page-bnc__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card B G */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-bnc__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-bnc__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Lighter hover effect */
}

.page-bnc__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2AD16F; /* Green from button gradient */
  margin-left: 15px;
}

.page-bnc__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: left;
}

/* --- Final CTA Section --- */
.page-bnc__section--final-cta {
  padding-bottom: 80px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .page-bnc__features-grid,
  .page-bnc__game-cards-grid,
  .page-bnc__promotions-grid,
  .page-bnc__tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-bnc__download-item {
    min-width: unset;
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .page-bnc__section {
    padding: 60px 0;
  }

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

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

  .page-bnc__description,
  .page-bnc__text-block,
  .page-bnc p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-bnc__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__container {
    padding: 0 15px;
  }

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

  .page-bnc__section,
  .page-bnc__card,
  .page-bnc__container,
  .page-bnc__feature-card,
  .page-bnc__download-item,
  .page-bnc__game-card,
  .page-bnc__promotion-card,
  .page-bnc__tip-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 !important; /* Ensure no overflow */
  }

  /* Video responsiveness */
  .page-bnc video,
  .page-bnc__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-bnc__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

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

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

  .page-bnc__download-steps {
    flex-direction: column;
    gap: 20px;
  }

  .page-bnc__download-item {
    max-width: 100%;
  }

  .page-bnc__game-image,
  .page-bnc__promotion-image {
    height: 150px; /* Adjust height for smaller screens */
  }

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

  .page-bnc__faq-answer {
    font-size: 0.95rem;
    padding: 0 15px 15px;
  }
}