.page-sports {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  padding-bottom: 60px;
  color: #ffffff;
}

.page-sports__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
  font-weight: bold;
}

.page-sports__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-sports__hero-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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

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

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

.page-sports__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

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

.page-sports__why-choose-section,
.page-sports__live-betting-section,
.page-sports__mobile-app-section,
.page-sports__faq-section {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
  padding: 80px 0;
}

.page-sports__sports-categories-section,
.page-sports__promotions-section,
.page-sports__payment-security-section,
.page-sports__join-us-cta {
  background-color: #0a0a0a; /* Main body dark background */
  color: #ffffff;
  padding: 80px 0;
}

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

.page-sports__feature-item,
.page-sports__category-card,
.page-sports__promo-card {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

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

.page-sports__feature-icon,
.page-sports__category-image,
.page-sports__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__feature-heading,
.page-sports__category-heading,
.page-sports__promo-heading {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
  font-weight: bold;
}

.page-sports__category-heading a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__category-heading a:hover {
  text-decoration: underline;
}

.page-sports__feature-text,
.page-sports__category-text,
.page-sports__promo-text {
  font-size: 1em;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-sports__app-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-sports__app-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-sports__app-features {
  max-width: 500px;
  color: #ffffff;
}

.page-sports__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-sports__feature-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2326A9E0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.93"></path><path d="M22 4L12 14.01l-3-3"></path></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-sports__payment-methods {
  text-align: center;
  margin-top: 50px;
}

.page-sports__payment-image {
  max-width: 1000px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-sports__payment-text {
  font-size: 1.1em;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 50px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-sports__live-betting-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
  text-align: center;
}

.page-sports__live-betting-features .page-sports__feature-item {
  flex: 1;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  color: #ffffff;
}

.page-sports__live-betting-features .page-sports__feature-heading {
  color: #26A9E0;
  font-size: 1.4em;
}

.page-sports__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white card background */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

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

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

.page-sports__faq-heading {
  margin: 0;
  color: #ffffff;
  font-size: 1.15em;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  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: #f0f0f0;
  font-size: 1em;
  line-height: 1.6;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 25px 25px;
}

.page-sports__join-us-cta {
  text-align: center;
  padding: 100px 20px;
}

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

  .page-sports__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-sports__hero-title {
    font-size: 2.5em;
  }

  .page-sports__hero-description {
    font-size: 1em;
  }

  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__container {
    padding: 20px 15px;
  }

  .page-sports__section-title {
    font-size: 1.8em;
  }

  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-sports__features-grid,
  .page-sports__category-grid,
  .page-sports__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__feature-item,
  .page-sports__category-card,
  .page-sports__promo-card {
    padding: 20px;
  }

  .page-sports__feature-icon,
  .page-sports__category-image,
  .page-sports__promo-image,
  .page-sports__app-image,
  .page-sports__payment-image,
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-sports__app-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-sports__app-features,
  .page-sports__live-betting-features .page-sports__feature-item {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-sports__video-wrapper {
    padding-bottom: 56.25%; /* Maintain aspect ratio */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-sports__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile video section padding */
  }

  .page-sports__live-betting-features {
    flex-direction: column;
    gap: 20px;
  }

  .page-sports__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }

  .page-sports__faq-answer {
    padding: 0 20px;
  }

  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
  }

  .page-sports__cta-buttons a {
    width: 100%;
    max-width: 100% !important;
  }
}

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

  .page-sports__section-title {
    font-size: 1.6em;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px;
  }
}