.page-tai-xiu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.page-tai-xiu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: #0D0E12;
  text-align: center;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-tai-xiu__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.page-tai-xiu__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-tai-xiu__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

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

.page-tai-xiu__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-tai-xiu__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-tai-xiu__btn-secondary {
  background-color: transparent;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A;
}

.page-tai-xiu__btn-secondary:hover {
  background-color: #FFA53A;
  color: #0D0E12; /* Background */
  transform: translateY(-2px);
}

.page-tai-xiu__section {
  padding: 60px 20px;
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-tai-xiu__dark-section {
  background-color: #17191F; /* Card BG */
}

.page-tai-xiu__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

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

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

.page-tai-xiu__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #FFF3E6;
}

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

.page-tai-xiu__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #FFF3E6;
}

.page-tai-xiu__list-item::before {
  content: '✓';
  color: #FFA53A; /* Auxiliary color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-tai-xiu__list--ordered .page-tai-xiu__list-item::before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  color: #FFA53A;
  font-weight: bold;
  left: 0;
  position: absolute;
  width: 25px;
  text-align: right;
}

.page-tai-xiu__list--ordered {
  counter-reset: list-item;
}

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

.page-tai-xiu__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__link-in-text {
  color: #FFA53A;
  text-decoration: underline;
}

.page-tai-xiu__link-in-text:hover {
  color: #FFB04D;
}

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

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

.page-tai-xiu__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* 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.15em;
  font-weight: bold;
  color: #FFF3E6;
  cursor: pointer;
  background-color: #1F232D;
  border-bottom: 1px solid #A84F0C;
}

.page-tai-xiu__faq-question:hover {
  background-color: #2a2e38;
}

.page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFA53A;
  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: 15px 25px 20px;
  font-size: 1.05em;
  color: #FFF3E6;
  background-color: #17191F;
}

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

/* --- Homepage Specific CSS (as per "必出CSS模板" requirement) --- */
/* These selectors are included as per the strict instruction, even if the HTML for this page does not use them directly. */
.page-tai-xiu__home-content { /* Long text gold frame */
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
  padding: 20px;
  margin: 40px auto;
  max-width: 1000px;
  background-color: #17191F;
}

.page-tai-xiu__home-content h2 {
  color: #FFB04D;
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

.page-tai-xiu__row-games, /* Game carousel */
.page-tai-xiu__row-sport,
.page-tai-xiu__row-coop{
  background-color:#1A202C;
  padding:40px 20px;
  max-width:1330px;
  margin:0 auto;
  overflow: hidden;
}
.page-tai-xiu__games-title, /* Game carousel title */
.page-tai-xiu__sport-title,
.page-tai-xiu__coop-title{
  color:#fff;
  text-align:center;
  margin-bottom: 30px;
}
.page-tai-xiu__slider-wrapper{
  overflow:hidden;
  position: relative;
  padding: 0 40px; /* Space for nav arrows */
}
.page-tai-xiu__slider-track{
  display:flex;
  flex-wrap:nowrap;
  gap:16px;
  transition: transform 0.5s ease-in-out;
}
.page-tai-xiu__game-slide{
  flex:0 0 200px;
  max-width:200px;
  background-color: #2C3038;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: center;
}
.page-tai-xiu__game-slide img {
  width: 100%;
   /* Recommended size for game slides */
  object-fit: cover;
}
.page-tai-xiu__game-slide-title {
  color: #FFF3E6;
  font-size: 1.1em;
  padding: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-tai-xiu__slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  font-size: 1.5em;
}
.page-tai-xiu__slider-prev {
  left: 5px;
}
.page-tai-xiu__slider-next {
  right: 5px;
}

.page-tai-xiu__banners-top-wrapper { /* Partner grid */
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  max-width:900px;
  margin:0 auto;
  padding: 20px 0;
}
.page-tai-xiu__banner-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #17191F; /* Card BG */
  border-radius: 8px;
  padding: 10px;
  height: 100px;
}
.page-tai-xiu__banner-item img{
  
  
  object-fit:contain;
  margin:0 auto;
  display:block;
}

.page-tai-xiu__blog-masonry { /* Blog cards */
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
  padding: 20px 0;
}
.page-tai-xiu__blog-card {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-tai-xiu__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.page-tai-xiu__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.page-tai-xiu__blog-card-title {
  font-size: 1.3em;
  color: #FFA53A;
  margin-bottom: 10px;
  line-height: 1.4;
}
.page-tai-xiu__blog-card-text {
  font-size: 0.95em;
  color: #FFF3E6;
  margin-bottom: 15px;
  flex-grow: 1;
}
.page-tai-xiu__blog-card-link{
  display:flex;
  flex-direction:column;
  height:100%;
  text-decoration: none;
}
.page-tai-xiu__btn-outline{
  margin-top:auto;
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #FFA53A;
  border-radius: 5px;
  color: #FFA53A;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.page-tai-xiu__btn-outline:hover {
  background-color: #FFA53A;
  color: #0D0E12;
}

.page-tai-xiu__blog-slider-track{
  display:flex;
  flex-wrap:nowrap;
  gap:20px;
  transition: transform 0.5s ease-in-out;
}
.page-tai-xiu__blog-slide{
  flex:0 0 calc(33.333% - 14px);
  max-width:calc(33.333% - 14px);
}
.page-tai-xiu__blog-slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 0 40px;
}

/* --- General Image & Button Responsive Styles --- */
.page-tai-xiu img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-tai-xiu__section,
.page-tai-xiu__card,
.page-tai-xiu__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-tai-xiu__cta-button,
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__cta-buttons,
.page-tai-xiu__button-group,
.page-tai-xiu__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .page-tai-xiu__hero-section {
    padding-bottom: 20px;
  }

  .page-tai-xiu__main-title {
    font-size: 2em;
  }

  .page-tai-xiu__intro-text {
    font-size: 1em;
  }

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

  .page-tai-xiu__btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 1em;
  }

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

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

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

  .page-tai-xiu__text-block,
  .page-tai-xiu__list-item {
    font-size: 0.95em;
  }

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

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

  /* Homepage Specific CSS for Mobile (as per "必出CSS模板" requirement) */
  .page-tai-xiu__home-content {
    height: auto;
    overflow-y: visible;
    margin: 20px 0;
    padding: 15px;
  }

  .page-tai-xiu__home-content h2 {
    font-size: 1.5em;
  }

  .page-tai-xiu__slider-wrapper {
    padding: 0 10px;
  }
  .page-tai-xiu__slider-track {
    flex-wrap: nowrap;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-tai-xiu__game-slide {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
    scroll-snap-align: start;
  }
  .page-tai-xiu__slider-nav {
    display: none; /* Hide nav buttons on mobile if touch scroll is available */
  }

  .page-tai-xiu__banners-top-wrapper {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
    padding: 15px 0;
  }
  .page-tai-xiu__banner-item img {
    
    
  }

  .page-tai-xiu__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px 0;
  }
  .page-tai-xiu__blog-card-image {
    height: 180px;
  }
  .page-tai-xiu__blog-card-title {
    font-size: 1.1em;
  }
  .page-tai-xiu__blog-card-text {
    font-size: 0.9em;
  }

  .page-tai-xiu__blog-slider-wrapper {
    padding: 0 10px;
  }
  .page-tai-xiu__blog-slider-track {
    flex-wrap: nowrap;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-tai-xiu__blog-slide {
    flex: 0 0 90%; /* Show one full card and a bit of the next */
    max-width: 90%;
    scroll-snap-align: start;
  }

  /* General Image & Button Mobile Overrides */
  .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;
  }
  .page-tai-xiu__cta-button,
  .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__cta-buttons,
  .page-tai-xiu__button-group,
  .page-tai-xiu__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
  }
}