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

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

.page-sports__hero-section {
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF; /* Light text for dark hero background */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-sports__btn--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for primary button */
  border: 2px solid #FCBC45;
}

.page-sports__btn--primary:hover {
  background-color: #FFFFFF; /* White on hover */
  color: #000000;
  transform: translateY(-2px);
}

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

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

.page-sports__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #000000;
  color: #FCBC45;
  border: 1px solid #FCBC45;
}

.page-sports__btn--small:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-sports__btn--cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 20px 40px;
  font-size: 1.4em;
  border-radius: 10px;
}

.page-sports__btn--cta:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: scale(1.05);
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

/* About Section */
.page-sports__about-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

/* Features Section */
.page-sports__features-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-sports__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-icon {
  width: 250px; /* Min 200px */
  height: 187px; /* Maintain aspect ratio for 800x600 */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 2px solid #FCBC45;
}

.page-sports__card-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-sports__card-description {
  font-size: 1em;
  color: #555555;
  text-align: center;
}

.page-sports__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Sports Categories Section */
.page-sports__sports-categories {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-sports__category-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-sports__category-item {
  background-color: #000000; /* Dark background for categories */
  color: #FFFFFF; /* Light text for dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-sports__category-heading {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-sports__category-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-sports__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__guide-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-sports__guide-heading {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-sports__guide-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Mobile App Section */
.page-sports__mobile-app-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #FFFFFF;
}

.page-sports__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-sports__mobile-app-text {
  flex: 1;
  min-width: 300px;
}

.page-sports__mobile-app-text .page-sports__section-title {
  color: #FCBC45;
  text-align: left;
}

.page-sports__mobile-app-text .page-sports__section-title::after {
  left: 0;
  transform: translateX(0);
}

.page-sports__mobile-app-text .page-sports__paragraph {
  color: #e0e0e0;
  text-align: left;
}

.page-sports__mobile-app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-sports__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  width: 400px; /* HTML width 400 */
  height: 300px; /* HTML height 300 */
  object-fit: cover;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-sports__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-sports__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FCBC45;
}

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

.page-sports__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-sports__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
}

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #FFFFFF;
  text-align: center;
}

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

.page-sports__cta-section .page-sports__section-title::after {
  background-color: #FCBC45;
}

.page-sports__cta-section .page-sports__paragraph {
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@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;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 60px 0;
  }

  .page-sports__hero-title {
    font-size: 2.5em;
  }

  .page-sports__hero-description {
    font-size: 1.1em;
  }

  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-sports__section-title {
    font-size: 1.8em;
  }

  .page-sports__features-grid,
  .page-sports__category-list,
  .page-sports__guide-list {
    grid-template-columns: 1fr;
  }

  .page-sports__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__mobile-app-text .page-sports__section-title,
  .page-sports__mobile-app-text .page-sports__section-title::after,
  .page-sports__mobile-app-text .page-sports__paragraph {
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
  }

  .page-sports__mobile-app-image {
    width: 300px; /* Ensure mobile image is not too wide */
    height: 225px;
  }
  
  /* Critical: Ensure all images in content area are responsive and not smaller than 200px */
  .page-sports img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-sports__feature-icon, .page-sports__mobile-app-image {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto width to scale with max-width: 100% */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }

  .page-sports__hero-description {
    font-size: 1em;
  }

  .page-sports__btn--cta {
    padding: 15px 30px;
    font-size: 1.2em;
  }
}

/* Ensure content area images are not smaller than 200px on desktop either */
.page-sports__feature-icon,
.page-sports__mobile-app-image {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no filter is applied to images */
.page-sports img {
  filter: none; /* Explicitly remove any potential filter */
}