.page-tai-xiu {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

.page-tai-xiu__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-tai-xiu__top-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  padding-bottom: 40px;
  background: #7A0E0E; /* Deep Red */
}

.page-tai-xiu__hero-image-wrap {
  margin-bottom: 20px;
}

.page-tai-xiu__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #FFD86A; /* Gold-like from button gradient start */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-tai-xiu__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF5E1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-tai-xiu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__btn--primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__btn--secondary {
  background: #C91F17; /* Main Color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__btn--secondary:hover {
  background: #E53935; /* Auxiliary Color */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__btn--center {
  margin: 30px auto 0 auto;
  display: block;
  width: fit-content;
  max-width: 80%;
}

.page-tai-xiu__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-tai-xiu__section:last-of-type {
  border-bottom: none;
}

.page-tai-xiu__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFD86A; /* Gold-like */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-tai-xiu__sub-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #F4D34D; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tai-xiu__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-tai-xiu__info-card {
  background: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__card-title {
  font-size: 1.5rem;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tai-xiu__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-tai-xiu__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-tai-xiu__list-item strong {
  color: #F4D34D; /* Gold */
}

.page-tai-xiu__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-tai-xiu__card {
  background: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF5E1;
}

.page-tai-xiu__card.page-tai-xiu__dark-bg {
  color: #FFF5E1; /* Ensure light text on dark background */
}

.page-tai-xiu__card-text {
  font-size: 0.95rem;
  color: #FFF5E1;
}

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

.page-tai-xiu__strategy-item {
  background: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-tai-xiu__promo-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-tai-xiu__promo-item {
  background: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-tai-xiu__promo-title {
  font-size: 1.4rem;
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-tai-xiu__promo-text {
  font-size: 0.95rem;
  color: #FFF5E1;
}

.page-tai-xiu__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tai-xiu__step-item {
  background: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-tai-xiu__step-title {
  font-size: 1.4rem;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tai-xiu__cta-bottom, .page-tai-xiu__cta-final {
  text-align: center;
  margin-top: 40px;
}

.page-tai-xiu__faq-list {
  margin-top: 30px;
}

.page-tai-xiu__faq-item {
  background: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  cursor: pointer;
  position: relative;
  list-style: none;
}

.page-tai-xiu__faq-question::-webkit-details-marker {
  display: none;
}

.page-tai-xiu__faq-question::marker {
  display: none;
}

.page-tai-xiu__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFCC66; /* Glow */
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
  transform: rotate(45deg);
}

.page-tai-xiu__faq-toggle::before {
  content: '+';
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle::before {
  content: '−';
}

.page-tai-xiu__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF5E1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-tai-xiu__conclusion-section {
  padding-bottom: 80px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-tai-xiu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 1. 顶区标题 + 双 CTA */
  .page-tai-xiu__top-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }

  .page-tai-xiu__main-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .page-tai-xiu__intro-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-tai-xiu__top-cta {
    flex-direction: column;
    gap: 10px;
  }

  .page-tai-xiu__btn,
  .page-tai-xiu a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. 单栏长文容器 */
  .page-tai-xiu__section {
    padding: 40px 0;
  }

  .page-tai-xiu__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-tai-xiu__sub-title {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-tai-xiu__text-block {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .page-tai-xiu__info-card,
  .page-tai-xiu__card,
  .page-tai-xiu__strategy-item,
  .page-tai-xiu__promo-item,
  .page-tai-xiu__step-item {
    padding: 20px;
    margin-bottom: 15px; /* Adjust spacing for stacked cards */
  }

  .page-tai-xiu__card-title,
  .page-tai-xiu__promo-title,
  .page-tai-xiu__step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .page-tai-xiu__card-text,
  .page-tai-xiu__promo-text {
    font-size: 0.9rem;
  }

  /* 3. 通用图片与 figure */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
    box-sizing: border-box !important;
  }

  /* 4. 按钮与按钮容器 */
  .page-tai-xiu__top-cta,
  .page-tai-xiu__cta-bottom,
  .page-tai-xiu__cta-final,
  .page-tai-xiu__button-group,
  .page-tai-xiu__btn-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Space between stacked buttons */
  }

  .page-tai-xiu__btn--center {
    margin: 20px auto 0 auto !important;
    max-width: 90% !important;
  }

  /* 5. 注册教程与 FAQ 区块 */
  .page-tai-xiu__step-by-step,
  .page-tai-xiu__grid,
  .page-tai-xiu__strategy-grid,
  .page-tai-xiu__promo-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tai-xiu__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-tai-xiu__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-tai-xiu__conclusion-section {
    padding-bottom: 50px;
  }
}