/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-sports__dark-bg {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #017439;
  color: #ffffff;
}

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

.page-sports__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 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.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* General Section Styles */
.page-sports__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: inherit;
}

/* 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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-sports__btn-primary {
  background-color: #C30808; /* Specific color for Register/Login */
  color: #FFFF00; /* Specific font color for Register/Login */
  border: 2px solid #C30808;
}

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

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

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

/* Light background buttons adjustment */
.page-sports__light-bg .page-sports__btn-secondary {
  color: #017439;
  border-color: #017439;
}

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

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

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

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

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

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

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

.page-sports__category-title {
  font-size: 1.5em;
  padding: 15px 10px 5px 10px;
  color: #017439;
}

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

/* Truth Points */
.page-sports__truth-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__point-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-sports__point-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-sports__read-more-center {
  text-align: center;
  margin-top: 40px;
}

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

.page-sports__step-item {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
  background: #e0f2f1;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.page-sports__step-button {
  width: 100%;
  max-width: 200px;
  margin-top: auto;
}

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

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

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

.page-sports__promotion-title {
  font-size: 1.5em;
  padding: 15px 10px 5px 10px;
  color: #ffffff;
}

.page-sports__promotion-text {
  font-size: 1em;
  padding: 0 15px 20px 15px;
  color: #f0f0f0;
}

/* Mobile App Content */
.page-sports__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-sports__mobile-app-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-sports__mobile-app-subtitle {
  font-size: 2em;
  margin-bottom: 15px;
  color: #017439;
}

.page-sports__mobile-app-text p {
  margin-bottom: 25px;
  color: #555555;
}

.page-sports__mobile-app-text .page-sports__btn-primary,
.page-sports__mobile-app-text .page-sports__btn-secondary {
  margin-right: 15px;
  margin-bottom: 10px; /* For stacking on mobile */
}

/* Responsible List */
.page-sports__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: center;
}

.page-sports__responsible-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  display: inline-block;
  margin-right: 10px;
  margin-left: 10px;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
}

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  color: #017439;
  border-bottom: 1px solid #eee;
}

.page-sports__faq-question:hover {
  background: #f0f0f0;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(0deg);
}

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

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-sports__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Section */
.page-sports__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #017439;
  color: #ffffff;
}

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

.page-sports__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 40px;
  }
  .page-sports__hero-title {
    font-size: 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__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-description {
    font-size: 0.95em;
  }
  .page-sports__features-grid,
  .page-sports__sports-categories,
  .page-sports__truth-points,
  .page-sports__steps-grid,
  .page-sports__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__mobile-app-image {
    max-width: 100%;
  }
  .page-sports__mobile-app-text .page-sports__btn-primary,
  .page-sports__mobile-app-text .page-sports__btn-secondary {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-sports__responsible-item {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 90%;
  }
  .page-sports__cta-title {
    font-size: 2em;
  }
  .page-sports__cta-description {
    font-size: 1em;
  }

  /* Mobile image and video specific overrides */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__section,
  .page-sports__card,
  .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

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