/* Base styles for the-thao page */
.page-the-thao {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__main-title {
  font-size: 3.2em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-outline,
.page-the-thao__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-the-thao__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-the-thao__btn-outline {
  background: transparent;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  margin-top: auto; /* For cards to align buttons at bottom */
}

.page-the-thao__btn-outline:hover {
  background: #2F6BFF;
  color: #ffffff;
}

.page-the-thao__btn-text {
  background: transparent;
  color: #2F6BFF;
  border: none;
  text-decoration: underline;
  padding: 8px 0;
  font-size: 1em;
}

.page-the-thao__btn-text:hover {
  color: #6FA3FF;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #F4F7FB; /* Background */
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px 60px;
  text-align: center;
  max-width: 900px;
}

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

/* Introduction Section */
.page-the-thao__introduction-section {
  padding: 60px 0;
  background-color: #ffffff;
}

/* Sports Types Section */
.page-the-thao__sports-types-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

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

.page-the-thao__sport-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.page-the-thao__sport-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao__sport-title {
  font-size: 1.6em;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__sport-description {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
}

/* Features Section */
.page-the-thao__features-section {
  padding: 60px 0;
}

.page-the-thao__dark-section {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-the-thao__dark-section .page-the-thao__section-title,
.page-the-thao__dark-section .page-the-thao__description {
  color: #ffffff;
}

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

.page-the-thao__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__feature-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.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: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-the-thao__promo-description {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Bet Section */
.page-the-thao__how-to-bet-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

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

.page-the-thao__step-item {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-the-thao__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2F6BFF;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-the-thao__step-description {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Tips Section */
.page-the-thao__tips-section {
  padding: 60px 0;
}

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

.page-the-thao__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  height: 100%;
}

.page-the-thao__tip-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__tip-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-the-thao__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-the-thao__faq-item {
  background-color: #F4F7FB;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #D6E2FF; /* Border */
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2F6BFF;
  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: 1em;
  color: #333333;
}

/* Bottom CTA Section */
.page-the-thao__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

.page-the-thao__cta-bottom-content {
  max-width: 800px;
}

/* Global image and button responsive styles */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-the-thao__container,
.page-the-thao__sports-grid,
.page-the-thao__features-grid,
.page-the-thao__promo-grid,
.page-the-thao__steps-grid,
.page-the-thao__tips-grid,
.page-the-thao__faq-list {
  box-sizing: border-box;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 15px;
    line-height: 1.5;
  }

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

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

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

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

  /* HERO Section */
  .page-the-thao__hero-section {
    min-height: auto;
    padding-bottom: 40px;
  }

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

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

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-outline,
  .page-the-thao__btn-text,
  .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-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-the-thao__sport-card,
  .page-the-thao__feature-item,
  .page-the-thao__promo-card,
  .page-the-thao__step-item,
  .page-the-thao__tip-item {
    padding: 20px;
  }

  .page-the-thao__sport-image,
  .page-the-thao__promo-image {
    height: 180px;
  }

  /* FAQ Section */
  .page-the-thao__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
  }

  /* General Section Padding */
  .page-the-thao__introduction-section,
  .page-the-thao__sports-types-section,
  .page-the-thao__features-section,
  .page-the-thao__promotions-section,
  .page-the-thao__how-to-bet-section,
  .page-the-thao__tips-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-bottom-section {
    padding: 40px 0;
  }

  .page-the-thao__cta-bottom-section {
    padding: 60px 0;
  }
}

@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.8em;
  }
  .page-the-thao__section-title {
    font-size: 2.2em;
  }
  .page-the-thao__container {
    padding-left: 25px;
    padding-right: 25px;
  }
  .page-the-thao__hero-section {
    min-height: 500px;
  }
}