/* General page styling */
.page-tai-xiu {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
  background-color: #F4F7FB; /* Background */
}

.page-tai-xiu__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-tai-xiu__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 30px;
  text-align: center;
}

.page-tai-xiu__section-title--light {
  color: #ffffff;
}

.page-tai-xiu__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #1F2D3D;
}

.page-tai-xiu__text-block--light {
  color: #f0f0f0;
}

.page-tai-xiu__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-tai-xiu__list--light {
  color: #f0f0f0;
}

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

.page-tai-xiu__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box; /* Button responsive */
  white-space: normal; /* Button responsive */
  word-wrap: break-word; /* Button responsive */
}

.page-tai-xiu__cta-button--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-tai-xiu__cta-button--primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-tai-xiu__cta-button--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.2);
}

.page-tai-xiu__cta-button--secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-tai-xiu__cta-group {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap; /* Button responsive */
}

.page-tai-xiu__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Section specific styling */
.page-tai-xiu__hero-section {
  background-color: #F4F7FB; /* Background */
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden; /* For image */
}

.page-tai-xiu__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-tai-xiu__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #1F2D3D;
}

.page-tai-xiu__hero-title {
  font-size: clamp(2em, 4vw, 3.2em); /* H1 font-size clamp */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #000000;
}

.page-tai-xiu__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
}

.page-tai-xiu__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-tai-xiu__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block; /* Image responsive */
}

.page-tai-xiu__intro-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-tai-xiu__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-tai-xiu__icon-box {
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-tai-xiu__icon-box:hover {
  transform: translateY(-8px);
}

.page-tai-xiu__icon-box-media {
  width: 240px; /* Square size */
  height: 240px; /* Square size */
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
  border: 4px solid #D6E2FF; /* Border */
}

.page-tai-xiu__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-tai-xiu__icon-box-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000000;
}

.page-tai-xiu__icon-box-description {
  color: #1F2D3D;
}

.page-tai-xiu__rules-section,
.page-tai-xiu__tips-section,
.page-tai-xiu__guide-section {
  padding: 60px 0;
}

.page-tai-xiu__dark-section {
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-tai-xiu__content-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

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

.page-tai-xiu__content-text {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-tai-xiu__content-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-tai-xiu__image-full {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: block; /* Image responsive */
}

.page-tai-xiu__bet-types-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

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