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

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

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

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

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

.page-the-thao__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* 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;
  justify-content: center;
}

.page-the-thao__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-the-thao__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao__hero-title {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-the-thao__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: #FFF3E6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Main color */
  border: 2px solid #A84F0C; /* Border color */
}

.page-the-thao__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  border-color: #FF8C1A;
  transform: translateY(-2px);
}

.page-the-thao__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  margin-top: 15px;
}

.page-the-thao__btn-small:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-1px);
}

/* Feature Grid */
.page-the-thao__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-the-thao__feature-item {
  background: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__feature-item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__feature-item h3 {
  font-size: 22px;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-the-thao__feature-item p {
  font-size: 16px;
  color: #FFF3E6;
}

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

.page-the-thao__card {
  background: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__card h3 {
  font-size: 20px;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  text-align: center;
}

.page-the-thao__card p {
  font-size: 16px;
  color: #FFF3E6;
  text-align: justify;
}

/* Guide List */
.page-the-thao__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-the-thao__guide-list li {
  background: #17191F; /* Card BG */
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__guide-step-title {
  font-size: 22px;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-the-thao__guide-list p {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 15px;
}

/* Tips List */
.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-the-thao__tips-list li {
  background: #17191F; /* Card BG */
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__tip-title {
  font-size: 22px;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-the-thao__tips-list p {
  font-size: 16px;
  color: #FFF3E6;
  text-align: justify;
}

/* Advantages Grid */
.page-the-thao__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-the-thao__advantage-item {
  background: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__advantage-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__advantage-item h3 {
  font-size: 22px;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-the-thao__advantage-item p {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 15px;
}

/* FAQ Section */
details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
  color: #FFF3E6;
}
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: #2a2d37; /* Slightly lighter Card BG on hover */
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D; /* Glow */
}
.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FF8C1A; /* Main color */
  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: #0D0E12; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

/* Bottom CTA */
.page-the-thao__cta-bottom {
  padding-bottom: 80px;
}

.page-the-thao__cta-bottom .page-the-thao__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Footer */
.page-the-thao__footer {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid #A84F0C; /* Border color */
  background-color: #0D0E12; /* Background */
}

.page-the-thao__copyright {
  font-size: 14px;
  color: #FFF3E6;
  margin: 0;
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .page-the-thao__section {
    padding: 50px 0;
  }
  .page-the-thao__hero-image {
    max-height: 500px;
  }
  .page-the-thao__hero-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-the-thao__hero-description {
    font-size: clamp(16px, 2vw, 20px);
  }
  .page-the-thao__feature-item img,
  .page-the-thao__advantage-item img {
    
  }
  .page-the-thao__bet-type-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-the-thao__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__container {
    padding: 0 15px;
  }
  .page-the-thao__section {
    padding: 40px 0;
  }
  .page-the-thao__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }
  .page-the-thao__text-block {
    font-size: 16px;
  }

  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px; /* Specific: ~10px top padding */
    padding-bottom: 40px;
  }
  .page-the-thao__hero-image {
    max-height: 300px;
    margin-bottom: 30px;
  }
  .page-the-thao__hero-image img {
    object-fit: contain !important; /* Specific: contain for mobile */
    aspect-ratio: unset !important; /* Specific: unset aspect ratio */
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__hero-title {
    font-size: clamp(28px, 7vw, 48px);
    margin-bottom: 15px;
  }
  .page-the-thao__hero-description {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 25px;
  }
  .page-the-thao__hero-cta {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

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

  /* 产品展示图区域 (Applied to feature/advantage grids for this non-homepage) */
  .page-the-thao__feature-grid,
  .page-the-thao__bet-type-grid,
  .page-the-thao__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden; /* Specific: prevent horizontal scroll */
  }
  .page-the-thao__feature-item,
  .page-the-thao__card,
  .page-the-thao__advantage-item {
    padding: 20px;
  }
  .page-the-thao__feature-item img,
  .page-the-thao__advantage-item img {
    
    margin-bottom: 15px;
  }
  .page-the-thao__feature-item h3,
  .page-the-thao__advantage-item h3 {
    font-size: 20px;
  }
  .page-the-thao__card h3 {
    font-size: 18px;
  }

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

  /* Footer */
  .page-the-thao__footer {
    padding: 20px 0;
  }
  .page-the-thao__copyright {
    font-size: 12px;
  }
}