/* style/tai-xiu.css */

/* Base styles for the page-tai-xiu scope */
.page-tai-xiu {
  background-color: #140C0C; /* Custom background color */
  color: #FFF1E8; /* Main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Space for content above footer */
}

/* Fixed header spacing - if shared.css handles body padding-top, use small top padding here */
.page-tai-xiu__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
  overflow: hidden;
}

.page-tai-xiu__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-tai-xiu__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  color: #F3C54D; /* Gold color for main title */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tai-xiu__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF1E8; /* Main text color */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-tai-xiu__cta-buttons--centered {
  margin-top: 50px;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary,
.page-tai-xiu__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box; /* For responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button custom color */
  color: #FFF1E8; /* Text Main color */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-tai-xiu__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
  transform: translateY(-2px);
}

.page-tai-xiu__btn-secondary {
  background: #2A1212; /* Card BG color */
  color: #F3C54D; /* Gold color */
  border: 2px solid #F3C54D; /* Gold border */
  box-shadow: 0 4px 15px rgba(243, 197, 77, 0.2);
}

.page-tai-xiu__btn-secondary:hover {
  background: #F3C54D; /* Gold color */
  color: #140C0C; /* Background color */
  border-color: #F3C54D;
  box-shadow: 0 6px 20px rgba(243, 197, 77, 0.4);
  transform: translateY(-2px);
}

.page-tai-xiu__btn-link {
  background: transparent;
  color: #F3C54D; /* Gold color */
  border: none;
  text-decoration: underline;
  padding: 8px 0;
  font-weight: 400;
}

.page-tai-xiu__btn-link:hover {
  color: #FFB04A; /* Lighter gold for hover */
  text-decoration: none;
}

.page-tai-xiu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-tai-xiu__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F3C54D; /* Gold color */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-tai-xiu__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #FFB04A; /* Lighter gold for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tai-xiu__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #FFF1E8; /* Main text color */
}

.page-tai-xiu__introduction-section,
.page-tai-xiu__bet-types-section,
.page-tai-xiu__advantages-section,
.page-tai-xiu__promotions-section,
.page-tai-xiu__conclusion-section {
  background-color: #2A1212; /* Card BG color for dark sections */
  padding: 60px 0;
  margin-bottom: 40px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__rules-section,
.page-tai-xiu__strategy-section,
.page-tai-xiu__guide-section,
.page-tai-xiu__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-tai-xiu__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-tai-xiu__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-tai-xiu__content-grid > div {
  flex: 1;
}

.page-tai-xiu__image-wrapper {
  flex-shrink: 0;
}

.page-tai-xiu__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__ordered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #FFF1E8; /* Main text color */
}

.page-tai-xiu__ordered-list li {
  margin-bottom: 10px;
}

.page-tai-xiu__ordered-list strong {
  color: #F3C54D; /* Gold color */
}

.page-tai-xiu__card-grid-section .page-tai-xiu__description {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

.page-tai-xiu__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tai-xiu__card {
  background-color: #2A1212; /* Card BG color */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tai-xiu__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-tai-xiu__card-title {
  font-size: 1.5rem;
  color: #F3C54D; /* Gold color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tai-xiu__card-text {
  font-size: 1rem;
  color: #FFF1E8; /* Main text color */
}

.page-tai-xiu__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tai-xiu__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent background */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__feature-title {
  font-size: 1.4rem;
  color: #FFB04A; /* Lighter gold */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-tai-xiu__feature-text {
  font-size: 0.95rem;
  color: #FFF1E8; /* Main text color */
}

.page-tai-xiu__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tai-xiu__step-card {
  background-color: #2A1212; /* Card BG color */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-tai-xiu__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button custom color */
  color: #FFF1E8; /* Text Main color */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  border: 3px solid #6A1E1E; /* Border color */
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.6);
}

.page-tai-xiu__step-title {
  font-size: 1.4rem;
  color: #F3C54D; /* Gold color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-tai-xiu__step-text {
  font-size: 0.95rem;
  color: #FFF1E8; /* Main text color */
}

.page-tai-xiu__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}