/* Scope: .page-tai-xiu only */
.page-tai-xiu {
  color: #FFF5E1;
  background-color: #B71C1C;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
}
.page-tai-xiu * {
  box-sizing: border-box;
}
.page-tai-xiu img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-tai-xiu h1,
.page-tai-xiu h2,
.page-tai-xiu h3 {
  color: #F4D34D;
  line-height: 1.25;
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.page-tai-xiu h1 {
  color: #FFF5E1;
  font-weight: 800;
  max-width: 900px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}
.page-tai-xiu p,
.page-tai-xiu li {
  color: #FFF5E1;
}
.page-tai-xiu a {
  color: #FFCC66;
  text-decoration: none;
}
.page-tai-xiu a:hover {
  text-decoration: underline;
}

/* HERO */
.page-tai-xiu__hero-section {
  width: 100%;
  margin: 0;
  padding: 10px 16px 24px;
  background: linear-gradient(180deg, #7A0E0E 0%, #B71C1C 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-tai-xiu__hero-image-wrap {
  width: 100%;
  max-width: 1200px;
  border: 2px solid #F2B544;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,0.45);
}
.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  display: block;
}
.page-tai-xiu__hero-content {
  width: 100%;
  max-width: 1100px;
  margin: 20px auto 0;
  text-align: center;
  padding: 0 4px;
}
.page-tai-xiu__main-title {
  margin-bottom: 14px;
}
.page-tai-xiu__hero-desc {
  font-size: 1.02rem;
  max-width: 900px;
  margin: 0 auto 18px;
  color: #FFF5E1;
}
.page-tai-xiu__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

/* Buttons */
.page-tai-xiu__btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 1px solid #F2B544;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #4A0A0A;
  box-shadow: 0 4px 14px rgba(255, 204, 102, 0.35);
}
.page-tai-xiu__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 102, 0.5);
  text-decoration: none;
}
.page-tai-xiu__btn--secondary {
  background: #D32F2F;
  color: #FFF5E1;
}
.page-tai-xiu__btn--secondary:hover {
  background: #E53935;
  text-decoration: none;
}

/* Section shared */
.page-tai-xiu__section-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
  border-left: 5px solid #F4D34D;
  padding-left: 12px;
}

/* Intro */
.page-tai-xiu__intro-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 16px;
}
.page-tai-xiu__intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.page-tai-xiu__intro-card {
  background: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.page-tai-xiu__intro-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.page-tai-xiu__intro-card p {
  font-size: 0.98rem;
  margin: 0;
}

/* List */
.page-tai-xiu__list-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 16px;
  background: rgba(122, 14, 14, 0.35);
  border-radius: 16px;
}
.page-tai-xiu__list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.page-tai-xiu__list-item {
  background: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 12px;
  padding: 20px;
}
.page-tai-xiu__list-item h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.page-tai-xiu__list-item ul {
  padding-left: 18px;
  margin: 10px 0 0;
}
.page-tai-xiu__list-item li {
  margin-bottom: 6px;
}

/* Game trial */
.page-tai-xiu__trial-wrap {
  margin-top: 32px;
}
.page-tai-xiu__trial-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.page-tai-xiu__trial-frame-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #7A0E0E;
  border: 2px solid #F2B544;
  border-radius: 12px;
  overflow: hidden;
}
.page-tai-xiu__game-trial-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Posts */
.page-tai-xiu__posts-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 16px;
}
.page-tai-xiu__posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.page-tai-xiu__post-card {
  background: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.page-tai-xiu__post-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.page-tai-xiu__post-title {
  font-size: 1.08rem;
  padding: 14px 16px 0;
  margin-bottom: 6px;
}
.page-tai-xiu__post-title a {
  color: #F4D34D;
}
.page-tai-xiu__post-card p {
  padding: 0 16px 18px;
  margin: 0;
  font-size: 0.95rem;
}

/* Promo */
.page-tai-xiu__promo-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 16px;
}
.page-tai-xiu__promo-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 2px solid #F2B544;
  margin-bottom: 20px;
}
.page-tai-xiu__promo-content {
  background: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 12px;
  padding: 22px;
}
.page-tai-xiu__promo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* FAQ */
.page-tai-xiu__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 16px;
}
.page-tai-xiu__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.page-tai-xiu__faq-item {
  background: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 10px;
  overflow: hidden;
}
.page-tai-xiu__faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #FFF5E1;
  border: 0;
  padding: 16px 18px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
}
.page-tai-xiu__faq-question:hover {
  background: rgba(244, 211, 77, 0.12);
}
.page-tai-xiu__faq-answer {
  display: none;
  padding: 0 18px 16px;
  color: #FFF5E1;
}
.page-tai-xiu__faq-item.is-open .page-tai-xiu__faq-answer {
  display: block;
}

/* CTA */
.page-tai-xiu__cta-section {
  background: linear-gradient(180deg, #7A0E0E 0%, #B71C1C 100%);
  width: 100%;
  padding: 42px 16px;
}
.page-tai-xiu__cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  background: #D32F2F;
  border: 2px solid #F2B544;
  border-radius: 16px;
  padding: 30px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.page-tai-xiu__cta-title {
  font-size: 1.55rem;
  margin-bottom: 10px;
}
.page-tai-xiu__cta-desc {
  margin-bottom: 20px;
}
.page-tai-xiu__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

@media (max-width: 768px) {
  .page-tai-xiu {
    overflow-x: hidden;
    max-width: 100%;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__hero-section {
    padding: 10px 12px 20px;
  }
  .page-tai-xiu__hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tai-xiu__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-tai-xiu__intro-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__list-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__posts-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__promo-cta {
    flex-direction: column;
  }
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tai-xiu__section-title {
    font-size: 1.3rem;
  }
  .page-tai-xiu__cta-title {
    font-size: 1.25rem;
  }
}