.page-the-thao {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff;
}

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: #017439;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Adjust as needed for visual balance */
}

.page-the-thao__hero-content {
  position: relative;
  padding: 40px 20px;
  background-color: rgba(1, 116, 57, 0.8);
  width: 100%;
  box-sizing: border-box;
  color: #ffffff;
}

.page-the-thao__hero-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-the-thao__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

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

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

.page-the-thao__section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-the-thao__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

.page-the-thao__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-the-thao__section-subtitle {
  font-size: 1.8em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 20px;
}

.page-the-thao__why-choose .page-the-thao__section-title {
  color: #017439;
}

.page-the-thao__home-content {
  border: 1px solid #017439;
  border-radius: 10px;
  padding: 30px;
  background-color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.7;
  color: #333333;
}

.page-the-thao__home-content p {
  margin-bottom: 15px;
}

.page-the-thao__home-content a {
  color: #017439;
  text-decoration: underline;
}

.page-the-thao__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-the-thao__feature-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-the-thao__feature-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #017439;
  font-weight: bold;
}

.page-the-thao__image-wrapper {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-the-thao__betting-types .page-the-thao__section-title {
  color: #017439;
}

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

.page-the-thao__content-block {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
}

.page-the-thao__content-block p {
  color: #555555;
}

.page-the-thao__guide-section .page-the-thao__section-title {
  color: #017439;
}

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

.page-the-thao__step-item {
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-the-thao__step-heading {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-the-thao__step-item p {
  color: #555555;
  line-height: 1.6;
}

.page-the-thao__step-item a {
  color: #017439;
  text-decoration: underline;
}

.page-the-thao__tips-section .page-the-thao__section-title {
  color: #017439;
}

.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao__tip-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-the-thao__tip-item p {
  color: #555555;
  line-height: 1.6;
}

.page-the-thao__promotions-section .page-the-thao__section-title {
  color: #ffffff;
}

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

.page-the-thao__promo-card {
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-the-thao__promo-card h3 {
  color: #ffffff;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-the-thao__promo-card p {
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-the-thao__promo-callout {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-the-thao__promo-callout a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-the-thao__blog-section .page-the-thao__section-title {
  color: #017439;
}

.page-the-thao__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: stretch;
}

.page-the-thao__blog-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__blog-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #333333;
  height: 100%;
}

.page-the-thao__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__blog-card-title {
  font-size: 1.25em;
  font-weight: 600;
  color: #017439;
  padding: 15px 20px 5px;
  line-height: 1.4;
}

.page-the-thao__blog-card-meta {
  font-size: 0.9em;
  color: #777777;
  padding: 0 20px 10px;
}

.page-the-thao__blog-card-excerpt {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-the-thao__blog-buttons {
  text-align: center;
  margin-top: 40px;
}

.page-the-thao__faq-section .page-the-thao__section-title {
  color: #017439;
}

.page-the-thao__faq-list {
  margin-top: 30px;
}

.page-the-thao__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  list-style: none;
}

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

.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;
  color: #555555;
  line-height: 1.6;
}

.page-the-thao__faq-answer p {
  margin-top: 0;
}

.page-the-thao__faq-more {
  text-align: center;
  margin-top: 30px;
  font-size: 1.05em;
}

.page-the-thao__faq-more a {
  color: #017439;
  text-decoration: underline;
}

.page-the-thao__cta-section .page-the-thao__section-title {
  color: #ffffff;
}

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

.page-the-thao__cta-text a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Required but unused/minimal CSS for non-homepage to fulfill completeness requirement */
.page-the-thao__row-games, .page-the-thao__row-sport, .page-the-thao__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
  display: none; /* Hidden for non-homepage */
}
.page-the-thao__games-title, .page-the-thao__sport-title, .page-the-thao__coop-title {
  color: #fff;
  text-align: center;
  display: none; /* Hidden for non-homepage */
}
.page-the-thao__slider-wrapper {
  overflow: hidden;
  display: none; /* Hidden for non-homepage */
}
.page-the-thao__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  display: none; /* Hidden for non-homepage */
}
.page-the-thao__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  display: none; /* Hidden for non-homepage */
}
.page-the-thao__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  display: none; /* Hidden for non-homepage */
}
.page-the-thao__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
  display: none; /* Hidden for non-homepage */
}
.page-the-thao__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  display: none; /* Blog masonry is used, slider track is not */
}
.page-the-thao__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  display: none; /* Blog masonry is used, slider slide is not */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-title {
    font-size: clamp(1.8em, 4vw, 3em);
  }
  .page-the-thao__section-title {
    font-size: 2em;
  }
  .page-the-thao__section {
    padding: 40px 15px;
  }
  .page-the-thao__home-content {
    padding: 25px;
  }
  .page-the-thao__content-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__tips-list,
  .page-the-thao__promotions-grid,
  .page-the-thao__blog-masonry {
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-the-thao__blog-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* 1. HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px;
  }
  .page-the-thao__hero-image {
    max-height: 400px;
  }
  .page-the-thao__hero-content {
    padding: 30px 15px;
  }
  .page-the-thao__hero-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-the-thao__hero-description {
    font-size: 1em;
  }
  .page-the-thao__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  /* 2. 长文金框区 */
  .page-the-thao__home-content {
    padding: 20px;
    border: none;
    box-shadow: none;
    border-radius: 0;
    max-height: none;
    overflow-y: visible;
  }
  .page-the-thao__home-content h2 {
    font-size: 1.8em;
  }

  /* 3. 游戏轮播 (CSS required, but HTML not generated for non-homepage) */
  .page-the-thao__slider-wrapper, .page-the-thao__slider-track, .page-the-thao__game-slide {
    display: none !important;
  }

  /* 4. 合作品牌六宫格 (CSS required, but HTML not generated for non-homepage) */
  .page-the-thao__banners-top-wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
    display: none !important;
  }
  .page-the-thao__banner-item img {
    max-width: 100% !important;
    
    display: none !important;
  }

  /* 5. 博客卡片区 */
  .page-the-thao__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }
  .page-the-thao__blog-card-image {
    height: 180px;
  }
  .page-the-thao__blog-slider-track, .page-the-thao__blog-slide {
    display: none !important; /* Blog masonry is used, slider is not */
  }

  /* 6. 通用图片与容器 */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-the-thao__container,
  .page-the-thao__section,
  .page-the-thao__content-block,
  .page-the-thao__step-item,
  .page-the-thao__tip-item,
  .page-the-thao__promo-card,
  .page-the-thao__blog-card,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__section {
    padding: 30px 0;
  }

  /* 7. 按钮与按钮容器 */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-outline,
  .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__hero-buttons,
  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }
  .page-the-thao__content-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__tips-list,
  .page-the-thao__promotions-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-the-thao__section-subtitle {
    font-size: 1.4em;
  }
  .page-the-thao__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
  }
}