/* Base Styles & Color Scheme */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--deep-navy); /* Body background from shared */
}

.page-the-thao__dark-bg {
  background-color: var(--deep-navy);
  color: var(--text-main);
}

.page-the-thao__light-bg {
  background-color: #f3f8ff; /* A lighter background for contrast */
  color: var(--text-secondary-dark);
}

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

.page-the-thao__section-title {
  font-size: clamp(2em, 2.5vw, 2.5em);
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-the-thao h2 {
  color: var(--gold);
}

.page-the-thao h3 {
  color: var(--text-main);
}

.page-the-thao a {
  color: var(--glow);
  text-decoration: none;
}

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

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main);
  border: none;
}

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

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

.page-the-thao__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-the-thao__btn-outline {
  background: transparent;
  color: var(--glow);
  border: 1px solid var(--glow);
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9em;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: auto; /* For flex column alignment */
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-the-thao__btn-outline:hover {
  background: var(--glow);
  color: var(--deep-navy);
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  margin-top: -150px; /* Overlap slightly with image for visual flow */
  background: rgba(16, 35, 63, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border: 1px solid var(--border-color);
}

.page-the-thao__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 700;
}

.page-the-thao__description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-the-thao__intro-section {
  padding: 80px 0;
  background-color: #f3f8ff; /* Light background for contrast */
  color: var(--text-secondary-dark); /* Dark text for light background */
}

.page-the-thao__intro-section p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-secondary-dark);
}

.page-the-thao__intro-section strong {
  color: var(--main-color);
}

/* Sports Categories */
.page-the-thao__sports-categories {
  padding: 80px 0;
}

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

.page-the-thao__category-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
}

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

.page-the-thao__card-title {
  font-size: 1.5em;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__card-text {
  color: var(--text-secondary);
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Betting Guide */
.page-the-thao__betting-guide {
  padding: 80px 0;
  background-color: #f3f8ff; /* Light background for contrast */
  color: var(--text-secondary-dark); /* Dark text for light background */
}

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

.page-the-thao__step-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
}

.page-the-thao__step-title {
  font-size: 1.3em;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__step-card p {
  color: var(--text-secondary);
  font-size: 0.95em;
}

.page-the-thao__cta-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: var(--text-secondary-dark);
}

.page-the-thao__cta-buttons--center {
  justify-content: center;
  margin-top: 30px;
}

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

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

.page-the-thao__tip-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 80px 0;
  background-color: #f3f8ff; /* Light background for contrast */
  color: var(--text-secondary-dark); /* Dark text for light background */
}

.page-the-thao__promo-list {
  list-style: disc;
  margin: 30px auto;
  padding-left: 40px;
  max-width: 900px;
  color: var(--text-secondary-dark);
}

.page-the-thao__promo-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-the-thao__promo-list strong {
  color: var(--main-color);
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 80px 0;
}

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

.page-the-thao__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main);
  list-style: none;
  user-select: none;
}

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

.page-the-thao__faq-item[open] .page-the-thao__faq-question .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold);
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.7;
}

/* Bottom CTA */
.page-the-thao__cta-bottom {
  padding: 60px 0;
  background-color: #f3f8ff; /* Light background for contrast */
  color: var(--text-secondary-dark); /* Dark text for light background */
}

.page-the-thao__container--flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.page-the-thao__cta-content {
  flex-grow: 1;
}

.page-the-thao__cta-content p {
  font-size: 1.05em;
  margin-top: 15px;
  color: var(--text-secondary-dark);
}

.page-the-thao__cta-buttons--end {
  justify-content: flex-end;
}

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

/* Variables for colors */
:root {
  --main-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --text-secondary-dark: #333333; /* For light backgrounds */
  --border-color: #244D84;
  --glow: #4FA8FF;
  --gold: #F2C14E;
  --divider: #1B3357;
  --deep-navy: #08162B;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 20px 30px;
  }

  .page-the-thao__hero-content {
    margin-top: -100px;
    padding: 30px;
  }

  .page-the-thao__main-title {
    font-size: 2.8em;
  }

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

  .page-the-thao__category-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-the-thao__promo-list {
    padding-left: 20px;
  }

  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }

  .page-the-thao__hero-image-wrapper {
    max-height: 400px;
  }

  .page-the-thao__hero-content {
    margin-top: -80px;
    padding: 20px;
    border-radius: 10px;
    max-width: 95%;
  }

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

  .page-the-thao__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 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;
    padding: 12px 15px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Sections */
  .page-the-thao__intro-section,
  .page-the-thao__sports-categories,
  .page-the-thao__betting-guide,
  .page-the-thao__tips-section,
  .page-the-thao__promotions-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-bottom {
    padding: 40px 0;
  }

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

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

  /* Sports Categories Grid */
  .page-the-thao__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* Betting Guide Steps */
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Tips Grid */
  .page-the-thao__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Promotions List */
  .page-the-thao__promo-list {
    padding-left: 20px;
    margin: 20px auto;
  }

  /* FAQ List */
  .page-the-thao__faq-list {
    max-width: 100%;
  }

  .page-the-thao__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  /* Bottom CTA */
  .page-the-thao__container--flex {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__cta-buttons--end {
    justify-content: center;
    width: 100%;
  }

  .page-the-thao__cta-content {
    width: 100%;
  }

  /* Universal Image Responsiveness for mobile */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__hero-image-wrapper,
  .page-the-thao__category-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__tips-grid,
  .page-the-thao__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* No game or gameshow specific styles as per non-homepage rule */
  /* No long text gold border specific styles as this page doesn't have it */
  /* No blog masonry or slider specific styles as this page doesn't have it */
}

/* No blog masonry or slider specific styles as this page doesn't have it */
/* No __slider-track or __banners-top-wrapper as per non-homepage rule */