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

.page-tai-xiu__hero-section {
  padding-top: 10px; /* Adjusted for shared header padding */
  background: #2F6BFF; /* Primary color */
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-tai-xiu__hero-image-wrap {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.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 40px;
  z-index: 1;
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-tai-xiu__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f8ff;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-tai-xiu__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  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%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-tai-xiu__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-tai-xiu__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Primary color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-tai-xiu__btn-secondary:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
}

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

.page-tai-xiu__light-bg {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__dark-bg {
  background-color: #2F6BFF; /* Primary color */
  color: #ffffff;
}

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

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

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

.page-tai-xiu__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__dark-bg .page-tai-xiu__sub-title {
  color: #ffffff;
}

.page-tai-xiu__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-tai-xiu__dark-bg .page-tai-xiu__text-block {
  color: #f0f8ff;
}

.page-tai-xiu__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-tai-xiu__ordered-list {
  list-style: decimal inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

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

.page-tai-xiu__dark-bg .page-tai-xiu__list-item {
  color: #f0f8ff;
}

.page-tai-xiu__list-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-tai-xiu__dark-bg .page-tai-xiu__list-title {
  color: #ffffff;
}

.page-tai-xiu__text-link {
  color: #2F6BFF;
  text-decoration: underline;
}

.page-tai-xiu__text-link:hover {
  color: #4A8BFF;
}

.page-tai-xiu__dark-bg .page-tai-xiu__text-link {
  color: #6FA3FF;
}

.page-tai-xiu__dark-bg .page-tai-xiu__text-link:hover {
  color: #A5C4FF;
}

.page-tai-xiu__figure {
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-tai-xiu__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 10px;
}

.page-tai-xiu__figcaption {
  font-size: 0.95rem;
  color: #555;
  padding: 5px 0;
}

.page-tai-xiu__dark-bg .page-tai-xiu__figure {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__dark-bg .page-tai-xiu__figcaption {
  color: #ccc;
}

.page-tai-xiu__promo-box {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.page-tai-xiu__promo-box .page-tai-xiu__section-title {
  margin-bottom: 25px;
}

.page-tai-xiu__bet-types-list {
  list-style: none;
  padding: 0;
}

.page-tai-xiu__bet-types-list .page-tai-xiu__list-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-left: 5px solid #6FA3FF;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #ffffff;
}

.page-tai-xiu__bet-types-list .page-tai-xiu__list-item p {
  color: #f0f8ff;
}

.page-tai-xiu__bet-types-list .page-tai-xiu__list-title {
  color: #ffffff;
  margin-top: 0;
}

.page-tai-xiu__registration-guide .page-tai-xiu__registration-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-tai-xiu__registration-steps .page-tai-xiu__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  counter-increment: step-counter;
  position: relative;
  padding-top: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__registration-steps .page-tai-xiu__list-item::before {
  content: "Bước " counter(step-counter);
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #6FA3FF;
}

.page-tai-xiu__registration-steps .page-tai-xiu__list-title {
  font-size: 1.3rem;
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-tai-xiu__registration-steps .page-tai-xiu__list-item p {
  color: #f0f8ff;
}

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

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

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

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

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

.page-tai-xiu__final-cta {
  padding-bottom: 80px;
}

/* -------------------------------------------------------------------------- */
/*                               Media Queries                                */
/* -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .page-tai-xiu__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-tai-xiu__hero-description {
    font-size: 1.05rem;
  }

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

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

  .page-tai-xiu__btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .page-tai-xiu__article-wrap {
    padding: 0 15px;
  }

  .page-tai-xiu__registration-guide .page-tai-xiu__registration-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
    min-height: auto;
  }

  .page-tai-xiu__hero-content {
    padding: 0 15px 30px;
  }

  .page-tai-xiu__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

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

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  /* 4. 按钮与按钮容器 */
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-tai-xiu__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* 2. 单栏长文容器 */
  .page-tai-xiu__article-wrap {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-tai-xiu__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-tai-xiu__sub-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-tai-xiu__text-block,
  .page-tai-xiu__list-item {
    font-size: 1rem;
  }

  /* 3. 通用图片与 figure */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-tai-xiu__figure {
    margin: 20px auto;
    padding: 5px;
  }

  .page-tai-xiu__figcaption {
    font-size: 0.85rem;
  }

  /* 5. 注册教程与 FAQ 区块 */
  .page-tai-xiu__registration-steps .page-tai-xiu__list-item {
    padding: 50px 20px 20px;
  }

  .page-tai-xiu__registration-steps .page-tai-xiu__list-item::before {
    top: 15px;
    left: 20px;
    font-size: 1rem;
  }

  .page-tai-xiu__registration-steps .page-tai-xiu__list-title {
    font-size: 1.2rem;
  }

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

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

  .page-tai-xiu__promo-box {
    padding: 30px 20px;
  }

  .page-tai-xiu__bet-types-list .page-tai-xiu__list-item {
    padding: 15px;
  }

  .page-tai-xiu__final-cta {
    padding-bottom: 40px;
  }
}