.page-tai-xiu {
  color: #1F2D3D;
  background-color: #F4F7FB;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

.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: #2F6BFF;
  line-height: 1.3;
  margin-top: 0;
}

.page-tai-xiu h1 {
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.page-tai-xiu h2 {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 16px;
  border-left: 5px solid #6FA3FF;
  padding-left: 14px;
}

.page-tai-xiu h3 {
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  margin-bottom: 10px;
}

.page-tai-xiu p {
  margin: 0 0 14px;
  color: #1F2D3D;
  font-size: 1rem;
}

.page-tai-xiu a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-tai-xiu a:hover {
  color: #1a4fd6;
  text-decoration: underline;
}

.page-tai-xiu__hero-section {
  padding-top: 10px;
  margin-top: 0;
  background: linear-gradient(135deg, #F4F7FB 0%, #E4EDFF 100%);
  padding-bottom: 40px;
}

.page-tai-xiu__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.page-tai-xiu__hero-image {
  width: 100%;
  max-width: 1200px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(47, 107, 255, 0.18);
}

.page-tai-xiu__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

.page-tai-xiu__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.page-tai-xiu__hero-desc {
  font-size: 1.05rem;
  color: #1F2D3D;
  margin-bottom: 24px;
}

.page-tai-xiu__hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.35);
}

.page-tai-xiu__btn--primary:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.45);
  text-decoration: none;
}

.page-tai-xiu__btn--outline {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-tai-xiu__btn--outline:hover {
  background: #E4EDFF;
  color: #1a4fd6;
  text-decoration: none;
}

.page-tai-xiu__intro-section,
.page-tai-xiu__howto-section,
.page-tai-xiu__bettypes-section,
.page-tai-xiu__strategy-section,
.page-tai-xiu__tips-section,
.page-tai-xiu__glossary-section,
.page-tai-xiu__faq-section,
.page-tai-xiu__cta-section {
  padding: 48px 0;
  background-color: #F4F7FB;
}

.page-tai-xiu__intro-section {
  background-color: #FFFFFF;
}

.page-tai-xiu__bettypes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.page-tai-xiu__bettypes-card {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-tai-xiu__bettypes-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(47, 107, 255, 0.16);
}

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

.page-tai-xiu__tips-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.08);
}

.page-tai-xiu__glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.page-tai-xiu__glossary-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-left: 4px solid #6FA3FF;
  border-radius: 10px;
  padding: 18px 20px;
}

.page-tai-xiu__faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.page-tai-xiu__faq-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  overflow: hidden;
}

.page-tai-xiu__faq-question {
  margin: 0;
  padding: 18px 20px;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2F6BFF;
  position: relative;
}

.page-tai-xiu__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 700;
  color: #6FA3FF;
  transition: transform 0.2s ease;
}

.page-tai-xiu__faq-item--open .page-tai-xiu__faq-question::after {
  content: '−';
}

.page-tai-xiu__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.page-tai-xiu__faq-item--open .page-tai-xiu__faq-answer {
  max-height: 500px;
  padding: 0 20px 18px;
}

.page-tai-xiu__faq-answer p {
  margin: 0;
  color: #1F2D3D;
}

.page-tai-xiu__cta-section {
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  text-align: center;
  padding: 56px 0;
}

.page-tai-xiu__cta-section h2 {
  color: #FFFFFF;
  border-left: none;
  padding-left: 0;
}

.page-tai-xiu__cta-section p {
  color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-tai-xiu__cta-section .page-tai-xiu__btn--primary {
  background: #FFFFFF;
  color: #2F6BFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__cta-section .page-tai-xiu__btn--primary:hover {
  color: #1a4fd6;
  background: #F4F7FB;
}

.page-tai-xiu__cta-section .page-tai-xiu__btn--outline {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-tai-xiu__cta-section .page-tai-xiu__btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.page-tai-xiu__cta-note {
  color: #FFFFFF;
  font-size: 0.95rem;
}

.page-tai-xiu__cta-note a {
  color: #FFE9A8;
  font-weight: 700;
}

.page-tai-xiu__cta-note a:hover {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .page-tai-xiu__hero-container {
    padding: 16px 12px;
    gap: 20px;
  }

  .page-tai-xiu__hero-buttons,
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-tai-xiu__btn {
    width: 100%;
    max-width: 100%;
  }

  .page-tai-xiu__bettypes-grid,
  .page-tai-xiu__tips-grid,
  .page-tai-xiu__glossary-grid {
    grid-template-columns: 1fr;
  }

  .page-tai-xiu__intro-section,
  .page-tai-xiu__howto-section,
  .page-tai-xiu__bettypes-section,
  .page-tai-xiu__strategy-section,
  .page-tai-xiu__tips-section,
  .page-tai-xiu__glossary-section,
  .page-tai-xiu__faq-section,
  .page-tai-xiu__cta-section {
    padding: 32px 0;
  }

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

  .page-tai-xiu {
    overflow-x: hidden;
  }

  .page-tai-xiu h1 {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
  }

  .page-tai-xiu h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.55rem);
  }

  .page-tai-xiu h3 {
    font-size: clamp(1rem, 3.8vw, 1.2rem);
  }
}