.page-bnc {
  background-color: #FFFFFF; /* Default background as per custom color rules */
  color: #333333; /* Default text color for contrast */
}

.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 as per rule */
  padding-bottom: 40px;
  background-color: #017439;
  color: #FFFFFF;
  overflow: hidden;
}

.page-bnc__hero-visual {
  width: 100%;
  max-height: 600px; /* Max height for desktop hero image */
  overflow: hidden;
}

.page-bnc__hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.page-bnc__hero-content {
  position: relative; /* Ensure content is above any potential background effect */
  z-index: 10;
  max-width: 900px;
  margin-top: 20px;
}

.page-bnc__main-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem); /* Using clamp for responsive H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-bnc__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-bnc__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-bnc__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-bnc__btn--register {
  background-color: #C30808; /* Custom color for register */
  color: #FFFF00; /* Custom color for register button text */
}

.page-bnc__btn--register:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-bnc__btn--login {
  background-color: #C30808; /* Custom color for login */
  color: #FFFF00; /* Custom color for login button text */
}

.page-bnc__btn--login:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-bnc__btn--primary {
  background-color: #017439;
  color: #FFFFFF;
}

.page-bnc__btn--primary:hover {
  background-color: #005a2d;
}

.page-bnc__btn--secondary {
  background-color: #f0f0f0;
  color: #017439;
  border: 1px solid #017439;
}

.page-bnc__btn--secondary:hover {
  background-color: #e0e0e0;
}

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

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

.page-bnc__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Main color for section titles */
}

.page-bnc__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
  line-height: 1.6;
  color: #555555;
}

.page-bnc__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

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

.page-bnc__text-content {
  flex: 1;
}

.page-bnc__text-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444444;
}

.page-bnc__image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure image wrapper has min-width */
}

.page-bnc__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-bnc__game-card {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

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

.page-bnc__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for game cards, will be adjusted by object-fit */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-bnc__view-all {
  text-align: center;
}

.page-bnc__feature-list {
  list-style: none;
  padding: 0;
}

.page-bnc__feature-list li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #444444;
}

.page-bnc__feature-list li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-bnc__step-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-bnc__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #017439;
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-bnc__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439;
}

.page-bnc__step-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-bnc__step-card p a {
  color: #017439;
  text-decoration: underline;
}

.page-bnc__image-wrapper--center {
  display: flex;
  justify-content: center;
}

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

.page-bnc__promo-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
}

.page-bnc__promo-card img {
  width: 100%;
  height: 220px; /* Fixed height for promo cards */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-bnc__promo-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-bnc__promo-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

.page-bnc__faq-item {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 25px;
  background-color: #017439;
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.page-bnc__faq-question:hover {
  background-color: #005a2d;
}

.page-bnc__faq-question[aria-expanded="true"] .page-bnc__faq-icon {
  transform: rotate(45deg);
}

.page-bnc__faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-bnc__faq-answer {
  padding: 0 25px;
  background-color: #fcfcfc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-bnc__faq-answer p {
  padding: 15px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-bnc__faq-answer.page-bnc__faq-answer--active {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px;
}

.page-bnc__cta-bottom {
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-bnc__cta-bottom .page-bnc__section-title {
  color: #FFFFFF;
}

.page-bnc__cta-bottom .page-bnc__section-description {
  color: #E0E0E0;
}

.page-bnc__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-bnc__hero-section {
    flex-direction: column; /* Stacks image above text */
    padding-bottom: 30px;
  }

  .page-bnc__hero-visual img {
    aspect-ratio: 4/3;
  }

  .page-bnc__hero-content {
    margin-top: 0; /* No extra margin when stacked */
    padding: 20px;
  }

  .page-bnc__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-bnc__hero-description {
    font-size: 1rem;
  }

  .page-bnc__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-bnc__btn {
    width: 100%;
    max-width: 300px;
  }

  .page-bnc__content-grid {
    flex-direction: column;
    gap: 30px;
  }

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

  .page-bnc__section-padding {
    padding: 40px 0;
  }

  .page-bnc__section-title {
    margin-bottom: 30px;
  }

  .page-bnc__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .page-bnc__game-card img,
  .page-bnc__promo-card img {
    
  }

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

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

  .page-bnc__cta-bottom {
    padding: 60px 0;
  }

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

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

  /* Ensure content area images are responsive */
  .page-bnc img {
    max-width: 100%;
    height: auto;
  }

  .page-bnc__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .page-bnc__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-bnc__promotions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 549px) {
  .page-bnc__main-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
  .page-bnc__hero-description {
    font-size: 0.95rem;
  }
  .page-bnc__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-bnc__btn {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-bnc__game-grid {
    grid-template-columns: 1fr;
  }
  .page-bnc__game-card img,
  .page-bnc__promo-card img {
    
  }
  .page-bnc__faq-question {
    font-size: 0.95rem;
  }
}