.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F3F8FF); /* Default text color for dark body background */
  background-color: var(--deep-navy, #08162B);
  line-height: 1.6;
}

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

.page-the-thao__section-dark {
  background-color: var(--deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
  padding: 60px 0;
}

.page-the-thao__section-light {
  background-color: var(--card-bg, #10233F);
  color: var(--text-main, #F3F8FF);
  padding: 60px 0;
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: var(--text-main, #F3F8FF);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main, #F3F8FF);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-the-thao__sub-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-main, #F3F8FF);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao__text-block {
  font-size: 1rem;
  color: var(--text-secondary, #AFC4E8);
  margin-bottom: 15px;
  text-align: justify;
}

.page-the-thao__text-block a,
.page-the-thao__card-description a,
.page-the-thao__guide-description a,
.page-the-thao__download-benefits a,
.page-the-thao__sports-list a,
.page-the-thao__faq-answer a {
  color: var(--glow, #4FA8FF);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-the-thao__text-block a:hover,
.page-the-thao__card-description a:hover,
.page-the-thao__guide-description a:hover,
.page-the-thao__download-benefits a:hover,
.page-the-thao__sports-list a:hover,
.page-the-thao__faq-answer a:hover {
  color: var(--gold, #F2C14E);
  text-decoration: underline;
}

.page-the-thao__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: var(--glow, #4FA8FF);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid var(--glow, #4FA8FF);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-the-thao__btn-secondary:hover {
  background: var(--glow, #4FA8FF);
  color: var(--deep-navy, #08162B);
  box-shadow: 0 4px 15px rgba(79, 168, 255, 0.4);
}

.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* HERO Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  height: 675px; /* Fixed height for desktop hero */
  overflow: hidden;
  position: relative;
}

.page-the-thao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image for visual flow */
  background-color: var(--card-bg, #10233F);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-the-thao__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary, #AFC4E8);
}

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

/* Bet Types Section */
.page-the-thao__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__bet-type-card {
  background-color: var(--deep-navy, #08162B);
  border: 1px solid var(--border, #244D84);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__bet-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-the-thao__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-the-thao__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main, #F3F8FF);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__card-description {
  font-size: 0.95rem;
  color: var(--text-secondary, #AFC4E8);
  padding: 0 15px;
}

/* Guide Section */
.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-item {
  background-color: var(--card-bg, #10233F);
  border: 1px solid var(--border, #244D84);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__guide-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-the-thao__guide-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.page-the-thao__guide-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main, #F3F8FF);
  margin-bottom: 10px;
}

.page-the-thao__guide-title a {
  color: var(--text-main, #F3F8FF);
  text-decoration: none;
}

.page-the-thao__guide-title a:hover {
  color: var(--glow, #4FA8FF);
  text-decoration: underline;
}

.page-the-thao__guide-description {
  font-size: 0.9rem;
  color: var(--text-secondary, #AFC4E8);
}

/* Analysis Section */
.page-the-thao__analysis-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-the-thao__analysis-text {
  flex: 2;
}

.page-the-thao__analysis-text ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-the-thao__analysis-text ul li {
  color: var(--text-secondary, #AFC4E8);
  margin-bottom: 8px;
  font-size: 1rem;
}

.page-the-thao__analysis-image-wrapper {
  flex: 1;
  min-width: 300px;
  background-color: var(--deep-navy, #08162B);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__analysis-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

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

.page-the-thao__feature-card:hover {
  transform: translateY(-7px);
  background-color: rgba(16, 35, 63, 0.8);
}

/* Download Section */
.page-the-thao__download-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-the-thao__download-content {
  flex: 1;
}

.page-the-thao__download-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-the-thao__download-benefits li {
  color: var(--text-secondary, #AFC4E8);
  font-size: 1.05rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-the-thao__download-benefits li::before {
  content: '✓';
  color: var(--glow, #4FA8FF);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-the-thao__download-btn {
  margin-top: 20px;
}

.page-the-thao__download-image-wrapper {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.page-the-thao__download-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

/* Other Sports Section */
.page-the-thao__sports-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.page-the-thao__sports-list li {
  background-color: var(--card-bg, #10233F);
  border: 1px solid var(--border, #244D84);
  border-radius: 8px;
  padding: 15px 20px;
  color: var(--text-main, #F3F8FF);
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-the-thao__sports-list li::before {
  content: '⚽'; /* Or other relevant emoji/icon */
  font-size: 1.2em;
  line-height: 1;
}

/* FAQ Section */
details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border, #244D84);
  overflow: hidden;
  background: var(--card-bg, #10233F);
}
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(16, 35, 63, 0.8);
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F3F8FF);
}
.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow, #4FA8FF);
  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(--deep-navy, #08162B);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary, #AFC4E8);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-image-wrapper {
    height: 500px;
  }
  .page-the-thao__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }
  .page-the-thao__analysis-content {
    flex-direction: column;
  }
  .page-the-thao__analysis-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    width: 100%;
    margin-bottom: 30px;
  }
  .page-the-thao__download-flex {
    flex-direction: column;
  }
  .page-the-thao__download-image-wrapper {
    order: -1;
  }
}

@media (max-width: 849px) {
  .page-the-thao__hero-image-wrapper {
    height: auto;
    aspect-ratio: 16/9;
  }
  .page-the-thao__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@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-dark, .page-the-thao__section-light {
    padding: 40px 0;
  }

  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }

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

  .page-the-thao__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-the-thao__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-the-thao__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

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

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-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__bet-types-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__features-grid,
  .page-the-thao__sports-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__bet-type-card,
  .page-the-thao__guide-item,
  .page-the-thao__feature-card,
  .page-the-thao__sports-list li {
    padding: 20px 15px;
  }

  .page-the-thao__card-image {
    height: 180px;
  }

  .page-the-thao__card-title {
    font-size: 1.2rem;
  }

  .page-the-thao__guide-icon {
    width: 120px;
    height: 80px;
  }

  .page-the-thao__analysis-content {
    gap: 20px;
  }

  .page-the-thao__analysis-text ul {
    padding-left: 20px;
  }

  .page-the-thao__download-benefits li {
    font-size: 1rem;
    padding-left: 25px;
  }

  .page-the-thao__download-image {
    max-width: 300px;
  }

  .page-the-thao__faq-item summary.page-the-thao__faq-question { padding: 15px; }
  .page-the-thao__faq-qtext { font-size: 15px; }
  .page-the-thao__faq-answer { padding: 0 15px 15px; }

  .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__hero-cta-buttons,
  .page-the-thao__bet-types-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__features-grid,
  .page-the-thao__download-flex,
  .page-the-thao__sports-list,
  .page-the-thao__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__hero-cta-buttons,
  .page-the-thao__download-flex {
    flex-direction: column;
    gap: 15px;
  }
}