.page-tai-xiu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main, as body background is Deep Navy */
  background-color: var(--deep-navy); /* Assumed from shared.css */
}

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

.page-tai-xiu__container--center {
  text-align: center;
}

.page-tai-xiu__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tai-xiu__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #AFC4E8; /* Text Secondary */
}

.page-tai-xiu__paragraph a {
  color: #1D5FD1; /* Auxiliary color for links */
  text-decoration: underline;
}

.page-tai-xiu__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
  padding-bottom: 60px;
  background-color: var(--deep-navy); /* Deep Navy */
}

.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 50%;
  min-width: 300px;
  text-align: left;
}

.page-tai-xiu__hero-description {
  font-size: 1.2em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-tai-xiu__cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-tai-xiu__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}

.page-tai-xiu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-tai-xiu__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

.page-tai-xiu__btn-secondary:hover {
  background: #1B3357; /* Divider */
  transform: translateY(-2px);
}

.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 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.page-tai-xiu__list-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__list-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-tai-xiu__list-item p {
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 0;
}

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

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

.page-tai-xiu__strategy-card,
.page-tai-xiu__advantage-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-tai-xiu__strategy-card:hover,
.page-tai-xiu__advantage-item:hover {
  transform: translateY(-5px);
}

.page-tai-xiu__card-title,
.page-tai-xiu__advantage-title {
  font-size: 1.3em;
  color: #F2C14E; /* Gold */
  margin-top: 0;
  margin-bottom: 15px;
}

.page-tai-xiu__strategy-card p,
.page-tai-xiu__advantage-item p {
  color: #AFC4E8; /* Text Secondary */
  font-size: 0.95em;
  margin-bottom: 0;
}

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

.page-tai-xiu__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

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

.page-tai-xiu__faq-item summary:hover {
  background-color: #1B3357; /* Divider */
  border-radius: 8px 8px 0 0;
}

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-tai-xiu__faq-answer {
  padding: 0 25px 20px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
}

.page-tai-xiu__faq-answer p {
  margin-bottom: 0;
  color: #AFC4E8; /* Text Secondary */
}

.page-tai-xiu__cta-bottom-section {
  padding-top: 60px;
  padding-bottom: 80px;
  background-color: var(--deep-navy);
}

/* General image responsiveness */
.page-tai-xiu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 15px;
  }

  .page-tai-xiu__container,
  .page-tai-xiu__hero-container {
    padding: 20px 15px;
  }

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

  .page-tai-xiu__main-title {
    font-size: clamp(2em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-tai-xiu__hero-content {
    text-align: center;
  }

  .page-tai-xiu__cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-tai-xiu__cta-button,
  .page-tai-xiu a[class*="button"],
  .page-tai-xiu a[class*="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 !important;
    font-size: 1em !important;
  }

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

  .page-tai-xiu__hero-image {
    order: -1; /* Move image above text on mobile */
    margin-bottom: 20px;
  }

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

  .page-tai-xiu__list-item,
  .page-tai-xiu__strategy-card,
  .page-tai-xiu__advantage-item,
  .page-tai-xiu__faq-item {
    padding: 20px;
  }

  .page-tai-xiu__list-title,
  .page-tai-xiu__card-title,
  .page-tai-xiu__advantage-title {
    font-size: 1.2em;
  }

  .page-tai-xiu__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

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

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

  .page-tai-xiu__intro-section,
  .page-tai-xiu__how-to-play-section,
  .page-tai-xiu__strategy-section,
  .page-tai-xiu__why-28bet-section,
  .page-tai-xiu__faq-section,
  .page-tai-xiu__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tai-xiu__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}