.page-sports {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #f0f0f0;
  overflow: hidden;
}

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

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold primary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-sports__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Primary gold color */
  color: #8B0000; /* Dark red secondary color for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-sports__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-sports__cta-button--secondary {
  background-color: #8B0000; /* Secondary dark red color */
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #FFD700;
}

.page-sports__cta-button--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Dark red secondary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold primary color */
  border-radius: 2px;
}

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

.page-sports__about-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-sports__features-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-sports__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
}

.page-sports__feature-icon {
  width: 200px; /* Minimum 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
}

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

.page-sports__popular-sports-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-sports__sport-card {
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-sports__sport-card:hover {
  transform: translateY(-10px);
}

.page-sports__sport-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-sports__sport-title {
  font-size: 1.8em;
  color: #8B0000;
  padding: 15px 20px 5px;
}

.page-sports__sport-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 15px;
}

.page-sports__sport-button {
  display: block;
  background-color: #FFD700;
  color: #8B0000;
  text-align: center;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports__sport-button:hover {
  background-color: #e6c200;
}

.page-sports__app-download-section {
  padding: 80px 0;
  background-color: #8B0000; /* Dark red background */
  color: #ffffff;
}

.page-sports__app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

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

.page-sports__app-text-content .page-sports__section-title {
  color: #FFD700;
  text-align: left;
}

.page-sports__app-text-content .page-sports__section-title::after {
  background-color: #FFD700;
  left: 0;
  transform: translateX(0);
}

.page-sports__app-text-content .page-sports__section-text {
  color: #f0f0f0;
  text-align: left;
}

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

.page-sports__app-image {
  width: 400px; /* Display width */
  height: 600px; /* Display height */\  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-sports__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-sports__faq-accordion {
  margin-top: 30px;
}

.page-sports__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  font-size: 1.2em;
  color: #333333;
  padding: 18px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #fdfdfd;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
}

.page-sports__faq-question.active::after {
  content: '-';
}

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

.page-sports__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding: 15px 25px 20px;
}

.page-sports__faq-answer a {
  color: #8B0000; /* Dark red for internal links */
  text-decoration: underline;
}

.page-sports__faq-answer a:hover {
  color: #FFD700;
}

.page-sports__cta-banner {
  background: linear-gradient(90deg, #8B0000, #FFD700); /* Gradient background */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

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

.page-sports__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-sports__cta-button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: none;
}

.page-sports__cta-button--primary:hover {
  background-color: #e6c200;
}

@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__app-text-content .page-sports__section-title,
  .page-sports__app-text-content .page-sports__section-title::after {
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
  }
  .page-sports__app-text-content .page-sports__section-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 60px 15px;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-text {
    font-size: 1em;
  }
  .page-sports__features-grid,
  .page-sports__sports-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__sport-image {
    height: 200px;
  }
  .page-sports__app-image {
    width: 300px;
    height: 450px;
  }
  .page-sports__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-sports__faq-question::after {
    right: 20px;
  }
  .page-sports__cta-banner {
    padding: 60px 15px;
  }
  .page-sports__cta-title {
    font-size: 2em;
  }
  .page-sports__cta-text {
    font-size: 1em;
  }
  /* Mobile content area image constraints */
  .page-sports img {
    max-width: 100%;
    height: auto; /* Ensure images scale down correctly */
  }
  .page-sports__feature-icon, .page-sports__app-image {
    width: 100%; /* Ensure these images are responsive */
    height: auto;
    max-width: 300px; /* Prevent them from becoming too large on small screens */
    margin-left: auto;
    margin-right: auto;
  }
  .page-sports__feature-icon {
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__cta-title {
    font-size: 1.8em;
  }
}