/* ===== page-tai-xiu ===== */
.page-tai-xiu {
  background: #0D0E12;
  color: #FFF3E6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}
.page-tai-xiu__section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}
.page-tai-xiu__section-title {
  font-size: 1.6rem;
  color: #FF8C1A;
  margin-bottom: 16px;
  line-height: 1.3;
  font-weight: 700;
}
.page-tai-xiu__hero-section {
  padding-top: 10px;
  margin-top: 0;
  background: #0D0E12;
}
.page-tai-xiu__hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}
.page-tai-xiu__hero-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 140, 26, 0.2);
}
.page-tai-xiu__hero-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.page-tai-xiu__hero-content {
  width: 100%;
  padding: 8px 0 16px;
}
.page-tai-xiu__hero-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: #FF8C1A;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 14px;
}
.page-tai-xiu__hero-desc {
  color: #FFF3E6;
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 900px;
}
.page-tai-xiu__hero-actions,
.page-tai-xiu__promo-actions,
.page-tai-xiu__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-tai-xiu__btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
}
.page-tai-xiu__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 140, 26, 0.35);
}
.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFFFFF;
  border: 1px solid #A84F0C;
}
.page-tai-xiu__btn--secondary {
  background: #17191F;
  color: #FFF3E6;
  border: 1px solid #A84F0C;
}
.page-tai-xiu__btn--outline {
  background: transparent;
  color: #FFA53A;
  border: 1px solid #FFA53A;
}
.page-tai-xiu__intro-section,
.page-tai-xiu__promo-section,
.page-tai-xiu__rules-section,
.page-tai-xiu__gameplay-section,
.page-tai-xiu__tips-section,
.page-tai-xiu__games-section,
.page-tai-xiu__faq-section {
  padding: 32px 0;
  background: #0D0E12;
}
.page-tai-xiu__promo-section {
  background: #17191F;
}
.page-tai-xiu__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.page-tai-xiu__stat-card {
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-tai-xiu__stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFA53A;
  margin-bottom: 6px;
}
.page-tai-xiu__stat-label {
  color: #FFF3E6;
  font-size: 0.85rem;
}
.page-tai-xiu__promo-wrap {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.page-tai-xiu__promo-content {
  flex: 1 1 400px;
  min-width: 0;
}
.page-tai-xiu__promo-image {
  flex: 1 1 340px;
  min-width: 0;
}
.page-tai-xiu__promo-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.page-tai-xiu__promo-text {
  color: #FFF3E6;
  margin-bottom: 14px;
}
.page-tai-xiu__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.page-tai-xiu__promo-list li {
  color: #FFF3E6;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px dashed rgba(168, 79, 12, 0.4);
}
.page-tai-xiu__promo-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #FFA53A;
}
.page-tai-xiu__rules-intro,
.page-tai-xiu__tips-intro,
.page-tai-xiu__games-intro {
  color: #FFF3E6;
  margin-bottom: 20px;
}
.page-tai-xiu__rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.page-tai-xiu__rule-card {
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 20px;
}
.page-tai-xiu__rule-title {
  color: #FFA53A;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.page-tai-xiu__rule-desc {
  color: #FFF3E6;
  font-size: 0.95rem;
}
.page-tai-xiu__rules-note,
.page-tai-xiu__tips-note {
  color: #FFF3E6;
  margin-top: 20px;
  font-size: 0.92rem;
  border-left: 3px solid #FF8C1A;
  padding-left: 14px;
}
.page-tai-xiu__gameplay-wrap {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.page-tai-xiu__gameplay-image {
  flex: 1 1 340px;
  min-width: 0;
}
.page-tai-xiu__gameplay-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.page-tai-xiu__gameplay-content {
  flex: 1 1 400px;
  min-width: 0;
}
.page-tai-xiu__gameplay-text {
  color: #FFF3E6;
  margin-bottom: 14px;
}
.page-tai-xiu__gameplay-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.page-tai-xiu__gameplay-list li {
  color: #FFF3E6;
  padding: 8px 0;
  border-bottom: 1px solid rgba(168, 79, 12, 0.3);
}
.page-tai-xiu__gameplay-list strong {
  color: #FFA53A;
}
.page-tai-xiu__inline-link {
  color: #FFA53A;
  text-decoration: underline;
  font-weight: 600;
}
.page-tai-xiu__inline-link:hover {
  color: #FFB04D;
}
.page-tai-xiu__tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.page-tai-xiu__tip-card {
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 20px;
}
.page-tai-xiu__tip-title {
  color: #FFA53A;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.page-tai-xiu__tip-desc {
  color: #FFF3E6;
  font-size: 0.95rem;
}
.page-tai-xiu__games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.page-tai-xiu__game-card {
  display: block;
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  color: #FFF3E6;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.page-tai-xiu__game-card:hover {
  border-color: #FFA53A;
  transform: translateY(-3px);
}
.page-tai-xiu__game-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}
.page-tai-xiu__game-title {
  color: #FFA53A;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.page-tai-xiu__game-desc {
  color: #FFF3E6;
  font-size: 0.9rem;
}
.page-tai-xiu__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-tai-xiu__faq-item {
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  overflow: hidden;
}
.page-tai-xiu__faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #FFA53A;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 20px;
  cursor: pointer;
  position: relative;
  padding-right: 44px;
  font-family: inherit;
}
.page-tai-xiu__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: #FFA53A;
}
.page-tai-xiu__faq-item.is-open .page-tai-xiu__faq-question::after {
  content: '−';
}
.page-tai-xiu__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.page-tai-xiu__faq-answer p {
  color: #FFF3E6;
  padding: 0 20px 16px 20px;
  font-size: 0.95rem;
}
.page-tai-xiu__cta-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-tai-xiu__cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-tai-xiu__cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-tai-xiu__cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.page-tai-xiu__cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}
.page-tai-xiu__cta-title {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  color: #FFA53A;
  margin-bottom: 14px;
  line-height: 1.3;
  font-weight: 800;
}
.page-tai-xiu__cta-desc {
  color: #FFF3E6;
  margin-bottom: 22px;
}
.page-tai-xiu__cta-actions {
  justify-content: center;
}
@media (max-width: 768px) {
  .page-tai-xiu__stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tai-xiu__rules-grid,
  .page-tai-xiu__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__games-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__promo-wrap,
  .page-tai-xiu__gameplay-wrap {
    flex-direction: column;
  }
  .page-tai-xiu__section-title {
    font-size: 1.3rem;
  }
  .page-tai-xiu__hero-actions,
  .page-tai-xiu__promo-actions,
  .page-tai-xiu__cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .page-tai-xiu__btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__cta-section {
    min-height: 260px;
  }
}