.page-game-bai {
  --gb-primary: #FF8C1A;
  --gb-secondary: #FFA53A;
  --gb-bg-main: #0D0E12;
  --gb-bg-card: #17191F;
  --gb-text-main: #FFF3E6;
  --gb-border: #A84F0C;
  --gb-glow: #FFB04D;
  --gb-deep-orange: #D96800;
  color: #FFF3E6;
  background-color: #0D0E12;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  word-wrap: break-word;
}
.page-game-bai h1,
.page-game-bai h2,
.page-game-bai h3 {
  color: #FF8C1A;
  margin-bottom: 12px;
  line-height: 1.3;
}
.page-game-bai h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 800px;
}
.page-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-game-bai__hero-section {
  width: 100%;
  padding-top: 10px;
  margin-top: 0;
  overflow: hidden;
}
.page-game-bai__hero-slider {
  position: relative;
}
.page-game-bai__hero-slide {
  display: none;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.page-game-bai__hero-slide.is-active {
  display: block;
}
.page-game-bai__hero-image {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(255, 140, 26, 0.15);
}
.page-game-bai__hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.page-game-bai__hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 32px;
  text-align: center;
}
.page-game-bai__hero-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #FFF3E6;
  margin-bottom: 16px;
}
.page-game-bai__hero-desc {
  color: #FFF3E6;
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.page-game-bai__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.page-game-bai__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  font-size: 1rem;
}
.page-game-bai__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
  box-shadow: 0 4px 16px rgba(255, 140, 26, 0.3);
}
.page-game-bai__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 140, 26, 0.5);
}
.page-game-bai__btn--secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #A84F0C;
}
.page-game-bai__btn--secondary:hover {
  background: rgba(255, 165, 58, 0.1);
}
.page-game-bai__btn--outline {
  background: transparent;
  color: #FFB04D;
  border: 2px solid #A84F0C;
}
.page-game-bai__btn--outline:hover {
  background: rgba(255, 176, 77, 0.1);
}
.page-game-bai__banner-section {
  max-width: 1200px;
  margin: 12px auto;
  padding: 0 16px;
}
.page-game-bai__banner-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.page-game-bai__banner-thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #A84F0C;
  transition: transform 0.2s, box-shadow 0.2s;
}
.page-game-bai__banner-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 140, 26, 0.25);
}
.page-game-bai__banner-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.page-game-bai__intro-section,
.page-game-bai__posts-section,
.page-game-bai__promo-section,
.page-game-bai__list-section,
.page-game-bai__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}
.page-game-bai__section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #FF8C1A;
  margin-bottom: 8px;
  text-align: center;
}
.page-game-bai__section-desc {
  text-align: center;
  color: #FFF3E6;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.page-game-bai__intro-text {
  color: #FFF3E6;
  margin-bottom: 16px;
  font-size: 1rem;
}
.page-game-bai__intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}
.page-game-bai__posts-track {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.page-game-bai__post-card {
  flex: 0 0 calc(25% - 12px);
  background: #17191F;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #A84F0C;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.page-game-bai__post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 140, 26, 0.2);
}
.page-game-bai__post-link {
  text-decoration: none;
  display: block;
}
.page-game-bai__post-card img {
  width: 100%;
  
  object-fit: cover;
}
.page-game-bai__post-title {
  font-size: 1rem;
  color: #FF8C1A;
  padding: 12px 12px 8px;
  margin: 0;
}
.page-game-bai__post-excerpt {
  color: #FFF3E6;
  font-size: 0.9rem;
  padding: 0 12px 16px;
  margin: 0;
  flex-grow: 1;
}
.page-game-bai__posts-actions {
  text-align: center;
  margin-top: 24px;
}
.page-game-bai__promo-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #17191F;
  border: 1px solid #A84F0C;
}
.page-game-bai__promo-banner img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}
.page-game-bai__promo-content {
  padding: 24px;
  text-align: center;
}
.page-game-bai__promo-title {
  font-size: 1.3rem;
  color: #FFB04D;
  margin-bottom: 8px;
}
.page-game-bai__promo-desc {
  color: #FFF3E6;
  margin-bottom: 16px;
}
.page-game-bai__list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.page-game-bai__list-item {
  background: #17191F;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #A84F0C;
  padding-bottom: 16px;
}
.page-game-bai__list-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.page-game-bai__list-title {
  font-size: 1.2rem;
  color: #FF8C1A;
  padding: 12px 16px 8px;
  margin: 0;
}
.page-game-bai__list-desc {
  color: #FFF3E6;
  font-size: 0.95rem;
  padding: 0 16px;
  margin: 0;
}
.page-game-bai__faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.page-game-bai__faq-item {
  background: #17191F;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  margin-bottom: 12px;
  padding: 16px 20px;
}
.page-game-bai__faq-question {
  font-size: 1.05rem;
  color: #FFA53A;
  margin-bottom: 8px;
}
.page-game-bai__faq-answer {
  color: #FFF3E6;
  font-size: 0.95rem;
  margin: 0;
}
.page-game-bai__overlay-section {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-game-bai__overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-game-bai__overlay-mask {
  position: absolute;
  inset: 0;
  background: rgba(13, 14, 18, 0.75);
  z-index: 1;
}
.page-game-bai__overlay-content {
  position: relative;
  z-index: 2;
  padding: 32px 24px;
  max-width: 700px;
}
.page-game-bai__overlay-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #FFB04D;
  margin-bottom: 12px;
}
.page-game-bai__overlay-desc {
  color: #FFF3E6;
  margin-bottom: 20px;
}
.page-game-bai__cta-section {
  width: 100%;
  padding: 48px 16px;
  background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%);
  border-top: 1px solid #A84F0C;
}
.page-game-bai__cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.page-game-bai__cta-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #FF8C1A;
  margin-bottom: 12px;
}
.page-game-bai__cta-desc {
  color: #FFF3E6;
  margin-bottom: 24px;
}
.page-game-bai__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
@media (max-width: 768px) {
  .page-game-bai__banner-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-game-bai__post-card {
    flex-basis: 100%;
  }
  .page-game-bai__list-grid {
    grid-template-columns: 1fr;
  }
  .page-game-bai__hero-slide {
    padding: 0 12px;
  }
  .page-game-bai__hero-content {
    padding: 0 12px 24px;
  }
  .page-game-bai__intro-section,
  .page-game-bai__posts-section,
  .page-game-bai__promo-section,
  .page-game-bai__list-section,
  .page-game-bai__faq-section {
    padding: 24px 12px;
  }
  .page-game-bai__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-game-bai__hero-actions,
  .page-game-bai__intro-actions,
  .page-game-bai__cta-actions {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .page-game-bai img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-game-bai {
    max-width: 100%;
    overflow-x: hidden;
  }
}