/* style/tai-xiu.css */
.page-tai-xiu {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}
.page-tai-xiu__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-tai-xiu__hero-section {
  padding-top: 10px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
}
.page-tai-xiu__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-tai-xiu__hero-image {
  width: 100%;
  margin-bottom: 24px;
}
.page-tai-xiu__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(87, 227, 141, 0.25);
  border: 1px solid #2E7A4E;
}
.page-tai-xiu__hero-content {
  width: 100%;
  text-align: center;
}
.page-tai-xiu__main-title {
  color: #F2FFF6;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-tai-xiu__hero-desc {
  color: #A7D9B8;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 28px;
}
.page-tai-xiu__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.page-tai-xiu__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  max-width: 100%;
  text-align: center;
}
.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.35);
  border: none;
}
.page-tai-xiu__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(87, 227, 141, 0.5);
}
.page-tai-xiu__btn--outline {
  background: transparent;
  color: #F2FFF6;
  border: 2px solid #57E38D;
}
.page-tai-xiu__btn--outline:hover {
  background: rgba(87, 227, 141, 0.12);
  transform: translateY(-3px);
}
.page-tai-xiu__intro-section,
.page-tai-xiu__howto-section,
.page-tai-xiu__rules-section,
.page-tai-xiu__tips-section,
.page-tai-xiu__product-section,
.page-tai-xiu__security-section {
  padding: 60px 0;
}
.page-tai-xiu__section-title {
  color: #F2FFF6;
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.35;
  position: relative;
  padding-bottom: 12px;
}
.page-tai-xiu__section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #22C768 0%, #57E38D 100%);
}
.page-tai-xiu__text {
  color: #A7D9B8;
  font-size: 1rem;
  margin: 0 0 18px;
}
.page-tai-xiu__intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.page-tai-xiu__intro-card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 16px;
  padding: 0 0 24px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.page-tai-xiu__intro-card:hover {
  transform: translateY(-6px);
  border-color: #57E38D;
}
.page-tai-xiu__intro-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}
.page-tai-xiu__card-title {
  color: #F2FFF6;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 18px 10px;
}
.page-tai-xiu__card-text {
  color: #A7D9B8;
  font-size: 0.95rem;
  margin: 0 18px;
}
.page-tai-xiu__steps {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  counter-reset: step-counter;
}
.page-tai-xiu__step {
  background: #11271B;
  border-left: 4px solid #22C768;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 14px;
  color: #A7D9B8;
  counter-increment: step-counter;
}
.page-tai-xiu__step strong {
  color: #57E38D;
}
.page-tai-xiu__step a {
  color: #57E38D;
  text-decoration: underline;
}
.page-tai-xiu__howto-image {
  margin-top: 30px;
  text-align: center;
}
.page-tai-xiu__howto-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 16px;
  border: 1px solid #2E7A4E;
}
.page-tai-xiu__table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
}
.page-tai-xiu__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.page-tai-xiu__table thead {
  background: #0A4B2C;
}
.page-tai-xiu__table th {
  color: #F2FFF6;
  font-weight: 600;
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #2E7A4E;
}
.page-tai-xiu__table td {
  color: #A7D9B8;
  padding: 14px 16px;
  border-bottom: 1px solid #1E3A2A;
}
.page-tai-xiu__table tbody tr:nth-child(even) {
  background: rgba(17, 39, 27, 0.6);
}
.page-tai-xiu__table tbody tr:hover {
  background: rgba(87, 227, 141, 0.08);
}
.page-tai-xiu__note {
  color: #F2C14E;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 12px;
}
.page-tai-xiu__tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.page-tai-xiu__tip {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.page-tai-xiu__tip:hover {
  border-color: #57E38D;
  transform: translateY(-4px);
}
.page-tai-xiu__tip-title {
  color: #57E38D;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.page-tai-xiu__tip-text {
  color: #A7D9B8;
  font-size: 0.95rem;
  margin: 0;
}
.page-tai-xiu__tip-text a {
  color: #57E38D;
  text-decoration: underline;
}
.page-tai-xiu__products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.page-tai-xiu__product-card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.page-tai-xiu__product-card:hover {
  transform: translateY(-6px);
  border-color: #57E38D;
}
.page-tai-xiu__product-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}
.page-tai-xiu__cta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}
.page-tai-xiu__checklist {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.page-tai-xiu__check-item {
  color: #F2FFF6;
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 14px 18px 14px 46px;
  position: relative;
  font-size: 0.95rem;
}
.page-tai-xiu__check-item::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #57E38D;
  font-weight: 700;
  font-size: 1.1rem;
}
.page-tai-xiu__cta-final {
  padding: 70px 0;
  background: linear-gradient(135deg, #0A4B2C 0%, #08160F 100%);
  border-top: 1px solid #1E3A2A;
  border-bottom: 1px solid #1E3A2A;
}
.page-tai-xiu__cta-title {
  color: #F2FFF6;
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 18px;
  line-height: 1.35;
}
.page-tai-xiu__cta-text {
  color: #A7D9B8;
  font-size: 1.05rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}
.page-tai-xiu__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .page-tai-xiu__intro-grid,
  .page-tai-xiu__products {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tai-xiu__section-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-tai-xiu__hero-image {
    margin-bottom: 18px;
  }
  .page-tai-xiu__hero-desc {
    font-size: 0.98rem;
  }
  .page-tai-xiu__hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .page-tai-xiu__btn {
    width: 100%;
    max-width: 100%;
    padding: 14px 20px;
    box-sizing: border-box;
  }
  .page-tai-xiu__intro-section,
  .page-tai-xiu__howto-section,
  .page-tai-xiu__rules-section,
  .page-tai-xiu__tips-section,
  .page-tai-xiu__product-section,
  .page-tai-xiu__security-section {
    padding: 40px 0;
  }
  .page-tai-xiu__section-title {
    font-size: 1.4rem;
  }
  .page-tai-xiu__intro-grid,
  .page-tai-xiu__tips-grid,
  .page-tai-xiu__products,
  .page-tai-xiu__checklist {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .page-tai-xiu__cta-block {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tai-xiu__cta-title {
    font-size: 1.4rem;
  }
  .page-tai-xiu__cta-text {
    font-size: 0.98rem;
  }
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tai-xiu__table {
    min-width: 460px;
  }
}