.page-game-bai {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: var(--site-bg, #0D0E12); /* Background */
}

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

/* HERO Section */
.page-game-bai__hero-section {
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--site-bg, #0D0E12);
}

.page-game-bai__hero-image {
  min-height: 200px; /* Ensure minimum height for image container */
  overflow: hidden;
}

.page-game-bai__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-game-bai__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
  font-weight: 700;
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-game-bai__description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF3E6; /* Text Main */
}

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

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-play,
.page-game-bai__btn-link,
.page-game-bai__blog-readmore {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Button responsive rule */
  box-sizing: border-box; /* Button responsive rule */
  white-space: normal; /* Button responsive rule */
  word-wrap: break-word; /* Button responsive rule */
  text-align: center;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6; /* Text Main */
  border: 2px solid transparent;
}

.page-game-bai__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
}

.page-game-bai__btn-secondary {
  background: transparent;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A; /* Auxiliary color */
}

.page-game-bai__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12; /* Background color for contrast */
  transform: translateY(-2px);
}

/* General Sections */
.page-game-bai__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FF8C1A; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-game-bai__text-content {
  font-size: 1.05rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6; /* Text Main */
}

.page-game-bai__dark-bg {
  background-color: #0D0E12; /* Background color */
  color: #FFF3E6; /* Text Main */
  padding: 60px 0;
}

.page-game-bai__light-bg {
  background-color: #17191F; /* Card BG, slightly lighter for contrast */
  color: #FFF3E6; /* Text Main */
  padding: 60px 0;
}

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

.page-game-bai__game-card {
  background-color: #0D0E12; /* Background color for card */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #A84F0C; /* Border color */
  color: #FFF3E6; /* Text Main */
}

.page-game-bai__game-card:hover {
  transform: translateY(-8px);
}

.page-game-bai__game-image {
  height: 200px; /* Fixed height for consistency */
  min-height: 200px; /* Ensure minimum height */
  overflow: hidden;
}

.page-game-bai__game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-game-bai__game-card h3 {
  font-size: 1.5rem;
  color: #FFA53A; /* Auxiliary color */
  padding: 20px 20px 10px;
}

.page-game-bai__game-description {
  font-size: 0.95rem;
  padding: 0 20px 20px;
  color: #FFF3E6; /* Text Main */
}

.page-game-bai__btn-play {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6; /* Text Main */
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  width: 100%;
  display: block;
  text-align: center;
  font-weight: 600;
  border: none;
}

.page-game-bai__btn-play:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

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

.page-game-bai__feature-item {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border color */
}

.page-game-bai__feature-icon {
  width: 200px; /* Minimum size for content images */
  height: 200px; /* Minimum size for content images */
  object-fit: cover; /* Maintain aspect ratio */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__feature-title {
  font-size: 1.3rem;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-game-bai__feature-description {
  font-size: 0.95rem;
  color: #FFF3E6; /* Text Main */
}

/* Guide Section */
.page-game-bai__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-game-bai__guide-item {
  background-color: #0D0E12; /* Background color */
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border color */
  color: #FFF3E6; /* Text Main */
}

.page-game-bai__guide-step-title {
  font-size: 1.4rem;
  color: #FF8C1A; /* Main color */
  margin-bottom: 10px;
}

.page-game-bai__guide-step-description {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #FFF3E6; /* Text Main */
}

.page-game-bai__btn-link {
  color: #FFA53A;
  text-decoration: underline;
  font-weight: 600;
}

.page-game-bai__btn-link:hover {
  color: #FFB04D;
}

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