/* Base styles for the Tài Xỉu page */
.page-tai-xiu {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #F5F7FA;
  line-height: 1.6;
}

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

.page-tai-xiu__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-tai-xiu__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-tai-xiu__text-white {
  color: #ffffff;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

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

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

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

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

/* Hero Section */
.page-tai-xiu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-tai-xiu__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Adjust to slightly overlap the image for visual flow */
  position: relative;
  z-index: 1;
  background-color: #ffffff; /* Ensure content is readable */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-tai-xiu__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for responsive H1 */
  color: #E53935;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.page-tai-xiu__hero-description {
  font-size: 1.15em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* About Tài Xỉu Section */
.page-tai-xiu__about-tai-xiu {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-tai-xiu__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-tai-xiu__content-grid.--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-tai-xiu__text-block h3 {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
}

.page-tai-xiu__text-block p {
  margin-bottom: 15px;
  color: #333333;
}

.page-tai-xiu__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-tai-xiu__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: block;
}

/* Game Rules Section */
.page-tai-xiu__game-rules {
  padding: 60px 0;
  background-color: #E53935; /* Brand primary color */
}

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

.page-tai-xiu__rule-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-tai-xiu__card-title {
  font-size: 1.6em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tai-xiu__rule-card p,
.page-tai-xiu__rule-card ul,
.page-tai-xiu__rule-card ol {
  color: #333333;
  margin-bottom: 10px;
}

.page-tai-xiu__rule-card ul li,
.page-tai-xiu__rule-card ol li {
  margin-bottom: 5px;
  list-style-position: inside;
}

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

/* Strategies Section */
.page-tai-xiu__strategies {
  padding: 60px 0;
  background-color: #F5F7FA;
}

/* Exclusive Features Section */
.page-tai-xiu__exclusive-features {
  padding: 60px 0;
  background-color: #E53935;
}

.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-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-tai-xiu__feature-card p {
  color: #333333;
}

/* Promotions Section */
.page-tai-xiu__promotions {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-tai-xiu__promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-tai-xiu__promo-card {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-tai-xiu__promo-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-tai-xiu__promo-content p {
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

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

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  color: #E53935;
  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 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

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

/* Call to Action Section */
.page-tai-xiu__call-to-action {
  padding: 60px 0;
  background-color: #FF5A4F;
  text-align: center;
}

.page-tai-xiu__call-to-action .page-tai-xiu__section-title {
  color: #ffffff;
}

.page-tai-xiu__call-to-action .page-tai-xiu__section-subtitle {
  color: #f0f0f0;
}

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

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-tai-xiu__container {
    padding: 15px;
  }

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

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

  /* HERO Section */
  .page-tai-xiu__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 20px;
  }

  .page-tai-xiu__hero-image-wrapper {
    max-height: 40vh;
  }

  .page-tai-xiu__hero-content {
    padding: 25px 15px;
    margin-top: -50px; /* Adjust overlap for mobile */
  }

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

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

  .page-tai-xiu__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  /* Content Grid (About, Strategies) */
  .page-tai-xiu__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-tai-xiu__content-grid.--reverse {
    grid-template-columns: 1fr;
  }

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

  /* Rule Cards (Game Rules) */
  .page-tai-xiu__rules-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tai-xiu__rule-card,
  .page-tai-xiu__feature-card {
    padding: 20px;
  }

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

  /* Feature Grid (Exclusive Features) */
  .page-tai-xiu__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Promotion Grid */
  .page-tai-xiu__promo-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-tai-xiu__promo-image {
    height: 200px;
  }

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

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

  .page-tai-xiu__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  /* CTA Buttons */
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* General content containers for mobile */
  .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;
  }

  /* Images within content for mobile */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* No specific styles for __home-content, __row-games etc. as this is not a homepage */
/* The following are placeholders for mandatory mobile CSS checklist items, ensuring they are present even if not directly used by this page's specific layout. */
/* HERO 主图区域 - already handled above */
/* 长文金框区 - not applicable for this page, but defining a placeholder for the checklist */
.page-tai-xiu__home-content { /* Placeholder for checklist */ }
@media (max-width: 768px) {
  .page-tai-xiu__home-content {
    height: auto; /* Example adaptation */
    overflow-y: visible;
    padding: 20px 15px;
  }
  .page-tai-xiu__home-content h2 {
    font-size: 1.5em;
  }
}
/* 游戏轮播 - not applicable for this page, but defining a placeholder for the checklist */
.page-tai-xiu__slider-track { display: flex; flex-wrap: nowrap; gap: 16px; } /* Must be flex for slider */
.page-tai-xiu__slider-wrapper { overflow: hidden; } /* Must be overflow hidden */
.page-tai-xiu__game-slide { flex: 0 0 200px; max-width: 200px; } /* Example slide item */
@media (max-width: 768px) {
  .page-tai-xiu__slider-track { /* Ensure flex for mobile horizontal scroll */ }
  .page-tai-xiu__slider-wrapper { /* Ensure overflow for mobile horizontal scroll */ }
  .page-tai-xiu__game-slide { flex: 0 0 160px; max-width: 160px; } /* Single card width for mobile */
}
/* 合作品牌六宫格 - not applicable for this page, but defining a placeholder for the checklist */
.page-tai-xiu__banners-top-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; } /* Desktop 6 columns */
.page-tai-xiu__banner-item img {   object-fit: contain; margin: 0 auto; display: block; } /* Image size */
@media (max-width: 768px) {
  .page-tai-xiu__banners-top-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* Mobile 3 columns */
  .page-tai-xiu__banner-item img {   } /* Mobile image size */
}
/* 博客卡片区 - not applicable for this page, but defining a placeholder for the checklist */
.page-tai-xiu__blog-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; } /* Desktop 3 columns */
.page-tai-xiu__blog-card-link { display: flex; flex-direction: column; height: 100%; } /* Card link */
.page-tai-xiu__btn-outline { margin-top: auto; } /* Button style */
.page-tai-xiu__blog-slider-track { display: flex; flex-wrap: nowrap; gap: 20px; } /* Blog slider track */
.page-tai-xiu__blog-slide { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); } /* Blog slide item */
@media (max-width: 768px) {
  .page-tai-xiu__blog-masonry { grid-template-columns: 1fr; } /* Mobile 1 column */
  .page-tai-xiu__blog-slide { flex: 0 0 100%; max-width: 100%; } /* Mobile single slide */
}
/* 通用图片与容器 - already handled above */
/* 按钮与按钮容器 - already handled above */