/* style/sports.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0d0d0d; /* Assuming shared.css body bg is dark */
  --bg-light: #f8f8f8;
  --border-color: #e0e0e0;
}

.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Assuming body background is dark from shared.css */
  padding-top: 120px; /* Adjust for fixed header */
}

.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 15px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.page-sports__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-dark);
}

.page-sports__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-sports__cta-button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-sports__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-sports__cta-button--large {
  padding: 18px 45px;
  font-size: 20px;
}

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

.page-sports__cta-buttons--centered {
  margin-top: 50px;
}

/* Video Section */
.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header, as per prompt */
  background: #1a1a1a;
}

.page-sports__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none;
}

.page-sports__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-sports__video-link:hover .page-sports__video-overlay {
  opacity: 1;
}

.page-sports__video-click-hint {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  padding: 12px 25px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 50px;
  white-space: nowrap;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.page-sports__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-sports__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-sports__play-now-button:hover {
  background: #a30000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-sports__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Title Section */
.page-sports__title-section {
  background: linear-gradient(135deg, #1a1a1a, #000000);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-sports__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.page-sports__title-description {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.page-sports__features-section {
  background: #111111;
  padding: 80px 20px;
}

.page-sports__features-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-sports__feature-item {
  background: #222222;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-sports__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

.page-sports__feature-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__feature-description {
  font-size: 16px;
  color: #b0b0b0;
}

/* FAQ Section */
.page-sports__faq-section {
  background: #0d0d0d;
  padding: 80px 20px;
}

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

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  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: 18px 25px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sports__faq-question:hover {
  background: #2a2a2a;
  border-color: var(--primary-color);
}

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Change to X or similar */
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #222222;
  color: #cccccc;
  border-radius: 0 0 8px 8px;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

/* Brand Section */
.page-sports__brand-section {
  background: #111111;
  padding: 80px 20px;
}

.page-sports__brand-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-sports__brand-item {
  background: #222222;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-sports__brand-title-item {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__brand-description {
  font-size: 16px;
  color: #b0b0b0;
}

/* Blog Section */
.page-sports__blog-section {
  background: #0d0d0d;
  padding: 80px 20px;
}

.page-sports__blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-sports__blog-item {
  background: #222222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-sports__blog-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-sports__blog-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

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

.page-sports__blog-item-title {
  font-size: 20px;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  margin: 0;
  font-weight: bold;
}

.page-sports__blog-item-excerpt {
  font-size: 15px;
  color: #b0b0b0;
  padding: 0 20px 15px;
  margin: 0;
}

.page-sports__blog-item-date {
  display: block;
  font-size: 13px;
  color: #777777;
  padding: 0 20px 20px;
  text-align: right;
}

/* Call to Action Section */
.page-sports__call-to-action {
  background: linear-gradient(90deg, var(--secondary-color), #a30000);
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-sports__call-to-action-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-sports__call-to-action-title {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-sports__call-to-action-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: 42px;
  }
  .page-sports__section-title {
    font-size: 32px;
  }
  .page-sports__brand-content {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-sports {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-sports__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-sports__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px;
    overflow: hidden !important;
  }

  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: contain;
  }

  .page-sports__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-sports__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__video-click-hint {
    font-size: 16px !important;
    padding: 10px 20px !important;
  }

  .page-sports__title-section,
  .page-sports__features-section,
  .page-sports__faq-section,
  .page-sports__brand-section,
  .page-sports__blog-section,
  .page-sports__call-to-action {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports__main-title {
    font-size: 32px;
  }

  .page-sports__title-description {
    font-size: 16px;
  }

  .page-sports__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-sports__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .page-sports__feature-item,
  .page-sports__brand-item,
  .page-sports__blog-item {
    padding: 25px;
  }

  .page-sports__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-sports__feature-title {
    font-size: 20px;
  }

  .page-sports__faq-question {
    padding: 15px 20px;
  }

  .page-sports__faq-question h3 {
    font-size: 16px;
  }

  .page-sports__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

  .page-sports__faq-answer {
    padding: 15px 20px !important;
  }

  .page-sports__blog-item-image {
    height: 180px;
  }

  .page-sports__blog-item-title {
    font-size: 18px;
  }

  .page-sports__blog-item-excerpt {
    font-size: 14px;
  }

  .page-sports__call-to-action-title {
    font-size: 32px;
  }

  .page-sports__call-to-action-description {
    font-size: 16px;
  }

  .page-sports img, .page-sports video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__features-grid,
  .page-sports__blog-list,
  .page-sports__brand-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-sports__main-title {
    font-size: 28px;
  }

  .page-sports__section-title {
    font-size: 24px;
  }

  .page-sports__call-to-action-title {
    font-size: 28px;
  }
}

/* Ensure all images are responsive and do not use filter */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no image filters are applied */
}

/* Ensure all video elements are responsive */
.page-sports video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General container padding for mobile */
.page-sports > section > div {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Overwrite specific section paddings if needed to ensure no horizontal scroll */
.page-sports__title-section .page-sports__title-container,
.page-sports__features-section .page-sports__features-container,
.page-sports__faq-section .page-sports__faq-container,
.page-sports__brand-section .page-sports__brand-container,
.page-sports__blog-section .page-sports__blog-container,
.page-sports__call-to-action .page-sports__call-to-action-container {
  padding-left: 0;
  padding-right: 0;
}