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

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

.page-game-bai__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-bai__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

/* Buttons */
.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-play,
.page-game-bai__btn-step,
.page-game-bai__btn-promo {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  border: none;
}

.page-game-bai__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-game-bai__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-game-bai__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Border with some transparency */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2); /* Glow */
}

.page-game-bai__btn-play,
.page-game-bai__btn-step,
.page-game-bai__btn-promo {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  border: none;
  margin-top: 15px;
}

.page-game-bai__btn-play:hover,
.page-game-bai__btn-step:hover,
.page-game-bai__btn-promo:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4); /* Glow */
}

/* Hero Section */
.page-game-bai__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-game-bai__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

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

.page-game-bai__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 15px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over image for visual appeal, but not *on* the image */
  background: rgba(8, 22, 15, 0.85); /* Slightly transparent dark background for readability */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.page-game-bai__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-bai__hero-description {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

.page-game-bai__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Intro Section */
.page-game-bai__intro-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-game-bai__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.page-game-bai__content-wrapper p {
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  text-align: justify;
  max-width: 900px;
}

.page-game-bai__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Us Section */
.page-game-bai__why-choose-us-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-game-bai__feature-card {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-bai__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-bai__feature-card p {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Popular Games Section */
.page-game-bai__popular-games-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-game-bai__game-card {
  background: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #F2FFF6; /* Text Main */
}

.page-game-bai__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-game-bai__game-card h3 {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin: 15px 15px 10px;
  font-weight: bold;
}

.page-game-bai__game-card p {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px 15px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-game-bai__btn-play {
  margin: 0 15px 15px;
  width: calc(100% - 30px);
}

/* How to Play Section */
.page-game-bai__how-to-play-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-game-bai__step-card {
  background: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-bai__step-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-bai__step-card p {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-game-bai__btn-step {
  width: calc(100% - 0px); /* Adjust for padding in card */
}

.page-game-bai__content-image--bottom {
  margin-top: 40px;
}

/* Promotions Section */
.page-game-bai__promotions-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-game-bai__promo-card {
  background: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #F2FFF6; /* Text Main */
}

.page-game-bai__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-game-bai__promo-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin: 15px 15px 10px;
  font-weight: bold;
}

.page-game-bai__promo-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px 15px;
  flex-grow: 1;
}

.page-game-bai__btn-promo {
  margin: 0 15px 15px;
  width: calc(100% - 30px);
}

.page-game-bai__bottom-cta {
  text-align: center;
  margin-top: 20px;
}

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

.page-game-bai__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-game-bai__faq-item {
  background: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
}

.page-game-bai__faq-question {
  font-size: 1.3em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-bai__faq-answer p {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-bai__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }
  .page-game-bai__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }
  .page-game-bai__hero-description {
    font-size: 1.1em;
  }
  .page-game-bai__cta-buttons {
    gap: 15px;
  }
  .page-game-bai__section-title {
    font-size: 2em;
  }
  .page-game-bai__game-image,
  .page-game-bai__promo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  /* General mobile styles for all images and containers */
  .page-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}