/* style/sports.css */
.page-sports {
  color: #ffffff; /* Text color for dark background */
  background-color: var(--secondary-color, #000000);
}

.page-sports__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-sports__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

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

.page-sports__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

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

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-sports__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-sports__button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-sports__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-sports__button--login:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

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

.page-sports__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-sports__section-intro {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-sports__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-sports__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Enhance icon visibility */
}

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

.page-sports__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

.page-sports__jili-integration-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

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

.page-sports__jili-text-content {
  flex: 1;
  min-width: 300px;
}

.page-sports__jili-text-content .page-sports__section-title {
  text-align: left;
  color: #FFFFFF;
}

.page-sports__jili-text-content .page-sports__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}

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

.page-sports__jili-benefits-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #f0f0f0;
}

.page-sports__jili-benefits-list li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-sports__button--jili {
  background-color: #FCBC45;
  color: #000000;
}

.page-sports__button--jili:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

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

.page-sports__jili-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-sports__cta-section {
  background-color: #000000;
  padding: 80px 0;
  text-align: center;
}

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

.page-sports__cta-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-sports__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #cccccc;
}

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

.page-sports__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-sports__button--primary:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

.page-sports__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
}

.page-sports__button--secondary:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-sports__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
}

.page-sports__faq-question {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-sports__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

.page-sports__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-sports__faq-answer a:hover {
  text-decoration: underline;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 60px;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__button {
    width: 100%;
    max-width: 280px;
  }
  .page-sports__container {
    padding: 30px 15px;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-intro {
    font-size: 1em;
  }
  .page-sports__features-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__jili-content-wrapper {
    flex-direction: column;
  }
  .page-sports__jili-text-content .page-sports__section-title {
    text-align: center;
  }
  .page-sports__jili-text-content .page-sports__section-intro {
    text-align: center;
  }
  .page-sports__cta-title {
    font-size: 2.5em;
  }
  .page-sports__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all images within .page-sports are responsive */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
  /* Specific override for feature icons to ensure minimum size is not violated by smaller images */
  .page-sports__feature-icon {
    width: 200px; /* Enforce minimum width */
    height: auto;
    max-width: 100%; /* Allow scaling down if container is smaller */
  }
  .page-sports__jili-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__feature-title {
    font-size: 1.4em;
  }
  .page-sports__cta-title {
    font-size: 2em;
  }
  .page-sports__faq-question {
    font-size: 1.2em;
  }
}