:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --page-bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

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

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

/* General Section Styling */
.page-the-thao__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-the-thao__section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
}

.page-the-thao__section-subtitle {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 40px;
  opacity: 0.8;
}

.page-the-thao__text-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-the-thao__text-block p {
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-the-thao__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-the-thao__content-wrapper .page-the-thao__text-block {
  flex: 1;
  max-width: none;
}

.page-the-thao__image-block {
  flex-shrink: 0;
  max-width: 50%;
}

.page-the-thao__content-image {
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 165, 58, 0.3);
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Only ~10px top padding as body handles header-offset */
  padding-bottom: 80px;
  min-height: 600px;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-the-thao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(13, 14, 18, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 140, 26, 0.5);
}

.page-the-thao__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 165, 58, 0.7);
}

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

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

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, var(--glow-color) 0%, var(--secondary-color) 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

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

.page-the-thao__btn-secondary:hover {
  background: rgba(255, 140, 26, 0.1);
  color: var(--glow-color);
  border-color: var(--glow-color);
  transform: translateY(-2px);
}

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

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

.page-the-thao__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 165, 58, 0.4);
}

.page-the-thao__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-the-thao__category-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  padding: 20px 20px 10px;
}

.page-the-thao__category-description {
  font-size: 15px;
  color: var(--text-main);
  padding: 0 20px 20px;
  opacity: 0.8;
}

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

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

.page-the-thao__advantage-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 140, 26, 0.1);
}

.page-the-thao__advantage-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-the-thao__advantage-description {
  font-size: 16px;
  color: var(--text-main);
  opacity: 0.85;
}

.page-the-thao__advantages-image {
  margin-top: 60px;
}

/* 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__guide-step {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  position: relative;
  padding-left: 70px; /* Space for step number */
}

.page-the-thao__step-number {
  position: absolute;
  top: 30px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 140, 26, 0.4);
}

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

.page-the-thao__step-description {
  font-size: 16px;
  color: var(--text-main);
  opacity: 0.85;
}

.page-the-thao__guide-cta {
  margin-top: 60px;
}

.page-the-thao__guide-image {
  margin-top: 60px;
}

/* Promotions Section */
.page-the-thao__promotions-content {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-the-thao__promotions-content .page-the-thao__text-block {
  flex: 1;
  max-width: none;
}

/* FAQ Section */
details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: rgba(255, 140, 26, 0.1);
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 20px 20px;
  background: var(--page-bg);
  border-radius: 0 0 5px 5px;
  text-align: left;
  color: var(--text-main);
  opacity: 0.9;
}

/* Conclusion Section */
.page-the-thao__section-conclusion {
  background-color: var(--deep-orange);
  color: #ffffff;
  padding: 80px 0;
}

.page-the-thao__section-conclusion .page-the-thao__section-title {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-the-thao__section-conclusion .page-the-thao__section-subtitle {
  color: #ffffff;
  opacity: 0.9;
}

.page-the-thao__conclusion-cta {
  margin-top: 40px;
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .page-the-thao__content-wrapper,
  .page-the-thao__promotions-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__image-block {
    max-width: 80%;
  }

  .page-the-thao__section-title {
    font-size: 32px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-the-thao__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__container {
    padding: 0 15px;
  }

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

  .page-the-thao__hero-section {
    min-height: 450px;
    padding-bottom: 60px;
    padding-top: 10px; /* Ensure ~10px top padding */
  }

  .page-the-thao__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    filter: brightness(0.6);
  }

  .page-the-thao__hero-content {
    padding: 15px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

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

  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .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;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-the-thao__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-the-thao__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-the-thao__text-block {
    padding: 0 10px;
  }

  .page-the-thao__content-wrapper .page-the-thao__text-block,
  .page-the-thao__promotions-content .page-the-thao__text-block {
    padding: 0;
  }

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

  .page-the-thao__content-image {
    max-width: 100% !important;
    height: auto !important;
  }

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

  .page-the-thao__category-card,
  .page-the-thao__advantage-item,
  .page-the-thao__guide-step {
    padding: 20px;
    padding-left: 60px; /* Adjust for step number */
  }

  .page-the-thao__step-number {
    top: 20px;
    left: 15px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .page-the-thao__category-title,
  .page-the-thao__advantage-title,
  .page-the-thao__step-title {
    font-size: 20px;
  }

  .page-the-thao__category-description,
  .page-the-thao__advantage-description,
  .page-the-thao__step-description {
    font-size: 15px;
  }

  details.page-the-thao__faq-item summary.page-the-thao__faq-question { padding: 15px; }
  .page-the-thao__faq-qtext { font-size: 16px; }
  .page-the-thao__faq-toggle { font-size: 20px; width: 24px; }
  details.page-the-thao__faq-item .page-the-thao__faq-answer { padding: 0 15px 15px; }

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

  /* Ensure all img tags within .page-the-thao are 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,
  .page-the-thao__categories-grid,
  .page-the-thao__advantages-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promotions-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-the-thao__hero-cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}