.page-tai-xiu {
  background-color: #08162B;
  color: #F3F8FF;
  font-family: 'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
}
.page-tai-xiu__hero {
  padding: 10px 16px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.page-tai-xiu__hero-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.page-tai-xiu__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
}
.page-tai-xiu__hero-content {
  padding: 24px 0 28px;
  text-align: center;
}
.page-tai-xiu__hero-title {
  font-size: clamp(1.45rem, 2vw + 0.8rem, 2.1rem);
  line-height: 1.3;
  font-weight: 800;
  color: #F3F8FF;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.page-tai-xiu__hero-subtitle {
  font-size: 1.02rem;
  max-width: 820px;
  margin: 0 auto 24px;
  color: #AFC4E8;
}
.page-tai-xiu__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary,
.page-tai-xiu__btn-play,
.page-tai-xiu__btn-readmore,
.page-tai-xiu__btn-register,
.page-tai-xiu__btn-login {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  box-shadow: 0 8px 18px rgba(43, 115, 246, 0.3);
}
.page-tai-xiu__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 115, 246, 0.45);
}
.page-tai-xiu__btn-secondary {
  background: transparent;
  color: #8ABAFB;
  border: 2px solid #244D84;
}
.page-tai-xiu__btn-secondary:hover {
  border-color: #4FA8FF;
  color: #F3F8FF;
}
.page-tai-xiu__trust {
  padding: 20px 16px;
  background-color: #10233F;
}
.page-tai-xiu__trust-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 20px;
  padding: 18px;
  border: 1px solid #244D84;
  border-radius: 18px;
  background-color: #0D1B31;
}
.page-tai-xiu__trust-item {
  text-align: center;
}
.page-tai-xiu__trust-label {
  display: block;
  font-size: 0.85rem;
  color: #AFC4E8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.page-tai-xiu__trust-value {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #F3F8FF;
}
.page-tai-xiu__intro,
.page-tai-xiu__games,
.page-tai-xiu__guide,
.page-tai-xiu__features,
.page-tai-xiu__faq {
  padding: 56px 20px;
}
.page-tai-xiu__intro-inner,
.page-tai-xiu__games-header,
.page-tai-xiu__guide-inner,
.page-tai-xiu__features-inner,
.page-tai-xiu__faq-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.page-tai-xiu__intro p {
  color: #AFC4E8;
  margin-bottom: 16px;
  text-align: justify;
}
.page-tai-xiu__section-title {
  color: #F2C14E;
  font-size: 1.7rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
  border-bottom: 2px solid #244D84;
  padding-bottom: 14px;
}
.page-tai-xiu__games-grid {
  max-width: 1000px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.page-tai-xiu__game-card {
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.page-tai-xiu__game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.page-tai-xiu__game-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.page-tai-xiu__game-card-title {
  color: #F3F8FF;
  font-size: 1.1rem;
  margin: 16px 12px 6px;
}
.page-tai-xiu__game-card-desc {
  color: #AFC4E8;
  font-size: 0.85rem;
  margin: 0 14px 18px;
  flex: 1;
}
.page-tai-xiu__btn-play {
  margin: 0 15px 18px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: white;
  font-size: 0.9rem;
  padding: 10px 18px;
}
.page-tai-xiu__btn-readmore,
.page-tai-xiu__btn-register {
  margin-top: 10px;
  background: transparent;
  border: 2px solid #1D5FD1;
  color: #F3F8FF;
}
.page-tai-xiu__btn-readmore:hover,
.page-tai-xiu__btn-register:hover {
  background-color: #1D5FD1;
}
.page-tai-xiu__guide-step {
  display: flex;
  gap: 30px;
  margin-bottom: 46px;
  align-items: flex-start;
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 14px;
  padding: 18px;
}
.page-tai-xiu__guide-step:nth-child(even) {
  flex-direction: row-reverse;
}
.page-tai-xiu__guide-image {
  flex: 0 1 38%;
  border-radius: 10px;
  overflow: hidden;
}
.page-tai-xiu__guide-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.page-tai-xiu__guide-content {
  flex: 1 1 62%;
  color: #AFC4E8;
}
.page-tai-xiu__guide-content h3 {
  color: #F3F8FF;
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 12px;
}
.page-tai-xiu__guide-content p {
  margin-bottom: 12px;
  text-align: justify;
}
.page-tai-xiu__features {
  background-color: #0D1B31;
}
.page-tai-xiu__features-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.page-tai-xiu__feature-block {
  background: #10233F;
  border: 1px solid #1B3357;
  border-radius: 14px;
  padding: 20px;
}
.page-tai-xiu__feature-title {
  font-size: 1.15rem;
  color: #F2C14E;
  margin-bottom: 12px;
}
.page-tai-xiu__feature-block p {
  color: #AFC4E8;
  margin: 0;
  text-align: justify;
}
.page-tai-xiu__promo {
  padding: 24px 16px;
  background-color: #10233F;
  border-top: 2px solid #1D5FD1;
  border-bottom: 2px solid #1D5FD1;
}
.page-tai-xiu__promo-box {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  background: linear-gradient(135deg, #10233F 0%, #174A7C 100%);
  padding: 28px 30px;
  border-radius: 18px;
}
.page-tai-xiu__promo-image {
  flex: 0 0 28%;
}
.page-tai-xiu__promo-image img {
  display: block;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
}
.page-tai-xiu__promo-content {
  flex: 1;
}
.page-tai-xiu__promo-content h2 {
  color: #F2C14E;
  font-size: 1.7rem;
  margin: 0 0 8px;
}
.page-tai-xiu__promo-content p {
  color: #AFC4E8;
  margin: 0 0 18px;
  text-align: justify;
}
.page-tai-xiu__promo-actions {
  display: flex;
  gap: 12px;
}
.page-tai-xiu__blog {
  padding: 56px 20px;
  background-color: #10233F;
}
.page-tai-xiu__blog-inner,
.page-tai-xiu__download-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.page-tai-xiu__blog-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.page-tai-xiu__blog-header .page-tai-xiu__section-title {
  border-bottom: none;
  margin-bottom: 14px;
  text-align: left;
}
.page-tai-xiu__blog-viewall {
  color: #F2C14E;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.page-tai-xiu__blog-viewall:hover {
  text-decoration: underline;
}
.page-tai-xiu__blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.page-tai-xiu__blog-card {
  background: #08162B;
  border: 1px solid #244D84;
  border-radius: 14px;
  overflow: hidden;
}
.page-tai-xiu__blog-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  display: block;
}
.page-tai-xiu__blog-card time {
  display: inline-block;
  color: #AFC4E8;
  font-size: 0.8rem;
  margin: 12px 16px 0;
}
.page-tai-xiu__blog-title {
  margin: 8px 16px 6px;
  font-size: 1.25rem;
}
.page-tai-xiu__blog-title a {
  color: #F3F8FF;
  text-decoration: none;
}
.page-tai-xiu__blog-title a:hover {
  color: #F2C14E;
}
.page-tai-xiu__blog-card p {
  color: #AFC4E8;
  font-size: 0.9rem;
  margin: 0 16px 16px;
  text-align: justify;
}
.page-tai-xiu__faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.page-tai-xiu__faq-item {
  margin-bottom: 10px;
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 10px;
}
.page-tai-xiu__faq-question {
  padding: 16px 14px;
  color: #F3F8FF;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.page-tai-xiu__faq-question::-webkit-details-marker {
  display: none;
}
.page-tai-xiu__faq-question:hover {
  color: #F2C14E;
}
.page-tai-xiu__faq-toggle {
  width: 26px;
  height: 26px;
  border: 1px solid #1D5FD1;
  color: #1D5FD1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
}
.page-tai-xiu__faq-answer {
  padding: 0 14px 14px;
  color: #AFC4E8;
}
.page-tai-xiu__download {
  padding: 56px 20px;
}
.page-tai-xiu__download-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  background-color: #10233F;
  padding: 26px;
  border-radius: 18px;
}
.page-tai-xiu__download-image {
  flex: 0 0 28%;
}
.page-tai-xiu__download-image img {
  display: block;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
}
.page-tai-xiu__download-content {
  flex: 1;
}
.page-tai-xiu__download-title {
  color: #F2C14E;
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 12px;
}
.page-tai-xiu__download-content p {
  color: #AFC4E8;
  margin-bottom: 20px;
  text-align: justify;
}
.page-tai-xiu__download-actions {
  display: flex;
  gap: 12px;
}
.page-tai-xiu__btn-login {
  background: transparent;
  border: 2px solid #244D84;
  color: #F3F8FF;
}
.page-tai-xiu__btn-login:hover {
  border-color: #4FA8FF;
}
@media (max-width: 1024px) {
  .page-tai-xiu__games {
    padding: 40px 16px;
  }
  .page-tai-xiu__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tai-xiu__game-card-image img {
    aspect-ratio: 16/9;
  }
}
@media (max-width: 768px) {
  .page-tai-xiu__hero {
    padding: 10px 0 0;
  }
  .page-tai-xiu__hero-image {
    border-radius: 0;
  }
  .page-tai-xiu__hero-image img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
  }
  .page-tai-xiu__hero-content {
    padding-top: 20px;
  }
  .page-tai-xiu__hero-title {
    font-size: 1.6rem;
  }
  .page-tai-xiu__hero-subtitle {
    font-size: 0.95rem;
    padding: 0 4px;
  }
  .page-tai-xiu__hero-actions {
    gap: 10px;
  }
  .page-tai-xiu__trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tai-xiu__trust-label {
    font-size: 0.8rem;
  }
  .page-tai-xiu__section-title {
    font-size: 1.35rem;
  }
  .page-tai-xiu__intro p {
    font-size: 0.9rem;
  }
  .page-tai-xiu__game-card-desc {
    font-size: 0.8rem;
  }
  .page-tai-xiu__guide-step,
  .page-tai-xiu__guide-step:nth-child(even) {
    flex-direction: column;
  }
  .page-tai-xiu__guide-image {
    flex: auto;
    width: 100%;
  }
  .page-tai-xiu__guide-image img {
    width: 100%;
    height: auto;
  }
  .page-tai-xiu__guide-content h3 {
    font-size: 1.1rem;
  }
  .page-tai-xiu__features-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__promo-box,
  .page-tai-xiu__download-inner {
    flex-direction: column;
    text-align: center;
  }
  .page-tai-xiu__promo-actions,
  .page-tai-xiu__download-actions {
    justify-content: center;
  }
  .page-tai-xiu__blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .page-tai-xiu__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__blog-card:first-child {
    margin-bottom: 0;
  }
  .page-tai-xiu__download {
    padding-bottom: 32px;
  }
  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .page-tai-xiu__btn-play,
  .page-tai-xiu__btn-readmore,
  .page-tai-xiu__btn-register,
  .page-tai-xiu__btn-login {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  .page-tai-xiu__hero-actions,
  .page-tai-xiu__promo-actions,
  .page-tai-xiu__download-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    gap: 8px;
  }
  .page-tai-xiu__hero-actions a,
  .page-tai-xiu__promo-actions a,
  .page-tai-xiu__download-actions a {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .page-tai-xiu img {
    max-width: 100%;
    height: auto;
  }
  .page-tai-xiu__game-card-image img,
  .page-tai-xiu__blog-thumb img,
  .page-tai-xiu__promo-image img,
  .page-tai-xiu__download-image img,
  .page-tai-xiu__guide-image img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__content img {
    max-width: 100%;
    height: auto;
  }
  .page-tai-xiu {
    overflow-x: hidden;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .page-tai-xiu__games-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__trust-grid {
    grid-template-columns: 1fr;
  }
}