/* style/bnc.css */

/* Custom Colors */
:root {
  --bnc-primary-color: #11A84E;
  --bnc-secondary-color: #22C768;
  --bnc-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --bnc-card-bg: #11271B;
  --bnc-background: #08160F;
  --bnc-text-main: #F2FFF6;
  --bnc-text-secondary: #A7D9B8;
  --bnc-border-color: #2E7A4E;
  --bnc-glow-color: #57E38D;
  --bnc-gold-color: #F2C14E;
  --bnc-divider-color: #1E3A2A;
  --bnc-deep-green: #0A4B2C;
}

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

.page-bnc__section-spacing {
  padding: 80px 0;
}

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

.page-bnc__section-title {
  font-size: clamp(2em, 5vw, 2.8em);
  color: var(--bnc-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-bnc__section-subtitle {
  font-size: 1.2em;
  color: var(--bnc-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__sub-title {
  font-size: 1.8em;
  color: var(--bnc-text-main);
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-bnc__text-block {
  font-size: 1em;
  color: var(--bnc-text-secondary);
  margin-bottom: 15px;
}

.page-bnc__list {
  list-style: disc inside;
  color: var(--bnc-text-secondary);
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-bnc__list-item {
  margin-bottom: 10px;
}

.page-bnc__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-bnc__btn-primary,
.page-bnc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.page-bnc__btn-primary {
  background: var(--bnc-button-gradient);
  color: var(--bnc-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-bnc__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-bnc__btn-secondary:hover {
  background: var(--bnc-primary-color);
  color: var(--bnc-text-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Card Background */
.page-bnc__card-bg {
  background-color: var(--bnc-card-bg);
  border: 1px solid var(--bnc-border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--bnc-text-secondary);
}

.page-bnc__card-title {
  color: var(--bnc-text-main);
  font-size: 1.4em;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-bnc__card-text {
  font-size: 0.95em;
  color: var(--bnc-text-secondary);
}

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

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

.page-bnc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-bnc__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
}

.page-bnc__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em);
  color: var(--bnc-gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-bnc__description {
  font-size: 1.3em;
  color: var(--bnc-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Video Section */
.page-bnc__video-section {
  background-color: var(--bnc-deep-green);
  text-align: center;
  padding-top: 10px; /* Small top padding, body 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: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

/* Features Section */
.page-bnc__features-section {
  background-color: var(--bnc-background);
}

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

.page-bnc__feature-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-bnc__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Game Types Section */
.page-bnc__game-types-section {
  background-color: var(--bnc-deep-green);
}

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

.page-bnc__game-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-bnc__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-bnc__game-card .page-bnc__btn-primary {
  margin-top: 20px;
}

/* How To Play Section */
.page-bnc__how-to-play-section {
  background-color: var(--bnc-background);
}

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

.page-bnc__step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 280px;
}

.page-bnc__step-number {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--bnc-gold-color);
  background: rgba(var(--bnc-primary-color), 0.2);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 2px solid var(--bnc-gold-color);
}

/* Strategy Section */
.page-bnc__strategy-section {
  background-color: var(--bnc-deep-green);
}

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

.page-bnc__strategy-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bnc__strategy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Promotions Section */
.page-bnc__promotions-section {
  background-color: var(--bnc-background);
}

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

.page-bnc__promo-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-bnc__promo-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-bnc__promo-card .page-bnc__btn-primary {
  margin-top: 20px;
}

/* Security Section */
.page-bnc__security-section {
  background-color: var(--bnc-deep-green);
}

.page-bnc__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-bnc__security-text {
  flex: 1;
  min-width: 300px;
}

.page-bnc__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-bnc__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-bnc__faq-section {
  background-color: var(--bnc-background);
}

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

.page-bnc__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.page-bnc__faq-question:hover {
  background-color: var(--bnc-primary-color);
}

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

.page-bnc__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--bnc-gold-color);
  transition: transform 0.3s ease;
}

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

.page-bnc__faq-answer {
  padding: 15px 25px;
  background-color: var(--bnc-card-bg);
  color: var(--bnc-text-secondary);
  font-size: 1em;
  border-top: 1px solid var(--bnc-divider-color);
}

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

.page-bnc__faq-answer .page-bnc__btn-secondary {
  margin-top: 15px;
}

/* CTA Bottom Section */
.page-bnc__cta-bottom-section {
  background-color: var(--bnc-deep-green);
  text-align: center;
}

/* Text Colors */
.page-bnc__text-main {
  color: var(--bnc-text-main);
}

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

.page-bnc__dark-section {
  background-color: var(--bnc-deep-green);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bnc__hero-content {
    padding: 15px;
  }

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

  .page-bnc__description {
    font-size: 1.1em;
  }

  .page-bnc__section-spacing {
    padding: 60px 0;
  }

  .page-bnc__security-content {
    flex-direction: column;
  }

  .page-bnc__security-text,
  .page-bnc__security-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

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

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

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

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

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

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

  /* Mobile image adaptation */
  .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__hero-section,
  .page-bnc__video-section,
  .page-bnc__video-wrapper,
  .page-bnc__game-card,
  .page-bnc__feature-card,
  .page-bnc__step-card,
  .page-bnc__strategy-item,
  .page-bnc__promo-card,
  .page-bnc__security-section,
  .page-bnc__faq-item,
  .page-bnc__cta-bottom-section,
  .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__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-bnc__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio */
  }

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

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

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

@media (max-width: 480px) {
  .page-bnc__section-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

  .page-bnc__section-subtitle {
    font-size: 0.9em;
  }

  .page-bnc__sub-title {
    font-size: 1.5em;
  }

  .page-bnc__card-title {
    font-size: 1.2em;
  }

  .page-bnc__hero-content {
    width: 95%;
  }
}