/* style/bnc.css */

/* Base styles for the page */
.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;
  box-sizing: border-box;
}

.page-bnc__section {
  padding: 60px 0;
  text-align: center;
}

.page-bnc__section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  font-weight: 700;
}

.page-bnc__section-description {
  font-size: clamp(16px, 2vw, 18px);
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 30px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
}

.page-bnc__text-block p, .page-bnc__text-block li {
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-bnc__text-block ul {
  list-style: disc;
  padding-left: 25px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 20px;
}

.page-bnc__text-block li {
  margin-bottom: 8px;
}

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

.page-bnc__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic reasons */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-bnc__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-bnc__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.page-bnc__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-bnc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-bnc__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  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, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for primary button */
  border: none;
}

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

.page-bnc__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-bnc__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F; /* Background */
  transform: translateY(-2px);
}

/* Grid Layouts */
.page-bnc__grid-2-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-bnc__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-bnc__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Step List */
.page-bnc__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-bnc__step-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-bnc__step-title {
  font-size: clamp(20px, 2.5vw, 26px);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

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

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

.page-bnc__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-bnc__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-bnc__card-title {
  font-size: clamp(18px, 2.2vw, 24px);
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: 700;
}

.page-bnc__card-text {
  font-size: clamp(15px, 1.8vw, 17px);
  color: #F2FFF6; /* Text Main */
  flex-grow: 1;
}

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

.page-bnc__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: clamp(17px, 2vw, 20px);
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-bnc__faq-item[open] .page-bnc__faq-question {
  border-bottom: 1px solid #2E7A4E; /* Border */
}

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

.page-bnc__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-bnc__faq-item[open] .page-bnc__faq-toggle {
  content: '−';
}

.page-bnc__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

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

.page-bnc__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-bnc__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

/* Register CTA Section */
.page-bnc__register-cta {
  padding: 80px 20px;
  background-color: #11A84E; /* Main Color */
  border-radius: 12px;
  margin: 60px auto;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-bnc__register-cta .page-bnc__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-bnc__register-cta .page-bnc__section-description {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

/* Utility Classes for colors */
.page-bnc__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-bnc__light-bg {
  background-color: #11271B; /* A slightly lighter dark for contrast */
  color: #F2FFF6;
}

.page-bnc__text-main {
  color: #F2FFF6;
}

.page-bnc__text-secondary {
  color: #A7D9B8;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-bnc__grid-2-columns {
    grid-template-columns: 1fr;
  }

  .page-bnc__reverse-on-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
}

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

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

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

  .page-bnc__main-title {
    font-size: 30px;
  }

  .page-bnc__hero-description {
    font-size: 16px;
  }

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

  .page-bnc__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-bnc__section-title {
    font-size: 24px;
  }

  .page-bnc__section-description {
    font-size: 15px;
  }

  .page-bnc__sub-title {
    font-size: 20px;
  }

  .page-bnc__grid-2-columns {
    gap: 30px;
    margin-top: 30px;
  }

  .page-bnc__image-content,
  .page-bnc__card-image,
  .page-bnc__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-bnc__image-wrapper,
  .page-bnc__card,
  .page-bnc__container,
  .page-bnc__hero-image-wrapper,
  .page-bnc__hero-section,
  .page-bnc__section,
  .page-bnc__features-grid,
  .page-bnc__faq-list,
  .page-bnc__register-cta,
  .page-bnc__intro-game,
  .page-bnc__how-to-play,
  .page-bnc__strategy-guide {
    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;
  }

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

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

@media (max-width: 480px) {
  .page-bnc__main-title {
    font-size: 26px;
  }

  .page-bnc__hero-description {
    font-size: 14px;
  }

  .page-bnc__section-title {
    font-size: 20px;
  }
}

/* Ensure content images are not smaller than 200px */
.page-bnc img:not(.page-bnc__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* CSS for details/summary toggle icon */
.page-bnc__faq-toggle {
  display: inline-block;
  width: 20px; /* Fixed width for consistent alignment */
  text-align: center;
}