.page-tai-xiu {
  background-color: #B71C1C;
  color: #FFF5E1;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}

.page-tai-xiu__hero-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px 0;
  background: transparent;
}

.page-tai-xiu__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-tai-xiu__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 350;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 0 24px;
}

.page-tai-xiu__hero-title {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #F4D34D;
  margin-top: 20px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.6rem, 2.4vw, 2.4em);
}

.page-tai-xiu__hero-subtitle {
  max-width: 760px;
  margin: 16px auto 24px;
  color: #FFF5E1;
  font-size: 1.05rem;
}

.page-tai-xiu__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.page-tai-xiu__btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 12px 32px;
  font-size: 1.1rem;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  border: none;
  cursor: pointer;
}

.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border: 1px solid #F2B544;
  box-shadow: 0 4px 12px rgba(255, 204, 102, 0.3);
}

.page-tai-xiu__btn--secondary {
  background: transparent;
  color: #F4D34D;
  border: 2px solid #F2B544;
}

.page-tai-xiu__btn--partner {
  background: transparent;
  color: #F4D34D;
  border: 1px solid #F2B544;
  padding: 8px 24px;
  font-size: 0.9rem;
}

.page-tai-xiu__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 204, 102, 0.5);
}

.page-tai-xiu__intro-section {
  background: linear-gradient(145deg, #C91F17, #B71C1C);
  padding: 48px 20px;
}

.page-tai-xiu__intro-container,
.page-tai-xiu__strategy-container,
.page-tai-xiu__guide-container,
.page-tai-xiu__faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-tai-xiu__intro-text {
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}

.page-tai-xiu__intro-title,
.page-tai-xiu__section-title {
  color: #F4D34D;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.9rem;
  text-align: center;
}

.page-tai-xiu__section-subtitle {
  color: #FFF5E1;
  max-width: 860px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  text-align: center;
}

.page-tai-xiu__intro-text p {
  margin-bottom: 12px;
  color: #FFF5E1;
}

.page-tai-xiu__intro-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.page-tai-xiu__highlights-card {
  background-color: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__highlights-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.page-tai-xiu__highlights-card h3 {
  color: #F4D34D;
  font-weight: 600;
  margin-bottom: 4px;
}

.page-tai-xiu__highlights-card p {
  color: #FFF5E1;
  font-size: 0.9rem;
  margin: 0;
}

.page-tai-xiu__rules-section {
  background-color: #7A0E0E;
  padding: 48px 20px;
}

.page-tai-xiu__rules-container {
  max-width: 1100px;
  margin: 0 auto;
}

.page-tai-xiu__rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-tai-xiu__rule-card {
  background-color: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.page-tai-xiu__rule-number {
  display: inline-block;
  background-color: #F4D34D;
  color: #7A0E0E;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.page-tai-xiu__rule-card h3 {
  color: #F4D34D;
  margin-bottom: 8px;
}

.page-tai-xiu__rule-card p {
  color: #FFF5E1;
  margin-bottom: 12px;
}

.page-tai-xiu__text-link {
  color: #FFCC66;
  text-decoration: none;
  font-weight: 600;
}

.page-tai-xiu__text-link:hover {
  color: #F4D34D;
  text-decoration: underline;
}

.page-tai-xiu__strategy-section {
  background-color: #B71C1C;
  padding: 48px 20px;
}

.page-tai-xiu__strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.page-tai-xiu__strategy-item {
  background-color: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 12px;
  padding: 24px;
}

.page-tai-xiu__strategy-item h3 {
  color: #F4D34D;
  margin-bottom: 8px;
}

.page-tai-xiu__strategy-item p {
  color: #FFF5E1;
}

.page-tai-xiu__strategy-cta {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background-color: #7A0E0E;
  border-radius: 12px;
  border: 1px solid #F2B544;
}

.page-tai-xiu__strategy-cta h3,
.page-tai-xiu__cta-title {
  color: #F4D34D;
  margin-bottom: 8px;
}

.page-tai-xiu__benefits-section {
  background-color: #7A0E0E;
  padding: 48px 20px;
}

.page-tai-xiu__benefits-container,
.page-tai-xiu__cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-tai-xiu__benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-tai-xiu__benefit-card {
  background-color: #C91F17;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #F2B544;
}

.page-tai-xiu__benefit-card:nth-child(2) .page-tai-xiu__benefit-content {
  order: -1;
}

.page-tai-xiu__benefit-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.page-tai-xiu__benefit-content {
  padding: 28px;
}

.page-tai-xiu__benefit-content h3 {
  color: #F4D34D;
  font-weight: 600;
  margin-bottom: 12px;
}

.page-tai-xiu__benefit-content p {
  color: #FFF5E1;
  margin-bottom: 16px;
}

.page-tai-xiu__guide-section {
  background-color: #B71C1C;
  padding: 48px 20px;
}

.page-tai-xiu__steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.page-tai-xiu__step-item {
  background-color: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  position: relative;
}

.page-tai-xiu__step-number {
  color: #FFCC66;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.page-tai-xiu__step-item h3 {
  color: #F4D34D;
  font-size: 1.1rem;
  margin: 8px 0 8px;
}

.page-tai-xiu__step-item p {
  color: #FFF5E1;
  font-size: 0.9rem;
  margin: 0;
}

.page-tai-xiu__faq-section {
  background-color: #7A0E0E;
  padding: 48px 20px;
}

.page-tai-xiu__faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.page-tai-xiu__faq-item {
  background-color: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0 16px;
}

.page-tai-xiu__faq-item summary {
  cursor: pointer;
  color: #F4D34D;
  font-weight: 600;
  list-style: none;
  padding: 16px 0;
  position: relative;
}

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

.page-tai-xiu__faq-item summary::after {
  content: '+ ';
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFCC66;
}

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

.page-tai-xiu__faq-answer {
  color: #FFF5E1;
  padding-bottom: 16px;
}

.page-tai-xiu__faq-answer p {
  margin-bottom: 8px;
}

.page-tai-xiu__partners-section {
  background-color: #B71C1C;
  padding: 48px 20px;
}

.page-tai-xiu__partners-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-tai-xiu__partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  justify-items: center;
  align-items: stretch;
}

.page-tai-xiu__partner-item {
  background-color: #7A0E0E;
  border: 1px solid #F2B544;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.page-tai-xiu__partner-logo {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
}

.page-tai-xiu__cta-section {
  background-color: #C91F17;
  border-top: 1px solid #F2B544;
  border-bottom: 1px solid #F2B544;
  padding: 48px 20px;
  text-align: center;
}

.page-tai-xiu__cta-container p {
  max-width: 700px;
  margin: 0 auto 24px;
  color: #FFF5E1;
}

/* Mobile & Tablet */
@media (max-width: 768px) {
  .page-tai-xiu__hero-section {
    padding: 8px 12px 0;
  }

  .page-tai-xiu__hero-image {
    aspect-ratio: 4/3;
    border-radius: 8px;
  }

  .page-tai-xiu__hero-content {
    padding: 16px 12px 20px;
  }

  .page-tai-xiu__hero-subtitle {
    font-size: 1rem;
  }

  .page-tai-xiu__intro-highlights {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-tai-xiu__section-title {
    font-size: 1.4rem;
  }

  .page-tai-xiu__strategy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-tai-xiu__benefit-card {
    grid-template-columns: 1fr;
  }

  .page-tai-xiu__benefit-card:nth-child(2) .page-tai-xiu__benefit-content {
    order: 0;
  }

  .page-tai-xiu__steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-tai-xiu__partner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-tai-xiu__partner-item {
    padding: 12px;
  }

  .page-tai-xiu__btn {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .page-tai-xiu__hero-actions,
  .page-tai-xiu__strategy-cta {
    flex-direction: column;
  }

  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-tai-xiu {
    overflow-x: hidden;
    max-width: 100%;
  }

  .page-tai-xiu__highlights-card,
  .page-tai-xiu__rule-card,
  .page-tai-xiu__strategy-item,
  .page-tai-xiu__step-item,
  .page-tai-xiu__benefit-content,
  .page-tai-xiu__faq-answer {
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .page-tai-xiu__partner-grid {
    grid-template-columns: 1fr;
  }
}