.page-tai-xiu__hero-section {
  padding-top: 10px;
  padding-bottom: 40px;
  background: #F4F7FB;
  color: #1F2D3D;
}

.page-tai-xiu__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 16px;
}

.page-tai-xiu__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-tai-xiu__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D;
  margin-bottom: 20px;
  max-width: 600px;
}

.page-tai-xiu__hero-description {
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 30px;
  max-width: 550px;
}

.page-tai-xiu__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

.page-tai-xiu__btn-secondary:hover {
  background: #e0e0e0;
  color: #2F6BFF;
  border-color: #2F6BFF;
}

.page-tai-xiu__hero-image-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

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

.page-tai-xiu__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  color: #1F2D3D;
}

.page-tai-xiu__section-title {
  font-size: 2.25rem; /* 36px */
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 30px;
  text-align: center;
}

.page-tai-xiu__section-title--light {
  color: #ffffff;
}

.page-tai-xiu__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-tai-xiu__paragraph--light {
  color: #f0f0f0;
}

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

.page-tai-xiu__intro-section,
.page-tai-xiu__how-to-play-section,
.page-tai-xiu__strategies-section,
.page-tai-xiu__cta-section {
  padding: 60px 0;
  background: #F4F7FB;
}

.page-tai-xiu__how-to-play-section,
.page-tai-xiu__strategies-section {
  background: #ffffff;
}

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

.page-tai-xiu__guide-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-tai-xiu__guide-title {
  font-size: 1.375rem; /* 22px */
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-tai-xiu__guide-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-tai-xiu__guide-list {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-tai-xiu__guide-list li {
  margin-bottom: 8px;
}

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

.page-tai-xiu__strategy-item {
  background: #F4F7FB;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-tai-xiu__strategy-title {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-tai-xiu__strategy-text {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.6;
  color: #1F2D3D;
}

.page-tai-xiu__why-good88-section {
  background: #2F6BFF;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-tai-xiu__advantage-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-tai-xiu__advantage-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-tai-xiu__advantage-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-tai-xiu__cta-container {
  text-align: center;
}

.page-tai-xiu__cta-container .page-tai-xiu__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__faq-section {
  padding: 60px 0;
  background: #F4F7FB;
}

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

.page-tai-xiu__faq-item {
  background: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

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

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #2F6BFF;
  margin-left: 15px;
}

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

.page-tai-xiu__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-tai-xiu__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-tai-xiu__hero-content,
  .page-tai-xiu__hero-image-wrapper {
    flex: 1 1 100%;
  }

  .page-tai-xiu__hero-title,
  .page-tai-xiu__hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .page-tai-xiu__hero-cta-buttons {
    justify-content: center;
  }

  .page-tai-xiu__section-title {
    font-size: 2rem; /* 32px */
  }

  .page-tai-xiu__advantage-grid,
  .page-tai-xiu__strategy-grid,
  .page-tai-xiu__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-tai-xiu__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-tai-xiu__hero-container {
    padding: 30px 15px;
    gap: 30px;
  }

  .page-tai-xiu__hero-title {
    font-size: 1.75rem; /* 28px */
    margin-bottom: 15px;
  }

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

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

  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9375rem; /* 15px */
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-tai-xiu__content-area {
    padding: 30px 15px;
  }

  .page-tai-xiu__section-title {
    font-size: 1.625rem; /* 26px */
    margin-bottom: 25px;
  }

  .page-tai-xiu__paragraph {
    font-size: 0.9375rem; /* 15px */
  }

  .page-tai-xiu__intro-section,
  .page-tai-xiu__how-to-play-section,
  .page-tai-xiu__strategies-section,
  .page-tai-xiu__why-good88-section,
  .page-tai-xiu__cta-section,
  .page-tai-xiu__faq-section {
    padding: 40px 0;
  }

  .page-tai-xiu__guide-steps,
  .page-tai-xiu__strategy-grid,
  .page-tai-xiu__advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tai-xiu__guide-item,
  .page-tai-xiu__strategy-item,
  .page-tai-xiu__advantage-item {
    padding: 20px;
  }

  .page-tai-xiu__guide-title {
    font-size: 1.25rem; /* 20px */
  }

  .page-tai-xiu__strategy-title,
  .page-tai-xiu__advantage-title {
    font-size: 1.125rem; /* 18px */
  }

  .page-tai-xiu__content-image,
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
  }

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-tai-xiu__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9375rem;
  }

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