/* style/game-bai.css */
.page-game-bai {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

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

.page-game-bai__article-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-bai__top-section {
  padding-top: 10px; /* Rely on body padding-top for header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #17191F;
  border-bottom: 1px solid #A84F0C;
}

.page-game-bai__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-game-bai__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

.page-game-bai__highlight {
  color: #FFA53A;
  font-weight: bold;
}

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

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

.page-game-bai__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-game-bai__btn--primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

.page-game-bai__btn--secondary {
  background-color: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  box-shadow: 0 4px 10px rgba(255, 165, 58, 0.2);
}

.page-game-bai__btn--secondary:hover {
  background-color: #FFA53A;
  color: #17191F;
  box-shadow: 0 6px 15px rgba(255, 165, 58, 0.4);
  transform: translateY(-2px);
}

.page-game-bai__btn--large {
  padding: 16px 32px;
  font-size: 1.2em;
}

.page-game-bai__btn--inline {
  padding: 8px 16px;
  font-size: 0.9em;
  margin-top: 10px;
  margin-right: 10px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  box-shadow: none;
  border-radius: 5px;
}

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

.page-game-bai__section {
  padding: 60px 0;
  border-bottom: 1px solid #A84F0C;
}

.page-game-bai__section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.page-game-bai__section-title {
  font-size: 2.2em;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.3);
}

.page-game-bai__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-game-bai__text-center {
  text-align: center;
  margin-top: 30px;
}

.page-game-bai__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-game-bai__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

.page-game-bai__figcaption {
  font-size: 0.9em;
  color: #A84F0C;
  margin-top: 10px;
  font-style: italic;
}

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

.page-game-bai__game-item {
  background-color: #17191F;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-bai__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-game-bai__game-title {
  font-size: 1.6em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.page-game-bai__game-description {
  font-size: 1em;
  color: #FFF3E6;
  line-height: 1.7;
}

.page-game-bai__game-item .page-game-bai__figure {
  margin-top: 15px;
  margin-bottom: 20px;
}

.page-game-bai__benefit-list,
.page-game-bai__promo-list,
.page-game-bai__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-bai__benefit-item,
.page-game-bai__promo-item,
.page-game-bai__tip-item {
  background-color: #17191F;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 10px;
  border-left: 5px solid #FF8C1A;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-bai__benefit-item:last-child,
.page-game-bai__promo-item:last-child,
.page-game-bai__tip-item:last-child {
  margin-bottom: 0;
}

.page-game-bai__benefit-title,
.page-game-bai__promo-title,
.page-game-bai__tip-title {
  font-size: 1.4em;
  color: #FFB04D;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-bai__benefit-item p,
.page-game-bai__promo-item p,
.page-game-bai__tip-item p {
  color: #FFF3E6;
  font-size: 1em;
}

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

.page-game-bai__step-item {
  background-color: #17191F;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid #A84F0C;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-game-bai__step-title {
  font-size: 1.8em;
  color: #FF8C1A;
  margin-bottom: 10px;
  font-weight: bold;
}