/**
 * Trang Tài Xỉu - 8xbet app
 * BEM: .page-tai-xiu__element-name
 * Colors: primary #11A84E, secondary #22C768
 */
.page-tai-xiu {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}
.page-tai-xiu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.page-tai-xiu__hero-section {
  padding-top: 0;
  margin-top: 0;
  background: linear-gradient(180deg, #11271B 0%, #08160F 100%);
  padding-bottom: 40px;
}
.page-tai-xiu__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-tai-xiu__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid #2E7A4E;
}
.page-tai-xiu__hero-content {
  text-align: center;
}
.page-tai-xiu__hero-title {
  color: #F2FFF6;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
}
.page-tai-xiu__hero-desc {
  color: #A7D9B8;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 24px;
}
.page-tai-xiu__hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.page-tai-xiu__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}
.page-tai-xiu__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.35);
}
.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #08160F;
  border: 1px solid #57E38D;
}
.page-tai-xiu__btn--secondary {
  background: transparent;
  color: #F2C14E;
  border: 1px solid #F2C14E;
}
.page-tai-xiu__section-title {
  color: #57E38D;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 0 0 24px;
  line-height: 1.35;
}
.page-tai-xiu__why-section,
.page-tai-xiu__welcome-section,
.page-tai-xiu__rules-section,
.page-tai-xiu__promo-section,
.page-tai-xiu__safety-section,
.page-tai-xiu__vip-section,
.page-tai-xiu__deposit-section,
.page-tai-xiu__tips-section,
.page-tai-xiu__glossary-section,
.page-tai-xiu__withdraw-section,
.page-tai-xiu__support-section,
.page-tai-xiu__privacy-section,
.page-tai-xiu__faq-section {
  padding: 40px 0;
}
.page-tai-xiu__why-section { background-color: #11271B; }
.page-tai-xiu__welcome-section { background-color: #08160F; }
.page-tai-xiu__rules-section { background-color: #11271B; }
.page-tai-xiu__promo-section { background-color: #0A4B2C; }
.page-tai-xiu__safety-section { background-color: #08160F; }
.page-tai-xiu__vip-section { background-color: #11271B; }
.page-tai-xiu__deposit-section { background-color: #08160F; }
.page-tai-xiu__tips-section { background-color: #11271B; }
.page-tai-xiu__glossary-section { background-color: #08160F; }
.page-tai-xiu__withdraw-section { background-color: #11271B; }
.page-tai-xiu__support-section { background-color: #08160F; }
.page-tai-xiu__privacy-section { background-color: #11271B; }
.page-tai-xiu__faq-section { background-color: #08160F; }
.page-tai-xiu__why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.page-tai-xiu__why-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 24px 20px;
  border-top: 3px solid #22C768;
}
.page-tai-xiu__why-title {
  color: #F2C14E;
  font-size: 1.1rem;
  margin: 0 0 10px;
  font-weight: 700;
}
.page-tai-xiu__why-text {
  color: #A7D9B8;
  font-size: 0.95rem;
  margin: 0;
}
.page-tai-xiu__welcome-grid,
.page-tai-xiu__safety-grid,
.page-tai-xiu__withdraw-grid,
.page-tai-xiu__support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.page-tai-xiu__welcome-media img,
.page-tai-xiu__safety-media img,
.page-tai-xiu__deposit-media img,
.page-tai-xiu__withdraw-media img,
.page-tai-xiu__support-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid #2E7A4E;
}
.page-tai-xiu__text {
  color: #A7D9B8;
  font-size: 1rem;
  margin: 0 0 16px;
}
.page-tai-xiu__list {
  margin: 0 0 16px;
  padding-left: 20px;
}
.page-tai-xiu__list-item {
  color: #F2FFF6;
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.page-tai-xiu__subtitle {
  color: #57E38D;
  font-size: 1.3rem;
  margin: 24px 0 16px;
  font-weight: 700;
}
.page-tai-xiu__terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.page-tai-xiu__term-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 20px;
}
.page-tai-xiu__term-title {
  color: #F2C14E;
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.page-tai-xiu__term-text {
  color: #A7D9B8;
  margin: 0;
  font-size: 0.95rem;
}
.page-tai-xiu__promo-box {
  background: linear-gradient(135deg, #0A4B2C 0%, #11271B 100%);
  border: 2px solid #F2C14E;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 0 30px rgba(242, 193, 78, 0.15);
}
.page-tai-xiu__promo-title {
  color: #F2C14E;
  margin: 0 0 12px;
  font-size: 1.4rem;
}
.page-tai-xiu__promo-text {
  color: #F2FFF6;
  margin: 0 0 20px;
  font-size: 1.02rem;
}
.page-tai-xiu__vip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.page-tai-xiu__vip-card {
  background: linear-gradient(180deg, #11271B 0%, #0A4B2C 100%);
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 18px 8px;
  text-align: center;
  color: #F2C14E;
  font-weight: 700;
  font-size: 0.92rem;
}
.page-tai-xiu__deposit-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.page-tai-xiu__step {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}
.page-tai-xiu__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #08160F;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.page-tai-xiu__step-title {
  color: #F2C14E;
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.page-tai-xiu__step-text {
  color: #A7D9B8;
  margin: 0;
  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-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 24px 20px;
  border-left: 3px solid #22C768;
}
.page-tai-xiu__tip-title {
  color: #F2C14E;
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.page-tai-xiu__tip-text {
  color: #A7D9B8;
  margin: 0;
  font-size: 0.95rem;
}
.page-tai-xiu__glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.page-tai-xiu__glossary-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 18px 20px;
}
.page-tai-xiu__glossary-term {
  color: #57E38D;
  margin: 0 0 6px;
  font-size: 1.02rem;
}
.page-tai-xiu__glossary-def {
  color: #A7D9B8;
  margin: 0;
  font-size: 0.95rem;
}
.page-tai-xiu__support-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.page-tai-xiu__faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.page-tai-xiu__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.page-tai-xiu__faq-question {
  color: #F2FFF6;
  font-size: 1.02rem;
  margin: 0;
  padding: 18px 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  padding-right: 44px;
}
.page-tai-xiu__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #57E38D;
  font-size: 1.4rem;
  font-weight: 700;
}
.page-tai-xiu__faq-item--open .page-tai-xiu__faq-question::after {
  content: '−';
}
.page-tai-xiu__faq-answer {
  display: none;
  padding: 0 20px 18px;
}
.page-tai-xiu__faq-item--open .page-tai-xiu__faq-answer {
  display: block;
}
.page-tai-xiu__faq-answer p {
  color: #A7D9B8;
  margin: 0;
  font-size: 0.96rem;
}
@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-container {
    padding: 10px 12px 32px;
  }
  .page-tai-xiu__hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tai-xiu__btn {
    width: 100%;
  }
  .page-tai-xiu__why-grid,
  .page-tai-xiu__terms-grid,
  .page-tai-xiu__vip-grid,
  .page-tai-xiu__deposit-steps,
  .page-tai-xiu__tips-grid,
  .page-tai-xiu__glossary-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__welcome-grid,
  .page-tai-xiu__safety-grid,
  .page-tai-xiu__withdraw-grid,
  .page-tai-xiu__support-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-tai-xiu__support-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tai-xiu__section-title {
    font-size: 1.25rem;
  }
  .page-tai-xiu__promo-box {
    padding: 24px 16px;
  }
  .page-tai-xiu__promo-title {
    font-size: 1.15rem;
  }
  .page-tai-xiu__faq-question {
    font-size: 0.98rem;
    padding: 16px 40px 16px 16px;
  }
  .page-tai-xiu__faq-answer {
    padding: 0 16px 16px;
  }
}