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

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

.page-game-bai__section {
  padding: 60px 0;
}

.page-game-bai__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #E53935; /* Main Color */
}

.page-game-bai__article-body {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.7;
}

.page-game-bai__article-body p {
  margin-bottom: 15px;
}

.page-game-bai__article-body ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-game-bai__article-body li {
  margin-bottom: 8px;
}

/* Hero Section */
.page-game-bai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #1a1a1a; /* Dark background for contrast with hero text */
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-game-bai__hero-image {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

.page-game-bai__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover to fill */
  aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-game-bai__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 900px;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-game-bai__main-title {
  font-size: clamp(30px, 4vw, 48px); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FF5A4F; /* Auxiliary Color */
}

.page-game-bai__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-large,
.page-game-bai__card-button,
.page-game-bai__btn-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-large {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button Color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-game-bai__btn-primary:hover,
.page-game-bai__btn-large:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-game-bai__btn-secondary {
  background: #ffffff;
  color: #E53935; /* Main Color */
  border: 2px solid #E53935; /* Main Color */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-game-bai__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.3);
}

.page-game-bai__btn-center {
    margin: 30px auto 0;
    display: block;
    width: fit-content;
}

/* Game Types Section */
.page-game-bai__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-bai__game-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-bai__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.page-game-bai__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #E53935; /* Main Color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-game-bai__card-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Why Choose Section */
.page-game-bai__dark-section {
  background-color: #E53935; /* Main Color */
  color: #ffffff;
}

.page-game-bai__dark-section .page-game-bai__section-title {
  color: #ffffff;
}

.page-game-bai__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-game-bai__text-block {
  flex: 1;
}

.page-game-bai__image-block {
  flex: 1;
  min-width: 200px; /* Ensure image block has min width */
}

.page-game-bai__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.page-game-bai__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-game-bai__feature-list li {
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-game-bai__feature-list li::before {
  content: '✔';
  color: #FF5A4F; /* Auxiliary Color */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* How to Play Section */
.page-game-bai__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-game-bai__step-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.page-game-bai__step-card:hover {
  transform: translateY(-5px);
}

.page-game-bai__step-icon {
  width: 60px;
  height: 60px;
  background: #FF5A4F; /* Auxiliary Color */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-game-bai__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #E53935; /* Main Color */
  margin-bottom: 15px;
}

.page-game-bai__step-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 25px;
}

.page-game-bai__image-how-to-play {
    max-width: 800px;
    margin: 0 auto;
}
.page-game-bai__image-how-to-play img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Promotions Section */
.page-game-bai__light-bg {
  background-color: #F5F7FA; /* Background */
}

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

.page-game-bai__promo-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-game-bai__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-game-bai__promo-title {
  font-size: 24px;
  font-weight: 700;
  color: #E53935; /* Main Color */
  margin-bottom: 15px;
}

.page-game-bai__promo-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 25px;
}

.page-game-bai__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* Strategy Section */
.page-game-bai__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-game-bai__strategy-list li {
  font-size: 17px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-game-bai__strategy-list li::before {
  content: '•';
  color: #E53935; /* Main Color */
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

/* FAQ Section */
.page-game-bai__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #E0E0E0; /* Border */
  overflow: hidden;
  background: #ffffff; /* Card BG */
}
details.page-game-bai__faq-item summary.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-game-bai__faq-item summary.page-game-bai__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-bai__faq-item summary.page-game-bai__faq-question:hover {
  background: #f5f5f5;
}
.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Text Main */
}
.page-game-bai__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-game-bai__faq-item .page-game-bai__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Final CTA Section */
.page-game-bai__cta-final-section {
  background: linear-gradient(135deg, #E53935 0%, #FF5A4F 100%); /* Blend of brand colors */
  text-align: center;
  color: #ffffff;
  padding: 80px 0;
}

.page-game-bai__cta-final-content .page-game-bai__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-game-bai__cta-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-bai__hero-content {
    margin-top: -60px;
    padding: 30px 20px 50px;
  }

  .page-game-bai__main-title {
    font-size: clamp(28px, 3.5vw, 42px);
  }

  .page-game-bai__hero-description {
    font-size: 17px;
  }

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

  .page-game-bai__game-card img {
    
  }

  .page-game-bai__card-title {
    font-size: 22px;
  }

  .page-game-bai__promo-title {
    font-size: 22px;
  }
}

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

  .page-game-bai__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section */
  .page-game-bai__hero-section {
    padding-top: 10px;
  }

  .page-game-bai__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-bai__hero-content {
    margin-top: -40px;
    padding: 25px 15px 35px;
  }

  .page-game-bai__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }

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

  .page-game-bai__hero-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai__btn-large,
  .page-game-bai__card-button,
  .page-game-bai__btn-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Section Titles */
  .page-game-bai__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  /* Article Body */
  .page-game-bai__article-body {
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* Game Grid */
  .page-game-bai__game-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    overflow-x: hidden;
  }

  .page-game-bai__game-card {
    padding-bottom: 15px;
  }
  .page-game-bai__game-card img {
    
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-bai__card-title {
    font-size: 20px;
  }

  .page-game-bai__card-description {
    font-size: 14px;
  }

  /* Why Choose Section */
  .page-game-bai__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-game-bai__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-bai__feature-list li {
    font-size: 16px;
    padding-left: 25px;
  }

  /* How to Play Section */
  .page-game-bai__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-bai__step-card {
    padding: 20px;
  }

  .page-game-bai__step-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-game-bai__step-title {
    font-size: 20px;
  }

  .page-game-bai__step-description {
    font-size: 14px;
  }

  .page-game-bai__image-how-to-play img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Promotions Section */
  .page-game-bai__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-bai__promo-card {
    padding: 25px;
  }

  .page-game-bai__promo-title {
    font-size: 20px;
  }

  .page-game-bai__promo-description {
    font-size: 14px;
  }

  /* Strategy Section */
  .page-game-bai__strategy-list {
    font-size: 16px;
    padding: 0 15px;
  }

  .page-game-bai__strategy-list li {
    font-size: 16px;
    padding-left: 25px;
  }

  /* FAQ Section */
  details.page-game-bai__faq-item summary.page-game-bai__faq-question { padding: 15px; }
  .page-game-bai__faq-qtext { font-size: 15px; }
  .page-game-bai__faq-toggle { font-size: 20px; width: 24px; }
  details.page-game-bai__faq-item .page-game-bai__faq-answer {
    padding: 0 15px 15px;
  }

  /* Final CTA Section */
  .page-game-bai__cta-final-section {
    padding: 50px 0;
  }
}