/* Base styles for .page-tai-xiu */
.page-tai-xiu {
  color: #FFF6D6; /* Main text color for dark body background */
  background-color: #0A0A0A; /* Matches body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-tai-xiu__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top for header offset */
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)); /* Dark overlay for text readability */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 500px; /* Adjust as needed */
  justify-content: center;
  padding-bottom: 40px;
}

.page-tai-xiu__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-tai-xiu__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative; /* Ensure content is above the image */
  z-index: 1;
}

.page-tai-xiu__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  color: #FFD36B; /* Glow color for main title */
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.page-tai-xiu__hero-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

/* General Section Styling */
.page-tai-xiu__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-tai-xiu__subsection-title {
  font-size: 1.8rem;
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

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

.page-tai-xiu__text-block ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-tai-xiu__text-block li {
  margin-bottom: 8px;
}

/* Buttons */
.page-tai-xiu__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* White text for contrast on gold button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-tai-xiu__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-tai-xiu__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

/* Images */
.page-tai-xiu img {
  max-width: 100%;
  height: auto;
  display: block; /* Prevent extra space below images */
  border-radius: 8px;
  margin: 20px auto;
  object-fit: cover; /* Ensure images fill their space */
}

/* FAQ Section */
.page-tai-xiu__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-tai-xiu__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #F2C14E; /* Main color for questions */
  cursor: pointer;
  list-style: none; /* Remove default marker */
}

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
  transform: rotate(45deg); /* Change + to X or rotate for open state */
}

.page-tai-xiu__faq-answer {
  padding: 0 20px 20px;
  color: #FFF6D6;
  font-size: 1rem;
}

/* General containers for mobile padding */
.page-tai-xiu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 移动端媒体查询 - @media (max-width: 768px) 必写清单 */
@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-tai-xiu__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    min-height: 400px;
    padding-bottom: 30px;
  }
  .page-tai-xiu__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-tai-xiu__hero-description {
    font-size: 1rem;
  }

  /* 通用图片与容器 */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-tai-xiu__section,
  .page-tai-xiu__container,
  .page-tai-xiu__introduction,
  .page-tai-xiu__rules,
  .page-tai-xiu__strategies,
  .page-tai-xiu__why-mi-so88,
  .page-tai-xiu__faq-area,
  .page-tai-xiu__conclusion,
  .page-tai-xiu__faq-item { /* Added specific sections for mobile padding */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-tai-xiu__btn-primary,
  .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: 12px 20px;
    font-size: 1rem;
  }
  
  .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-direction: column !important; /* Stack buttons vertically */
    gap: 15px; /* Spacing between stacked buttons */
  }

  /* 长文金框区 (Placeholder for requirement, not used on this non-homepage) */
  .page-tai-xiu__home-content {
    height: auto !important; /* Allow height to adapt */
    overflow-y: visible !important; /* No scrollbar */
    padding: 20px !important;
  }
  .page-tai-xiu__home-content h2 {
    font-size: 1.8rem !important;
  }

  /* 游戏轮播 (Placeholder for requirement, not used on this non-homepage) */
  .page-tai-xiu__slider-wrapper {
    overflow-x: auto !important; /* Allow horizontal scroll */
    -webkit-overflow-scrolling: touch;
  }
  .page-tai-xiu__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important; /* Ensure horizontal layout */
    gap: 12px;
  }
  .page-tai-xiu__game-slide {
    flex: 0 0 160px !important; /* Fixed width for slides */
    max-width: 160px !important;
  }

  /* 合作品牌六宫格 (Placeholder for requirement, not used on this non-homepage) */
  .page-tai-xiu__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 3 columns on mobile */
    gap: 8px;
  }
  .page-tai-xiu__banner-item img {
    
    
  }

  /* 博客卡片区 (Placeholder for requirement, not used on this non-homepage) */
  .page-tai-xiu__blog-masonry {
    grid-template-columns: 1fr !important; /* Single column on mobile */
  }
  .page-tai-xiu__blog-card-link {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .page-tai-xiu__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
  }
  .page-tai-xiu__blog-slide {
    flex: 0 0 80% !important; /* Make slides wider for mobile scroll */
    max-width: 80% !important;
  }
}