.page-the-thao {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --background-dark: #0A0A0A;
  --text-light: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);

  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Should be set by shared.css body, but as a fallback */
}

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

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--background-dark);
}

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

.page-the-thao__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-the-thao__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-the-thao__lead-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

/* General Section Styling */
.page-the-thao__section {
  padding: 60px 0;
  background-color: var(--background-dark);
  border-top: 1px solid var(--border-color);
}

.page-the-thao__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-the-thao__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-light);
  text-align: justify;
}

.page-the-thao__text-block .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-the-thao__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}

/* Buttons */
.page-the-thao__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-the-thao__btn-primary:hover {
  box-shadow: 0 0 15px var(--glow-color);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-the-thao__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-dark);
  box-shadow: 0 0 15px var(--glow-color);
  transform: translateY(-2px);
}

.page-the-thao__btn-link {
  background: transparent;
  color: var(--secondary-color);
  border: none;
  padding: 8px 15px;
  font-size: 1rem;
  text-decoration: underline;
}

.page-the-thao__btn-link:hover {
  color: var(--primary-color);
}

.page-the-thao__btn-center {
  display: block;
  margin: 30px auto 0;
  max-width: 300px;
  text-align: center;
}

/* Promo Box */
.page-the-thao__promo-box {
  margin-top: 40px;
  text-align: center;
  padding: 35px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.1);
}

.page-the-thao__promo-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Sport Cards Grid */
.page-the-thao__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-the-thao__sport-card {
  text-align: center;
  overflow: hidden;
}

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

.page-the-thao__card-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

.page-the-thao__guide-item {
  text-align: left;
}

.page-the-thao__guide-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Image Figure */
.page-the-thao__image-figure {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

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

.page-the-thao__image-caption {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 15px;
  opacity: 0.8;
}

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

.page-the-thao__promo-card {
  text-align: center;
}

.page-the-thao__promo-card-title {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

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

.page-the-thao__features-item {
  text-align: left;
}

.page-the-thao__features-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

.page-the-thao__faq-item {
  margin-bottom: 20px;
  padding: 20px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__faq-question {
  font-size: 1.3rem;
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.page-the-thao__faq-answer p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* App Promo Section */
.page-the-thao__app-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-the-thao__app-content {
  flex: 1;
  min-width: 300px;
}

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

.page-the-thao__app-features li {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-the-thao__app-features li::before {
  content: '✔';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-the-thao__app-image-wrapper {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

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

/* Copyright */
.page-the-thao__copyright {
  padding: 30px 0;
  text-align: center;
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.7;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-the-thao__section-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }

  .page-the-thao__grid-layout,
  .page-the-thao__guide-list,
  .page-the-thao__promo-grid,
  .page-the-thao__features-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

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

  .page-the-thao__main-title {
    font-size: 2.2rem !important;
    margin-bottom: 15px;
  }

  .page-the-thao__lead-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-the-thao__container {
    padding: 0 15px !important;
  }

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

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

  .page-the-thao__text-block,
  .page-the-thao__faq-answer p,
  .page-the-thao__app-features li {
    font-size: 15px;
    text-align: left;
  }

  /* General image responsiveness for content area */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__hero-image,
  .page-the-thao__card-image,
  .page-the-thao__content-image,
  .page-the-thao__app-image {
    border-radius: 5px !important;
  }

  .page-the-thao__image-figure {
    margin: 30px auto;
  }

  .page-the-thao__image-caption {
    font-size: 0.85rem;
  }

  /* Cards and layout */
  .page-the-thao__card,
  .page-the-thao__promo-box,
  .page-the-thao__faq-item {
    padding: 20px !important;
  }

  .page-the-thao__grid-layout,
  .page-the-thao__guide-list,
  .page-the-thao__promo-grid,
  .page-the-thao__features-list {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-the-thao__sport-card,
  .page-the-thao__guide-item,
  .page-the-thao__promo-card,
  .page-the-thao__features-item {
    text-align: left;
  }

  .page-the-thao__card-title,
  .page-the-thao__guide-title,
  .page-the-thao__promo-card-title,
  .page-the-thao__features-title {
    font-size: 1.3rem;
  }

  .page-the-thao__promo-title {
    font-size: 1.5rem;
  }

  /* App Promo Section */
  .page-the-thao__app-promo {
    flex-direction: column !important;
    gap: 30px;
  }

  .page-the-thao__app-content,
  .page-the-thao__app-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-the-thao__app-features {
    margin: 15px 0 20px;
  }

  .page-the-thao__app-features li {
    font-size: 15px;
    padding-left: 20px;
  }

  .page-the-thao__faq-question {
    font-size: 1.2rem;
  }

  .page-the-thao__copyright {
    padding: 20px 0;
    font-size: 0.8rem;
  }
}