.page-tai-xiu {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Default text color for light background */
  background-color: #F4F7FB; /* Default body background */
}

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

.page-tai-xiu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F4F7FB;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-tai-xiu__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-tai-xiu__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  color: #2F6BFF;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.page-tai-xiu__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-tai-xiu__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-tai-xiu__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-tai-xiu__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-tai-xiu__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #6FA3FF;
  border-radius: 2px;
}

.page-tai-xiu__subsection-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #2F6BFF;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-tai-xiu__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-tai-xiu__dark-section {
  background-color: #2F6BFF;
  color: #ffffff;
  padding: 60px 0;
}

.page-tai-xiu__dark-section .page-tai-xiu__section-title {
  color: #ffffff;
}

.page-tai-xiu__dark-section .page-tai-xiu__section-title::after {
  background-color: #ffffff;
}

.page-tai-xiu__dark-section .page-tai-xiu__text-block,
.page-tai-xiu__dark-section .page-tai-xiu__list li {
  color: #f0f8ff;
}

.page-tai-xiu__light-bg {
  background-color: #FFFFFF;
  color: #1F2D3D;
  padding: 60px 0;
}

.page-tai-xiu__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-tai-xiu__list li {
  margin-bottom: 10px;
}

.page-tai-xiu__numbered-list {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-tai-xiu__numbered-list li {
  margin-bottom: 15px;
}

.page-tai-xiu__highlight-text {
  font-weight: bold;
  color: #2F6BFF;
}

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

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

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

.page-tai-xiu__faq-item {
  background-color: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  background-color: #f8faff;
  border-bottom: 1px solid #D6E2FF;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question {
  border-bottom: none;
}

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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: 20px 25px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #1F2D3D;
  background-color: #ffffff;
}

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

.page-tai-xiu__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: #F4F7FB;
}

/* --- Placeholder styles for homepage sections (as per prompt requirement) --- */
/* These are included to satisfy the CSS output requirement for specific selectors, 
   even if the current page (tai-xiu.html) does not explicitly use these HTML structures. */
.page-tai-xiu__home-content {
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  height: auto; /* Adjusted from fixed height for flexibility */
  overflow-y: hidden; /* Adjusted from auto, as content for this page is not expected here */
  padding: 20px;
  margin-bottom: 40px;
}

.page-tai-xiu__row-games,
.page-tai-xiu__row-sport,
.page-tai-xiu__row-coop {
  background-color: transparent; /* Changed from #1A202C to fit page color scheme */
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-tai-xiu__games-title,
.page-tai-xiu__sport-title,
.page-tai-xiu__coop-title {
  color: #2F6BFF; /* Changed from #fff to fit page color scheme */
  text-align: center;
  margin-bottom: 30px;
}

.page-tai-xiu__slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.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: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  padding-bottom: 15px;
}

.page-tai-xiu__game-slide img {
  width: 100%;
   /* Example fixed height for game thumbnail */
  object-fit: cover;
  border-bottom: 1px solid #D6E2FF;
  margin-bottom: 10px;
}

.page-tai-xiu__game-slide-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #1F2D3D;
  padding: 0 10px;
}

.page-tai-xiu__banners-top-wrapper {
  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 {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-tai-xiu__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-tai-xiu__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  padding: 40px 0;
}

.page-tai-xiu__blog-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-tai-xiu__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.page-tai-xiu__blog-card-image {
  width: 100%;
  height: 200px; /* Fixed height for blog card images */
  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;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-tai-xiu__blog-card-text {
  font-size: 0.95em;
  color: #1F2D3D;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-tai-xiu__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #2F6BFF;
  border-radius: 5px;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
}

.page-tai-xiu__btn-outline:hover {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-tai-xiu__blog-slider {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.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);
}

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

  .page-tai-xiu__container,
  .page-tai-xiu__hero-content,
  .page-tai-xiu__faq-item,
  .page-tai-xiu__home-content,
  .page-tai-xiu__row-games,
  .page-tai-xiu__row-sport,
  .page-tai-xiu__row-coop,
  .page-tai-xiu__slider-wrapper,
  .page-tai-xiu__banners-top-wrapper,
  .page-tai-xiu__blog-masonry,
  .page-tai-xiu__blog-slider,
  .page-tai-xiu__cta-buttons,
  .page-tai-xiu__hero-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-tai-xiu__hero-buttons,
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .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;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-tai-xiu__section-title::after {
    width: 60px;
  }

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

  .page-tai-xiu__text-block,
  .page-tai-xiu__list li,
  .page-tai-xiu__numbered-list li,
  .page-tai-xiu__faq-answer p {
    font-size: 1em;
  }

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

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

  .page-tai-xiu__faq-toggle {
    font-size: 1.2em;
  }

  /* Homepage specific sections for mobile */
  .page-tai-xiu__home-content {
    height: auto;
  }

  .page-tai-xiu__slider-track {
    flex-wrap: nowrap; /* Keep it horizontal for scrolling */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .page-tai-xiu__game-slide {
    flex: 0 0 calc(50% - 8px); /* Two items per row */
    max-width: calc(50% - 8px);
    scroll-snap-align: start;
  }

  .page-tai-xiu__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns for mobile */
  }

  .page-tai-xiu__banner-item img {
    
    
  }

  .page-tai-xiu__blog-masonry {
    grid-template-columns: 1fr; /* Single column for mobile */
  }

  .page-tai-xiu__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .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;
  }
}

/* Tablet Responsive Styles (max-width: 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-tai-xiu__container {
    padding: 20px 30px;
  }

  .page-tai-xiu__hero-title {
    font-size: 2.8em;
  }

  .page-tai-xiu__hero-description {
    font-size: 1.1em;
  }

  .page-tai-xiu__section-title {
    font-size: 2.2em;
  }

  .page-tai-xiu__subsection-title {
    font-size: 1.6em;
  }

  .page-tai-xiu__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns for tablet */
  }

  .page-tai-xiu__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .page-tai-xiu__banners-top-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 columns for tablet */
  }

  .page-tai-xiu__game-slide {
    flex: 0 0 180px;
    max-width: 180px;
  }
}