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

.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #26A9E0; /* Primary brand color as background */
}

.page-the-thao__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for image in desktop view */
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-the-thao__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
}

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

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

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

.page-the-thao__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-the-thao__btn-secondary {
  background: #ffffff;
  color: #26A9E0; /* Primary brand color */
  border: 2px solid #ffffff;
}

.page-the-thao__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87b6;
}

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

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

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

.page-the-thao__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

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

.page-the-thao__light-bg .page-the-thao__section-title {
  color: #333333;
}

.page-the-thao__text-block {
  font-size: 1.05em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__feature-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-the-thao__dark-bg .page-the-thao__feature-card {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

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

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

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

.page-the-thao__card-text {
  font-size: 1em;
  color: #555555;
}

.page-the-thao__dark-bg .page-the-thao__card-text {
  color: #e0e0e0;
}

.page-the-thao__bet-types-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao__list-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao__list-item h3 {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-the-thao__list-item p {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-the-thao__step-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-the-thao__step-card .page-the-thao__card-image {
  height: 180px;
}

.page-the-thao__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
}

.page-the-thao__promo-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  color: #ffffff;
}

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

.page-the-thao__promo-content {
  width: 60%;
  padding: 30px;
}

.page-the-thao__promo-content .page-the-thao__card-title {
  color: #ffffff;
  margin-bottom: 10px;
}

.page-the-thao__promo-content .page-the-thao__card-text {
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

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

.page-the-thao__btn-large {
  padding: 16px 32px;
  font-size: 1.1em;
}

.page-the-thao__faq-list {
  margin-top: 40px;
}

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

.page-the-thao__faq-question {
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  margin: 0;
  position: relative;
}

.page-the-thao__faq-question::after {
  content: '+';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item.active .page-the-thao__faq-question::after {
  content: '-';
  transform: rotate(0deg);
}

.page-the-thao__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  padding: 0 25px;
  color: #f0f0f0;
}

.page-the-thao__faq-item.active .page-the-thao__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-bottom: 20px;
}

.page-the-thao__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

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

.page-the-thao__conclusion .page-the-thao__text-block {
  margin-bottom: 40px;
}

.page-the-thao__conclusion a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-the-thao__conclusion a:hover {
  color: #1e87b6;
}

/* Ensure all images are responsive by default */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-section {
    padding-bottom: 30px;
  }
  .page-the-thao__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-the-thao__description {
    font-size: 1em;
  }
  .page-the-thao__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.2em);
  }
  .page-the-thao__promo-card {
    flex-direction: column;
  }
  .page-the-thao__promo-image,
  .page-the-thao__promo-content {
    width: 100%;
  }
  .page-the-thao__promo-content {
    padding: 20px;
  }
  .page-the-thao__promo-content .page-the-thao__card-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  /* 1. Top section (title + CTA) */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }
  .page-the-thao__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
    margin-bottom: 10px;
  }
  .page-the-thao__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  /* 2. Single column long-form content containers */
  .page-the-thao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__section {
    padding: 40px 0;
  }
  .page-the-thao__section-title {
    font-size: clamp(1.6em, 5vw, 2em) !important;
    margin-bottom: 30px;
  }
  .page-the-thao__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-the-thao__feature-card,
  .page-the-thao__list-item,
  .page-the-thao__step-card {
    padding: 20px;
  }
  .page-the-thao__card-title {
    font-size: 1.2em;
  }
  .page-the-thao__card-text {
    font-size: 0.95em;
  }

  /* 3. General images and figure */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__hero-image {
    margin-bottom: 15px;
  }
  .page-the-thao__card-image {
    height: 160px;
  }
  .page-the-thao__promo-image {
    height: 200px;
    object-position: center top;
  }
  .page-the-thao__app-image {
    margin-bottom: 20px;
  }

  /* 4. Buttons and button containers (already covered in top section, but general rules here) */
  .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;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
  .page-the-thao__btn-small {
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-the-thao__btn-large {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1em !important;
  }

  /* 5. Registration tutorial and FAQ blocks */
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao__promo-card {
    flex-direction: column;
  }
  .page-the-thao__promo-image, .page-the-thao__promo-content {
    width: 100%;
  }
  .page-the-thao__promo-content {
    padding: 20px;
  }
  .page-the-thao__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-the-thao__faq-answer {
    padding: 0 20px;
  }
  .page-the-thao__faq-answer p {
    font-size: 0.9em;
  }
}