.page-sports {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-sports__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-sports__hero-container {
  position: relative;
  z-index: 2;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
}

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

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

.page-sports__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-sports__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-sports__btn--primary {
  background-color: #FFD700;
  color: #1A2E44;
  border: 2px solid #FFD700;
}

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

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

.page-sports__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-sports__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-sports__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #1A2E44;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-sports__features-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

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

.page-sports__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-sports__feature-icon {
  width: 250px; /* Enforce min-width for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-sports__feature-description {
  color: #666666;
  font-size: 0.95em;
}

.page-sports__betting-markets {
  padding: 60px 0;
}

.page-sports__market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.page-sports__market-item {
  background-color: #1A2E44;
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-sports__market-item:hover {
  transform: translateY(-5px);
}

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

.page-sports__market-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-sports__market-cta {
  margin-top: 30px;
}

.page-sports__guide-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-sports__guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.page-sports__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-sports__guide-title {
  font-size: 1.4em;
  color: #1A2E44;
  margin-bottom: 15px;
}

.page-sports__guide-title a {
  color: #1A2E44;
  text-decoration: none;
}

.page-sports__guide-title a:hover {
  color: #FFD700;
}

.page-sports__guide-description {
  color: #666666;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__guide-cta {
  margin-top: 30px;
}

.page-sports__live-betting-section {
  padding: 60px 0;
  text-align: center;
}

.page-sports__live-betting-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-sports__live-betting-cta {
  margin-top: 20px;
}

.page-sports__cta-section {
  background-color: #1A2E44;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-sports__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-sports__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-sports__cta-section .page-sports__btn {
  margin: 10px;
}

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

.page-sports__btn--login:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

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

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-top: var(--header-offset, 120px);
  }
  .page-sports__hero-container {
    padding: 80px 15px;
    min-height: 500px;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-sports__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }
  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__features-grid,
  .page-sports__market-grid,
  .page-sports__guide-list {
    grid-template-columns: 1fr;
  }
  .page-sports__feature-icon,
  .page-sports__live-betting-image {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
  }
  .page-sports__cta-title {
    font-size: 2em;
  }
  .page-sports__cta-description {
    font-size: 1em;
  }
  /* Ensure all content area images are responsive and not too small */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-container {
    min-height: 400px;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__cta-title {
    font-size: 1.8em;
  }
}