.page-game-bai {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

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

.page-game-bai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  margin-bottom: 40px;
  background: linear-gradient(180deg, #B71C1C 0%, #7A0E0E 100%); /* Deep Red background */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-game-bai__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.page-game-bai__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: -50px; /* Slight overlap into content for visual flow */
}

.page-game-bai__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px 20px 60px;
  color: #FFF5E1; /* Text Main color */
  max-width: 900px;
}

.page-game-bai__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFF5E1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-game-bai__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F2B544; /* Border color for accent */
}

.page-game-bai__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-game-bai__btn-secondary {
  background: #B71C1C; /* Background color */
  color: #FFF5E1; /* Text Main color */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-bai__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #C91F17; /* Main color */
}

.page-game-bai__btn-play {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-bai__btn-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-game-bai__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

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

.page-game-bai__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #C91F17; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-game-bai__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #F4D34D; /* Gold color */
  border-radius: 2px;
}

.page-game-bai__text-block {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #333333;
}

.page-game-bai__dark-section {
  background: #B71C1C; /* Background color */
  color: #FFF5E1; /* Text Main color */
}

.page-game-bai__dark-section .page-game-bai__section-title {
  color: #F4D34D; /* Gold color */
}

.page-game-bai__dark-section .page-game-bai__text-block {
  color: #FFF5E1;
}

.page-game-bai__dark-section .page-game-bai__step-card h3 {
  color: #F4D34D;
}

.page-game-bai__light-bg {
  background: #f9f9f9;
  color: #333333;
}

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

.page-game-bai__feature-card,
.page-game-bai__game-card,
.page-game-bai__step-card {
  background: #D32F2F; /* Card BG color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #FFF5E1;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-game-bai__feature-card img,
.page-game-bai__game-card img,
.page-game-bai__step-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-bai__game-card img {
  height: 220px;
}

.page-game-bai__step-card img {
  
  object-fit: contain;
  padding: 15px;
}

.page-game-bai__feature-card h3,
.page-game-bai__game-card h3,
.page-game-bai__step-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: #F4D34D; /* Gold color */
}

.page-game-bai__game-card h3 {
  color: #FFF5E1;
}

.page-game-bai__feature-card p,
.page-game-bai__game-card p,
.page-game-bai__step-card p {
  font-size: 0.95rem;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #FFF5E1;
}

.page-game-bai__game-card .page-game-bai__btn-play {
  margin: 0 auto 20px;
}

.page-game-bai__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-game-bai__strategy-list li {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  color: #333333;
}

.page-game-bai__strategy-list li h3 {
  font-size: 1.2rem;
  color: #C91F17;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-game-bai__strategy-list li p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  color: #333333;
}

.page-game-bai__app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-game-bai__app-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-game-bai__app-content .page-game-bai__section-title {
  text-align: left;
}

.page-game-bai__app-content .page-game-bai__section-title::after {
  left: 0;
  transform: translateX(0);
}

.page-game-bai__app-content .page-game-bai__text-block {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-game-bai__app-benefits {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.page-game-bai__app-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #333333;
}

.page-game-bai__app-benefits li img {
  
  
  margin-right: 15px;
  flex-shrink: 0;
  object-fit: contain;
}

.page-game-bai__app-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.page-game-bai__app-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}}