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

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

.page-tai-xiu__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-tai-xiu__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-tai-xiu__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  color: #1F2D3D;
  text-align: justify;
}

/* Hero Section */
.page-tai-xiu__hero-section {
  padding-top: 10px; /* Adjusted for header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #F4F7FB 0%, #FFFFFF 100%); /* Background color */
  color: #1F2D3D;
}

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

.page-tai-xiu__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #1F2D3D;
}

.page-tai-xiu__main-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-tai-xiu__hero-description {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #1F2D3D;
}

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

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.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; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
}

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

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

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

/* Intro Section */
.page-tai-xiu__intro-section {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D;
}

/* How to Play Section */
.page-tai-xiu__how-to-play-section {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
}

.page-tai-xiu__how-to-play-section .page-tai-xiu__section-title,
.page-tai-xiu__how-to-play-section .page-tai-xiu__text-block {
  color: #ffffff;
}

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

.page-tai-xiu__grid-item {
  background-color: #ffffff; /* Card BG */
  color: #1F2D3D;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-tai-xiu__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__item-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
}

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

/* Strategies Section */
.page-tai-xiu__strategies-section {
  background-color: #ffffff; /* Card BG */
  color: #1F2D3D;
}

.page-tai-xiu__strategy-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-tai-xiu__strategy-list li {
  background: #F4F7FB; /* Background */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 18px;
  color: #1F2D3D;
  border-left: 5px solid #2F6BFF; /* Main Color */
}

.page-tai-xiu__strategy-list li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

.page-tai-xiu__image-full-width {
  width: 100%;
  object-fit: cover;
}

/* Why dt88 Section */
.page-tai-xiu__why-dt88-section {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D;
}

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

.page-tai-xiu__feature-card {
  background-color: #ffffff; /* Card BG */
  color: #1F2D3D;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
}

.page-tai-xiu__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
}

/* Promotions Section */
.page-tai-xiu__promotions-section {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
}

.page-tai-xiu__promotions-section .page-tai-xiu__section-title,
.page-tai-xiu__promotions-section .page-tai-xiu__text-block {
  color: #ffffff;
}

.page-tai-xiu__promo-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-tai-xiu__promo-list li {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 18px;
  color: #ffffff;
  border-left: 5px solid #6FA3FF; /* Aux Color */
}

.page-tai-xiu__promo-list li strong {
  color: #ffffff;
}

/* FAQ Section */
.page-tai-xiu__faq-section {
  background-color: #ffffff; /* Card BG */
  color: #1F2D3D;
}

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

.page-tai-xiu__faq-item {
  background: #F4F7FB; /* Background */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-tai-xiu__faq-qtext {
  flex-grow: 1;
}

.page-tai-xiu__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  margin-left: 15px;
  color: #2F6BFF; /* Main Color */
}

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

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question {
  background-color: #D6E2FF; /* Border */
}

/* Call to Action Bottom */
.page-tai-xiu__cta-bottom {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
  text-align: center;
}

.page-tai-xiu__cta-bottom .page-tai-xiu__section-title,
.page-tai-xiu__cta-bottom .page-tai-xiu__text-block {
  color: #ffffff;
}

.page-tai-xiu__cta-final {
  max-width: 800px;
}

/* Universal Image Styling for content area */
.page-tai-xiu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tai-xiu__main-title {
    font-size: clamp(30px, 5vw, 48px);
  }

  .page-tai-xiu__section-title {
    font-size: 32px;
  }

  .page-tai-xiu__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-tai-xiu__hero-content {
    order: 2;
  }

  .page-tai-xiu__hero-image {
    order: 1;
    margin-bottom: 30px;
  }

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

  .page-tai-xiu__content-grid {
    grid-template-columns: 1fr;
  }

  .page-tai-xiu__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-tai-xiu__faq-question {
    font-size: 18px;
    padding: 18px 20px;
  }

  .page-tai-xiu__faq-answer {
    padding: 0 20px 18px;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-tai-xiu__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-tai-xiu__text-block {
    font-size: 16px;
  }

  /* HERO Section */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Fixed top padding */
    padding-bottom: 40px;
  }

  .page-tai-xiu__main-title {
    font-size: clamp(28px, 8vw, 40px);
    text-align: center;
  }

  .page-tai-xiu__hero-description {
    font-size: 17px;
    text-align: center;
  }

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

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

  .page-tai-xiu__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* How to Play Section */
  .page-tai-xiu__content-grid {
    gap: 20px;
  }

  .page-tai-xiu__grid-item {
    padding: 25px;
  }

  .page-tai-xiu__item-title {
    font-size: 20px;
  }

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

  /* Strategies Section */
  .page-tai-xiu__strategy-list li {
    font-size: 16px;
    padding: 12px 15px;
  }

  /* Why dt88 Section */
  .page-tai-xiu__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tai-xiu__feature-card {
    padding: 25px;
  }

  .page-tai-xiu__card-title {
    font-size: 20px;
  }

  /* Promotions Section */
  .page-tai-xiu__promo-list li {
    font-size: 16px;
    padding: 12px 15px;
  }

  /* FAQ Section */
  .page-tai-xiu__faq-question {
    font-size: 16px;
    padding: 15px 18px;
  }

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

  /* Call to Action Bottom */
  .page-tai-xiu__cta-center .page-tai-xiu__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
  }

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

  .page-tai-xiu__cta-bottom .page-tai-xiu__btn-primary,
  .page-tai-xiu__cta-bottom .page-tai-xiu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* General Image and Container for content area */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tai-xiu__section,
  .page-tai-xiu__card,
  .page-tai-xiu__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}