.page-tai-xiu {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background from shared */
}

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

.page-tai-xiu__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
}

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

.page-tai-xiu__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #F3F8FF; /* Text Main */
}

.page-tai-xiu__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-tai-xiu__hero-image {
  flex: 1 1 45%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-tai-xiu__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 20px;
}

.page-tai-xiu__section-description {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary,
.page-tai-xiu__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-tai-xiu__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__btn-secondary:hover {
  background: #F2C14E;
  color: #113B7A; /* Primary color for hover text */
  transform: translateY(-2px);
}

.page-tai-xiu__btn-link {
  background: transparent;
  color: #4FA8FF; /* Glow */
  border: 1px solid #4FA8FF;
  padding: 8px 15px;
  font-size: 0.9rem;
  margin-top: 10px;
}

.page-tai-xiu__btn-link:hover {
  background: #4FA8FF;
  color: #F3F8FF;
}

/* Intro Section */
.page-tai-xiu__intro-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-tai-xiu__feature-item {
  text-align: center;
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

.page-tai-xiu__icon-box-media {
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #F2C14E; /* Gold */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-tai-xiu__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-tai-xiu__feature-title {
  font-size: 1.5rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
}

.page-tai-xiu__feature-text {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
}

/* Game Types Section */
.page-tai-xiu__game-types-section {
  padding: 60px 0;
  background-color: #113B7A;
}

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

.page-tai-xiu__type-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  display: flex;
  flex-direction: column;
}

.page-tai-xiu__type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-tai-xiu__type-card-content {
  padding: 20px;
}

.page-tai-xiu__type-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  padding: 15px 20px 0;
}

.page-tai-xiu__type-text {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 20px 20px;
}

/* Guide Section */
.page-tai-xiu__guide-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-tai-xiu__guide-step-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-tai-xiu__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border: 3px solid #F2C14E;
  border-radius: 50%;
  background-color: #113B7A;
}

.page-tai-xiu__step-title {
  font-size: 1.4rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
}

.page-tai-xiu__step-text {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  flex-grow: 1;
}

/* Strategy Section */
.page-tai-xiu__strategy-section {
  padding: 60px 0;
  background-color: #113B7A;
}

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

.page-tai-xiu__strategy-item {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  display: flex;
  flex-direction: column;
}

.page-tai-xiu__strategy-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-tai-xiu__strategy-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  padding: 15px 20px 0;
}

.page-tai-xiu__strategy-text {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Promo Section */
.page-tai-xiu__promo-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-tai-xiu__promo-card {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  text-align: center;
}

.page-tai-xiu__promo-title {
  font-size: 1.4rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
}

.page-tai-xiu__promo-text {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
}

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

/* Why bl88 Section */
.page-tai-xiu__why-bl88-section {
  padding: 60px 0;
  background-color: #113B7A;
}

.page-tai-xiu__advantages-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
}

.page-tai-xiu__advantages-list li {
  background-color: #10233F; /* Card BG */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #F3F8FF; /* Text Main */
  display: flex;
  align-items: center;
  border: 1px solid #244D84; /* Border */
}

.page-tai-xiu__list-icon {
  color: #4FA8FF; /* Glow */
  font-size: 1.2rem;
  margin-right: 10px;
  font-weight: bold;
}

/* FAQ Section */
.page-tai-xiu__faq-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-tai-xiu__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.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: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

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

.page-tai-xiu__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  border-top: 1px solid #1B3357; /* Divider */
}

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

.page-tai-xiu__faq-answer .page-tai-xiu__btn-link {
  margin-top: 15px;
}

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

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

  .page-tai-xiu__container {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tai-xiu__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-tai-xiu__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px;
  }

  .page-tai-xiu__hero-content {
    flex: 1 1 100%;
    text-align: center;
  }

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

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

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-tai-xiu__hero-image {
    flex: 1 1 100%;
    width: 100%;
  }

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

  .page-tai-xiu__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

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

  /* Module 1: Three-column circular images */
  .page-tai-xiu__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-tai-xiu__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
  }

  .page-tai-xiu__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Game Tabs / Type Grid */
  .page-tai-xiu__type-grid {
    grid-template-columns: 1fr;
  }

  .page-tai-xiu__type-image {
    height: 180px;
  }

  /* Guide Steps */
  .page-tai-xiu__guide-steps {
    grid-template-columns: 1fr;
  }

  /* Strategy Grid */
  .page-tai-xiu__strategy-grid {
    grid-template-columns: 1fr;
  }

  .page-tai-xiu__strategy-image {
    height: 180px;
  }

  /* Promo Grid */
  .page-tai-xiu__promo-grid {
    grid-template-columns: 1fr;
  }

  /* Why bl88 List */
  .page-tai-xiu__advantages-list li {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

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

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

  /* General content images */
  .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;
  }
}