.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

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

.page-the-thao__text-center {
  text-align: center;
}

.page-the-thao__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-the-thao__section-title--light {
  color: #FFF1E8; /* Text Main */
}

.page-the-thao__sub-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao__sub-title--light {
  color: #FFF1E8; /* Text Main */
}

.page-the-thao__mini-title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-the-thao__mini-title--light {
  color: #FFF1E8; /* Text Main */
}

.page-the-thao__text-block {
  font-size: 16px;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 20px;
}

.page-the-thao__text-block--light {
  color: #FFF1E8; /* Text Main */
}

.page-the-thao__list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-the-thao__list--light {
  color: #FFF1E8; /* Text Main */
}

.page-the-thao__list-item {
  font-size: 16px;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 10px;
}

.page-the-thao__list-item strong {
  color: #F3C54D; /* Gold */
}

.page-the-thao__grid {
  display: grid;
  gap: 30px;
}

.page-the-thao__grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.page-the-thao__grid--2-cols-reverse {
  grid-template-columns: repeat(2, 1fr);
}

.page-the-thao__grid--2-cols-reverse > *:first-child {
  order: 2;
}

.page-the-thao__grid--2-cols-reverse > *:last-child {
  order: 1;
}

.page-the-thao__grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.page-the-thao__image-card {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-the-thao__card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__card--dark {
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8; /* Text Main */
}

.page-the-thao__card-title {
  font-size: 20px;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-the-thao__card-title--light {
  color: #FFF1E8; /* Text Main */
}

.page-the-thao__card-text {
  font-size: 15px;
  color: #FFF1E8; /* Text Main */
}

.page-the-thao__card-text--light {
  color: #FFF1E8; /* Text Main */
}

.page-the-thao__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  color: #FFF1E8; /* Text Main */
  background: #C61F1F; /* Primary color */
  border: none;
}

.page-the-thao__btn-primary:hover {
  background: #E53030; /* Auxiliary color */
  transform: translateY(-2px);
}

.page-the-thao__btn-primary--gold-gradient {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
}

.page-the-thao__btn-primary--gold-gradient:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
}

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

.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  cursor: pointer;
  color: #F3C54D; /* Gold */
  background: transparent;
  border: 2px solid #F3C54D; /* Gold */
}

.page-the-thao__btn-secondary:hover {
  color: #FFF1E8; /* Text Main */
  background: #F3C54D; /* Gold */
  border-color: #F3C54D; /* Gold */
  transform: translateY(-2px);
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
}

.page-the-thao__hero-content {
  position: relative;
  padding: 40px 15px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  background: rgba(20, 12, 12, 0.85); /* Background */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  z-index: 1;
  transform: translateY(-20px); /* Lift slightly */
}

.page-the-thao__main-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 18px;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Introduction Section */
.page-the-thao__introduction-section {
  background-color: #140C0C; /* Background */
}

/* Sports Types Section */
.page-the-thao__sports-types-section {
  background-color: #2A1212; /* Card BG */
}

.page-the-thao__margin-top {
  margin-top: 40px;
}

/* Betting Guide Section */
.page-the-thao__betting-guide-section {
  background-color: #140C0C; /* Background */
}

.page-the-thao__cta-buttons--inline {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  background-color: #2A1212; /* Card BG */
}

/* Tips Section */
.page-the-thao__tips-section {
  background-color: #140C0C; /* Background */
}

.page-the-thao__list--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
}

/* Support Section */
.page-the-thao__support-section {
  background-color: #2A1212; /* Card BG */
}

/* FAQ Section */
.page-the-thao__faq-section {
  background-color: #140C0C; /* Background */
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}

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: #7E0D0D; /* Deep Red */
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  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: #140C0C; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
}

.page-the-thao__faq-answer p {
  margin: 0;
  color: #FFF1E8;
}

/* Conclusion Section */
.page-the-thao__conclusion-section {
  padding-bottom: 80px;
}

/* Universal image rules */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-image-wrapper {
    max-height: 500px;
  }
  .page-the-thao__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-the-thao__main-title {
    font-size: clamp(32px, 4.5vw, 42px);
  }
  .page-the-thao__hero-description {
    font-size: 17px;
  }
  .page-the-thao__section-title {
    font-size: clamp(26px, 3.5vw, 34px);
  }
  .page-the-thao__sub-title {
    font-size: clamp(20px, 2.5vw, 26px);
  }
  .page-the-thao__mini-title {
    font-size: clamp(17px, 2vw, 20px);
  }
  .page-the-thao__text-block, .page-the-thao__list-item, .page-the-thao__card-text {
    font-size: 15px;
  }
  .page-the-thao__btn-primary, .page-the-thao__btn-secondary {
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-the-thao__btn-primary--large {
    padding: 12px 30px;
    font-size: 17px;
  }
  .page-the-thao__list--grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 849px) {
  .page-the-thao__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    min-height: 250px;
  }
}

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

  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px; /* Approx 10px top padding */
  }
  .page-the-thao__hero-image-wrapper {
    max-height: 400px;
  }
  .page-the-thao__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
    min-height: 200px;
  }
  .page-the-thao__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    transform: translateY(-10px);
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
  }
  .page-the-thao__main-title {
    font-size: clamp(28px, 8vw, 36px);
  }
  .page-the-thao__hero-description {
    font-size: 15px;
  }
  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* 产品展示图区域 & 通用图片与容器 */
  .page-the-thao__grid--2-cols,
  .page-the-thao__grid--2-cols-reverse {
    grid-template-columns: 1fr;
  }
  .page-the-thao__grid--2-cols-reverse > *:first-child {
    order: 1;
  }
  .page-the-thao__grid--2-cols-reverse > *:last-child {
    order: 2;
  }
  .page-the-thao__grid--3-cols {
    grid-template-columns: 1fr;
  }
  .page-the-thao__image-card {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__section {
    padding: 40px 0;
  }
  .page-the-thao__section-title {
    font-size: clamp(24px, 7vw, 30px);
    margin-bottom: 25px;
  }
  .page-the-thao__sub-title {
    font-size: clamp(18px, 6vw, 24px);
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-the-thao__mini-title {
    font-size: clamp(16px, 5vw, 18px);
    margin-top: 15px;
    margin-bottom: 8px;
  }
  .page-the-thao__text-block, .page-the-thao__list-item, .page-the-thao__card-text {
    font-size: 15px;
  }
  .page-the-thao__card {
    padding: 20px;
  }
  .page-the-thao__card-title {
    font-size: 18px;
  }
  .page-the-thao__cta-buttons--inline {
    flex-direction: column;
    gap: 10px;
  }

  /* 按钮与按钮容器 */
  .page-the-thao__cta-button,
  .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-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__hero-cta-buttons,
  .page-the-thao__cta-buttons--inline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
  }

  /* FAQ */
  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px;
  }
  .page-the-thao__faq-qtext {
    font-size: 16px;
  }
  .page-the-thao__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-the-thao__faq-item .page-the-thao__faq-answer {
    padding: 0 15px 15px;
  }
}