/* ===== KM88 Tài Xỉu Page Styles ===== */
.page-tai-xiu {
  color: #333333;
  background: linear-gradient(180deg, #B71C1C 0%, #7A0E0E 100%);
}

/* Hero Section */
.page-tai-xiu__hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 8px;
}

.page-tai-xiu__hero-image {
  width: 100%;
  margin-bottom: 16px;
}

.page-tai-xiu__hero-img {
  width: 100%;
  aspect-ratio: 17/5;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.page-tai-xiu__hero-content {
  text-align: center;
  color: #FFF5E1;
}

.page-tai-xiu__main-title {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #FFF5E1;
  max-width: 900px;
  margin: 0 auto 12px;
}

.page-tai-xiu__intro-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #FFF5E1;
  max-width: 900px;
  margin: 0 auto 20px;
}

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

.page-tai-xiu__btn-register,
.page-tai-xiu__btn-download {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #F2B544;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-tai-xiu__btn-register:hover,
.page-tai-xiu__btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4);
}

/* Features Section */
.page-tai-xiu__features-section {
  padding: 16px;
}

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

.page-tai-xiu__feature-card {
  background: #D32F2F;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  border: 2px solid #F2B544;
  color: #FFF5E1;
}

.page-tai-xiu__feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF5E1;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.page-tai-xiu__feature-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF5E1;
  margin-bottom: 16px;
}

.page-tai-xiu__btn-action {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #F2B544;
  transition: transform 0.2s;
}

.page-tai-xiu__btn-action:hover {
  transform: scale(1.05);
}

/* Game / Blog Section */
.page-tai-xiu__game-section {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-tai-xiu__game-item {
  background: #D32F2F;
  border: 2px solid #F2B544;
  border-radius: 12px;
  overflow: hidden;
}

.page-tai-xiu__game-img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
  display: block;
}

.page-tai-xiu__game-content {
  padding: 20px;
  text-align: center;
  color: #FFF5E1;
}

.page-tai-xiu__game-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF5E1;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.page-tai-xiu__game-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF5E1;
  margin-bottom: 16px;
}

.page-tai-xiu__btn-link {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #F2B544;
  transition: transform 0.2s;
}

.page-tai-xiu__btn-link:hover {
  transform: scale(1.05);
}

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

.page-tai-xiu__guide-title {
  text-align: center;
  color: #FFF5E1;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.page-tai-xiu__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-tai-xiu__guide-faq {
  background: #D32F2F;
  border-radius: 8px;
  border: 2px solid #F2B544;
  overflow: hidden;
}

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

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

.page-tai-xiu__guide-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #FFD86A;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.page-tai-xiu__guide-faq[open] .page-tai-xiu__guide-question::after {
  content: '−';
}

.page-tai-xiu__guide-answer {
  padding: 0 20px 16px;
  color: #FFF5E1;
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-tai-xiu__guide-answer p {
  margin: 0;
}

/* ===== Responsive Mobile ===== */
@media (max-width: 768px) {
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-tai-xiu__hero-img {
    aspect-ratio: 2/1;
  }

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

  .page-tai-xiu__game-item {
    margin-bottom: 0;
  }

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

  .page-tai-xiu__hero-actions {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

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

@media (max-width: 1024px) {
  .page-tai-xiu__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tai-xiu__feature-card:last-child {
    grid-column: 1 / -1;
  }
}