/* style/bnc.css */

/* Base styles for the page-bnc scope */
.page-bnc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color */
  background-color: #0A0A0A; /* Page background */
}

/* Utility container for consistent width */
.page-bnc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section spacing */
.page-bnc__hero-section,
.page-bnc__about-section,
.page-bnc__video-section,
.page-bnc__games-section,
.page-bnc__registration-guide,
.page-bnc__promotions-section,
.page-bnc__faq-section,
.page-bnc__call-to-action {
  padding: 60px 0;
  text-align: center;
}

/* Specific section backgrounds based on light/dark contrast */
.page-bnc__dark-bg {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-bnc__light-bg {
  background-color: #111111; /* Card BG color used as light background for contrast */
  color: #FFF6D6;
}

/* Headings */
.page-bnc h1,
.page-bnc h2,
.page-bnc h3 {
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-bnc__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-bnc__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  margin-bottom: 30px;
  color: #FFD36B;
}

.page-bnc__hero-description,
.page-bnc__text-block,
.page-bnc__game-description,
.page-bnc p,
.page-bnc li {
  color: #FFF6D6;
  font-size: 1.1em;
  margin-bottom: 15px;
}

/* Hero Section */
.page-bnc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding, 10px for decoration */
  overflow: hidden;
}

.page-bnc__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-bnc__hero-image {
  width: 1200px;
  height: 675px;
  object-fit: cover;
  display: block;
  max-width: 100%;
  height: auto;
}

.page-bnc__hero-content {
  max-width: 900px;
  z-index: 1;
  padding: 0 20px;
}

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

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

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-bnc__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E6B02A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

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

.page-bnc__btn-secondary:hover {
  background-color: #FFD36B;
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.3);
}

.page-bnc__btn-text {
  background: transparent;
  color: #FFD36B;
  border: 1px solid #FFD36B;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-bnc__btn-text:hover {
  background-color: #FFD36B;
  color: #0A0A0A;
}

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

.page-bnc__feature-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-bnc__feature-title {
  color: #FFD36B;
  font-size: 1.4em;
  margin-bottom: 10px;
}

/* Video Section */
.page-bnc__video-section {
  padding-top: 10px; /* body already handles --header-offset */
}

.page-bnc__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  width: 100%; /* Ensure width is 100% on desktop too */
}

.page-bnc__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-bnc__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-bnc__video-cta {
  margin-top: 30px;
}

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

.page-bnc__game-card {
  background-color: #111111; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-bnc__game-image {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  max-width: 100%;
  height: auto;
}

.page-bnc__game-title {
  color: #FFD36B;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-bnc__more-games-text {
  margin-top: 40px;
}

/* Registration Guide */
.page-bnc__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-bnc__step-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  position: relative;
  padding-top: 60px;
}

.page-bnc__step-number {
  position: absolute;
  top: 15px;
  left: 30px;
  background-color: #F2C14E;
  color: #0A0A0A;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-bnc__step-title {
  color: #FFD36B;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-bnc__registration-note {
  margin-top: 40px;
}

/* Promotions Section */
.page-bnc__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  display: grid;
  gap: 20px;
}

.page-bnc__promo-list li {
  background-color: #111111; /* Card BG */
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-bnc__promo-item-title {
  color: #F2C14E;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-bnc__promo-callout {
  margin-top: 40px;
}

/* FAQ Section */
.page-bnc__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-bnc__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD36B;
  cursor: pointer;
  background-color: #111111;
  user-select: none;
}

.page-bnc__faq-item details > summary {
  list-style: none;
}

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

.page-bnc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E;
}

.page-bnc__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #FFF6D6;
}

/* Call to Action */
.page-bnc__call-to-action {
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-bnc__hero-image-wrapper {
    max-height: 500px;
  }
}

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

  .page-bnc__container {
    padding: 0 15px;
  }

  .page-bnc__hero-section,
  .page-bnc__about-section,
  .page-bnc__video-section,
  .page-bnc__games-section,
  .page-bnc__registration-guide,
  .page-bnc__promotions-section,
  .page-bnc__faq-section,
  .page-bnc__call-to-action {
    padding: 40px 0;
  }

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

  .page-bnc__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-bnc__hero-image-wrapper {
    max-height: 350px;
  }

  .page-bnc__hero-image,
  .page-bnc__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-bnc__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

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

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

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

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-bnc__features-grid,
  .page-bnc__game-cards-grid,
  .page-bnc__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-bnc__feature-item,
  .page-bnc__game-card,
  .page-bnc__step-item,
  .page-bnc__promo-list li {
    padding: 20px;
  }

  .page-bnc__step-item {
    padding-top: 50px;
  }

  .page-bnc__step-number {
    left: 20px;
  }

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

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

@media (max-width: 480px) {
  .page-bnc__main-title {
    font-size: clamp(1.6em, 9vw, 2em);
  }

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

  .page-bnc__hero-image-wrapper {
    max-height: 250px;
  }

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    font-size: 0.95em;
    padding: 12px 20px;
  }
}