.page-tai-xiu { font-family: Arial, sans-serif; line-height: 1.6; color: #333333; background-color: #f8f8f8; }
.page-tai-xiu h1, .page-tai-xiu h2, .page-tai-xiu h3 { color: #FFD700; margin-bottom: 15px; }
.page-tai-xiu a { color: #8B0000; text-decoration: none; }
.page-tai-xiu a:hover { text-decoration: underline; }

.page-tai-xiu__container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.page-tai-xiu__section-title { font-size: 2.5em; text-align: center; margin-bottom: 40px; color: #8B0000; }
.page-tai-xiu__text-content { font-size: 1.1em; line-height: 1.8; margin-bottom: 20px; }

/* Hero Section */
.page-tai-xiu__hero-section { padding-top: 0; margin-top: 0; background-color: #333; color: #fff; padding-bottom: 50px; }
.page-tai-xiu__hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 60px 15px; align-items: center; }
.page-tai-xiu__hero-title { font-size: clamp(2em, 4vw, 3.5em); font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: #FFD700; }
.page-tai-xiu__hero-description { font-size: 1.2em; line-height: 1.8; margin-bottom: 30px; }
.page-tai-xiu__hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.page-tai-xiu__hero-media img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; display: block; min-width: 200px; min-height: 200px; }

/* Buttons */
.page-tai-xiu__btn { display: inline-block; padding: 12px 25px; border-radius: 8px; font-weight: bold; text-align: center; transition: all 0.3s ease; white-space: nowrap; cursor: pointer; border: none; }
.page-tai-xiu__btn--primary { background-color: #FFD700; color: #333; border: 2px solid #FFD700; }
.page-tai-xiu__btn--primary:hover { background-color: #e6c200; border-color: #e6c200; }
.page-tai-xiu__btn--secondary { background-color: transparent; color: #FFD700; border: 2px solid #FFD700; }
.page-tai-xiu__btn--secondary:hover { background-color: #FFD700; color: #333; }

/* Cards */
.page-tai-xiu__card { background-color: #fff; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); padding: 25px; text-align: center; transition: transform 0.3s ease; display: flex; flex-direction: column; align-items: center; }
.page-tai-xiu__card:hover { transform: translateY(-5px); }
.page-tai-xiu__card img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 15px; min-width: 200px; min-height: 200px; object-fit: cover; aspect-ratio: 4/3; }
.page-tai-xiu__card-title { font-size: 1.4em; margin-bottom: 10px; color: #FFD700; }
.page-tai-xiu__card-description { font-size: 1em; line-height: 1.7; color: #555; }

/* Intro Section */
.page-tai-xiu__intro-section, .page-tai-xiu__promotions-section { padding: 60px 0; background-color: #f8f8f8; }

/* Why pp55 Section, Tips Section */
.page-tai-xiu__why-pp55-section, .page-tai-xiu__tips-section { padding: 60px 0; background-color: #fff; }
.page-tai-xiu__why-grid, .page-tai-xiu__tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }

/* How to Play Section */
.page-tai-xiu__how-to-play-section { padding: 60px 0; background-color: #f0f0f0; }
.page-tai-xiu__ordered-list { list-style: none; padding: 0; counter-reset: item; margin-top: 30px; }
.page-tai-xiu__ordered-list li { margin-bottom: 25px; display: flex; align-items: flex-start; }
.page-tai-xiu__ordered-list li::before { content: counter(item); counter-increment: item; background-color: #8B0000; color: #fff; width: 35px; height: 35px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 1.2em; margin-right: 15px; flex-shrink: 0; }
.page-tai-xiu__list-item-title { font-weight: bold; color: #8B0000; margin-bottom: 5px; font-size: 1.1em; }
.page-tai-xiu__list-item-description { font-size: 1em; line-height: 1.6; }
.page-tai-xiu__cta-group { text-align: center; margin-top: 40px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* FAQ Section */
.page-tai-xiu__faq-section { padding: 60px 0; background-color: #f8f8f8; }
.page-tai-xiu__faq-item { background-color: #fff; border-radius: 10px; margin-bottom: 15px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.page-tai-xiu__faq-question { width: 100%; padding: 20px 25px; text-align: left; background-color: #FFD700; color: #333; font-size: 1.2em; font-weight: bold; border: none; cursor: pointer; transition: background-color 0.3s ease; display: flex; justify-content: space-between; align-items: center; }
.page-tai-xiu__faq-question::after { content: '+'; font-size: 1.5em; transition: transform 0.3s ease; }
.page-tai-xiu__faq-question.active::after { content: '-'; transform: rotate(180deg); }
.page-tai-xiu__faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; background-color: #fefefe; }
.page-tai-xiu__faq-answer.active { max-height: 500px; padding: 20px 25px; }
.page-tai-xiu__faq-answer p { margin: 0; line-height: 1.7; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-tai-xiu__hero-grid { grid-template-columns: 1fr; padding: 40px 15px; }
  .page-tai-xiu__hero-media { order: -1; margin-bottom: 30px; }
  .page-tai-xiu__hero-title { font-size: 2em; text-align: center; }
  .page-tai-xiu__hero-description { text-align: center; }
  .page-tai-xiu__hero-actions { justify-content: center; }

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

  .page-tai-xiu__why-grid, .page-tai-xiu__tips-grid { grid-template-columns: 1fr; }
  .page-tai-xiu__card { padding: 20px; }

  .page-tai-xiu__ordered-list li { flex-direction: column; align-items: center; text-align: center; }
  .page-tai-xiu__ordered-list li::before { margin-right: 0; margin-bottom: 15px; }
  .page-tai-xiu__list-item-title, .page-tai-xiu__list-item-description { text-align: center; }

  .page-tai-xiu__cta-group { flex-direction: column; gap: 15px; }
  .page-tai-xiu__btn { max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; }

  .page-tai-xiu__faq-question { font-size: 1.1em; padding: 15px 20px; }
  .page-tai-xiu__faq-answer.active { padding: 15px 20px; }
  
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
}