/* style/bnc.css */

/* Variables for 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-bg-color: #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 {
  font-family: 'Arial', sans-serif;
  color: var(--bnc-text-main);
  background-color: var(--bnc-bg-color);
}

.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__dark-bg {
  background-color: var(--bnc-bg-color);
  color: var(--bnc-text-main);
}

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

.page-bnc__section-title {
  font-size: 2.5em;
  color: var(--bnc-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-bnc__section-description {
  font-size: 1.1em;
  color: var(--bnc-text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Hero Section */
.page-bnc__hero-section {
  width: 100%;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px; /* Add bottom padding */
  background-color: var(--bnc-bg-color);
  color: var(--bnc-text-main);
}

.page-bnc__hero-section .page-bnc__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-bnc__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-bnc__hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.page-bnc__main-title {
  color: var(--bnc-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-bnc__hero-description {
  font-size: 1.2em;
  color: var(--bnc-text-main);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-bnc__btn-primary,
.page-bnc__btn-secondary,
.page-bnc a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-bnc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-bnc__btn-secondary:hover {
  background: var(--bnc-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Content Grid Layout */
.page-bnc__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-bnc__content-grid.page-bnc__reverse-grid {
  flex-direction: row-reverse;
}

.page-bnc__text-block {
  flex: 1;
  min-width: 300px;
}

.page-bnc__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-bnc__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Card Styles */
.page-bnc__card {
  background-color: var(--bnc-card-bg);
  border: 1px solid var(--bnc-border-color);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--bnc-text-main);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

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

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

.page-bnc__card-title {
  font-size: 1.4em;
  color: var(--bnc-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-bnc__card p {
  color: var(--bnc-text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

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

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

.page-bnc__game-item .page-bnc__card-image {
  height: 220px;
}

.page-bnc__center-cta {
  margin-top: 40px;
}

/* Guide Section */
.page-bnc__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-bnc__guide-list li {
  background-color: var(--bnc-card-bg);
  border: 1px solid var(--bnc-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  color: var(--bnc-text-main);
}

.page-bnc__guide-list li strong {
  color: var(--bnc-gold-color);
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

.page-bnc__guide-list li p {
  color: var(--bnc-text-secondary);
  line-height: 1.6;
}

.page-bnc__guide-list li a {
  color: var(--bnc-secondary-color);
  text-decoration: underline;
}

.page-bnc__guide-list li a:hover {
  color: var(--bnc-gold-color);
}

/* Strategy Section */
.page-bnc__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

/* Promotions Section */
.page-bnc__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bnc__promotion-card .page-bnc__card-image {
  height: 200px;
}

/* Register & Deposit Section */
.page-bnc__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-bnc__step-card .page-bnc__btn-secondary {
  margin-top: 15px;
}

/* FAQ Section */
.page-bnc__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-bnc__faq-item {
  margin-bottom: 15px;
  background-color: var(--bnc-card-bg);
  border: 1px solid var(--bnc-border-color);
  border-radius: 8px;
  overflow: hidden;
  color: var(--bnc-text-main);
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--bnc-deep-green);
  color: var(--bnc-gold-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

.page-bnc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
}

.page-bnc__faq-answer {
  padding: 0 20px 15px;
  font-size: 1.1em;
  color: var(--bnc-text-secondary);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-bnc__faq-item[open] .page-bnc__faq-answer {
  max-height: 500px;
  padding-top: 15px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-bnc__section-title {
    font-size: 2em;
  }
  .page-bnc__hero-content {
    padding: 0 15px;
  }
  .page-bnc__main-title {
    font-size: 2.5em;
  }
  .page-bnc__hero-description {
    font-size: 1.1em;
  }
  .page-bnc__content-grid {
    flex-direction: column;
  }
  .page-bnc__content-grid.page-bnc__reverse-grid {
    flex-direction: column;
  }
  .page-bnc__text-block,
  .page-bnc__image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-bnc__card-image {
    height: 180px;
  }
  .page-bnc__game-item .page-bnc__card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-bnc__section {
    padding: 40px 0;
  }
  .page-bnc__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-bnc__hero-section {
    min-height: unset;
    padding-top: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-bnc__main-title {
    font-size: 2em;
  }
  .page-bnc__hero-description {
    font-size: 1em;
  }
  .page-bnc__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-bnc__btn-primary,
  .page-bnc__btn-secondary,
  .page-bnc a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-bnc__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-bnc__faq-answer {
    font-size: 0.95em;
    padding: 0 15px 12px;
  }
}

@media (max-width: 480px) {
  .page-bnc__section-title {
    font-size: 1.8em;
  }
  .page-bnc__main-title {
    font-size: 2em;
  }
  .page-bnc__hero-description {
    font-size: 0.9em;
  }
  .page-bnc__card-title {
    font-size: 1.2em;
  }
  .page-bnc__card p {
    font-size: 0.9em;
  }
}