/* 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: var(--dark-bg-1); /* Inherited from shared.css, typically dark */
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #0d0d0d; /* Fallback if var(--dark-bg-1) is not dark enough */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.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-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

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

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

/* Video Section */
.page-sports__video-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Darker background for video */
  color: #ffffff;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

.page-sports__video-description {
  text-align: center;
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

/* General Card Styles */
.page-sports__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-sports__card-title {
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-sports__card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Button Styles */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.page-sports__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-sports__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: none;
  padding: 8px 0;
  text-align: center;
  white-space: normal; /* Allow text wrapping for links */
}

.page-sports__btn-link:hover {
  text-decoration: underline;
  color: #1e87b7;
}

/* Feature Section */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-sports__features-section .page-sports__section-title,
.page-sports__features-section .page-sports__section-intro {
  color: #333333;
}

.page-sports__features-section .page-sports__card {
  background: #f8f8f8;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-sports__features-section .page-sports__card-title {
  color: #26A9E0;
}

.page-sports__features-section .page-sports__card-text {
  color: #555555;
}

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

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

/* Types Section */
.page-sports__types-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-sports__type-card .page-sports__card-title {
  color: #26A9E0;
}

.page-sports__type-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-sports__guide-section .page-sports__section-title,
.page-sports__guide-section .page-sports__section-intro {
  color: #333333;
}

.page-sports__guide-section .page-sports__card {
  background: #f8f8f8;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-sports__guide-section .page-sports__card-title {
  color: #26A9E0;
}

.page-sports__guide-section .page-sports__card-text {
  color: #555555;
}

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

.page-sports__step-card {
  position: relative;
  padding-top: 60px; /* Space for step icon */
}

.page-sports__step-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

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

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

/* Security Section */
.page-sports__security-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-sports__security-section .page-sports__section-title,
.page-sports__security-section .page-sports__section-intro {
  color: #333333;
}

.page-sports__security-section .page-sports__card {
  background: #f8f8f8;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-sports__security-section .page-sports__card-title {
  color: #26A9E0;
}

.page-sports__security-section .page-sports__card-text {
  color: #555555;
}

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

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

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-sports__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-sports__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-sports__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Question text color */
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-sports__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-sports__faq-item[open] .page-sports__faq-question .page-sports__faq-toggle {
  content: '−'; /* Change to minus when open */
}

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

.page-sports__cta-section .page-sports__section-title,
.page-sports__cta-section .page-sports__section-intro {
  color: #333333;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-cta-buttons,
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !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-intro {
    font-size: 0.95em;
  }

  /* Mobile image and video responsiveness */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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,
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__feature-grid,
  .page-sports__type-grid,
  .page-sports__guide-steps,
  .page-sports__promo-grid,
  .page-sports__security-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  .page-sports__card {
    padding: 20px;
  }
  .page-sports__card-title {
    font-size: 1.3em;
  }
  .page-sports__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-sports__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

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

/* Color Contrast Fixes (if needed, applying based on prompt's dark background) */
.page-sports__dark-bg {
  color: #ffffff; /* Deep dark background with light text */
  background-color: #1a1a1a;
}

.page-sports__light-bg {
  color: #333333; /* Light background with dark text */
  background-color: #ffffff;
}

/* Ensure all images are content images, not small icons */
.page-sports img {
  min-width: 200px;
  min-height: 200px;
}