/* page-tai-xiu.css */
.page-tai-xiu {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #F5F7FA;
}
.page-tai-xiu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.page-tai-xiu__hero-section {
  padding-top: 10px;
  margin-top: 0;
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  color: #ffffff;
}
.page-tai-xiu__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  gap: 24px;
}
.page-tai-xiu__hero-image {
  width: 100%;
  max-width: 800px;
}
.page-tai-xiu__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.page-tai-xiu__hero-content {
  text-align: center;
  max-width: 800px;
}
.page-tai-xiu__main-title {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.page-tai-xiu__hero-desc {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #ffffff;
}
.page-tai-xiu__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.page-tai-xiu__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
}
.page-tai-xiu__btn--secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #ffffff;
}
.page-tai-xiu__btn:hover {
  opacity: 0.9;
}
.page-tai-xiu__intro-section,
.page-tai-xiu__rules-section,
.page-tai-xiu__betting-section,
.page-tai-xiu__capital-section,
.page-tai-xiu__prediction-section,
.page-tai-xiu__variants-section,
.page-tai-xiu__tips-section,
.page-tai-xiu__safety-section,
.page-tai-xiu__faq-section,
.page-tai-xiu__cta-section {
  padding: 48px 0;
  background-color: #F5F7FA;
}
.page-tai-xiu__section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 24px;
  text-align: center;
}
.page-tai-xiu__intro-section p,
.page-tai-xiu__capital-section p {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-tai-xiu__rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.page-tai-xiu__rule-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.page-tai-xiu__rule-title {
  font-size: 1.2rem;
  color: #E53935;
  margin-bottom: 12px;
}
.page-tai-xiu__rule-card p {
  color: #333333;
}
.page-tai-xiu__betting-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.page-tai-xiu__betting-text h3 {
  font-size: 1.2rem;
  color: #E53935;
  margin-top: 20px;
  margin-bottom: 8px;
}
.page-tai-xiu__betting-text p {
  color: #333333;
  margin-bottom: 16px;
}
.page-tai-xiu__betting-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.page-tai-xiu__capital-list {
  list-style: disc;
  padding-left: 24px;
  max-width: 900px;
  margin: 0 auto 24px;
}
.page-tai-xiu__capital-list li {
  margin-bottom: 12px;
  color: #333333;
}
.page-tai-xiu__prediction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.page-tai-xiu__prediction-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.page-tai-xiu__card-title {
  font-size: 1.1rem;
  color: #E53935;
  margin-bottom: 12px;
}
.page-tai-xiu__prediction-card p {
  color: #333333;
  font-size: 0.95rem;
}
.page-tai-xiu__variants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.page-tai-xiu__variant-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.page-tai-xiu__variant-card h3 {
  font-size: 1.1rem;
  color: #E53935;
  margin-bottom: 8px;
}
.page-tai-xiu__variant-card p {
  color: #333333;
  font-size: 0.95rem;
}
.page-tai-xiu__tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.page-tai-xiu__tip-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.page-tai-xiu__tip-card h3 {
  font-size: 1.1rem;
  color: #E53935;
  margin-bottom: 8px;
}
.page-tai-xiu__tip-card p {
  color: #333333;
  font-size: 0.95rem;
}
.page-tai-xiu__safety-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.page-tai-xiu__safety-text p {
  color: #333333;
  margin-bottom: 16px;
}
.page-tai-xiu__safety-text a {
  color: #E53935;
  font-weight: 600;
  text-decoration: underline;
}
.page-tai-xiu__safety-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.page-tai-xiu__faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.page-tai-xiu__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.page-tai-xiu__faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  position: relative;
}
.page-tai-xiu__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #E53935;
  transition: transform 0.2s ease;
}
.page-tai-xiu__faq-question[aria-expanded="true"]::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}
.page-tai-xiu__faq-answer {
  padding: 0 20px 16px;
  color: #333333;
}
.page-tai-xiu__faq-answer p {
  margin: 0;
}
.page-tai-xiu__cta-section {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  color: #ffffff;
  text-align: center;
}
.page-tai-xiu__cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}
.page-tai-xiu__cta-desc {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 24px;
}
.page-tai-xiu__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.page-tai-xiu__cta-section .page-tai-xiu__btn--primary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #ffffff;
}
.page-tai-xiu__cta-section .page-tai-xiu__btn--secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}
@media (max-width: 768px) {
  .page-tai-xiu__hero-container,
  .page-tai-xiu__betting-content,
  .page-tai-xiu__safety-content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .page-tai-xiu__rules-grid,
  .page-tai-xiu__prediction-grid,
  .page-tai-xiu__variants-grid,
  .page-tai-xiu__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__section-title {
    font-size: 1.5rem;
  }
  .page-tai-xiu__main-title {
    font-size: 1.6rem;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__hero-actions,
  .page-tai-xiu__cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-tai-xiu__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
}