.page-the-thao {
  font-family: 'Arial', sans-serif;
  background-color: #0D0E12;
  color: #FFF3E6;
  line-height: 1.6;
}

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

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

.page-the-thao__section-title {
  font-size: 3em;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF3E6;
}

/* HERO Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Assuming shared.css handles body padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure minimum size */
}

.page-the-thao__hero-content-block {
  max-width: 900px;
  padding: 0 15px 60px 15px;
  box-sizing: border-box;
}

.page-the-thao__main-title {
  font-size: clamp(2.5em, 5vw, 4.5em);
  color: #FF8C1A;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #FFF3E6;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 0 15px #FFB04D;
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

.page-the-thao__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
  box-shadow: 0 0 15px #FFB04D;
}

.page-the-thao__btn-lg {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Why Choose Section */
.page-the-thao__why-choose-section {
  background-color: #17191F;
}

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

.page-the-thao__feature-card {
  background-color: #0D0E12;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #A84F0C;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__feature-title {
  font-size: 1.8em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__feature-text {
  color: #FFF3E6;
  font-size: 1em;
}

/* Sports Categories Section */
.page-the-thao__dark-section {
  background-color: #0D0E12;
}

.page-the-thao__category-item {
  margin-bottom: 60px;
}

.page-the-thao__category-item:last-child {
  margin-bottom: 0;
}

.page-the-thao__category-title {
  font-size: 2.5em;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-the-thao__category-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-the-thao__category-content--reverse {
  flex-direction: row-reverse;
}

.page-the-thao__category-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-the-thao__category-text {
  flex: 1;
  font-size: 1.1em;
  color: #FFF3E6;
}

.page-the-thao__category-text p {
  margin-bottom: 15px;
}

/* How to Bet Section */
.page-the-thao__how-to-bet-section {
  background-color: #17191F;
}

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

.page-the-thao__step-card {
  background-color: #0D0E12;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #A84F0C;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-top: 70px; /* Space for number */
}

.page-the-thao__step-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FF8C1A;
  color: #FFF3E6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 2px solid #FFB04D;
}

.page-the-thao__step-title {
  font-size: 1.6em;
  color: #FFA53A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__step-text {
  color: #FFF3E6;
  font-size: 1em;
}

.page-the-thao__step-text a {
  color: #FF8C1A;
  text-decoration: none;
}

.page-the-thao__step-text a:hover {
  text-decoration: underline;
}

.page-the-thao__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

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

.page-the-thao__promo-card {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #A84F0C;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__promo-title {
  font-size: 1.8em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__promo-text {
  color: #FFF3E6;
  font-size: 1em;
}

/* Tips Section */
.page-the-thao__tips-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-the-thao__tips-text-block {
  flex: 2;
}

.page-the-thao__tips-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-the-thao__tips-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-the-thao__tips-list li strong {
  color: #FFA53A;
}

.page-the-thao__tips-summary {
  font-style: italic;
  color: #FFB04D;
  font-size: 1.1em;
}

.page-the-thao__tips-image {
  flex: 1;
  max-width: 40%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* FAQ Section */
.page-the-thao__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao__faq-item {
  background-color: #17191F;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: bold;
  color: #FFA53A;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-the-thao__faq-question:hover {
  background-color: #0D0E12;
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  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 25px;
  font-size: 1.1em;
  color: #FFF3E6;
}

/* Conclusion Section */
.page-the-thao__conclusion-section {
  background-color: #17191F;
  text-align: center;
}

.page-the-thao__conclusion-section .page-the-thao__section-intro {
  margin-bottom: 30px;
}

.page-the-thao__conclusion-section .page-the-thao__section-intro a {
  color: #FF8C1A;
  text-decoration: none;
  font-weight: bold;
}

.page-the-thao__conclusion-section .page-the-thao__section-intro a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__section-title {
    font-size: 2.5em;
  }
  .page-the-thao__hero-description {
    font-size: 1.1em;
  }
  .page-the-thao__category-content,
  .page-the-thao__tips-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-the-thao__category-image,
  .page-the-thao__tips-image {
    max-width: 100%;
    order: -1; /* Image first on smaller screens */
  }
  .page-the-thao__tips-image {
    order: 0;
  }
  .page-the-thao__category-content--reverse .page-the-thao__category-image {
    order: 0;
  }
  .page-the-thao__category-content--reverse .page-the-thao__category-text {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-the-thao__section-padding {
    padding: 40px 0;
  }
  .page-the-thao__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-the-thao__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  /* HERO Section Mobile */
  .page-the-thao__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }
  .page-the-thao__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-the-thao__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 250px;
  }
  .page-the-thao__hero-content-block {
    padding: 0 15px 40px 15px;
  }
  .page-the-thao__main-title {
    font-size: 2.2em;
  }
  .page-the-thao__hero-description {
    font-size: 1em;
  }
  .page-the-thao__hero-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* General Image & Container Mobile */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__category-content,
  .page-the-thao__tips-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__feature-card,
  .page-the-thao__step-card,
  .page-the-thao__promo-card {
    padding: 25px;
  }
  .page-the-thao__feature-title,
  .page-the-thao__step-title,
  .page-the-thao__promo-title {
    font-size: 1.5em;
  }
  .page-the-thao__category-title {
    font-size: 2em;
  }
  .page-the-thao__category-text,
  .page-the-thao__tips-list li {
    font-size: 1em;
  }
  .page-the-thao__tips-image {
    min-width: unset;
    min-height: unset;
  }
  .page-the-thao__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-the-thao__faq-answer {
    font-size: 1em;
    padding: 0 20px 15px 20px;
  }
}