/* style/bnc.css */

/* Custom Colors */
:root {
  --page-bnc-primary-color: #11A84E;
  --page-bnc-secondary-color: #22C768;
  --page-bnc-card-bg: #11271B;
  --page-bnc-background: #08160F;
  --page-bnc-text-main: #F2FFF6;
  --page-bnc-text-secondary: #A7D9B8;
  --page-bnc-border: #2E7A4E;
  --page-bnc-glow: #57E38D;
  --page-bnc-gold: #F2C14E;
  --page-bnc-divider: #1E3A2A;
  --page-bnc-deep-green: #0A4B2C;
}

.page-bnc {
  background-color: var(--page-bnc-background);
  color: var(--page-bnc-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-bnc__section {
  padding: 60px 20px;
  background-color: var(--page-bnc-background);
}

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

/* Fixed header spacing - body already handles padding-top */
.page-bnc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-bnc__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-bnc__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-bnc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4); /* Ensure text contrast */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-bnc__main-title {
  color: var(--page-bnc-text-main);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-bnc__description {
  color: var(--page-bnc-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

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

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-bnc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

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

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

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

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

.page-bnc__card-bg {
  background-color: var(--page-bnc-card-bg);
  border: 1px solid var(--page-bnc-border);
}

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

.page-bnc__card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
}

.page-bnc__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-bnc__card-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-bnc__card-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-bnc__view-more-btn {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

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

.page-bnc__step {
  background-color: var(--page-bnc-card-bg);
  border: 1px solid var(--page-bnc-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-bnc__step-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.page-bnc__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Specific max-width for video */
  margin: 40px auto;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  box-sizing: border-box; /* Crucial for responsiveness */
}

.page-bnc__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-bnc__video-caption {
  text-align: center;
  margin-top: 10px;
  font-style: italic;
  color: var(--page-bnc-text-secondary);
}

.page-bnc__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  text-align: left;
}

.page-bnc__promo-list li {
  background-color: var(--page-bnc-card-bg);
  border: 1px solid var(--page-bnc-border);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-bnc__promo-list li::before {
  content: '★';
  color: var(--page-bnc-gold);
  font-size: 1.5rem;
  line-height: 1;
}

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

.page-bnc__benefit-item {
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-bnc__benefit-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

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

.page-bnc__faq-item {
  border-radius: 10px;
  border: 1px solid var(--page-bnc-border);
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--page-bnc-card-bg);
  border-bottom: 1px solid var(--page-bnc-border);
}

.page-bnc__faq-question:hover {
  background-color: rgba(var(--page-bnc-card-bg), 0.8);
}

.page-bnc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-bnc-gold);
  transition: transform 0.3s ease;
}

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

.page-bnc__faq-answer {
  padding: 20px;
  background-color: rgba(var(--page-bnc-card-bg), 0.6);
  border-top: 1px solid var(--page-bnc-divider);
  font-size: 1rem;
  line-height: 1.7;
}

.page-bnc__faq-answer p {
  margin-bottom: 10px;
}

.page-bnc__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-bnc__section {
    padding: 40px 15px;
  }

  .page-bnc__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-bnc__hero-content {
    padding: 20px;
    max-width: 95%;
  }

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

  .page-bnc__description {
    font-size: 1rem;
  }

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

  /* Images 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__video-wrapper,
  .page-bnc__game-cards,
  .page-bnc__guide-steps,
  .page-bnc__promo-list li,
  .page-bnc__benefit-grid,
  .page-bnc__benefit-item,
  .page-bnc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px;
    padding-right: 0px;
  }

  .page-bnc__game-cards,
  .page-bnc__guide-steps,
  .page-bnc__benefit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* Video responsiveness */
  .page-bnc video,
  .page-bnc__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-bnc__video-section,
  .page-bnc__video-container,
  .page-bnc__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-bnc__video-section {
    padding-top: 10px !important;
  }

  /* Button responsiveness */
  .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: 12px 15px;
    font-size: 1rem;
  }

  .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;
  }

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

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

  .page-bnc__promo-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  .page-bnc__promo-list li::before {
    margin-bottom: 5px;
  }
}