.page-tai-xiu {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-tai-xiu__hero-section {
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F4F7FB;
  padding-bottom: 40px;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-tai-xiu__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-tai-xiu__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: #1F2D3D;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-tai-xiu__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-tai-xiu__cta-buttons {
  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 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

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

.page-tai-xiu__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
}

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

.page-tai-xiu__section {
  padding: 60px 0;
}

.page-tai-xiu__intro-section, .page-tai-xiu__bet-types-section, .page-tai-xiu__guide-section, .page-tai-xiu__strategy-section, .page-tai-xiu__why-choose-section, .page-tai-xiu__faq-section, .page-tai-xiu__conclusion-section {
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-tai-xiu__section-title {
  font-size: 2.2em;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-tai-xiu p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D;
}

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

.page-tai-xiu p a:hover {
  text-decoration: underline;
}

.page-tai-xiu__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 680px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.page-tai-xiu__figcaption {
  font-size: 0.9em;
  color: #666;
  padding: 10px;
  background-color: #f8f8f8;
  border-top: 1px solid #eee;
}

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

.page-tai-xiu__list-item {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-tai-xiu__list-item strong {
  color: #2F6BFF;
}

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

.page-tai-xiu__card {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tai-xiu__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__card-title {
  font-size: 1.4em;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tai-xiu__card p {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
  flex-grow: 1;
}

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

.page-tai-xiu__promo-section {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
  padding: 80px 0;
}

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

.page-tai-xiu__promo-section p {
  color: #ffffff;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-tai-xiu__promo-card {
  background-color: #ffffff; /* Card BG */
  color: #1F2D3D;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-tai-xiu__promo-card .page-tai-xiu__promo-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
}

.page-tai-xiu__promo-card .page-tai-xiu__promo-title {
  font-size: 1.3em;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tai-xiu__promo-card p {
  color: #1F2D3D;
  font-size: 0.95em;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-tai-xiu__promo-card .page-tai-xiu__btn-secondary {
  margin-top: auto;
}

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

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

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

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #1F2D3D;
  cursor: pointer;
  background-color: #F4F7FB;
  border-bottom: 1px solid #D6E2FF;
  list-style: none;
  user-select: none;
}

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

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question {
  border-bottom: 1px solid #D6E2FF;
}

.page-tai-xiu__faq-qtext {
  flex-grow: 1;
  color: #2F6BFF;
}

.page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #2F6BFF;
}

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

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

.page-tai-xiu__conclusion-section {
  padding-top: 20px;
  text-align: center;
}

.page-tai-xiu__conclusion-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-tai-xiu__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-tai-xiu__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  /* 1. Top section title + Dual CTAs */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }
  .page-tai-xiu__hero-content {
    padding: 0 15px;
  }
  .page-tai-xiu__main-title {
    font-size: 2.2em !important;
    margin-bottom: 10px;
  }
  .page-tai-xiu__description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  /* 2. Single-column long-form content containers */
  .page-tai-xiu__section {
    padding: 40px 0;
  }
  .page-tai-xiu__article-wrap {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-tai-xiu__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-tai-xiu p, .page-tai-xiu__list-item {
    font-size: 0.95em;
    line-height: 1.6;
  }
  .page-tai-xiu__list {
    margin-left: 20px;
  }

  /* 3. Generic images and figures */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-tai-xiu__figure {
    max-width: 100% !important;
    margin: 20px auto;
  }
  .page-tai-xiu__hero-image-wrapper {
    margin-bottom: 20px;
  }

  /* 4. Buttons and button containers */
  .page-tai-xiu__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-tai-xiu__cta-buttons, .page-tai-xiu__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
  }
  .page-tai-xiu__promo-card .page-tai-xiu__btn-secondary {
    width: auto !important; /* Allow promo card buttons to size to content */
    max-width: 100% !important;
  }

  /* 5. Registration tutorial & FAQ blocks */
  .page-tai-xiu__step-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .page-tai-xiu__card {
    padding: 25px;
  }
  .page-tai-xiu__card-title {
    font-size: 1.2em;
  }
  .page-tai-xiu__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-tai-xiu__promo-card {
    padding: 20px;
  }
  .page-tai-xiu__promo-card .page-tai-xiu__promo-title {
    font-size: 1.15em;
  }
  .page-tai-xiu__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-tai-xiu__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
  .page-tai-xiu__faq-toggle {
    font-size: 1.3em;
  }
  .page-tai-xiu__conclusion-section {
    padding-bottom: 40px;
  }
}