.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Body background is light */
  line-height: 1.6;
}

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  text-align: center;
  overflow: hidden;
  background-color: #f0f8ff; /* Light background for hero section */
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  padding: 40px 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #26A9E0; /* Brand primary color for title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-the-thao__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-the-thao__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__paragraph--small {
  font-size: 0.9rem;
  opacity: 0.8;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

.page-the-thao__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-the-thao__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

.page-the-thao__about-section,
.page-the-thao__how-to-bet,
.page-the-thao__live-betting,
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-the-thao__dark-bg {
  background-color: #26A9E0;
  padding: 60px 0;
}

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

.page-the-thao__feature-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

.page-the-thao__feature-description {
  font-size: 0.95rem;
  color: #555555;
  text-align: center;
}

.page-the-thao__sports-categories {
  padding: 60px 0;
}

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

.page-the-thao__category-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-the-thao__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-the-thao__category-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
  padding: 0 15px;
}

.page-the-thao__category-description {
  font-size: 0.9rem;
  color: #666666;
  padding: 0 15px;
  flex-grow: 1;
}

.page-the-thao__category-card .page-the-thao__btn-secondary {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__step-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-the-thao__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(38, 169, 224, 0.4);
}

.page-the-thao__step-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__step-description {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 20px;
  text-align: center;
}

.page-the-thao__step-item .page-the-thao__btn-primary,
.page-the-thao__step-item .page-the-thao__btn-secondary {
  margin-top: auto;
}

.page-the-thao__promotions-section {
  padding: 60px 0;
}

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

.page-the-thao__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-the-thao__promo-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
  padding: 0 15px;
}

.page-the-thao__promo-description {
  font-size: 0.9rem;
  color: #666666;
  padding: 0 15px;
  flex-grow: 1;
}

.page-the-thao__promo-card .page-the-thao__btn-primary,
.page-the-thao__promo-card .page-the-thao__btn-secondary {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__live-betting-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #eef7fc;
  border-bottom: 1px solid #e0e0e0;
}

.page-the-thao__faq-question:hover {
  background-color: #e0f0f8;
}

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-the-thao__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

.page-the-thao__cta-final {
  padding: 80px 0;
  text-align: center;
}

.page-the-thao__cta-content {
  max-width: 800px;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-the-thao__section-title {
    font-size: 2rem;
  }
  .page-the-thao__container {
    padding: 20px 25px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }
  .page-the-thao__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-the-thao__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin-left: auto;
    margin-right: auto;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-the-thao__paragraph {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  .page-the-thao__features-grid,
  .page-the-thao__category-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__about-section,
  .page-the-thao__dark-bg,
  .page-the-thao__how-to-bet,
  .page-the-thao__live-betting,
  .page-the-thao__faq-section,
  .page-the-thao__cta-final {
    padding: 40px 0;
  }
  .page-the-thao__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__feature-item, .page-the-thao__category-card, .page-the-thao__step-item, .page-the-thao__promo-card {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-the-thao__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-the-thao__faq-answer {
    padding: 15px;
    font-size: 0.95rem;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin-left: auto;
    margin-right: auto;
  }
}