/* ============================================================
   Page Tài Xỉu - 8s
   ============================================================ */

.page-tai-xiu {
  color: #F2FFF6;
  background: #08160F;
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

/* --- HERO Section --- */
.page-tai-xiu__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 24px;
}

.page-tai-xiu__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(87, 227, 141, 0.2);
}

.page-tai-xiu__hero-content {
  text-align: center;
  max-width: 850px;
}

.page-tai-xiu__main-title {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: #F2FFF6;
  margin-bottom: 16px;
}

.page-tai-xiu__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 28px;
}

.page-tai-xiu__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* --- Buttons --- */
.page-tai-xiu__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #08160F;
  border-color: #57E38D;
}

.page-tai-xiu__btn--primary:hover {
  background: linear-gradient(180deg, #57E38D 0%, #13994A 100%);
  box-shadow: 0 0 20px rgba(87, 227, 141, 0.5);
}

.page-tai-xiu__btn--secondary {
  background: transparent;
  color: #F2FFF6;
  border-color: #2E7A4E;
}

.page-tai-xiu__btn--secondary:hover {
  background: #0A4B2C;
  border-color: #57E38D;
}

.page-tai-xiu__btn--large {
  font-size: 1.1rem;
  padding: 14px 36px;
}

.page-tai-xiu__btn--small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* --- Trust Section --- */
.page-tai-xiu__trust-section {
  padding: 60px 0 40px;
}

.page-tai-xiu__section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-tai-xiu__section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #11A84E, #22C768);
  border-radius: 2px;
}

.page-tai-xiu__trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-tai-xiu__trust-card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tai-xiu__trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(87, 227, 141, 0.15);
}

.page-tai-xiu__trust-title {
  color: #F2C14E;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-tai-xiu__trust-text {
  color: #A7D9B8;
  font-size: 0.95rem;
}

/* --- Guide Section --- */
.page-tai-xiu__guide-section {
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-tai-xiu__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-tai-xiu__guide-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 24px;
}

.page-tai-xiu__guide-step {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #11A84E, #22C768);
  color: #08160F;
  font-weight: 800;
  font-size: 1.1rem;
}

.page-tai-xiu__guide-content {
  flex: 1;
}

.page-tai-xiu__guide-title {
  color: #F2FFF6;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-tai-xiu__guide-content p {
  color: #A7D9B8;
  margin-bottom: 12px;
}

/* --- Tips Section --- */
.page-tai-xiu__tips-section {
  padding: 40px 0;
}

.page-tai-xiu__tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-tai-xiu__tips-card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tai-xiu__tips-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(87, 227, 141, 0.15);
}

.page-tai-xiu__tips-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
}

.page-tai-xiu__tips-title {
  color: #F2FFF6;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 16px 8px;
}

.page-tai-xiu__tips-card p {
  color: #A7D9B8;
  font-size: 0.9rem;
  padding: 0 16px;
  margin-bottom: 12px;
}

.page-tai-xiu__link {
  display: inline-block;
  margin: 0 16px 16px;
  color: #57E38D;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.page-tai-xiu__link:hover {
  color: #F2C14E;
}

/* --- CTA Section --- */
.page-tai-xiu__cta-section {
  padding: 20px 0 40px;
}

.page-tai-xiu__cta-box {
  background: linear-gradient(135deg, #0A4B2C 0%, #11271B 100%);
  border: 2px solid #22C768;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.page-tai-xiu__cta-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #F2FFF6;
  margin-bottom: 12px;
}

.page-tai-xiu__cta-text {
  color: #A7D9B8;
  max-width: 700px;
  margin: 0 auto 24px;
}

.page-tai-xiu__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* --- FAQ Section --- */
.page-tai-xiu__faq-section {
  padding: 40px 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-tai-xiu__faq-item {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  list-style: none;
}

.page-tai-xiu__faq-question::-webkit-details-marker {
  display: none;
}

.page-tai-xiu__faq-question:hover {
  background: rgba(17, 168, 78, 0.1);
}

.page-tai-xiu__faq-toggle {
  color: #57E38D;
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 12px;
}

.page-tai-xiu__faq-answer {
  padding: 0 20px 16px;
  color: #A7D9B8;
}

/* ============================================================
   Responsive Mobile (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .page-tai-xiu {
    padding: 8px;
  }

  .page-tai-xiu__hero-image {
    aspect-ratio: 4 / 3;
  }

  .page-tai-xiu__hero-description {
    font-size: 1rem;
  }

  .page-tai-xiu__hero-actions,
  .page-tai-xiu__cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-tai-xiu__btn {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-tai-xiu__section-title {
    font-size: 1.5rem;
  }

  .page-tai-xiu__trust-grid {
    grid-template-columns: 1fr;
  }

  .page-tai-xiu__guide-item {
    flex-direction: column;
  }

  .page-tai-xiu__guide-step {
    margin-bottom: 8px;
  }

  .page-tai-xiu__tips-grid {
    grid-template-columns: 1fr;
  }

  .page-tai-xiu__cta-box {
    padding: 24px 16px;
  }

  .page-tai-xiu__cta-title {
    font-size: 1.4rem;
  }

  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ============================================================
   Responsive Tablet (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .page-tai-xiu__tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-tai-xiu__trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}