.page-sports {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with shared.css body background */
}

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

.page-sports__section-title {
  font-size: 3em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__section-description {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow: hidden;
  background-color: #000080; /* Auxiliary color as background */
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-title {
  font-size: 4em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-description {
  font-size: 1.5em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background-color: #FFD700;
  color: #000080; /* Ensure contrast on gold background */
  border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
  background-color: #e6c200;
  color: #000050;
  transform: translateY(-3px);
}

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

.page-sports__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080; /* Ensure contrast on gold background */
  transform: translateY(-3px);
}

/* Why Choose Us Section */
.page-sports__why-choose-us {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background for light text */
  color: #ffffff;
}

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

.page-sports__feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-sports__feature-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

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

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

.page-sports__feature-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Betting Options Section */
.page-sports__betting-options {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly different dark background */
  color: #ffffff;
}

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

.page-sports__option-card {
  background: rgba(0, 0, 128, 0.5); /* Semi-transparent auxiliary color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-sports__option-title {
  font-size: 2em;
  color: #FFD700;
  padding: 20px 20px 10px;
}

.page-sports__option-text {
  font-size: 1em;
  color: #e0e0e0;
  padding: 0 20px 20px;
  line-height: 1.6;
}

/* Live Betting Section */
.page-sports__live-betting {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-sports__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-sports__text-block {
  flex: 1;
  min-width: 300px;
}

.page-sports__text-block p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-sports__video-wrapper {
  flex: 1;
  min-width: 300px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  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%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-sports__video-caption {
  text-align: center;
  font-size: 0.9em;
  color: #cccccc;
  margin-top: 10px;
}

/* Promotions Section */
.page-sports__promotions {
  padding: 80px 0;
  background-color: #000080; /* Auxiliary color as background */
  color: #ffffff;
}

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

.page-sports__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

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

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

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

.page-sports__promo-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Get Started Section */
.page-sports__get-started {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-sports__step-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__step-number {
  font-size: 3em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 10px;
}

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

.page-sports__step-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
}

.page-sports__cta-buttons--center {
  text-align: center;
}

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

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

.page-sports__faq-item {
  background: rgba(255, 255, 255, 0.05);
  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 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.page-sports__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-sports__faq-title {
  font-size: 1.3em;
  color: #FFD700;
  margin: 0;
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.8em;
  color: #FFD700;
  font-weight: bold;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.03);
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-sports__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* Final CTA Section */
.page-sports__final-cta {
  padding: 80px 0;
  background-color: #000080; /* Auxiliary color as background */
  color: #ffffff;
  text-align: center;
}

.page-sports__cta-content {
  max-width: 800px;
}

.page-sports__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

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

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__hero-section {
    min-height: 70vh;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-sports__hero-content {
    padding: 15px;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__section-description {
    font-size: 1em;
  }
  .page-sports__features-grid,
  .page-sports__options-grid,
  .page-sports__promos-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__content-wrapper {
    flex-direction: column;
  }
  .page-sports__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__feature-item,
  .page-sports__option-card,
  .page-sports__promo-card,
  .page-sports__step-item,
  .page-sports__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__faq-question {
    padding: 15px 20px;
  }
  .page-sports__faq-title {
    font-size: 1.1em;
  }
  .page-sports__faq-answer {
    padding: 10px 20px 20px;
  }
}