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

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

.page-the-thao__hero-section {
  padding: 10px 0 40px; /* Top padding is 10px as per instructions, not var(--header-offset) */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #4AD0FF);
  color: #ffffff;
}

.page-the-thao__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 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-color: #EA7C07; /* Login button color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

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

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

.page-the-thao__intro-section,
.page-the-thao__bet-types-section,
.page-the-thao__promotions-section,
.page-the-thao__schedule-section,
.page-the-thao__conclusion-section {
  background-color: #ffffff;
  color: #333333;
}

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

.page-the-thao__dark-bg .page-the-thao__section-title,
.page-the-thao__dark-bg .page-the-thao__feature-title,
.page-the-thao__dark-bg .page-the-thao__tip-title,
.page-the-thao__dark-bg .page-the-thao__faq-question {
  color: #ffffff;
}

.page-the-thao__article-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__image-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-the-thao__image-caption {
  font-style: italic;
  font-size: 0.9em;
  color: #555555;
  margin-top: 10px;
}

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

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

.page-the-thao__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__dark-bg .page-the-thao__feature-item {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

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

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

.page-the-thao__game-card,
.page-the-thao__promo-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-the-thao__game-title,
.page-the-thao__promo-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-the-thao__card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-the-thao__card-link:hover {
  text-decoration: underline;
}

.page-the-thao__btn-text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
}

.page-the-thao__btn-text-link:hover {
  text-decoration: underline;
}

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

.page-the-thao__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 10px;
  position: relative;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #EA7C07;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

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

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

.page-the-thao__text-link {
  color: #ffffff;
  text-decoration: underline;
}

.page-the-thao__text-link:hover {
  color: #f0f0f0;
}

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

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

.page-the-thao__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

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

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

.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;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-the-thao__conclusion-section .page-the-thao__cta-buttons {
  margin-top: 40px;
}

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

.page-the-thao__copyright {
  background-color: #000000; /* Use #000000 as specified for copyright */
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9em;
}

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

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

@media (max-width: 768px) {
  /* 1. Top section (title + CTA) padding/spacing */
  .page-the-thao__hero-section {
    padding: 10px 0 30px !important; /* Fixed top padding, not var(--header-offset) */
  }
  .page-the-thao__main-title {
    font-size: 2.2em !important;
    margin-bottom: 10px !important;
    padding: 0 15px;
  }
  .page-the-thao__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
    padding: 0 15px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  /* 2. Single column long text containers */
  .page-the-thao__section {
    padding: 40px 0 !important;
  }
  .page-the-thao__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
    padding: 0 15px;
  }
  .page-the-thao__article-wrap {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__text-block {
    font-size: 1em !important;
  }
  .page-the-thao__feature-list,
  .page-the-thao__game-cards,
  .page-the-thao__promo-cards,
  .page-the-thao__tips-list,
  .page-the-thao__steps-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-the-thao__feature-item,
  .page-the-thao__game-card,
  .page-the-thao__promo-card,
  .page-the-thao__tip-item,
  .page-the-thao__step-item {
    padding: 20px !important;
  }

  /* 3. General images and figures */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__image-figure {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. Buttons and button containers */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .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 !important;
    padding-right: 15px !important;
  }
  .page-the-thao__cta-buttons,
  .page-the-thao__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    flex-direction: column !important;
  }

  /* 5. FAQ readability */
  .page-the-thao__faq-question {
    font-size: 1.1em !important;
    padding: 15px 20px !important;
  }
  .page-the-thao__faq-answer {
    font-size: 1em !important;
    padding: 0 20px 15px !important;
  }

  .page-the-thao__main-title {
    font-size: 2em;
  }
  .page-the-thao__hero-description {
    font-size: 1em;
  }
  .page-the-thao__section-title {
    font-size: 1.8em;
  }
  .page-the-thao__feature-title,
  .page-the-thao__game-title,
  .page-the-thao__promo-title,
  .page-the-thao__step-title,
  .page-the-thao__tip-title {
    font-size: 1.2em;
  }
  .page-the-thao__copyright {
    padding: 15px 15px;
  }
}