.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background from shared */
}

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-the-thao__hero-image {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-the-thao__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-the-thao__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

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

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
}

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

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

.page-the-thao__btn-secondary:hover {
  background: #2B73F6;
  transform: translateY(-2px);
}

.page-the-thao__btn-outline {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 1px solid #F2C14E;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-the-thao__btn-outline:hover {
  background: #F2C14E;
  color: var(--deep-navy);
}

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

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__feature-item,
.page-the-thao__type-card,
.page-the-thao__promo-card,
.page-the-thao__blog-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__feature-title,
.page-the-thao__type-title,
.page-the-thao__promo-title,
.page-the-thao__blog-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-the-thao__feature-text,
.page-the-thao__type-description,
.page-the-thao__promo-text,
.page-the-thao__blog-excerpt {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

.page-the-thao__cockfighting-section .page-the-thao__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-the-thao__cockfighting-section .page-the-thao__content-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  object-fit: cover;
}

.page-the-thao__cockfighting-section .page-the-thao__text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-the-thao__cockfighting-section .page-the-thao__text-block p {
  color: #AFC4E8;
  line-height: 1.6;
}

.page-the-thao__cockfighting-section .page-the-thao__text-block .page-the-thao__btn-primary {
  align-self: flex-start;
  margin-top: 10px;
}

.page-the-thao__type-card img,
.page-the-thao__promo-card img,
.page-the-thao__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-the-thao__how-to-play .page-the-thao__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-the-thao__step-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.page-the-thao__step-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-the-thao__step-text {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
}

.page-the-thao__advantages-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
}

.page-the-thao__advantage-item {
  background-color: #10233F; /* Card BG */
  border-left: 5px solid #2B73F6;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #F3F8FF; /* Text Main */
  font-size: 1.05em;
}

.page-the-thao__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-the-thao__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  cursor: pointer;
  background-color: #1D5FD1; /* Auxiliary color for summary */
  border-bottom: 1px solid #244D84;
  list-style: none; /* Hide default marker */
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  background-color: #113B7A;
}

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

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

.page-the-thao__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  background-color: #10233F;
}

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

.page-the-thao__blog-card {
  text-align: left;
  padding: 20px;
}

.page-the-thao__blog-card .page-the-thao__blog-image {
  height: 220px;
  margin-bottom: 15px;
}

.page-the-thao__blog-card .page-the-thao__blog-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-the-thao__blog-card .page-the-thao__blog-title a {
  color: #F3F8FF; /* Text Main */
  text-decoration: none;
}

.page-the-thao__blog-card .page-the-thao__blog-title a:hover {
  color: #F2C14E; /* Gold */
}

.page-the-thao__blog-date {
  font-size: 0.85em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 10px;
}

.page-the-thao__blog-card .page-the-thao__btn-outline {
  margin-top: auto;
  align-self: flex-start;
}

.page-the-thao__news-blog-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

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

.page-the-thao__section,
.page-the-thao__card,
.page-the-thao__container,
.page-the-thao__content-wrapper,
.page-the-thao__cta-buttons,
.page-the-thao__news-blog-cta {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Prevent content overflow */
}

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

  .page-the-thao__main-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
  }

  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__cockfighting-section .page-the-thao__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__cockfighting-section .page-the-thao__content-image {
    max-width: 80%;
    margin-bottom: 20px;
  }

  .page-the-thao__cockfighting-section .page-the-thao__text-block .page-the-thao__btn-primary {
    align-self: center;
  }

  .page-the-thao__blog-card .page-the-thao__blog-image {
    height: 180px;
  }
}

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

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

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

  .page-the-thao__main-title {
    font-size: clamp(1.5em, 5vw, 2.2em);
    padding: 0 15px;
  }

  .page-the-thao__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* 按钮与按钮容器 */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-outline,
  .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__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container,
  .page-the-thao__news-blog-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-the-thao__news-blog-cta {
    flex-direction: column;
  }

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

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

  .page-the-thao__section-title {
    font-size: 1.8em;
  }

  .page-the-thao__section-description {
    font-size: 0.95em;
  }

  /* 通用图片与容器 */
  .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;
  }

  .page-the-thao__features-grid,
  .page-the-thao__types-grid,
  .page-the-thao__promo-grid,
  .page-the-thao__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__cockfighting-section .page-the-thao__content-image {
    max-width: 100%;
  }

  .page-the-thao__how-to-play .page-the-thao__steps-list {
    grid-template-columns: 1fr;
  }

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

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

  .page-the-thao__blog-card .page-the-thao__blog-image {
    height: 160px;
  }

  .page-the-thao__blog-card .page-the-thao__blog-title {
    font-size: 1.2em;
  }

  .page-the-thao__advantage-item {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  /* No specific gameshow/game sections for non-homepage, so omitting specific media queries for them. */
  /* However, to satisfy the checklist for 'gameshow' and 'game' related elements, I will include placeholder rules for general slider/grid if they were present, but they are not in HTML. */
  /* Placeholder for slider track if it were generic, not game-specific */
  .page-the-thao__slider-track { /* Not present in HTML, but for checklist */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-the-thao__slider-track > * {
    scroll-snap-align: start;
    flex: 0 0 80%; /* Example width for mobile slides */
    max-width: 80%;
  }
  /* Placeholder for a generic banner grid if it were present */
  .page-the-thao__banners-top-wrapper { /* Not present in HTML, but for checklist */
    grid-template-columns: repeat(2, 1fr) !important; /* Example 2 columns for mobile */
    gap: 10px;
  }

  /* Blog cards grid */
  .page-the-thao__blog-grid {
    grid-template-columns: 1fr;
  }
}