.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text on light body background */
  background-color: #FFFFFF;
}

.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 1200px;
  height: 675px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 2.8em);
  color: #017439;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

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

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

.page-the-thao__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #017439;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-the-thao__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  color: #555555;
  text-align: left;
}

.page-the-thao__white-text {
  color: #ffffff;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-the-thao__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-the-thao__btn-tertiary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-the-thao__btn-tertiary:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-the-thao__small-btn {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-the-thao__large-btn {
  padding: 15px 30px;
  font-size: 1.1em;
}

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

.page-the-thao__feature-card,
.page-the-thao__type-card,
.page-the-thao__step-card,
.page-the-thao__promo-card,
.page-the-thao__channel-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-the-thao__feature-card:hover,
.page-the-thao__type-card:hover,
.page-the-thao__step-card:hover,
.page-the-thao__promo-card:hover,
.page-the-thao__channel-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.page-the-thao__card-title {
  font-size: 1.25em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__type-image,
.page-the-thao__step-image {
  width: 100%;
  height: 225px; /* Adjust height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-the-thao__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-the-thao__dark-bg .page-the-thao__card-title {
  color: #ffffff;
}

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

.page-the-thao__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-the-thao__step-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-the-thao__list-item {
  background-color: #ffffff;
  border-left: 5px solid #017439;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-the-thao__list-item-title {
  font-size: 1.15em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__inline-link {
  color: #FFFF00;
  text-decoration: underline;
  font-weight: bold;
}

.page-the-thao__inline-link:hover {
  color: #ffffff;
}

.page-the-thao__mobile-app-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 30px;
}

.page-the-thao__mobile-app-text {
  flex: 1;
}

.page-the-thao__mobile-app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__mobile-app-image {
  width: 400px;
  height: 300px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-the-thao__app-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-the-thao__app-features-list li {
  margin-bottom: 15px;
  border-left: 3px solid #017439;
  padding-left: 10px;
}

.page-the-thao__app-features-list .page-the-thao__list-item-title {
  font-size: 1.1em;
  margin-bottom: 5px;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-the-thao__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-the-thao__main-title {
    font-size: 2em; /* Adjusted for better mobile readability */
    margin-bottom: 15px;
  }

  .page-the-thao__description {
    font-size: 1em;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary,
  .page-the-thao a[class*="button"],
  .page-the-thao a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__section {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-the-thao__paragraph {
    font-size: 0.95em;
    padding: 0 5px;
  }

  .page-the-thao__features-grid,
  .page-the-thao__types-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promo-grid,
  .page-the-thao__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__feature-card,
  .page-the-thao__type-card,
  .page-the-thao__step-card,
  .page-the-thao__promo-card,
  .page-the-thao__channel-card {
    padding: 20px;
  }

  .page-the-thao__card-title {
    font-size: 1.15em;
  }

  .page-the-thao__type-image,
  .page-the-thao__step-image {
    height: auto; /* Allow image to scale */
  }

  .page-the-thao__list-item {
    padding: 15px;
  }

  .page-the-thao__list-item-title {
    font-size: 1.05em;
  }

  .page-the-thao__mobile-app-flex {
    flex-direction: column;
    gap: 20px;
  }

  .page-the-thao__mobile-app-text {
    order: 2; /* Text below image on mobile */
  }

  .page-the-thao__mobile-app-image-wrapper {
    order: 1;
    width: 100%;
  }

  .page-the-thao__mobile-app-image {
    width: 100% !important;
    height: auto !important;
  }
  
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__content-wrapper,
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__hero-cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-the-thao__hero-cta-buttons {
    display: flex;
    flex-direction: column;
  }
}