:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg-color: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-the-thao {
  background-color: var(--background-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-the-thao__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  padding-bottom: 60px;
  background-color: var(--background-color);
}

.page-the-thao__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-the-thao__hero-content {
  flex: 1;
  min-width: 300px;
  color: var(--text-main-color);
}

.page-the-thao__hero-title {
  font-size: 3.2em;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-main-color);
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

.page-the-thao__hero-image {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

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

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

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

.page-the-thao__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for contrast on dark/gradient button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-the-thao__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-3px);
}

/* Intro Section */
.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-the-thao__feature-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

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

.page-the-thao__icon-box-media {
  width: 240px;
  height: 240px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-the-thao__feature-description {
  color: var(--text-main-color);
  font-size: 0.95em;
}

/* Sports Categories Section */
.page-the-thao__sports-categories {
  padding: 60px 0;
  background-color: var(--background-color);
}

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

.page-the-thao__category-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
}

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

.page-the-thao__category-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--secondary-color);
  padding: 15px 20px 10px;
}

.page-the-thao__card-description {
  font-size: 0.9em;
  color: var(--text-main-color);
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-the-thao__btn-text {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px 20px;
  transition: color 0.3s ease;
}

.page-the-thao__btn-text:hover {
  color: var(--glow-color);
}

/* Promo Banner Section */
.page-the-thao__promo-banner {
  background: var(--button-gradient);
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__promo-content {
  color: #ffffff;
}

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

.page-the-thao__promo-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

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

.page-the-thao__guide-step {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-main-color);
}

.page-the-thao__step-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  color: var(--background-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-the-thao__step-title {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-the-thao__step-description {
  font-size: 0.9em;
}

.page-the-thao__guide-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

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

.page-the-thao__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--secondary-color);
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-the-thao__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-the-thao__faq-qtext {
  flex-grow: 1;
}

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

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  color: var(--text-main-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-title {
    font-size: 2.8em;
  }

  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__promo-title {
    font-size: 1.8em;
  }

  .page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-the-thao__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
    gap: 30px;
  }

  .page-the-thao__hero-content {
    order: 2;
    min-width: unset;
  }

  .page-the-thao__hero-image {
    order: 1;
    min-width: unset;
  }

  .page-the-thao__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-the-thao__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__intro-section,
  .page-the-thao__sports-categories,
  .page-the-thao__promo-banner,
  .page-the-thao__guide-section,
  .page-the-thao__faq-section {
    padding: 40px 0;
  }

  .page-the-thao__features-grid,
  .page-the-thao__category-grid,
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__icon-box-media {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
  }

  .page-the-thao__feature-title {
    font-size: 1.3em;
  }

  .page-the-thao__category-card img {
    
  }

  .page-the-thao__card-title {
    font-size: 1.2em;
    padding: 12px 15px 8px;
  }

  .page-the-thao__card-description {
    font-size: 0.85em;
    padding: 0 15px 12px;
  }

  .page-the-thao__btn-text {
    padding: 8px 15px 15px;
  }

  .page-the-thao__promo-title {
    font-size: 1.6em;
  }

  .page-the-thao__promo-description {
    font-size: 0.95em;
  }

  .page-the-thao__guide-step {
    padding: 25px;
  }

  .page-the-thao__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-the-thao__step-title {
    font-size: 1.2em;
  }

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

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

  /* General image responsive */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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