.page-the-thao {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Ensure body background is light */
  line-height: 1.6;
}

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

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  margin-bottom: 40px;
  background-color: #f0f8ff; /* Light background for the section */
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px; /* Space between image and content */
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-the-thao__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-the-thao__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-the-thao__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-the-thao__btn-primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
}

.page-the-thao__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-the-thao__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-the-thao__btn-outline {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-the-thao__btn-outline:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Section Titles & Descriptions */
.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-the-thao__section-title--white {
  color: #FFFFFF;
}

.page-the-thao__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-the-thao__section-description--white {
  color: #f0f0f0;
}

.page-the-thao__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Why Choose Section */
.page-the-thao__why-choose-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-the-thao__feature-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure equal height */
  display: flex;
  flex-direction: column;
}

.page-the-thao__feature-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__feature-icon {
  width: 100%; /* Image fills card width */
  max-width: 400px; /* Max width for image */
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
  min-height: 200px; /* Min size for image */
  min-width: 200px; /* Min size for image */
}

.page-the-thao__feature-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__feature-text {
  font-size: 1rem;
  color: #555555;
  flex-grow: 1; /* Allow text to grow */
}

/* Categories Section */
.page-the-thao__categories-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color as dark background */
  color: #FFFFFF; /* White text for dark background */
  margin-bottom: 40px;
}

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

.page-the-thao__category-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on brand color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  height: 100%; /* Ensure equal height */
  display: flex;
  flex-direction: column;
}

.page-the-thao__category-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
  min-height: 200px;
  min-width: 200px;
}

.page-the-thao__category-title {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__category-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Bet Section */
.page-the-thao__how-to-bet-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-the-thao__how-to-bet-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow content to wrap */
}

.page-the-thao__how-to-bet-steps {
  flex: 1;
  min-width: 300px;
}

.page-the-thao__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 15px;
}

.page-the-thao__step-number {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.page-the-thao__step-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 5px;
  font-weight: bold;
}

.page-the-thao__step-text {
  font-size: 1rem;
  color: #555555;
}

.page-the-thao__how-to-bet-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__how-to-bet-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 200px;
  min-width: 200px;
  margin: 0 auto;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color as dark background */
  color: #FFFFFF; /* White text for dark background */
  margin-bottom: 40px;
}

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

.page-the-thao__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-the-thao__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
  min-height: 200px;
  min-width: 200px;
}

.page-the-thao__promo-title {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__promo-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}