/* ===== Page Tài Xỉu – Red Gold v1 ===== */
.page-tai-xiu{background:#140C0C;color:#FFF1E8;font-family:Arial,Helvetica,sans-serif;line-height:1.65;max-width:100%;overflow-x:hidden}
.page-tai-xiu a{color:#F3C54D;text-decoration:none}
.page-tai-xiu a:hover{text-decoration:underline}
.page-tai-xiu img{display:block;max-width:100%;height:auto}
.page-tai-xiu h1,.page-tai-xiu h2,.page-tai-xiu h3{color:#F3C54D;font-weight:700;line-height:1.3;margin:0 0 12px}
.page-tai-xiu p{margin:0 0 14px}

/* HERO */
.page-tai-xiu__hero-section{background:#140C0C;padding:10px 16px 24px;margin:0 auto;max-width:1200px;box-sizing:border-box}
.page-tai-xiu__hero-image-wrap{width:100%;margin:0 0 18px;border-radius:14px;overflow:hidden;border:1px solid #6A1E1E;background:#2A1212}
.page-tai-xiu__hero-image{width:100%;height:auto;display:block}
.page-tai-xiu__hero-content{width:100%;max-width:900px;margin:0 auto;text-align:center;box-sizing:border-box}
.page-tai-xiu__hero-title{font-size:clamp(1.4rem,2.4vw,2.1rem);color:#F3C54D;margin:0 0 12px;letter-spacing:.3px}
.page-tai-xiu__hero-desc{color:#FFF1E8;font-size:1rem;margin:0 0 20px;max-width:820px;margin-left:auto;margin-right:auto}
.page-tai-xiu__hero-cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;width:100%;max-width:100%;box-sizing:border-box}

/* Buttons */
.page-tai-xiu__btn{display:inline-block;padding:12px 22px;border-radius:8px;font-weight:700;text-align:center;box-sizing:border-box;border:1px solid transparent;cursor:pointer;transition:opacity .2s ease;max-width:100%;white-space:normal;word-wrap:break-word;line-height:1.3}
.page-tai-xiu__btn:hover{opacity:.9;text-decoration:none}
.page-tai-xiu__btn--primary{background:linear-gradient(180deg,#FFB04A 0%,#D86A14 100%);color:#2A1212}
.page-tai-xiu__btn--secondary{background:#2A1212;color:#F3C54D;border:1px solid #6A1E1E}
.page-tai-xiu__btn--ghost{background:transparent;color:#FFF1E8;border:1px solid #F3C54D}

/* Banner thumbs */
.page-tai-xiu__banner-section{max-width:1200px;margin:0 auto;padding:0 16px 24px;box-sizing:border-box}
.page-tai-xiu__banner-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.page-tai-xiu__thumb{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;border:1px solid #6A1E1E;background:#2A1212}

/* Sections */
.page-tai-xiu__intro-section,.page-tai-xiu__rules-section,.page-tai-xiu__odds-section,.page-tai-xiu__tips-section,.page-tai-xiu__posts-section,.page-tai-xiu__promo-section,.page-tai-xiu__list-section,.page-tai-xiu__faq-section,.page-tai-xiu__cta-section{max-width:1200px;margin:0 auto;padding:28px 16px;box-sizing:border-box}
.page-tai-xiu__section-title{font-size:clamp(1.25rem,2vw,1.7rem);color:#F3C54D;margin:0 0 18px;border-left:4px solid #C61F1F;padding-left:12px}
.page-tai-xiu__text{color:#FFF1E8;font-size:.98rem}

/* Rules grid */
.page-tai-xiu__rules-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.page-tai-xiu__rule-card{background:#2A1212;border:1px solid #6A1E1E;border-radius:10px;padding:18px}
.page-tai-xiu__rule-title{font-size:1.05rem;color:#F3C54D;margin:0 0 8px}

/* Odds table */
.page-tai-xiu__table-wrap{width:100%;overflow-x:auto;margin:0 0 14px;border-radius:10px;border:1px solid #6A1E1E}
.page-tai-xiu__odds-table{width:100%;border-collapse:collapse;background:#2A1212;color:#FFF1E8;font-size:.95rem;min-width:480px}
.page-tai-xiu__odds-table th,.page-tai-xiu__odds-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #6A1E1E}
.page-tai-xiu__odds-table th{background:#7E0D0D;color:#F3C54D;font-weight:700}
.page-tai-xiu__odds-table tr:last-child td{border-bottom:none}

/* Tips */
.page-tai-xiu__tips-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.page-tai-xiu__tip-item{background:#2A1212;border:1px solid #6A1E1E;border-radius:10px;padding:18px}
.page-tai-xiu__tip-title{font-size:1.05rem;color:#F3C54D;margin:0 0 8px}

/* Posts */
.page-tai-xiu__posts-track{display:flex;gap:16px;overflow:hidden;transition:transform .4s ease}
.page-tai-xiu__post-card{flex:0 0 calc(25% - 12px);background:#2A1212;border:1px solid #6A1E1E;border-radius:10px;overflow:hidden;box-sizing:border-box}
.page-tai-xiu__post-image{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;display:block}
.page-tai-xiu__post-title{font-size:1rem;margin:12px 12px 6px;color:#F3C54D}
.page-tai-xiu__post-title a{color:#F3C54D}
.page-tai-xiu__post-excerpt{font-size:.88rem;color:#FFF1E8;margin:0 12px 14px}
.page-tai-xiu__posts-nav{display:flex;justify-content:center;gap:12px;margin-top:16px}
.page-tai-xiu__posts-prev,.page-tai-xiu__posts-next{background:#2A1212;color:#F3C54D;border:1px solid #6A1E1E;border-radius:50%;width:44px;height:44px;font-size:1.4rem;cursor:pointer;line-height:1}

/* Promo */
.page-tai-xiu__promo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.page-tai-xiu__promo-card{background:#2A1212;border:1px solid #6A1E1E;border-radius:12px;padding:18px;text-align:center}
.page-tai-xiu__promo-image{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:10px;margin:0 0 14px}
.page-tai-xiu__promo-title{font-size:1.1rem;color:#F3C54D;margin:0 0 10px}

/* List */
.page-tai-xiu__list-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.page-tai-xiu__list-item{background:#2A1212;border:1px solid #6A1E1E;border-radius:10px;overflow:hidden;padding-bottom:14px}
.page-tai-xiu__list-image{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;margin:0 0 12px}
.page-tai-xiu__list-title{font-size:1.05rem;color:#F3C54D;margin:0 14px 8px}
.page-tai-xiu__list-item .page-tai-xiu__text{margin:0 14px}

/* FAQ */
.page-tai-xiu__faq-list{display:flex;flex-direction:column;gap:10px}
.page-tai-xiu__faq-item{background:#2A1212;border:1px solid #6A1E1E;border-radius:10px;overflow:hidden}
.page-tai-xiu__faq-question{width:100%;text-align:left;background:transparent;border:none;color:#F3C54D;font-size:1rem;font-weight:700;padding:14px 16px;cursor:pointer}
.page-tai-xiu__faq-answer{display:none;padding:0 16px 14px;color:#FFF1E8;font-size:.95rem}
.page-tai-xiu__faq-item.is-open .page-tai-xiu__faq-answer{display:block}

/* Overlay */
.page-tai-xiu__overlay-section{position:relative;overflow:hidden;max-width:1200px;margin:28px auto;border-radius:14px;min-height:280px;display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid #6A1E1E}
.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(20,12,12,.72);z-index:1}
.page-tai-xiu__overlay-content{position:relative;z-index:2;padding:28px 18px;max-width:760px}
.page-tai-xiu__overlay-title{color:#F3C54D;font-size:clamp(1.3rem,2.2vw,1.8rem);margin:0 0 10px}
.page-tai-xiu__overlay-text{color:#FFF1E8;margin:0 0 18px}

/* CTA */
.page-tai-xiu__cta-section{background:#2A1212;border-top:1px solid #6A1E1E;border-bottom:1px solid #6A1E1E}
.page-tai-xiu__cta-content{max-width:900px;margin:0 auto;text-align:center}
.page-tai-xiu__cta-title{color:#F3C54D;font-size:clamp(1.25rem,2vw,1.65rem);margin:0 0 12px}
.page-tai-xiu__cta-text{color:#FFF1E8;margin:0 0 20px}
.page-tai-xiu__cta-buttons{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;width:100%;max-width:100%;box-sizing:border-box}

/* ===== Responsive ===== */
@media (max-width:768px){
  .page-tai-xiu{overflow-x:hidden;max-width:100%}
  .page-tai-xiu img{max-width:100%!important;height:auto!important}
  .page-tai-xiu__hero-section{padding:10px 12px 20px}
  .page-tai-xiu__hero-cta{flex-direction:column;align-items:stretch}
  .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__rules-grid{grid-template-columns:1fr}
  .page-tai-xiu__tips-list{grid-template-columns:1fr}
  .page-tai-xiu__post-card{flex:0 0 100%}
  .page-tai-xiu__promo-grid{grid-template-columns:1fr}
  .page-tai-xiu__list-grid{grid-template-columns:1fr}
  .page-tai-xiu__overlay-section{margin:20px 12px;min-height:240px}
  .page-tai-xiu__cta-buttons{flex-direction:column;align-items:stretch}
}