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

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

.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: #F2C14E; /* Main color */
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

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

.page-the-thao__hero-image-wrapper {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.page-the-thao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop */
  display: block;
  opacity: 0.7;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 15px;
  background: linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,0) 100%);
  margin-top: -200px; /* Pull content up over the image for visual hierarchy */
  width: 100%;
  box-sizing: border-box;
}

.page-the-thao__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-the-thao__subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  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;
  min-width: 180px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast */
  border: none;
}

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

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color for border */
}

.page-the-thao__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111; /* Dark text for contrast */
  transform: translateY(-2px);
}

/* Why Choose Us Section */
.page-the-thao__why-choose-us {
  background-color: #0A0A0A;
}

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

.page-the-thao__feature-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-the-thao__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-the-thao__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #FFF6D6; /* Text Main */
}

/* Bet Types Section */
.page-the-thao__bet-types {
  background-color: #0A0A0A;
}

.page-the-thao__article-body {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 17px;
  color: #FFF6D6;
}

.page-the-thao__article-body h3 {
  font-size: 24px;
  color: #F2C14E;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao__article-body p a {
  color: #FFD36B;
  text-decoration: none;
}

.page-the-thao__article-body p a:hover {
  text-decoration: underline;
}

.page-the-thao__article-figure {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 30px;
  margin-bottom: 30px;
  display: block;
}

/* How to Bet Section */
.page-the-thao__how-to-bet {
  background-color: #111111; /* Card BG */
}

.page-the-thao__steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
}

.page-the-thao__step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #F2C14E;
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

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

.page-the-thao__step-title {
  font-size: 20px;
  font-weight: 600;
  color: #F2C14E;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-the-thao__step-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-the-thao__step-content a {
  color: #FFD36B;
  text-decoration: none;
}

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

.page-the-thao__btn-small {
  display: inline-block;
  padding: 8px 15px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.page-the-thao__btn-small:hover {
  opacity: 0.9;
}

.page-the-thao__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Promotions Section */
.page-the-thao__promotions {
  background-color: #0A0A0A;
}

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

.page-the-thao__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-the-thao__promo-card .page-the-thao__card-title {
  padding: 20px 20px 0;
  text-align: left;
}

.page-the-thao__promo-card .page-the-thao__card-text {
  padding: 0 20px 20px;
  text-align: left;
}

/* Mobile App Section */
.page-the-thao__mobile-app {
  background-color: #111111; /* Card BG */
}

.page-the-thao__app-layout {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-the-thao__app-content {
  flex: 1;
}

.page-the-thao__app-content .page-the-thao__section-title {
  text-align: left;
  margin-bottom: 25px;
}

.page-the-thao__app-content .page-the-thao__section-description {
  text-align: left;
  margin-bottom: 30px;
  margin-left: 0;
  margin-right: 0;
}

.page-the-thao__app-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-the-thao__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-the-thao__app-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-the-thao__faq-section {
  background-color: #0A0A0A;
}

.page-the-thao__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E; /* Main color */
}

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: rgba(242, 193, 78, 0.1);
}

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

.page-the-thao__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B; /* Glow color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 12px 12px;
  color: #FFF6D6; /* Text Main */
  line-height: 1.7;
  font-size: 16px;
}

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

.page-the-thao__faq-answer a {
  color: #FFD36B;
  text-decoration: none;
}

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

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

/* Media Queries */
/* Tablet and smaller desktops */
@media (max-width: 1024px) {
  .page-the-thao__hero-image-wrapper {
    height: 500px;
  }

  .page-the-thao__hero-content {
    margin-top: -150px;
  }

  .page-the-thao__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .page-the-thao__subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
  }

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

  .page-the-thao__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    margin-bottom: 30px;
  }

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

  .page-the-thao__app-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__app-content .page-the-thao__section-title,
  .page-the-thao__app-content .page-the-thao__section-description {
    text-align: center;
  }

  .page-the-thao__app-buttons {
    justify-content: center;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
  }

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

  .page-the-thao__hero-image {
    object-fit: contain !important; /* Contain for mobile */
    aspect-ratio: unset !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__hero-content {
    margin-top: -100px; /* Adjust for smaller screens */
    padding: 25px 15px;
  }

  .page-the-thao__main-title {
    font-size: clamp(28px, 8vw, 36px); /* Smaller on mobile */
    margin-bottom: 15px;
  }

  .page-the-thao__subtitle {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 25px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column; /* Buttons stack vertically */
    gap: 10px;
    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,
  .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__section {
    padding: 30px 0;
  }

  .page-the-thao__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 25px;
  }

  .page-the-thao__section-description {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* 产品展示图区域 (General content grid for this page) */
  .page-the-thao__features-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    margin-top: 30px;
  }

  .page-the-thao__promo-card {
    margin: 0 15px; /* Add horizontal margin to promo cards */
  }

  .page-the-thao__promos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-the-thao__article-body {
    font-size: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__article-body h3 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-the-thao__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .page-the-thao__steps-list {
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-the-thao__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-the-thao__step-number {
    margin-bottom: 15px;
  }

  .page-the-thao__step-title {
    font-size: 18px;
  }

  .page-the-thao__btn-small {
    width: auto;
    margin-top: 10px;
  }

  .page-the-thao__cta-bottom {
    margin-top: 40px;
    padding: 0 15px;
  }

  .page-the-thao__app-layout {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .page-the-thao__app-content .page-the-thao__section-title,
  .page-the-thao__app-content .page-the-thao__section-description {
    text-align: center;
  }

  .page-the-thao__app-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .page-the-thao__app-image-wrapper {
    padding: 0 15px;
  }

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

  /* FAQ Section */
  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px 20px;
  }

  .page-the-thao__faq-qtext {
    font-size: 16px;
  }

  .page-the-thao__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }

  details.page-the-thao__faq-item .page-the-thao__faq-answer {
    padding: 0 20px 15px;
    font-size: 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,
  .page-the-thao__app-layout,
  .page-the-thao__features-grid,
  .page-the-thao__promos-grid,
  .page-the-thao__steps-list,
  .page-the-thao__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-the-thao__cta-buttons,
  .page-the-thao__app-buttons {
    flex-direction: column;
    gap: 10px;
  }
}