.page-sports {
  color: #333333; /* Dark text for default (white) body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-sports__section-title {
  color: #3A1C71; /* Main brand color */
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  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: #D72638; /* Auxiliary brand color */
  border-radius: 2px;
}

.page-sports__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__text-content--small {
  font-size: 0.9em;
  margin-top: 30px;
}

.page-sports__text-content a {
  color: #3A1C71;
  text-decoration: underline;
}

.page-sports__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.page-sports__btn--primary {
  background-color: #D72638; /* Auxiliary brand color */
  color: #ffffff;
  border: 2px solid #D72638;
}

.page-sports__btn--primary:hover {
  background-color: #bb1f2e;
  transform: translateY(-2px);
}

.page-sports__btn--secondary {
  background-color: transparent;
  color: #3A1C71; /* Main brand color */
  border: 2px solid #3A1C71;
}

.page-sports__btn--secondary:hover {
  background-color: #3A1C71;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-sports__btn--center {
  display: block;
  margin: 30px auto 0;
  width: fit-content;
}

/* Hero Section */
.page-sports__hero-section {
  background: linear-gradient(135deg, #3A1C71 0%, #68308d 100%); /* Gradient with main color */
  padding: 80px 20px 0; /* Adjusted padding to prevent double top margin with main padding-top */
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.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.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__hero-image-wrapper {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum width */
  min-height: 200px; /* Enforce minimum height */
}

/* About Section */
.page-sports__about-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 0;
}

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

.page-sports__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-sports__feature-icon {
  width: 100%; /* Ensure images take full width of card */
  max-width: 600px; /* Constrain max width for larger screens */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum width */
  min-height: 200px; /* Enforce minimum height */
}

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

.page-sports__feature-description {
  font-size: 1em;
  color: #555555;
  text-align: left;
}

/* Betting Guide Section */
.page-sports__betting-guide-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-sports__guide-step {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.page-sports__guide-step:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-sports__guide-step-title {
  color: #D72638;
  font-size: 1.4em;
  margin-bottom: 15px;
  text-align: center;
}

.page-sports__guide-step-description {
  font-size: 1em;
  color: #555555;
  text-align: left;
}

/* Live Scores Section */
.page-sports__live-scores-section {
  padding: 80px 0;
}

.page-sports__live-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-sports__live-text {
  flex: 1;
}

.page-sports__live-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-sports__live-image {
  width: 100%;
  max-width: 800px; /* Constrain max width for larger screens */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  min-width: 200px; /* Enforce minimum width */
  min-height: 200px; /* Enforce minimum height */
}

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

.page-sports__promotions-section--alt {
  background-color: #3A1C71; /* Main brand color for alternate background */
  color: #ffffff;
}

.page-sports__promotions-section--alt .page-sports__section-title {
  color: #ffffff;
}

.page-sports__promotions-section--alt .page-sports__section-title::after {
  background-color: #D72638; /* Auxiliary for underline */
}

.page-sports__promotions-section--alt .page-sports__text-content {
  color: #e0e0e0;
}

.page-sports__promotions-section--alt .page-sports__promo-title {
  color: #D72638;
}

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

.page-sports__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-sports__promotions-section--alt .page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__promotions-section--alt .page-sports__promo-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__promo-title {
  color: #3A1C71;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-sports__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-sports__promotions-section--alt .page-sports__promo-description {
  color: #e0e0e0;
}

/* Download CTA Section */
.page-sports__download-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #D72638 0%, #ff5722 100%); /* Gradient with auxiliary color */
  color: #ffffff;
  text-align: center;
}

.page-sports__download-cta-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__download-cta-section .page-sports__section-title::after {
  background-color: #3A1C71; /* Main color for underline */
}

.page-sports__download-cta-section .page-sports__text-content {
  color: #f0f0f0;
}

.page-sports__download-options {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-sports__btn--download {
  background-color: #ffffff;
  color: #3A1C71;
  border: 2px solid #ffffff;
  padding: 15px 25px;
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__btn--download img {
   /* Adjusted icon size for buttons */
  
  margin-right: 10px;
  vertical-align: middle;
  object-fit: contain;
  min-width: unset; /* Allow smaller for icons within buttons */
  min-height: unset; /* Allow smaller for icons within buttons */
}

.page-sports__btn--download:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-sports__download-cta-section .page-sports__text-content a {
  color: #ffffff;
  text-decoration: underline;
}

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

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

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

.page-sports__faq-question {
  background-color: #3A1C71;
  color: #ffffff;
  padding: 20px 25px;
  font-size: 1.2em;
  cursor: pointer;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: #4a2b8e;
}

.page-sports__faq-question::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-sports__faq-item--active .page-sports__faq-question::after {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  display: none;
  text-align: left;
}

.page-sports__faq-item--active .page-sports__faq-answer {
  display: block;
}

.page-sports__faq-answer a {
  color: #D72638;
  text-decoration: underline;
}

/* Contact Section */
.page-sports__contact-section {
  padding: 80px 0;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__live-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-sports__live-text, .page-sports__live-image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-sports__live-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-sports {
    padding-top: var(--header-offset, 80px); /* Adjust padding for mobile header */
  }
  .page-sports__hero-section {
    padding: 60px 15px 0;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
  }
  .page-sports__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-sports__text-content {
    font-size: 1em;
    text-align: left;
  }
  .page-sports__features-grid, .page-sports__betting-guide-section .page-sports__guide-steps, .page-sports__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__feature-card, .page-sports__guide-step, .page-sports__promo-card {
    padding: 25px;
  }
  .page-sports__feature-icon, .page-sports__live-image {
    max-width: 100%; /* Important for mobile overflow */
    height: auto;
  }
  .page-sports__download-options {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn--download {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-sports__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-sports__faq-answer {
    padding: 15px 20px;
  }
  .page-sports__contact-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all content area images are not smaller than 200px and handle overflow */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-description {
    font-size: 0.95em;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__btn {
    font-size: 1em;
    padding: 12px 20px;
  }
}