.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
}

/* Ensure main content has padding to avoid header overlap */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Desktop and mobile offset */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
}

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

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

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

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
}

.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-sports__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__dark-bg .page-sports__section-title {
  color: #ffffff;
}

.page-sports__dark-bg .page-sports__section-description {
  color: #f0f0f0;
}

.page-sports__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-sports__hero-section .page-sports__btn-secondary {
  color: #ffffff;
  border-color: #ffffff;
}

.page-sports__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-sports__light-bg .page-sports__btn-secondary {
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-sports__light-bg .page-sports__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Intro Video Section */
.page-sports__intro-video-section {
  padding: 60px 0;
  text-align: center;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto 30px;
  background-color: #000;
  border-radius: 10px;
}

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

.page-sports__video-cta {
    margin-top: 20px;
}

/* Features Section */
.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.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__feature-icon {
  width: 100%; /* Ensure images fill card width */
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-sports__feature-text {
  color: #f0f0f0;
}

/* Sports Types Section */
.page-sports__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__sports-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
}

.page-sports__sports-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-sports__sports-title {
  font-size: 1.4em;
  margin: 20px 0 10px;
}

.page-sports__sports-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-sports__sports-text {
  padding: 0 20px 20px;
  color: #555555;
}

/* Promotions Section */
.page-sports__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-sports__promotion-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-sports__promotion-text {
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* App Download Section */
.page-sports__app-content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

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

.page-sports__app-image-container {
  flex: 1;
  min-width: 300px;
  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-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-sports__app-features li {
  background: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2326A9E0"%3e%3cpath d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/%3e%3c/svg%3e') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #555555;
}

/* FAQ Section */
.page-sports__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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 20px;
  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: 20px !important;
}

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

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

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

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

  .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__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__container,
  .page-sports__intro-video-section .page-sports__container,
  .page-sports__features-section .page-sports__container,
  .page-sports__sports-types-section .page-sports__container,
  .page-sports__promotions-section .page-sports__container,
  .page-sports__app-download-section .page-sports__container,
  .page-sports__faq-section .page-sports__container,
  .page-sports__cta-section .page-sports__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-sports__section-description {
    font-size: 0.95em;
  }

  .page-sports__video-wrapper {
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__features-grid,
  .page-sports__sports-grid,
  .page-sports__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-sports__app-content-wrapper {
    flex-direction: column;
  }

  .page-sports__app-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__faq-question h3 {
    font-size: 1.1em;
  }

  /* Content area image responsive */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

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

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

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

  .page-sports__faq-question h3 {
    font-size: 1em;
  }
}