.page-tai-xiu {
  color: #FFF6D6;
  background: #0A0A0A;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
}
.page-tai-xiu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.page-tai-xiu h1,
.page-tai-xiu h2,
.page-tai-xiu h3 {
  color: #F2C14E;
  line-height: 1.25;
  margin: 0 0 16px;
}
.page-tai-xiu h1 {
  font-weight: 800;
  letter-spacing: -0.5px;
}
.page-tai-xiu h2 {
  font-size: 1.9rem;
  font-weight: 700;
}
.page-tai-xiu h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
.page-tai-xiu p {
  margin: 0 0 14px;
  color: #FFF6D6;
}
.page-tai-xiu a {
  color: #FFD36B;
}

.page-tai-xiu__hero-section {
  padding-top: 10px;
  margin-top: 0;
  background: radial-gradient(circle at 20% 20%, rgba(242,193,78,0.15), transparent 60%), #0A0A0A;
}
.page-tai-xiu__hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-tai-xiu__hero-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #3A2A12;
}
.page-tai-xiu__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.page-tai-xiu__hero-content {
  width: 100%;
}
.page-tai-xiu__hero-lead {
  font-size: 1.05rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}
.page-tai-xiu__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-tai-xiu__btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  transition: transform 0.2s, box-shadow 0.2s;
}
.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  box-shadow: 0 4px 16px rgba(242,193,78,0.35);
}
.page-tai-xiu__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242,193,78,0.5);
}
.page-tai-xiu__btn--outline {
  background: transparent;
  color: #FFD36B;
  border: 1px solid #F2C14E;
}
.page-tai-xiu__btn--outline:hover {
  background: rgba(242,193,78,0.1);
}

.page-tai-xiu__intro-section,
.page-tai-xiu__rules-section,
.page-tai-xiu__reading-section,
.page-tai-xiu__capital-section,
.page-tai-xiu__variants-section,
.page-tai-xiu__tips-section,
.page-tai-xiu__faq-section,
.page-tai-xiu__cta-section,
.page-tai-xiu__links-section {
  padding: 48px 0;
}
.page-tai-xiu__intro-section {
  background: #0A0A0A;
}
.page-tai-xiu__rules-section {
  background: #111111;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}
.page-tai-xiu__reading-section {
  background: #0A0A0A;
}
.page-tai-xiu__capital-section {
  background: #111111;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}
.page-tai-xiu__variants-section {
  background: #0A0A0A;
}
.page-tai-xiu__tips-section {
  background: #111111;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}
.page-tai-xiu__faq-section {
  background: #0A0A0A;
}
.page-tai-xiu__cta-section {
  background: linear-gradient(135deg, rgba(242,193,78,0.12), rgba(255,211,107,0.06)), #111111;
  border-top: 1px solid #3A2A12;
  text-align: center;
}
.page-tai-xiu__cta-section p {
  max-width: 760px;
  margin: 0 auto 24px;
}
.page-tai-xiu__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.page-tai-xiu__links-section {
  background: #0A0A0A;
  border-top: 1px solid #3A2A12;
}

.page-tai-xiu__rules-grid,
.page-tai-xiu__capital-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.page-tai-xiu__rule-card,
.page-tai-xiu__capital-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.page-tai-xiu__rule-card h3,
.page-tai-xiu__capital-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.page-tai-xiu__list,
.page-tai-xiu__ordered-list {
  margin: 16px 0;
  padding-left: 22px;
}
.page-tai-xiu__list li,
.page-tai-xiu__ordered-list li {
  margin-bottom: 10px;
  color: #FFF6D6;
}
.page-tai-xiu__list strong {
  color: #FFD36B;
}

.page-tai-xiu__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-tai-xiu__faq-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
}
.page-tai-xiu__faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: #111111;
  color: #F2C14E;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}
.page-tai-xiu__faq-question:hover {
  background: #1a1a1a;
}
.page-tai-xiu__faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #FFD36B;
  line-height: 1;
  flex-shrink: 0;
}
.page-tai-xiu__faq-item--open .page-tai-xiu__faq-question::after {
  content: '\2212';
}
.page-tai-xiu__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}
.page-tai-xiu__faq-item--open .page-tai-xiu__faq-answer {
  max-height: 400px;
  padding: 0 20px 16px;
}
.page-tai-xiu__faq-answer p {
  margin: 0;
}

.page-tai-xiu__links-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.page-tai-xiu__links-list li {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 12px 16px;
}
.page-tai-xiu__links-list a {
  color: #FFD36B;
  text-decoration: none;
  font-weight: 600;
}
.page-tai-xiu__links-list a:hover {
  color: #F2C14E;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .page-tai-xiu__hero-wrap {
    padding: 16px 12px 28px;
  }
  .page-tai-xiu h2 {
    font-size: 1.45rem;
  }
  .page-tai-xiu__rules-grid,
  .page-tai-xiu__capital-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__links-list {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-tai-xiu__hero-cta,
  .page-tai-xiu__cta-buttons {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    flex-direction: column;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__intro-section,
  .page-tai-xiu__rules-section,
  .page-tai-xiu__reading-section,
  .page-tai-xiu__capital-section,
  .page-tai-xiu__variants-section,
  .page-tai-xiu__tips-section,
  .page-tai-xiu__faq-section,
  .page-tai-xiu__cta-section,
  .page-tai-xiu__links-section {
    padding: 32px 0;
  }
}