.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  text-align: center;
}

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

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

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF6D6;
}

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

.page-the-thao__cta-buttons--center {
  margin-top: 40px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color */
  border: 2px solid #F2C14E;
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-the-thao__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Dark text on hover */
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.5);
  transform: translateY(-2px);
}

.page-the-thao__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color */
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-the-thao__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: justify;
}

.page-the-thao__intro-section,
.page-the-thao__sports-types-section,
.page-the-thao__bet-types-section,
.page-the-thao__advantages-section,
.page-the-thao__guide-section,
.page-the-thao__promotions-section,
.page-the-thao__faq-section,
.page-the-thao__conclusion-section {
  padding: 60px 0;
}

.page-the-thao__dark-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
}

.page-the-thao__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-the-thao__sports-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__sports-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-the-thao__sports-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-the-thao__sports-item-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-the-thao__sports-item-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  flex-grow: 1;
}

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

.page-the-thao__bet-type-card {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-the-thao__bet-type-card:hover {
  transform: translateY(-5px);
  border-color: #F2C14E;
}

.page-the-thao__bet-type-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-the-thao__bet-type-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

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

.page-the-thao__advantages-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  height: 100%;
}

.page-the-thao__advantages-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-the-thao__advantages-item-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-the-thao__advantages-item-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* Guide Section */
.page-the-thao__guide-list {
  counter-reset: guide-step;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-the-thao__guide-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-the-thao__guide-item::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #F2C14E;
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-the-thao__guide-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFD36B;
  margin-bottom: 5px;
}

.page-the-thao__guide-step-description {
  font-size: 1rem;
  line-height: 1.6;
}

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

.page-the-thao__promotions-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  height: 100%;
}

.page-the-thao__promotions-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-the-thao__promotions-item-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-the-thao__promotions-item-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* FAQ Section */
.page-the-thao__faq-list {
  margin-top: 40px;
}

.page-the-thao__faq-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: '-';
}

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

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

.page-the-thao__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent click on text from interfering with summary toggle */
}

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F2C14E;
  margin-left: 15px;
  pointer-events: none; /* Prevent click on text from interfering with summary toggle */
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6;
}

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

/* Conclusion Section */
.page-the-thao__conclusion-section {
  text-align: center;
}

/* General image styling for responsiveness */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-the-thao__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-the-thao__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-the-thao__sports-list,
  .page-the-thao__bet-types-grid,
  .page-the-thao__advantages-list,
  .page-the-thao__promotions-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

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

  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }

  .page-the-thao__hero-image {
    max-height: 300px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  /* 按钮与按钮容器 */
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-the-thao__text-block {
    font-size: 0.95rem;
  }

  /* 通用图片与容器 */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__sports-item,
  .page-the-thao__bet-type-card,
  .page-the-thao__advantages-item,
  .page-the-thao__promotions-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__sports-list,
  .page-the-thao__bet-types-grid,
  .page-the-thao__advantages-list,
  .page-the-thao__promotions-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-the-thao__sports-icon {
    width: 150px;
    height: 150px;
  }

  .page-the-thao__guide-item {
    padding-left: 50px;
  }

  .page-the-thao__guide-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }

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

  .page-the-thao__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  .page-the-thao__dark-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-the-thao__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .page-the-thao__section-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  .page-the-thao__hero-description {
    font-size: 0.9rem;
  }

  .page-the-thao__cta-buttons {
    gap: 10px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .page-the-thao__sports-item-title,
  .page-the-thao__bet-type-title,
  .page-the-thao__advantages-item-title,
  .page-the-thao__promotions-item-title {
    font-size: 1.2rem;
  }

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