/* -------------------------------------------------------------------------- */
/*                            Base Styles for page-the-thao                   */
/* -------------------------------------------------------------------------- */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Main text color for dark background */
  background-color: #140C0C; /* Overall page background */
}

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

.page-the-thao__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F3C54D; /* Gold color for main titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-the-thao__text-block {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF1E8;
}

.page-the-thao__dark-section {
  background-color: #2A1212; /* Card BG for dark sections */
  padding: 60px 0;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C; /* Dark text for gradient button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-the-thao__btn-secondary {
  background: #C61F1F; /* Main brand color */
  color: #FFF1E8;
  border: 2px solid #E53030;
}

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

.page-the-thao__btn-tertiary {
  background: none;
  color: #F3C54D;
  border: 1px solid #F3C54D;
  padding: 8px 18px;
  font-size: 15px;
}

.page-the-thao__btn-tertiary:hover {
  background: rgba(243, 197, 77, 0.1);
  color: #FFF1E8;
}

.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* -------------------------------------------------------------------------- */
/*                                Hero Section                                */
/* -------------------------------------------------------------------------- */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared */
  padding-bottom: 60px;
  background-color: #140C0C;
  overflow: hidden;
}

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

.page-the-thao__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.page-the-thao__main-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: #F3C54D;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-the-thao__lead-text {
  font-size: 19px;
  color: #FFF1E8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
}

/* -------------------------------------------------------------------------- */
/*                             Intro Section                                  */
/* -------------------------------------------------------------------------- */
.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: #140C0C;
}

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

.page-the-thao__feature-item {
  background-color: #2A1212;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__feature-item img {
  width: 100%;
  max-width: 200px;
  
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px;
}

.page-the-thao__feature-title {
  font-size: 24px;
  font-weight: 600;
  color: #F3C54D;
  margin-bottom: 15px;
}

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

/* -------------------------------------------------------------------------- */
/*                             Bet Types Section                              */
/* -------------------------------------------------------------------------- */
.page-the-thao__bet-types-section {
  padding: 60px 0;
}

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

.page-the-thao__bet-type-card {
  background-color: #140C0C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #6A1E1E;
  display: flex;
  flex-direction: column;
}

.page-the-thao__bet-type-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #6A1E1E;
}

.page-the-thao__bet-type-card .page-the-thao__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #F3C54D;
  padding: 20px;
  margin-bottom: 10px;
}

.page-the-thao__bet-type-card p {
  font-size: 16px;
  color: #FFF1E8;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* -------------------------------------------------------------------------- */
/*                             Guide Section                                  */
/* -------------------------------------------------------------------------- */
.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: #140C0C;
}

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

.page-the-thao__step-item {
  background-color: #2A1212;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-the-thao__step-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 1px solid #6A1E1E;
}

.page-the-thao__step-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-the-thao__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 15px;
}

.page-the-thao__step-content p {
  font-size: 16px;
  color: #FFF1E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__step-content .page-the-thao__btn-tertiary {
  align-self: flex-start;
}

/* -------------------------------------------------------------------------- */
/*                             Advantages Section                             */
/* -------------------------------------------------------------------------- */
.page-the-thao__advantages-section {
  padding: 60px 0;
}

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

.page-the-thao__advantage-item {
  background-color: #140C0C;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #6A1E1E;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__advantage-item img {
  width: 100%;
  
  
  object-fit: contain;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  padding: 15px;
}

.page-the-thao__advantage-item h4 {
  font-size: 20px;
  font-weight: 600;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-the-thao__advantage-item p {
  font-size: 15px;
  color: #FFF1E8;
}

/* -------------------------------------------------------------------------- */
/*                             Promotions Section                             */
/* -------------------------------------------------------------------------- */
.page-the-thao__promotions-section {
  padding: 60px 0;
  background-color: #140C0C;
}

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

.page-the-thao__promo-card {
  background-color: #2A1212;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E;
  display: flex;
  flex-direction: column;
}

.page-the-thao__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #6A1E1E;
}

.page-the-thao__promo-card .page-the-thao__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #F3C54D;
  padding: 20px;
  margin-bottom: 10px;
}

.page-the-thao__promo-card p {
  font-size: 16px;
  color: #FFF1E8;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao__promo-card .page-the-thao__btn-tertiary {
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-the-thao__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

/* -------------------------------------------------------------------------- */
/*                                FAQ Section                                 */
/* -------------------------------------------------------------------------- */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #140C0C;
}

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

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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: #FFF1E8;
}

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: #3a1a1a;
}

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

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

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 25px;
  background: #140C0C; /* Darker background for answer */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
  font-size: 16px;
}

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

.page-the-thao__conclusion-section .page-the-thao__text-block {
  font-size: 18px;
  max-width: 900px;
}


/* -------------------------------------------------------------------------- */
/*                                 Responsive Styles                          */
/* -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .page-the-thao__hero-image {
    height: 500px;
  }

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

  .page-the-thao__lead-text {
    font-size: 18px;
  }

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

  .page-the-thao__bet-types-grid,
  .page-the-thao__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .page-the-thao__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .page-the-thao__advantage-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

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

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

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

  .page-the-thao__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }

  .page-the-thao__text-block {
    font-size: 16px;
    margin-bottom: 25px;
    padding: 0 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
  }
  .page-the-thao__hero-image {
    height: auto;
    max-height: 300px;
    margin-bottom: 30px;
  }
  .page-the-thao__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
  .page-the-thao__main-title {
    font-size: clamp(28px, 7vw, 40px);
    margin-bottom: 15px;
  }
  .page-the-thao__lead-text {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 通用图片与容器 */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__intro-features,
  .page-the-thao__bet-types-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__advantage-list,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 产品展示图区域 (General content cards, not gameshow) */
  .page-the-thao__bet-type-card img,
  .page-the-thao__step-item img,
  .page-the-thao__promo-card img {
    height: 200px;
  }

  .page-the-thao__feature-item,
  .page-the-thao__bet-type-card,
  .page-the-thao__step-item,
  .page-the-thao__advantage-item,
  .page-the-thao__promo-card {
    padding: 20px;
  }

  .page-the-thao__feature-title,
  .page-the-thao__card-title,
  .page-the-thao__step-title {
    font-size: 20px;
  }

  .page-the-thao__feature-item p,
  .page-the-thao__bet-type-card p,
  .page-the-thao__step-content p,
  .page-the-thao__advantage-item p,
  .page-the-thao__promo-card p {
    font-size: 15px;
  }

  /* 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;
    margin-left: 15px;
    width: 25px;
  }
  details.page-the-thao__faq-item .page-the-thao__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .page-the-thao__btn-tertiary {
    padding: 10px 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-the-thao__main-title {
    font-size: clamp(26px, 8vw, 36px);
  }
  .page-the-thao__lead-text {
    font-size: 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    font-size: 16px;
    padding: 10px 20px;
  }
  .page-the-thao__feature-item img {
    
    
  }
  .page-the-thao__feature-title {
    font-size: 18px;
  }
  .page-the-thao__bet-type-card img,
  .page-the-thao__step-item img,
  .page-the-thao__promo-card img {
    
  }
  .page-the-thao__card-title {
    font-size: 18px;
  }
  .page-the-thao__step-title {
    font-size: 18px;
  }
  .page-the-thao__advantage-item img {
    
    
  }
  .page-the-thao__advantage-item h4 {
    font-size: 18px;
  }
}