.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Custom Text Main color */
  background-color: #F4F7FB; /* Custom background color */
}

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

.page-sports__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 0;
  background-color: #2F6BFF;
  overflow: hidden;
}

.page-sports__hero-image-container {
  width: 100%;
  height: 600px; /* Fixed height for desktop hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-sports__hero-content-wrapper {
  padding: 40px 20px;
  text-align: center;
  color: #ffffff;
  background-color: #2F6BFF; /* Ensure background for content */
  position: relative;
  z-index: 1;
}

.page-sports__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

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

.page-sports__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #2F6BFF;
  transform: translateY(-2px);
}

.page-sports__btn-text {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-sports__btn-text:hover {
  text-decoration: underline;
  color: #6FA3FF;
}

.page-sports__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D; /* Custom Text Main color */
}

.page-sports__introduction-section,
.page-sports__sports-categories-section,
.page-sports__features-section,
.page-sports__how-to-bet-section,
.page-sports__responsibility-section,
.page-sports__faq-section,
.page-sports__cta-final-section {
  padding: 80px 0;
}

.page-sports__dark-section {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-sports__dark-section .page-sports__section-title,
.page-sports__dark-section .page-sports__paragraph,
.page-sports__dark-section .page-sports__list-item {
  color: #ffffff;
}

.page-sports__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #1F2D3D; /* Custom Text Main color */
}

.page-sports__dark-section .page-sports__paragraph {
  color: #f0f0f0;
}

.page-sports__category-grid,
.page-sports__features-grid,
.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports__category-card,
.page-sports__feature-card,
.page-sports__step-card {
  background-color: #FFFFFF; /* Custom Card BG color */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #D6E2FF; /* Custom border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__category-card:hover,
.page-sports__feature-card:hover,
.page-sports__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.page-sports__category-image,
.page-sports__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports__card-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1F2D3D; /* Custom Text Main color */
}

.page-sports__card-description {
  font-size: 1rem;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2F6BFF;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-sports__odds-list,
.page-sports__promotions-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-sports__list-item {
  font-size: 1.1rem;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #1F2D3D;
}

.page-sports__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #6FA3FF; /* Auxiliary color */
  font-weight: bold;
  font-size: 1.2rem;
}

.page-sports__dark-section .page-sports__list-item {
  color: #ffffff;
}

.page-sports__dark-section .page-sports__list-item::before {
  color: #A5C4FF; /* Glow color for dark background */
}

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

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

.page-sports__faq-item {
  background-color: #FFFFFF; /* Card BG color */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main color */
  background-color: #F4F7FB; /* Lighter background for question */
  border-bottom: 1px solid #D6E2FF;
  list-style: none;
  user-select: none;
}

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

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

.page-sports__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  content: '−';
}

.page-sports__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  color: #1F2D3D;
  text-align: justify;
}

.page-sports__cta-final-section {
  text-align: center;
  background-color: #2F6BFF;
  color: #ffffff;
  padding: 80px 0;
}

.page-sports__cta-final-section .page-sports__section-title,
.page-sports__cta-final-section .page-sports__paragraph {
  color: #ffffff;
}

.page-sports__cta-final-section .page-sports__btn-secondary {
  background-color: #ffffff;
  color: #2F6BFF;
  border: 2px solid #ffffff;
}

.page-sports__cta-final-section .page-sports__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #2F6BFF;
}

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

  .page-sports__hero-title {
    font-size: 3rem;
  }

  .page-sports__hero-description {
    font-size: 1.15rem;
  }

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

  .page-sports__introduction-section,
  .page-sports__sports-categories-section,
  .page-sports__features-section,
  .page-sports__how-to-bet-section,
  .page-sports__responsibility-section,
  .page-sports__faq-section,
  .page-sports__cta-final-section,
  .page-sports__odds-system-section,
  .page-sports__promotions-section {
    padding: 60px 0;
  }

  .page-sports__category-grid,
  .page-sports__features-grid,
  .page-sports__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  /* HERO 主图区域 */
  .page-sports__hero-section {
    padding-top: 10px !important;
    padding-bottom: 0 !important;
  }
  .page-sports__hero-image-container {
    height: 300px !important;
  }
  .page-sports__hero-content-wrapper {
    padding: 30px 15px !important;
  }
  .page-sports__hero-title {
    font-size: 2rem !important;
    margin-bottom: 15px !important;
  }
  .page-sports__hero-description {
    font-size: 1rem !important;
    margin-bottom: 25px !important;
  }
  .page-sports__hero-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px !important;
  }

  /* 产品展示图区域 (Category Grid) */
  .page-sports__category-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-sports__category-card {
    padding: 25px !important;
  }
  .page-sports__category-image {
    height: 200px !important;
  }

  /* 通用图片与容器 */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__introduction-section,
  .page-sports__sports-categories-section,
  .page-sports__odds-system-section,
  .page-sports__features-section,
  .page-sports__how-to-bet-section,
  .page-sports__promotions-section,
  .page-sports__responsibility-section,
  .page-sports__faq-section,
  .page-sports__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding: 40px 15px !important;
  }

  /* 按钮与按钮容器 */
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .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-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-sports__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* 其他内容模块 */
  .page-sports__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 30px !important;
  }
  .page-sports__paragraph,
  .page-sports__list-item,
  .page-sports__card-description,
  .page-sports__faq-answer {
    font-size: 1rem !important;
  }
  .page-sports__faq-question {
    font-size: 1.1rem !important;
    padding: 15px 20px !important;
  }
  .page-sports__faq-toggle {
    font-size: 1.5rem !important;
  }
  .page-sports__features-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-sports__category-card,
  .page-sports__feature-card,
  .page-sports__step-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
  .page-sports__faq-item {
    margin-bottom: 10px !important;
  }
}