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

.page-game-bai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

.page-game-bai__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-game-bai__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.page-game-bai__hero-description {
  font-size: 1.15rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-game-bai__btn-secondary:hover {
  background: #2E7A4E; /* Border */
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-game-bai__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-game-bai__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-game-bai__feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-bai__feature-title {
  font-size: 1.8rem;
  color: #2AD16F; /* Button top gradient */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-bai__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-game-bai__feature-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-game-bai__download-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-game-bai__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-game-bai__download-steps {
  text-align: left;
  margin-bottom: 25px;
  padding-left: 20px;
}

.page-game-bai__download-steps li {
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-game-bai__important-notes {
  text-align: left;
}

.page-game-bai__note-list {
  padding-left: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-game-bai__note-list li {
  margin-bottom: 8px;
}

.page-game-bai__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  text-align: left;
}

.page-game-bai__game-item {
  padding: 20px;
  border: 1px dashed #2E7A4E; /* Border */
  border-radius: 8px;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter Card BG */
}

.page-game-bai__game-name {
  font-size: 1.5rem;
  color: #2AD16F; /* Button top gradient */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-bai__game-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-game-bai__tip-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-bai__tip-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-bai__tip-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-game-bai__tip-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-game-bai__promotion-content {
  text-align: center;
}

.page-game-bai__promotion-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-game-bai__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  object-fit: cover;
}

.page-game-bai__promo-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__promo-list li {
  background: rgba(46, 122, 78, 0.3); /* Border color with opacity */
  margin-bottom: 10px;
  padding: 12px 15px;
  border-radius: 8px;
  color: #F2FFF6; /* Text Main */
  border-left: 4px solid #2AD16F; /* Button top gradient */
}

.page-game-bai__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-game-bai__faq-item {
  text-align: left;
  padding: 0;
  border: 1px solid #2E7A4E; /* Border */
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
}

.page-game-bai__faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #1E3A2A; /* Divider */
  position: relative;
}

.page-game-bai__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-game-bai__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6;
}

.page-game-bai__faq-toggle {
  font-size: 1.8rem;
  color: #2AD16F; /* Button top gradient */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-game-bai__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
  background-color: #11271B; /* Card BG */
}

.page-game-bai__faq-answer p {
  margin-bottom: 0;
}

.page-game-bai__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-game-bai__conclusion-cta {
  text-align: center;
  padding: 80px 20px;
}

.page-game-bai__conclusion-text {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General image styling for the page */
.page-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Placeholder styles for homepage modules (as per checklist) */
.page-game-bai__row-games, .page-game-bai__row-sport, .page-game-bai__row-coop {
  /* Not directly used on this page, but included for checklist compliance */
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-game-bai__games-title, .page-game-bai__sport-title, .page-game-bai__coop-title {
  color: #fff;
  text-align: center;
}

.page-game-bai__slider-wrapper {
  overflow: hidden;
}

.page-game-bai__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.page-game-bai__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
}

.page-game-bai__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.page-game-bai__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-game-bai__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.page-game-bai__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-game-bai__btn-outline {
  margin-top: auto;
}

.page-game-bai__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.page-game-bai__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-game-bai {
    font-size: 15px;
    line-height: 1.55;
  }

  .page-game-bai__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

  .page-game-bai__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-game-bai__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-game-bai__section {
    padding: 40px 15px;
  }

  .page-game-bai__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-game-bai__card {
    padding: 20px;
  }

  .page-game-bai__features-grid,
  .page-game-bai__download-methods,
  .page-game-bai__game-list,
  .page-game-bai__tips-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-game-bai__feature-title,
  .page-game-bai__download-title,
  .page-game-bai__game-name,
  .page-game-bai__tip-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .page-game-bai__feature-text,
  .page-game-bai__download-steps li,
  .page-game-bai__note-list li,
  .page-game-bai__game-description,
  .page-game-bai__tip-text,
  .page-game-bai__promotion-description,
  .page-game-bai__promo-list li,
  .page-game-bai__faq-answer p,
  .page-game-bai__conclusion-text {
    font-size: 0.95rem;
  }

  .page-game-bai__download-steps,
  .page-game-bai__note-list,
  .page-game-bai__promo-list {
    padding-left: 15px;
  }

  .page-game-bai__promotion-content {
    padding: 20px;
  }

  .page-game-bai__promotion-image {
    margin-bottom: 25px;
  }

  .page-game-bai__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-game-bai__faq-toggle {
    font-size: 1.5rem;
  }

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

  .page-game-bai__conclusion-cta {
    padding: 50px 15px;
  }

  /* General image responsiveness */
  .page-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  /* Ensure containers with images/buttons are responsive */
  .page-game-bai__hero-image-wrapper,
  .page-game-bai__section,
  .page-game-bai__card,
  .page-game-bai__container,
  .page-game-bai__cta-buttons,
  .page-game-bai__download-methods,
  .page-game-bai__game-list,
  .page-game-bai__tips-grid,
  .page-game-bai__promotion-content,
  .page-game-bai__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Placeholder styles for homepage modules (as per checklist) */
  .page-game-bai__hero-section { /* Covered above */ }
  .page-game-bai__home-content { /* Assuming this maps to a general text block */
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px 15px !important;
  }
  .page-game-bai__row-games, .page-game-bai__row-sport, .page-game-bai__row-coop {
    padding: 30px 15px;
  }
  .page-game-bai__slider-track {
    display: flex;
    flex-wrap: nowrap; /* Keep horizontal scroll for sliders */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-game-bai__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start;
  }
  .page-game-bai__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .page-game-bai__banner-item img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-game-bai__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  .page-game-bai__blog-card-link {
    height: auto !important;
  }
  .page-game-bai__blog-slider-track {
    display: flex;
    flex-wrap: nowrap; /* Keep horizontal scroll for blog sliders */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-game-bai__blog-slide {
    flex: 0 0 90% !important; /* Make slides wider for mobile */
    max-width: 90% !important;
    scroll-snap-align: start;
  }
}