.page-game-bai {
  font-family: Arial, sans-serif;
  color: #FFF1E8; /* Text Main */
  background: #140C0C; /* Background color */
}

.page-game-bai__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Hero Section */
.page-game-bai__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #140C0C; /* Background color */
  text-align: center;
}

.page-game-bai__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 16px;
  max-width: 1170px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-game-bai__hero-content {
  flex: 1 1 50%;
  max-width: 50%;
  text-align: left;
  color: #FFF1E8; /* Text Main */
}

.page-game-bai__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold */
  max-width: 600px; /* To prevent extremely long lines */
}

.page-game-bai__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-game-bai__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-game-bai__hero-image {
  flex: 1 1 40%;
  max-width: 40%;
  text-align: center;
}

.page-game-bai__hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-game-bai__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold */
  padding-top: 40px;
}

.page-game-bai__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #FFF1E8; /* Text Main */
}

/* Intro Section */
.page-game-bai__intro-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background color */
}

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

.page-game-bai__feature-item {
  text-align: center;
  background: #2A1212; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

.page-game-bai__icon-box-media {
  width: 200px; /* Fixed width for circle */
  height: 200px; /* Fixed height for circle */
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F3C54D; /* Gold border */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-bai__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-game-bai__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
}

/* Game Types Section */
.page-game-bai__game-types-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background color */
}

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

.page-game-bai__game-card {
  background: #2A1212; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #6A1E1E; /* Border */
}

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

.page-game-bai__game-card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin: 20px 20px 10px;
  color: #F3C54D; /* Gold */
}

.page-game-bai__game-card-title a {
  color: #F3C54D; /* Gold */
  text-decoration: none;
}

.page-game-bai__game-card-title a:hover {
  text-decoration: underline;
}

.page-game-bai__game-card-text {
  font-size: 1em;
  line-height: 1.6;
  margin: 0 20px 20px;
  flex-grow: 1;
  color: #FFF1E8; /* Text Main */
}

.page-game-bai__game-card-button {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Benefits Section */
.page-game-bai__benefits-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background color */
}

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

.page-game-bai__benefit-item {
  text-align: center;
  background: #2A1212; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

.page-game-bai__benefit-icon {
  width: 100%;
  max-width: 150px; /* Smaller icon size for benefits */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-game-bai__benefit-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-game-bai__benefit-text {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
}

/* Guide Section */
.page-game-bai__guide-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background color */
}

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

.page-game-bai__guide-step-item {
  background: #2A1212; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

.page-game-bai__guide-step-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-game-bai__guide-step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
}

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

/* Promo Section */
.page-game-bai__promo-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background color */
}

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

.page-game-bai__promo-card {
  background: #2A1212; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #6A1E1E; /* Border */
}

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

.page-game-bai__promo-card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin: 20px 20px 10px;
  color: #F3C54D; /* Gold */
}

.page-game-bai__promo-card-title a {
  color: #F3C54D; /* Gold */
  text-decoration: none;
}

.page-game-bai__promo-card-title a:hover {
  text-decoration: underline;
}

.page-game-bai__promo-card-text {
  font-size: 1em;
  line-height: 1.6;
  margin: 0 20px 20px;
  flex-grow: 1;
  color: #FFF1E8; /* Text Main */
}

.page-game-bai__promo-card-button {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* FAQ Section */
.page-game-bai__faq-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background color */
  padding-bottom: 80px;
}

.page-game-bai__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
  border-top: 1px solid #6A1E1E; /* Border */
}

.page-game-bai__faq-item {
  background: #2A1212; /* Card BG */
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #6A1E1E; /* Border */
}

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  cursor: pointer;
  background: #2A1212; /* Card BG */
  list-style: none;
}

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

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

.page-game-bai__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #F3C54D; /* Gold */
}

.page-game-bai__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background: #2A1212; /* Card BG */
}

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

/* Buttons */
.page-game-bai__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-game-bai__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-bai__btn-secondary:hover {
  background: #F3C54D; /* Gold */
  color: #140C0C; /* Background color */
  transform: translateY(-2px);
}

/* Image styles for content areas */
.page-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-bai__hero-title {
    font-size: 2.8em;
  }
  .page-game-bai__section-title {
    font-size: 2.2em;
  }
  .page-game-bai__feature-grid,
  .page-game-bai__game-card-grid,
  .page-game-bai__benefits-grid,
  .page-game-bai__guide-steps,
  .page-game-bai__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* General */
  .page-game-bai {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-game-bai__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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