.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
}

.page-the-thao__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-the-thao__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

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

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

.page-the-thao__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

.page-the-thao__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

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

.page-the-thao__cta-container .page-the-thao__btn-primary,
.page-the-thao__cta-container .page-the-thao__btn-secondary {
  margin: 0 10px;
}

.page-the-thao__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  height: 100%;
  box-sizing: border-box;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-the-thao__dark-section .page-the-thao__section-title {
  color: #ffffff;
}

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

.page-the-thao__dark-section .page-the-thao__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__dark-section .page-the-thao__card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__dark-section .page-the-thao__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border-color: #017439;
}

.page-the-thao__dark-section .page-the-thao__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #005f2e;
  border-color: #005f2e;
}

/* HERO Section */
.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #017439; /* Consistent with dark section */
  color: #ffffff;
}

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

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

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

.page-the-thao__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #ffffff;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

/* Why Choose Us Section */
.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-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 15px auto;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-the-thao__dark-section .page-the-thao__feature-title {
  color: #ffffff;
}

.page-the-thao__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-the-thao__dark-section .page-the-thao__feature-text {
  color: #e0e0e0;
}

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

.page-the-thao__sport-card .page-the-thao__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-the-thao__sport-card .page-the-thao__sport-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-the-thao__sport-card .page-the-thao__sport-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
}

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

.page-the-thao__step-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 15px auto;
  display: block;
}

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

.page-the-thao__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

/* Promotions Section */
.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 .page-the-thao__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-the-thao__promo-card .page-the-thao__promo-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-the-thao__promo-card .page-the-thao__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* App Download Section */
.page-the-thao__app-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-the-thao__app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-the-thao__app-text {
  flex: 1;
}

.page-the-thao__app-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555555;
}

.page-the-thao__app-features-list {
  list-style: disc inside;
  margin-bottom: 30px;
  padding-left: 20px;
  color: #555555;
}

.page-the-thao__app-features-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.page-the-thao__app-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

.page-the-thao__app-screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: block;
}

/* FAQ Section */
.page-the-thao__faq-list {
  margin-top: 40px;
}

.page-the-thao__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #ffffff;
  list-style: none; /* For details/summary */
  position: relative;
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: '−';
}

/* Conclusion Section */
.page-the-thao__conclusion-section {
  text-align: center;
  padding-bottom: 60px;
}

/* ===================================== */
/* Responsive Styles */
/* ===================================== */

/* Tablet and Mobile adjustments */
@media (max-width: 1024px) {
  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__hero-title {
    font-size: 2.5em;
  }

  .page-the-thao__hero-description {
    font-size: 1.1em;
  }

  .page-the-thao__features-grid,
  .page-the-thao__sports-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-the-thao__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__app-text {
    order: 2;
  }

  .page-the-thao__app-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-the-thao__app-features-list {
    text-align: left;
    padding-left: 0;
    list-style-position: inside;
  }

  .page-the-thao__app-buttons {
    justify-content: center;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .page-the-thao__section {
    padding: 30px 15px;
  }

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

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

  /* Hero Section */
  .page-the-thao__hero-section {
    padding: 10px 0 40px 0 !important; /* Small top padding */
  }

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

  .page-the-thao__hero-image {
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .page-the-thao__hero-title {
    font-size: 2em !important; /* Not too large */
    margin-bottom: 10px;
    letter-spacing: normal;
  }

  .page-the-thao__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

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

  .page-the-thao__hero-cta-buttons .page-the-thao__btn-primary,
  .page-the-thao__hero-cta-buttons .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
  }

  /* General Images and Containers */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .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;
  }

  /* Buttons and Button Containers */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .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__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__cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* Feature Grid */
  .page-the-thao__features-grid,
  .page-the-thao__sports-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__feature-item,
  .page-the-thao__sport-card,
  .page-the-thao__guide-step,
  .page-the-thao__promo-card {
    padding: 20px;
  }

  .page-the-thao__feature-title,
  .page-the-thao__sport-title,
  .page-the-thao__step-title,
  .page-the-thao__promo-title {
    font-size: 1.3em;
  }

  /* App Download Section */
  .page-the-thao__app-download .page-the-thao__section-title {
    font-size: 1.8em !important;
  }
  
  .page-the-thao__app-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-the-thao__app-text {
    text-align: center;
  }

  .page-the-thao__app-features-list {
    padding-left: 0;
    list-style-position: inside;
    text-align: left;
  }

  .page-the-thao__app-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .page-the-thao__app-buttons .page-the-thao__btn-primary,
  .page-the-thao__app-buttons .page-the-thao__btn-secondary {
    width: 100%;
  }

  /* FAQ Section */
  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  /* Conclusion Section */
  .page-the-thao__conclusion-section .page-the-thao__section-title {
    font-size: 1.8em !important;
  }

  .page-the-thao__conclusion-section .page-the-thao__section-description {
    font-size: 1em;
  }

  .page-the-thao__cta-container .page-the-thao__btn-primary {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}