.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css */
}

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

.page-sports__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80vh;
  min-height: 500px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken background image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-sports__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-sports__cta-buttons--center {
  margin-top: 40px;
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-play {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
  background-color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-sports__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-sports__btn-play {
  background-color: #EA7C07;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-sports__btn-play:hover {
  background-color: #c96806;
}

.page-sports__introduction-section,
.page-sports__categories-section,
.page-sports__why-choose-us-section,
.page-sports__featured-games-section,
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background for sections */
  color: #f0f0f0;
}

.page-sports__dark-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-sports__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-sports__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #e0e0e0;
}

.page-sports__categories-grid,
.page-sports__features-grid,
.page-sports__promotions-grid,
.page-sports__gameshow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__category-card,
.page-sports__feature-card,
.page-sports__promotion-card,
.page-sports__gameshow-card {
  background-color: #262626;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-sports__category-image,
.page-sports__feature-icon,
.page-sports__promotion-image,
.page-sports__gameshow-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-sports__feature-icon {
  height: 250px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 20px auto 15px auto;
}

.page-sports__category-title,
.page-sports__feature-title,
.page-sports__promotion-title,
.page-sports__gameshow-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__promotion-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__promotion-title a:hover {
  text-decoration: underline;
}

.page-sports__category-description,
.page-sports__feature-description,
.page-sports__promotion-description {
  font-size: 1em;
  color: #b0b0b0;
  padding: 0 15px;
  flex-grow: 1;
}

.page-sports__promotion-card .page-sports__btn-primary {
  margin-top: 20px;
  align-self: center;
}

.page-sports__gameshow-card .page-sports__btn-play {
  margin-top: 15px;
  align-self: center;
}

.page-sports__live-betting-section {
  text-align: center;
  padding: 80px 0;
}

.page-sports__live-betting-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  display: block;
}

.page-sports__faq-section {
  padding: 80px 0;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-sports__faq-item {
  background-color: #262626;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #333333;
  border-bottom: 1px solid #444444;
}

.page-sports__faq-question:hover {
  background-color: #444444;
}

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

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-sports__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

.page-sports__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-sports__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__cta-final-content {
  max-width: 900px;
}

/* Image responsiveness for content area */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }

  .page-sports__hero-description {
    font-size: 1.1em;
  }

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

  .page-sports__categories-grid,
  .page-sports__features-grid,
  .page-sports__promotions-grid,
  .page-sports__gameshow-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-sports__category-card,
  .page-sports__feature-card,
  .page-sports__promotion-card,
  .page-sports__gameshow-card {
    margin-bottom: 0;
  }

  .page-sports__introduction-section,
  .page-sports__categories-section,
  .page-sports__why-choose-us-section,
  .page-sports__featured-games-section,
  .page-sports__faq-section,
  .page-sports__promotions-section,
  .page-sports__cta-final-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-sports__hero-section {
    height: auto;
    min-height: 400px;
    padding: 60px 0 20px 0; /* Adjust padding for mobile */
  }

  .page-sports__hero-content {
    padding: 15px;
    border-radius: 8px;
  }

  .page-sports__hero-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }

  .page-sports__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }

  .page-sports__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* 产品展示图区域 */
  .page-sports__gameshow-grid {
    grid-template-columns: 1fr !important; /* Single column for gameshows */
    gap: 20px !important;
  }

  .page-sports__gameshow-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 通用图片与容器 */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__container,
  .page-sports__category-card,
  .page-sports__feature-card,
  .page-sports__promotion-card,
  .page-sports__gameshow-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 按钮与按钮容器 */
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-play,
  .page-sports a[class*="button"],
  .page-sports 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: 12px 20px !important;
  }

  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    flex-direction: column !important; /* Ensure vertical stacking for CTAs */
  }

  /* 其他内容模块 */
  .page-sports__introduction-section,
  .page-sports__categories-section,
  .page-sports__why-choose-us-section,
  .page-sports__featured-games-section,
  .page-sports__faq-section,
  .page-sports__promotions-section,
  .page-sports__cta-final-section {
    padding: 40px 0 !important;
  }

  .page-sports__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
    padding: 0 10px;
  }

  .page-sports__text-block {
    font-size: 1em !important;
    padding: 0 10px;
  }

  .page-sports__faq-question {
    font-size: 1em !important;
    padding: 15px !important;
  }

  .page-sports__faq-answer {
    padding: 0 15px !important;
  }

  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }

  .page-sports__category-title,
  .page-sports__feature-title,
  .page-sports__promotion-title,
  .page-sports__gameshow-title {
    font-size: 1.3em !important;
  }

  .page-sports__category-description,
  .page-sports__feature-description,
  .page-sports__promotion-description {
    font-size: 0.95em !important;
  }

  .page-sports__categories-grid,
  .page-sports__features-grid,
  .page-sports__promotions-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-sports__live-betting-image {
    margin-top: 20px;
  }
}