/* BEM styles for page-tai-xiu */
.page-tai-xiu { color: #FFF5E1; background-color: #B71C1C; }
.page-tai-xiu h1, .page-tai-xiu h2, .page-tai-xiu h3 { color: #F4D34D; }
.page-tai-xiu a { color: #FFCC66; text-decoration: none; }
.page-tai-xiu a:hover { text-decoration: underline; }
.page-tai-xiu__btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: bold; text-align: center; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: none; }
.page-tai-xiu__btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.page-tai-xiu__btn--primary { background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); color: #7A0E0E; }
.page-tai-xiu__btn--secondary { background: #D32F2F; color: #FFF5E1; border: 1px solid #F2B544; }
.page-tai-xiu__btn--outline { background: transparent; color: #F2B544; border: 2px solid #F2B544; }
.page-tai-xiu__hero-section { width: 100%; position: relative; overflow: hidden; padding-top: 0; margin-top: 0; }
.page-tai-xiu__hero-inner { display: flex; flex-direction: column; width: 100%; max-width: 1200px; margin: 0 auto; padding: 10px 16px; }
.page-tai-xiu__hero-image-wrap { width: 100%; margin-bottom: 16px; }
.page-tai-xiu__hero-image { width: 100%; height: auto; display: block; border-radius: 12px; }
.page-tai-xiu__hero-content { padding: 8px 0; }
.page-tai-xiu__hero-title { font-weight: 800; line-height: 1.3; margin-bottom: 16px; max-width: 900px; }
.page-tai-xiu__hero-desc { font-size: 1.1rem; line-height: 1.6; margin-bottom: 20px; color: #FFF5E1; }
.page-tai-xiu__hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-tai-xiu__banner-section { max-width: 1200px; margin: 12px auto; padding: 0 16px; }
.page-tai-xiu__banner-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.page-tai-xiu__banner-thumb { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 8px; border: 1px solid #F2B544; }
.page-tai-xiu__intro-section, .page-tai-xiu__how-section, .page-tai-xiu__rules-section, .page-tai-xiu__variants-section, .page-tai-xiu__tips-section, .page-tai-xiu__download-section, .page-tai-xiu__promo-section, .page-tai-xiu__faq-section, .page-tai-xiu__cta-section { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }
.page-tai-xiu__section-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; border-left: 4px solid #F2B544; padding-left: 12px; }
.page-tai-xiu__sub-title { font-size: 1.3rem; font-weight: 600; margin: 16px 0 8px; color: #FFCC66; }
.page-tai-xiu__rules-list, .page-tai-xiu__tips-list, .page-tai-xiu__promo-list { list-style-position: inside; padding-left: 0; line-height: 1.7; }
.page-tai-xiu__rules-list li, .page-tai-xiu__tips-list li, .page-tai-xiu__promo-list li { margin-bottom: 10px; }
.page-tai-xiu__variants-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.page-tai-xiu__variant-card { background: #D32F2F; border-radius: 12px; overflow: hidden; border: 1px solid #F2B544; padding: 0 0 16px; }
.page-tai-xiu__variant-img { width: 100%; height: auto; display: block; }
.page-tai-xiu__variant-card h3 { padding: 12px 16px 0; font-size: 1.2rem; }
.page-tai-xiu__variant-card p { padding: 0 16px; font-size: 0.95rem; line-height: 1.5; }
.page-tai-xiu__download-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.page-tai-xiu__faq-list { display: flex; flex-direction: column; gap: 16px; }
.page-tai-xiu__faq-item { background: #D32F2F; border-radius: 8px; padding: 16px; border: 1px solid #F2B544; }
.page-tai-xiu__faq-question { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: #FFCC66; }
.page-tai-xiu__faq-answer { line-height: 1.6; color: #FFF5E1; }
.page-tai-xiu__overlay-section { width: 100%; position: relative; overflow: hidden; min-height: 280px; display: flex; align-items: center; justify-content: center; text-align: center; color: #FFF5E1; margin: 24px 0; }
.page-tai-xiu__overlay-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-tai-xiu__overlay-mask { position: absolute; inset: 0; background: rgba(0,0,0,0.55); z-index: 1; }
.page-tai-xiu__overlay-content { position: relative; z-index: 2; padding: 24px; max-width: 800px; }
.page-tai-xiu__overlay-title { font-size: 2rem; font-weight: 700; margin-bottom: 12px; color: #F4D34D; }
.page-tai-xiu__overlay-desc { font-size: 1.1rem; margin-bottom: 20px; }
.page-tai-xiu__cta-inner { background: #7A0E0E; border-radius: 12px; padding: 32px 24px; text-align: center; border: 1px solid #F2B544; }
.page-tai-xiu__cta-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; color: #F4D34D; }
.page-tai-xiu__cta-desc { font-size: 1.1rem; margin-bottom: 20px; }
.page-tai-xiu__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 768px) {
  .page-tai-xiu__hero-inner { padding: 8px 12px; }
  .page-tai-xiu__hero-title { font-size: 1.5rem; }
  .page-tai-xiu__hero-desc { font-size: 1rem; }
  .page-tai-xiu__hero-actions { flex-direction: column; }
  .page-tai-xiu__hero-actions .page-tai-xiu__btn { width: 100%; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; }
  .page-tai-xiu__banner-thumbs { grid-template-columns: repeat(2, 1fr); }
  .page-tai-xiu__section-title { font-size: 1.4rem; }
  .page-tai-xiu__variants-grid { grid-template-columns: 1fr; }
  .page-tai-xiu__download-actions .page-tai-xiu__btn { width: 100%; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; }
  .page-tai-xiu__cta-actions { flex-direction: column; align-items: stretch; }
  .page-tai-xiu__cta-actions .page-tai-xiu__btn { width: 100%; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; }
  .page-tai-xiu__overlay-title { font-size: 1.4rem; }
  .page-tai-xiu img { max-width: 100% !important; height: auto !important; }
  .page-tai-xiu { max-width: 100%; overflow-x: hidden; }
}