/* Base Styles for Thể Thao Page */
.page-the-thao {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

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

.page-the-thao__subsection-title,
.page-the-thao__card-title,
.page-the-thao__step-title,
.page-the-thao__tip-title,
.page-the-thao__promo-title,
.page-the-thao__feature-title {
  font-size: 1.8em;
  color: #FFA53A;
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small padding as shared.css handles body padding */
  background-color: #0D0E12;
}

.page-the-thao__hero-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-the-thao__hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao__hero-content {
  text-align: center;
  padding: 40px 15px;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-the-thao__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

/* CTA Buttons */
.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

.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;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

.page-the-thao__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.4);
}

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

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

/* Introduction Section */
.page-the-thao__introduction .page-the-thao__text-block {
  text-align: left;
}

.page-the-thao__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__list-item {
  background-color: #17191F;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FF8C1A;
  border-radius: 5px;
  font-size: 1.05em;
}

.page-the-thao__list-item strong {
  color: #FFA53A;
}

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

.page-the-thao__grid-layout--two-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-the-thao__card {
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 15px;
}

.page-the-thao__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.5em;
  margin: 10px 15px;
  color: #FFA53A;
}

.page-the-thao__card-title a {
  color: #FFA53A;
  text-decoration: none;
}

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

.page-the-thao__card-text {
  font-size: 0.95em;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How To Bet Section */
.page-the-thao__how-to-bet .page-the-thao__text-block {
  text-align: left;
}

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

.page-the-thao__step-item {
  background-color: #17191F;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__step-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
  display: block;
}

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

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

/* Betting Tips Section */
.page-the-thao__betting-tips .page-the-thao__text-block {
  text-align: left;
}

.page-the-thao__tip-card {
  background-color: #17191F;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-the-thao__tip-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
  display: block;
}

/* Promotions Section */
.page-the-thao__promotions .page-the-thao__text-block {
  text-align: left;
}

.page-the-thao__promo-card {
  background-color: #17191F;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__promo-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
  display: block;
}

.page-the-thao__promo-title a {
  color: #FFA53A;
  text-decoration: none;
}

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

/* Security and Support Section */
.page-the-thao__security-support .page-the-thao__text-block {
  text-align: left;
}

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

.page-the-thao__feature-item {
  background-color: #17191F;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-the-thao__feature-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
  display: block;
}

/* Conclusion Section */
.page-the-thao__conclusion .page-the-thao__text-block {
  text-align: center;
}

/* Copyright */
.page-the-thao__copyright {
  text-align: center;
  padding: 20px 15px;
  font-size: 0.9em;
  color: #A84F0C;
  background-color: #17191F;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__grid-layout--two-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-the-thao__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__hero-section {
    padding-top: 10px; /* Consistent small padding */
  }

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

  .page-the-thao__main-title {
    font-size: 2.2em; /* Adjusted for mobile */
    line-height: 1.3;
  }

  .page-the-thao__subtitle {
    font-size: 1em;
  }

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

  .page-the-thao__subsection-title,
  .page-the-thao__card-title,
  .page-the-thao__step-title,
  .page-the-thao__tip-title,
  .page-the-thao__promo-title,
  .page-the-thao__feature-title {
    font-size: 1.4em;
  }

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

  /* General Image Adaptation for Mobile */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__card-image {
    height: auto;
  }

  /* Button Adaptation for Mobile */
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    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: 12px 20px !important;
    font-size: 1em !important;
  }

  /* Grid Layouts for Mobile */
  .page-the-thao__grid-layout,
  .page-the-thao__grid-layout--two-cols,
  .page-the-thao__step-by-step,
  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__list-item {
    padding: 10px 15px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-the-thao__main-title {
    font-size: 1.8em;
  }

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

  .page-the-thao__subsection-title,
  .page-the-thao__card-title,
  .page-the-thao__step-title,
  .page-the-thao__tip-title,
  .page-the-thao__promo-title,
  .page-the-thao__feature-title {
    font-size: 1.2em;
  }

  .page-the-thao__copyright {
    font-size: 0.8em;
  }
}