.page-the-thao {
  font-family: Arial, sans-serif;
  color: #FFF6D6;
  background-color: #0A0A0A;
}

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

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #0A0A0A;
  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: 8px;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-the-thao__subtitle {
  font-size: 1.2rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid #FFD86A;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px #FFD36B;
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

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

.page-the-thao__about-section,
.page-the-thao__bet-types-section,
.page-the-thao__guide-section,
.page-the-thao__advantages-section,
.page-the-thao__promo-section,
.page-the-thao__faq-section,
.page-the-thao__cta-bottom-section {
  padding: 60px 0;
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

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

.page-the-thao__grid-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #3A2A12;
}

.page-the-thao__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-the-thao__card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.page-the-thao__card-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-the-thao__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-the-thao__guide-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #FFF6D6;
}

.page-the-thao__guide-item h3 {
  font-size: 1.8rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__guide-item p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-the-thao__guide-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  border: 1px solid #3A2A12;
}

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

.page-the-thao__feature-card {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__feature-icon {
  width: 100%;
  max-width: 200px; /* Adjust max-width to ensure min 200px */
  height: auto;
  display: block;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__feature-card h3 {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__feature-card p {
  font-size: 1rem;
  line-height: 1.6;
}

.page-the-thao__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-the-thao__promo-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__promo-card h3 {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__promo-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__promo-card .page-the-thao__btn-primary {
  margin-top: auto; /* Push button to bottom */
}

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

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

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

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

.page-the-thao__faq-answer p {
  margin-bottom: 15px;
}

.page-the-thao__faq-answer .page-the-thao__btn-secondary {
  margin-top: 10px;
}

.page-the-thao__cta-bottom-section {
  text-align: center;
  padding-bottom: 80px;
}

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

/* Ensure all content containers have proper box-sizing */
.page-the-thao__section,
.page-the-thao__card,
.page-the-thao__container,
.page-the-thao__cta-buttons {
  box-sizing: border-box;
}

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

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

  .page-the-thao__subtitle {
    font-size: 1.1rem;
  }

  .page-the-thao__section-title {
    font-size: 2.2rem;
  }

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .page-the-thao__card-grid,
  .page-the-thao__feature-grid,
  .page-the-thao__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

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

  .page-the-thao__container {
    padding: 15px;
  }

  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
  }

  .page-the-thao__hero-content {
    padding: 0 15px;
  }

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

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

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

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

  .page-the-thao__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

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

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

  .page-the-thao__image-grid,
  .page-the-thao__card-grid,
  .page-the-thao__feature-grid,
  .page-the-thao__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__grid-image,
  .page-the-thao__guide-image,
  .page-the-thao__feature-icon,
  .page-the-thao__promo-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-the-thao__card,
  .page-the-thao__guide-item,
  .page-the-thao__feature-card,
  .page-the-thao__promo-card {
    padding: 20px;
  }

  .page-the-thao__card-title {
    font-size: 1.3rem;
  }

  .page-the-thao__guide-item h3 {
    font-size: 1.5rem;
  }

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

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

  .page-the-thao__about-section,
  .page-the-thao__bet-types-section,
  .page-the-thao__guide-section,
  .page-the-thao__advantages-section,
  .page-the-thao__promo-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-bottom-section {
    padding: 40px 0;
  }

  /* No specific rules for home-content, gameshow, slider-track, banners-top-wrapper, blog-masonry, blog-slider-track as this is not homepage */
}

/* Ensure all content sections and cards have full width on mobile with padding */
@media (max-width: 768px) {
  .page-the-thao__about-section .page-the-thao__container,
  .page-the-thao__bet-types-section .page-the-thao__container,
  .page-the-thao__guide-section .page-the-thao__container,
  .page-the-thao__advantages-section .page-the-thao__container,
  .page-the-thao__promo-section .page-the-thao__container,
  .page-the-thao__faq-section .page-the-thao__container,
  .page-the-thao__cta-bottom-section .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}