.page-tai-xiu { background-color: #FFFFFF; color: #333333; }
/* ===== HERO ===== */
.page-tai-xiu__hero-section { background-color: #017439; max-width: 1200px; margin: 10px auto 0; padding: 0 10px; overflow: hidden; }
.page-tai-xiu__hero-image-wrapper { width: 100%; }
.page-tai-xiu__hero-image { display: block; width: 100%; height: auto; aspect-ratio: 1020/300; object-fit: cover; }
.page-tai-xiu__hero-content { margin: 0; padding: 24px 20px 32px; text-align: center; }
.page-tai-xiu__hero-title { font-size: clamp(1.4rem, 3.5vw, 2.2rem); line-height: 1.25; font-weight: 800; color: #FFFF00; max-width: 900px; margin: 0 auto 12px; }
.page-tai-xiu__hero-subtitle { color: #FFFFFF; font-size: 1rem; line-height: 1.6; max-width: 700px; margin: 0 auto 24px; opacity: 0.95; }
.page-tai-xiu__hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.page-tai-xiu__hero-btn-register, .page-tai-xiu__hero-btn-login { padding: 14px 42px; border-radius: 50px; font-size: 1rem; font-weight: 700; text-decoration: none; transition: transform 0.2s ease; }
.page-tai-xiu__hero-btn-register { background-color: #C30808; color: #FFFF00; }
.page-tai-xiu__hero-btn-login { background-color: #C30808; color: #FFFF00; }
.page-tai-xiu__hero-btn-register:hover, .page-tai-xiu__hero-btn-login:hover { transform: scale(1.05); }
/* ===== INTRO ===== */
.page-tai-xiu__intro-section { max-width: 1000px; margin: 48px auto 24px; padding: 0 20px; text-align: center; }
.page-tai-xiu__intro-title { font-size: clamp(1.5rem, 3vw, 2rem); color: #017439; margin-bottom: 16px; line-height: 1.3; }
.page-tai-xiu__intro-text { line-height: 1.8; font-size: 1.05rem; }
/* ===== RULES ===== */
.page-tai-xiu__rules-section { max-width: 1200px; margin: 48px auto; padding: 0 10px; }
.page-tai-xiu__rules-title { text-align: center; font-size: clamp(1.4rem, 2.5vw, 1.9rem); color: #017439; margin-bottom: 28px; }
.page-tai-xiu__rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.page-tai-xiu__rule-card { background-color: #F4F8F6; border-radius: 12px; padding: 24px; border-left: 6px solid #017439; }
.page-tai-xiu__rule-card-title { font-size: 1.15rem; color: #017439; margin-bottom: 12px; }
.page-tai-xiu__rule-card-text, .page-tai-xiu__rule-card-list { line-height: 1.7; font-size: 0.95rem; }
.page-tai-xiu__rule-card-list { padding-left: 16px; }
/* ===== FEATURES ===== */
.page-tai-xiu__features-section { background-color: #F4F8F6; padding: 48px 10px; }
.page-tai-xiu__features-title { text-align: center; font-size: clamp(1.5rem, 2.8vw, 2rem); color: #017439; margin-bottom: 32px; }
.page-tai-xiu__features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.page-tai-xiu__feature-card { background-color: #FFFFFF; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.page-tai-xiu__feature-card-image { width: 100%; aspect-ratio: 800/450; object-fit: cover; display: block; }
.page-tai-xiu__feature-card-title { font-size: 1.1rem; color: #017439; padding: 16px 16px 8px; }
.page-tai-xiu__feature-card-text { padding: 0 16px 12px; line-height: 1.7; font-size: 0.92rem; }
.page-tai-xiu__feature-card-link { display: inline-block; margin: 0 16px 16px; color: #C30808; font-weight: 700; text-decoration: none; padding: 8px 0; border-bottom: 2px solid #C30808; }
/* ===== PROMO ===== */
.page-tai-xiu__promo-section { max-width: 1200px; margin: 48px auto; padding: 0 10px; }
.page-tai-xiu__promo-banner { display: flex; align-items: center; background-color: #017439; border-radius: 16px; overflow: hidden; }
.page-tai-xiu__promo-banner-image { width: 40%; aspect-ratio: 400/200; object-fit: cover; }
.page-tai-xiu__promo-content { padding: 32px; text-align: left; }
.page-tai-xiu__promo-title { color: #FFFF00; font-size: clamp(1.3rem, 2vw, 1.8rem); margin-bottom: 12px; }
.page-tai-xiu__promo-text { color: #FFFFFF; line-height: 1.7; margin-bottom: 20px; }
.page-tai-xiu__promo-actions .page-tai-xiu__promo-btn { display: inline-block; background-color: #C30808; color: #FFFF00; padding: 12px 36px; border-radius: 50px; text-decoration: none; font-weight: 700; }
/* ===== GUIDE ===== */
.page-tai-xiu__guide-section { max-width: 1200px; margin: 48px auto; padding: 0 10px; }
.page-tai-xiu__guide-title { text-align: center; font-size: clamp(1.4rem, 2.8vw, 2rem); color: #017439; margin-bottom: 8px; }
.page-tai-xiu__guide-subtitle { text-align: center; line-height: 1.7; margin-bottom: 32px; }
.page-tai-xiu__guide-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.page-tai-xiu__guide-step { text-align: center; }
.page-tai-xiu__guide-figure { margin: 0; }
.page-tai-xiu__guide-figure img { width: 100%; aspect-ratio: 800/400; object-fit: cover; border-radius: 12px; display: block; }
.page-tai-xiu__guide-figure figcaption { margin-top: 12px; font-weight: 700; color: #017439; }
/* ===== FAQ ===== */
.page-tai-xiu__faq-section { max-width: 800px; margin: 48px auto; padding: 0 10px; }
.page-tai-xiu__faq-title { text-align: center; color: #017439; margin-bottom: 24px; font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.page-tai-xiu__faq-item { background-color: #F4F8F6; border-radius: 8px; padding: 16px 20px; margin-bottom: 12px; border-left: 4px solid #017439; }
.page-tai-xiu__faq-question { cursor: pointer; font-weight: 700; color: #017439; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.page-tai-xiu__faq-question::-webkit-details-marker { display: none; }
.page-tai-xiu__faq-question::after { content: "+"; font-size: 1.6rem; color: #C30808; line-height: 1; }
.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question::after { content: "-"; }
.page-tai-xiu__faq-answer { margin-top: 12px; line-height: 1.7; font-size: 0.95rem; border-top: 1px solid #ddebe4; padding-top: 12px; }
/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .page-tai-xiu__rules-grid, .page-tai-xiu__features-grid, .page-tai-xiu__guide-steps { grid-template-columns: repeat(2, 1fr); }
  .page-tai-xiu__promo-banner { flex-direction: column; }
  .page-tai-xiu__promo-banner-image { width: 100%; }
}
@media (max-width: 768px) {
  .page-tai-xiu__hero-section { margin-top: 10px; }
  .page-tai-xiu__hero-image { aspect-ratio: 2/1; }
  .page-tai-xiu__rules-grid, .page-tai-xiu__features-grid, .page-tai-xiu__guide-steps { grid-template-columns: 1fr; }
  .page-tai-xiu__hero-actions { flex-direction: column; align-items: stretch; }
  .page-tai-xiu__hero-btn-register, .page-tai-xiu__hero-btn-login { max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; text-align: center; }
  .page-tai-xiu__hero-content { padding-left: 10px; padding-right: 10px; }
  .page-tai-xiu img { max-width: 100% !important; height: auto !important; }
  .page-tai-xiu { max-width: 100%; overflow-x: hidden; }
  .page-tai-xiu__promo-content { padding: 20px 16px; text-align: center; }
  .page-tai-xiu__promo-actions .page-tai-xiu__promo-btn { max-width: 100%; box-sizing: border-box; text-align: center; display: block; }
}