/* style/sports.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General styles for .page-sports to ensure text color on dark body background */
.page-sports {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  line-height: 1.6;
}

/* Header offset to prevent content being hidden by fixed header */
.page-sports__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
  z-index: 1; /* Ensure content is above video */
}

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

/* Hero Section */
.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  text-align: center;
  position: relative;
}

.page-sports__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 0;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 40px 20px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Video Section */
.page-sports__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Place video behind content */
}

.page-sports__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

/* Sections General */
.page-sports__section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__dark-bg {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-sports__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: inherit;
}

.page-sports__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-sports__text-block {
  max-width: 900px;
  margin: 0 auto 20px auto;
  font-size: 1.1em;
  line-height: 1.8;
  color: inherit;
}

.page-sports__text-block a {
  color: #FFFF00; /* Yellow for links on dark background */
  text-decoration: none;
  font-weight: bold;
}

.page-sports__text-block a:hover {
  text-decoration: underline;
}

/* Cards Section */
.page-sports__cards-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-sports__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-sports__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-sports__card:hover {
  transform: translateY(-5px);
}

.page-sports__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-sports__card-title {
  font-size: 1.5em;
  margin: 20px 20px 10px 20px;
  color: #017439; /* Brand color for titles on light background */
}

.page-sports__card-title a {
  color: #017439;
  text-decoration: none;
}

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

.page-sports__card-text {
  font-size: 1em;
  line-height: 1.7;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

/* Buttons within cards */
.page-sports__card .page-sports__btn-primary {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
  width: auto;
  max-width: calc(100% - 40px);
}

/* Benefits Section */
.page-sports__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

.page-sports__benefit-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__benefit-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-sports__benefit-text {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 20px;
  background-color: #017439;
  color: #ffffff;
}

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

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

/* Guide Section */
.page-sports__guide-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-sports__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
  text-align: left;
}

.page-sports__guide-step {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.page-sports__guide-step-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-sports__guide-step-text {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  flex-grow: 1;
}

.page-sports__guide-cta {
  margin-top: 50px;
}

/* Security Section */
.page-sports__security-section {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: left;
}

.page-sports__security-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* FAQ Section */
.page-sports__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  padding: 0 20px;
}

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #ffffff;
  color: #017439;
  font-size: 1.15em;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-sports__faq-question h3 {
  margin: 0;
  font-size: 1em;
  color: inherit;
}

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

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

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f0f0f0;
  color: #555555;
}

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

.page-sports__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.7;
}

/* Contact CTA Section */
.page-sports__contact-cta {
  padding: 80px 20px;
  background-color: #017439;
  color: #ffffff;
}

.page-sports__contact-content {
  max-width: 800px;
}