/* ===== tai-xiu.css - Trang Tài Xỉu Kim88 ===== */
.page-tai-xiu {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

/* --- Hero Section --- */
.page-tai-xiu__hero-section {
  padding-top: 10px;
  padding-bottom: 0;
}

.page-tai-xiu__hero-image-wrap {
  width: 100%;
}

.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(87, 227, 141, 0.15);
}

.page-tai-xiu__hero-content {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 16px;
  text-align: center;
}

.page-tai-xiu__main-title {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #F2FFF6;
  margin-bottom: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__hero-description {
  color: #A7D9B8;
  font-size: 1.1rem;
  max-width: 850px;
  margin: 0 auto 24px;
}

.page-tai-xiu__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding-bottom: 30px;
}

.page-tai-xiu__btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.3);
}

.page-tai-xiu__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.5);
}

.page-tai-xiu__btn--secondary {
  background: rgba(46, 122, 78, 0.4);
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-tai-xiu__btn--secondary:hover {
  background: rgba(46, 122, 78, 0.7);
}

/* --- Trust Section --- */
.page-tai-xiu__trust-section {
  padding: 24px 16px;
}

.page-tai-xiu__trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-tai-xiu__trust-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.page-tai-xiu__trust-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #57E38D;
}

.page-tai-xiu__trust-item span {
  color: #A7D9B8;
  font-size: 0.9rem;
}

/* --- Logo Grid Section --- */
.page-tai-xiu__logo-grid-section {
  padding: 24px 16px 40px;
}

.page-tai-xiu__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-tai-xiu__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  max-width: 280px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-tai-xiu__logo-item:hover {
  box-shadow: 0 0 25px rgba(87, 227, 141, 0.2);
  transform: translateY(-4px);
}

.page-tai-xiu__logo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-tai-xiu__logo-name {
  font-weight: 600;
  color: #F2FFF6;
  text-align: center;
}

.page-tai-xiu__logo-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-tai-xiu__logo-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-tai-xiu__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-tai-xiu__logo-item:nth-child(6) {
  grid-column: 3;
}

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

.page-tai-xiu__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-tai-xiu__guide-title {
  text-align: center;
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 16px;
}

.page-tai-xiu__guide-intro {
  max-width: 850px;
  margin: 0 auto 24px;
  color: #A7D9B8;
  font-size: 1rem;
}

.page-tai-xiu__guide-figure {
  margin: 24px 0;
}

.page-tai-xiu__guide-figure img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  border: 1px solid #2E7A4E;
}

.page-tai-xiu__guide-steps {
  max-width: 800px;
  margin: 24px auto;
  padding-left: 20px;
  color: #F2FFF6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-tai-xiu__guide-steps li::marker {
  color: #57E38D;
}

/* --- FAQ Section --- */
.page-tai-xiu__faq-section {
  padding: 40px 0 50px;
}

.page-tai-xiu__faq-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-tai-xiu__faq-title {
  text-align: center;
  color: #F2FFF6;
  font-weight: 700;
  margin-bottom: 24px;
}

.page-tai-xiu__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.page-tai-xiu__faq-question {
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-tai-xiu__faq-question span {
  background-color: #0A4B2C;
  border-radius: 6px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F2C14E;
  font-weight: 700;
  flex-shrink: 0;
}

.page-tai-xiu__faq-answer {
  margin-top: 12px;
  color: #A7D9B8;
}

.page-tai-xiu__link {
  color: #57E38D;
  text-decoration: underline;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-tai-xiu__logo-item:nth-child(4) { grid-column: 1; }
  .page-tai-xiu__logo-item:nth-child(5) { grid-column: 2; }
  .page-tai-xiu__logo-item:nth-child(6) { grid-column: 3; }
}

@media (max-width: 768px) {
  .page-tai-xiu__hero-section {
    padding-top: 8px;
  }

  .page-tai-xiu__hero-image {
    border-radius: 8px;
  }

  .page-tai-xiu__hero-content {
    margin-top: 16px;
  }

  .page-tai-xiu__main-title {
    font-size: 1.6rem;
  }

  .page-tai-xiu__hero-description {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .page-tai-xiu__hero-actions {
    gap: 10px;
    flex-direction: column;
    padding-bottom: 20px;
  }

  .page-tai-xiu__btn {
    padding: 12px 26px;
    font-size: 0.95rem;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

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

  .page-tai-xiu__trust-item strong {
    font-size: 1.25rem;
  }

  .page-tai-xiu__logo-grid-section {
    padding: 16px 12px 30px;
  }

  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }

  .page-tai-xiu__logo-item {
    padding: 8px;
    max-width: 100%;
  }

  .page-tai-xiu__logo-item:nth-child(5),
  .page-tai-xiu__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-tai-xiu__logo-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

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

  .page-tai-xiu__guide-figure img {
    max-width: 100%;
    max-height: 100%;
  }

  .page-tai-xiu__guide-steps {
    font-size: 0.9rem;
    padding-left: 18px;
  }

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

  .page-tai-xiu__faq-answer {
    font-size: 0.9rem;
  }

  /* Đảm bảo mọi ảnh trong nội dung không vượt quá màn hình */
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-tai-xiu {
    max-width: 100%;
    overflow-x: hidden;
  }
}