.page-sports {
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-sports__hero-section {
  background-color: #000000; /* Dark background for hero content */
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 0;
}

.page-sports__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image for text readability, not changing color */
}

.page-sports__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
}

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

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

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

.page-sports__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  min-width: 180px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-sports__button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000; /* Dark text for light button */
  border: 2px solid #FCBC45;
}

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

.page-sports__button--secondary {
  background-color: transparent;
  color: #FFFFFF; /* White text for dark background */
  border: 2px solid #FFFFFF;
}

.page-sports__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-sports__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset;
}

.page-sports__features-section, .page-sports__categories-section, .page-sports__promotions-section, .page-sports__guide-section, .page-sports__responsible-gaming-section, .page-sports__cta-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-sports__features-section {
  background-color: #F8F8F8;
}

.page-sports__features-title, .page-sports__categories-title, .page-sports__live-betting-title, .page-sports__promotions-title, .page-sports__guide-title, .page-sports__responsible-gaming-title, .page-sports__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
  font-weight: bold;
}

.page-sports__features-intro, .page-sports__categories-intro, .page-sports__promotions-intro, .page-sports__guide-intro, .page-sports__responsible-gaming-description, .page-sports__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #555555;
}

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

.page-sports__feature-card, .page-sports__category-card, .page-sports__promo-card, .page-sports__guide-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-sports__feature-card-title, .page-sports__category-card-title, .page-sports__promo-card-title, .page-sports__guide-card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
  font-weight: bold;
}

.page-sports__feature-card-description, .page-sports__category-card-description, .page-sports__promo-card-description, .page-sports__guide-card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__live-betting-section {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 20px;
}

.page-sports__live-betting-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-sports__live-betting-content {
  flex: 1;
}

.page-sports__live-betting-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__live-betting-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-sports__live-betting-title {
  color: #FFFFFF;
  font-size: 2.8em;
  margin-bottom: 25px;
}

.page-sports__live-betting-description {
  font-size: 1.1em;
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-sports__all-promos {
  margin-top: 50px;
}

.page-sports__guide-card {
  display: flex;
  align-items: center;
  gap: 30px;
  text-align: left;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__guide-image {
  flex-shrink: 0;
  max-width: 300px;
  min-width: 200px;
  min-height: 200px;
  width: 100%;
}

.page-sports__guide-content {
  flex-grow: 1;
}

.page-sports__guide-card-title a {
  text-decoration: none;
  color: #000000;
  transition: color 0.3s ease;
}

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

.page-sports__responsible-gaming-section {
  background-color: #F0F0F0;
  padding: 60px 20px;
}

.page-sports__cta-section {
  background-color: #FCBC45;
  color: #000000;
  padding: 80px 20px;
}

.page-sports__cta-title {
  color: #000000;
}

.page-sports__cta-description {
  color: #333333;
}

@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__live-betting-container {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__live-betting-content, .page-sports__live-betting-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__button {
    width: 100%;
    max-width: 300px;
  }
  .page-sports__features-title, .page-sports__categories-title, .page-sports__live-betting-title, .page-sports__promotions-title, .page-sports__guide-title, .page-sports__responsible-gaming-title, .page-sports__cta-title {
    font-size: 2em;
  }
  .page-sports__feature-grid, .page-sports__category-grid, .page-sports__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__feature-card, .page-sports__category-card, .page-sports__promo-card {
    padding: 25px;
  }
  .page-sports__feature-icon, .page-sports__category-image, .page-sports__promo-image, .page-sports__guide-image {
    max-width: 100%;
    height: auto;
  }
  .page-sports__guide-card {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__guide-image {
    max-width: 100%;
  }
  /* Ensure all content area images scale correctly and prevent overflow */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__features-section, .page-sports__categories-section, .page-sports__promotions-section, .page-sports__guide-section, .page-sports__responsible-gaming-section, .page-sports__cta-section {
    padding: 50px 15px;
  }
  .page-sports__features-title, .page-sports__categories-title, .page-sports__live-betting-title, .page-sports__promotions-title, .page-sports__guide-title, .page-sports__responsible-gaming-title, .page-sports__cta-title {
    font-size: 1.6em;
  }
  .page-sports__live-betting-title {
    font-size: 2em;
  }
}