.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Inherit from shared, default to white */
}

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

/* --- Hero Section --- */
.page-sports__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  background-color: #26A9E0;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

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

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

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #ffffff;
}

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

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

.page-sports__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-sports__paragraph--center {
  text-align: center;
}

/* --- Buttons --- */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

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

/* Text links within content */
.page-sports__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-sports__text-link:hover {
  color: #1a7fb3;
}

/* --- Intro Section --- */
.page-sports__intro-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

/* --- Features Section --- */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__features-section .page-sports__section-title {
  color: #ffffff;
}

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

.page-sports__feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__feature-icon {
  width: 200px; /* Minimum size requirement */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-sports__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* --- Guide Section --- */
.page-sports__guide-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-sports__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.page-sports__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-sports__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-sports__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-sports__step-button {
  margin-top: 20px;
}

/* --- Video Section --- */
.page-sports__video-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
}

.page-sports__video-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 40px auto 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer; /* Indicate clickability */
}

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

.page-sports__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Subtle overlay */
  z-index: 1;
  pointer-events: none; /* Allow clicks to pass through to video */
}

/* --- Highlights Section --- */
.page-sports__highlights-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-sports__highlight-card {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-sports__highlight-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__highlight-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-sports__highlight-description {
  font-size: 0.95em;
  color: #555555;
}

/* --- Promotions Section --- */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-sports__promotions-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__promotion-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px;
  max-width: 800px;
  text-align: left;
}

.page-sports__promotion-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-sports__promotions-button {
  margin-top: 20px;
}

/* --- App Section --- */
.page-sports__app-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-sports__app-section .page-sports__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-sports__app-content {
  flex: 1;
}

.page-sports__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-sports__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-sports__app-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-sports__app-benefit-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-sports__app-benefit-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
}

.page-sports__app-button {
  margin-top: 20px;
}

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

.page-sports__faq-section .page-sports__section-title {
  color: #ffffff;
}

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

.page-sports__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.page-sports__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-sports__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

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

/* --- CTA Section --- */
.page-sports__cta-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
  text-align: center;
}

.page-sports__cta-button {
  margin-top: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__app-section .page-sports__container {
    flex-direction: column;
  }
  .page-sports__app-image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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-buttons {
    padding: 0 15px;
  }
  
  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-sports__paragraph {
    font-size: 0.95em;
  }
  .page-sports__feature-grid, .page-sports__steps-grid, .page-sports__highlight-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__feature-card, .page-sports__step-item, .page-sports__highlight-card {
    padding: 25px;
  }
  .page-sports__feature-icon {
    width: 200px !important;
    height: auto !important;
  }
  .page-sports__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section starts below header */
  }
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-sports__app-section .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__app-image {
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__faq-question {
    padding: 15px 20px;
  }
  .page-sports__faq-answer {
    padding: 0 20px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-sports__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Ensure all content area images are responsive */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Ensure all content containers don't cause horizontal scroll */
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__feature-grid,
  .page-sports__steps-grid,
  .page-sports__highlight-grid,
  .page-sports__faq-list,
  .page-sports__hero-section,
  .page-sports__intro-section,
  .page-sports__features-section,
  .page-sports__guide-section,
  .page-sports__video-section,
  .page-sports__highlights-section,
  .page-sports__promotions-section,
  .page-sports__app-section,
  .page-sports__faq-section,
  .page-sports__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}