/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
  background-color: #08160F; /* Custom Background color */
  color: #F2FFF6; /* Custom Text Main color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-sports__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__section-description {
  font-size: clamp(1em, 2vw, 1.2em);
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  position: relative;
  overflow: hidden;
  background-color: #08160F; /* Ensure background consistency */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-sports__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
  margin-top: -80px; /* Pull content slightly over image for visual flow */
  position: relative; /* Ensure z-index works */
}

.page-sports__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-sports__description {
  font-size: clamp(1.1em, 2.2vw, 1.4em);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button color */
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-sports__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green from button gradient for contrast */
  border: 2px solid #2AD16F;
}

.page-sports__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-sports__about-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-sports__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-sports__feature-icon {
  width: 100%;
  height: auto;
  display: block;
  max-width: 250px;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-sports__feature-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-sports__feature-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Video Section */
.page-sports__video-section {
  padding: 80px 0;
  background-color: #08160F;
  text-align: center;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 40px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #2E7A4E; /* Border color */
  box-sizing: border-box;
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-sports__cta-video {
  margin-top: 20px;
}

/* Categories Section */
.page-sports__categories-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-sports__category-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  text-align: center;
}

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

.page-sports__category-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-sports__category-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px 20px;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-sports__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-sports__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-sports__promo-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-sports__promo-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px;
  flex-grow: 1;
}

.page-sports__btn-text-link {
  display: inline-block;
  color: #2AD16F; /* Green from button gradient */
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  padding: 10px 15px 20px;
  transition: color 0.3s ease;
}

.page-sports__btn-text-link:hover {
  color: #57E38D; /* Glow */
}

.page-sports__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

/* How to Start Section */
.page-sports__how-to-start-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-sports__step-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-sports__step-icon {
  width: 100%;
  height: auto;
  display: block;
  max-width: 150px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #57E38D; /* Glow */
}

.page-sports__step-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-sports__step-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

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

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

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

.page-sports__app-features-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-sports__app-features-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%232AD16F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1em;
}

.page-sports__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__app-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #2E7A4E; /* Border color */
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #1E3A2A; /* Darker shade for question */
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: #2E7A4E;
}

.page-sports__faq-item[open] .page-sports__faq-question {
  background-color: #2E7A4E;
}

.page-sports__faq-qtext {
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-sports__faq-item details > summary::-webkit-details-marker { display: none; }
.page-sports__faq-item details > summary { list-style: none; }

.page-sports__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-sports__faq-answer p {
  margin-top: 10px;
}

.page-sports__faq-answer a {
  color: #57E38D; /* Glow for links */
  text-decoration: none;
}

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

/* Final CTA Section */
.page-sports__final-cta-section {
  padding: 80px 0;
  background-color: #08160F;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-sports__hero-content {
    margin-top: -60px;
  }
  .page-sports__mobile-app-section .page-sports__container {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__app-features-list {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-sports__container {
    padding: 0 15px !important;
  }
  .page-sports__section-title {
    font-size: 2em !important;
  }
  .page-sports__section-description {
    font-size: 0.95em !important;
  }

  /* Hero Section */
  .page-sports__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
  .page-sports__hero-content {
    margin-top: -40px !important;
    padding: 20px 15px !important;
  }
  .page-sports__main-title {
    font-size: 2em !important;
  }
  .page-sports__description {
    font-size: 1em !important;
  }
  .page-sports__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* All images */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* All image containers */
  .page-sports__hero-image-wrapper,
  .page-sports__feature-card,
  .page-sports__category-card,
  .page-sports__promo-card,
  .page-sports__step-card,
  .page-sports__app-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* All videos */
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* All video containers */
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__video-section {
    padding-top: 10px !important;
  }

  /* Sections padding */
  .page-sports__about-section,
  .page-sports__video-section,
  .page-sports__categories-section,
  .page-sports__promotions-section,
  .page-sports__how-to-start-section,
  .page-sports__mobile-app-section,
  .page-sports__faq-section,
  .page-sports__final-cta-section {
    padding: 40px 0 !important;
  }

  /* Feature/Category/Promo/Step Cards */
  .page-sports__features-grid,
  .page-sports__categories-grid,
  .page-sports__promotions-grid,
  .page-sports__steps-grid {
    gap: 20px !important;
  }

  .page-sports__feature-title,
  .page-sports__category-title,
  .page-sports__promo-title,
  .page-sports__step-title {
    font-size: 1.4em !important;
  }

  .page-sports__app-features-list li {
    font-size: 1em !important;
  }

  .page-sports__faq-question {
    font-size: 1em !important;
    padding: 15px !important;
  }
  .page-sports__faq-answer {
    padding: 0 15px 15px !important;
  }
}

@media (max-width: 480px) {
  .page-sports__main-title {
    font-size: 1.8em !important;
  }
  .page-sports__description {
    font-size: 0.9em !important;
  }
  .page-sports__section-title {
    font-size: 1.8em !important;
  }
}