.page-tai-xiu__hero-section { position: relative; padding-top: 10px; background-color: #0D0E12; color: #FFF3E6; }
.page-tai-xiu__hero-image-wrapper { width: 100%; overflow: hidden; }
.page-tai-xiu__hero-image { display: block; width: 100%; height: auto; object-fit: cover; }
.page-tai-xiu__hero-content { max-width: 900px; margin: 0 auto; padding: 40px 20px 60px; text-align: center; }
.page-tai-xiu__main-title { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: #FFB04D; }
.page-tai-xiu__description { font-size: 1.125rem; line-height: 1.6; margin-bottom: 30px; }
.page-tai-xiu__cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.page-tai-xiu__btn-primary, .page-tai-xiu__btn-secondary, .page-tai-xiu__btn-outline, .page-tai-xiu__btn-text {
  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; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
}
.page-tai-xiu__btn-primary:hover { background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%); transform: translateY(-2px); }

.page-tai-xiu__btn-secondary {
  background: #17191F;
  color: #FF8C1A;
  border: 2px solid #A84F0C;
}
.page-tai-xiu__btn-secondary:hover { background: #0D0E12; color: #FFB04D; transform: translateY(-2px); }

.page-tai-xiu__btn-outline {
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #A84F0C;
}
.page-tai-xiu__btn-outline:hover { background: #FF8C1A; color: #ffffff; }

.page-tai-xiu__btn-text {
  background: none;
  border: none;
  color: #FFB04D;
  padding: 0;
  font-size: 1rem;
  text-decoration: underline;
}
.page-tai-xiu__btn-text:hover { color: #FFA53A; }

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

.page-tai-xiu__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFB04D;
}

.page-tai-xiu__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #FF8C1A;
}

.page-tai-xiu__intro-section, .page-tai-xiu__how-to-play-section, .page-tai-xiu__promotion-section {
  background-color: #ffffff;
  color: #333333;
}
.page-tai-xiu__dark-section {
  background-color: #17191F;
  color: #FFF3E6;
}
.page-tai-xiu__dark-section .page-tai-xiu__section-title, .page-tai-xiu__dark-section .page-tai-xiu__sub-title, .page-tai-xiu__dark-section .page-tai-xiu__card-title {
  color: #FFB04D;
}
.page-tai-xiu__dark-bg {
  background-color: #0D0E12;
  color: #FFF3E6;
}
.page-tai-xiu__dark-bg .page-tai-xiu__section-title, .page-tai-xiu__dark-bg .page-tai-xiu__sub-title, .page-tai-xiu__dark-bg .page-tai-xiu__card-title {
  color: #FFB04D;
}

.page-tai-xiu p, .page-tai-xiu li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-tai-xiu__image-content {
  display: block;
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
}

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

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

.page-tai-xiu__advantage-card {
  background-color: #0D0E12;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-tai-xiu__advantage-card .page-tai-xiu__card-icon {
  width: 120px; /* Min size 200x200px, but for icons, 120px is decorative and not content image */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}
.page-tai-xiu__advantage-card .page-tai-xiu__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFB04D;
}
.page-tai-xiu__advantage-card p {
  color: #FFF3E6;
  flex-grow: 1;
}

.page-tai-xiu__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}
.page-tai-xiu__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.page-tai-xiu__step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}
.page-tai-xiu__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: #FF8C1A;
}
.page-tai-xiu__step-item p {
  margin-bottom: 10px;
}

.page-tai-xiu__grid-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.page-tai-xiu__tip-card {
  background-color: #0D0E12;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.page-tai-xiu__tip-card .page-tai-xiu__card-image {
  width: 100%;
  height: 200px; /* Ensure images are not too small */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}
.page-tai-xiu__tip-card .page-tai-xiu__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFB04D;
}
.page-tai-xiu__tip-card p {
  color: #FFF3E6;
  flex-grow: 1;
}

.page-tai-xiu__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.page-tai-xiu__promo-card {
  background-color: #17191F;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-tai-xiu__promo-card .page-tai-xiu__card-image {
  width: 100%;
  height: 220px; /* Ensure images are not too small */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}
.page-tai-xiu__promo-card .page-tai-xiu__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFB04D;
}
.page-tai-xiu__promo-card p {
  color: #FFF3E6;
  flex-grow: 1;
  margin-bottom: 20px;
}
.page-tai-xiu__promo-card .page-tai-xiu__btn-primary {
  margin-top: auto;
}

.page-tai-xiu__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-tai-xiu__faq-item {
  background-color: #0D0E12;
  border: 1px solid #A84F0C;
  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;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFF3E6;
  position: relative;
  list-style: none;
}
.page-tai-xiu__faq-question::-webkit-details-marker { display: none; }
.page-tai-xiu__faq-question::marker { display: none; }

.page-tai-xiu__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #FF8C1A;
  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: #FFF3E6;
}
.page-tai-xiu__faq-answer p {
  margin-bottom: 15px;
}

.page-tai-xiu__cta-final-section {
  padding: 60px 20px;
  text-align: center;
}
.page-tai-xiu__cta-final-content {
  max-width: 900px;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 1024px) {
  .page-tai-xiu__hero-content { padding: 30px 15px 40px; }
  .page-tai-xiu__main-title { font-size: clamp(2rem, 5vw, 3rem); }
  .page-tai-xiu__description { font-size: 1rem; }
  .page-tai-xiu__section-title { font-size: 2rem; }
  .page-tai-xiu__sub-title { font-size: 1.5rem; }
  .page-tai-xiu__container { padding: 30px 15px; }
  .page-tai-xiu__advantage-card .page-tai-xiu__card-icon { width: 100px; height: 100px; }
  .page-tai-xiu__advantage-card .page-tai-xiu__card-title { font-size: 1.3rem; }
  .page-tai-xiu__tip-card .page-tai-xiu__card-image, .page-tai-xiu__promo-card .page-tai-xiu__card-image { height: 180px; }
  .page-tai-xiu__tip-card .page-tai-xiu__card-title, .page-tai-xiu__promo-card .page-tai-xiu__card-title { font-size: 1.3rem; }
  .page-tai-xiu__faq-question { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-tai-xiu__hero-section { padding-top: 10px; }
  .page-tai-xiu__hero-content { padding: 20px 15px 30px; }
  .page-tai-xiu__main-title { font-size: clamp(1.8rem, 7vw, 2.5rem); line-height: 1.3; }
  .page-tai-xiu__description { font-size: 0.95rem; }

  /* 通用图片与容器 */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__container, .page-tai-xiu__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tai-xiu__image-content { margin: 20px auto; }

  /* 按钮与按钮容器 */
  .page-tai-xiu__cta-buttons {
    flex-direction: column; /* 移动端垂直排列 */
    gap: 15px;
  }
  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .page-tai-xiu__btn-outline,
  .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__cta-buttons, .page-tai-xiu__button-group, .page-tai-xiu__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 长文金框区 (N/A for this page, but as per checklist) */
  /* If there were a long text gold box, its rules for 768px would be here. */

  /* 游戏轮播 (N/A for this page, but as per checklist) */
  /* If there were game carousels, their rules for 768px would be here. */

  /* 合作品牌六宫格 (N/A for this page, but as per checklist) */
  /* If there were brand grids, their rules for 768px would be here. */

  /* 博客卡片区 (N/A for this page, but as per checklist) */
  /* If there were blog card sections, their rules for 768px would be here. */

  .page-tai-xiu__section-title { font-size: 1.8rem; margin-bottom: 30px; }
  .page-tai-xiu__sub-title { font-size: 1.2rem; margin-top: 25px; margin-bottom: 15px; }
  .page-tai-xiu p, .page-tai-xiu li { font-size: 0.9rem; }

  .page-tai-xiu__grid-advantages, .page-tai-xiu__grid-tips, .page-tai-xiu__promo-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-tai-xiu__advantage-card .page-tai-xiu__card-icon { width: 100px; height: 100px; }
  .page-tai-xiu__advantage-card .page-tai-xiu__card-title, .page-tai-xiu__tip-card .page-tai-xiu__card-title, .page-tai-xiu__promo-card .page-tai-xiu__card-title {
    font-size: 1.2rem;
  }

  .page-tai-xiu__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .page-tai-xiu__step-number { margin-bottom: 10px; }
  .page-tai-xiu__step-title { margin-top: 0; }

  .page-tai-xiu__tip-card .page-tai-xiu__card-image, .page-tai-xiu__promo-card .page-tai-xiu__card-image { height: 200px; }

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