/* style/bnc.css */

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

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

.page-bnc__section-title {
  font-size: clamp(28px, 4vw, 42px); /* H1 font size constraint */
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-bnc__lead-text {
  font-size: 1.15em;
  text-align: center;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-bnc__secondary-text {
  font-size: 0.95em;
  text-align: center;
  margin-top: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-bnc__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bnc__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

.page-bnc__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-bnc__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* --- Buttons --- */
.page-bnc__btn-primary,
.page-bnc__btn-secondary,
.page-bnc__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main for buttons */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-bnc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), 0 0 10px #57E38D; /* Glow */
}

.page-bnc__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Green from button gradient */
  border: 2px solid #2AD16F;
}

.page-bnc__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 10px #57E38D; /* Glow */
}

.page-bnc__btn-text {
  background: none;
  border: none;
  color: #57E38D; /* Glow */
  padding: 8px 0;
  font-size: 1em;
  text-align: center;
}

.page-bnc__btn-text:hover {
  color: #F2C14E; /* Gold */
}

.page-bnc__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-bnc__btn-text:hover .page-bnc__arrow {
  transform: translateX(5px);
}

/* --- Hero Section --- */
.page-bnc__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  background-color: #0A4B2C; /* Deep Green */
}

.page-bnc__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-bnc__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
}

.page-bnc__main-title {
  font-size: clamp(32px, 5vw, 54px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.7); /* Glow */
}

.page-bnc__lead-text {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- About Section --- */
.page-bnc__about-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-bnc__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-bnc__text-block p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-bnc__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Why Choose Section --- */
.page-bnc__why-choose-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

/* --- Game Types Section --- */
.page-bnc__game-types-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-bnc__game-card {
  padding: 20px;
}

.page-bnc__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* --- Strategy Section --- */
.page-bnc__strategy-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-bnc__strategy-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-bnc__strategy-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #F2FFF6; /* Text Main */
}

.page-bnc__strategy-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow */
  font-weight: bold;
}

/* --- Registration Section --- */
.page-bnc__registration-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-bnc__step-card {
  padding: 25px;
  background-color: #0A4B2C; /* Deep Green */
  border-color: #2E7A4E;
}

.page-bnc__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  display: block;
}

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

/* --- Promotions Section --- */
.page-bnc__promotions-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-bnc__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* --- FAQ Section --- */
.page-bnc__faq-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

.page-bnc__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-bnc__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  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: 18px 25px;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-bnc__faq-item[open] .page-bnc__faq-question {
  background-color: #13994A; /* Darker green on open */
}

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

.page-bnc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-bnc__faq-item[open] .page-bnc__faq-toggle {
  color: #F2C14E; /* Gold */
}

.page-bnc__faq-answer {
  padding: 0 25px 18px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  text-align: left;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-bnc__content-grid {
    grid-template-columns: 1fr;
  }
  .page-bnc__image-block {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

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

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

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

  .page-bnc__lead-text {
    font-size: 1em;
  }

  /* --- Hero Section --- */
  .page-bnc__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
    min-height: auto;
  }

  .page-bnc__main-title {
    font-size: 2.2em;
  }

  .page-bnc__lead-text {
    font-size: 1.1em;
  }

  .page-bnc__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

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

  .page-bnc__btn-primary,
  .page-bnc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 15px 20px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-bnc__cta-buttons--center {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* --- Images, Videos, Buttons Global Responsive --- */
  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-bnc video,
  .page-bnc__video {
    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-section,
  .page-bnc__video-container,
  .page-bnc__video-wrapper,
  .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;
    overflow: hidden !important;
  }

  .page-bnc__game-image,
  .page-bnc__promo-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-bnc__strategy-list {
    padding-left: 0;
  }
  .page-bnc__strategy-list li {
    padding-left: 20px;
  }
}

/* Ensure content area images are not tiny */
.page-bnc__content-area img,
.page-bnc__game-card img,
.page-bnc__promo-card img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific content images that could be smaller if not constrained */
.page-bnc__image-block img {
  min-width: 200px;
  min-height: 200px;
}

/* Dark background for contrast */
.page-bnc__dark-bg {
  color: #F2FFF6;
  background-color: #08160F;
}

/* Light background for contrast */
.page-bnc__light-bg {
  color: #F2FFF6; /* Still light text as per custom palette for light backgrounds */
  background-color: #11271B; /* Using Card BG as a lighter section background */
}

/* Override for WCAG AA standard if needed for specific elements, e.g., on light-bg */
.page-bnc__light-bg .page-bnc__section-title,
.page-bnc__light-bg .page-bnc__card-title {
  color: #F2FFF6; /* Main Text */
}
.page-bnc__light-bg .page-bnc__card-text {
  color: #A7D9B8; /* Secondary Text */
}