.page-sports {
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-sports__section-title {
  color: #FFD700;
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

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

.page-sports__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

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

.page-sports__btn--primary:hover {
  background-color: #e6c200;
  color: #000000;
}

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

.page-sports__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-sports__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}

.page-sports__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(26, 26, 26, 0.7);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-content {
  color: #ffffff;
}

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

.page-sports__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-sports__hero-actions .page-sports__btn {
  margin: 0 10px;
}

/* Why Choose Section */
.page-sports__why-choose-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

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

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

.page-sports__feature-card:hover {
  transform: translateY(-10px);
}

.page-sports__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

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

.page-sports__feature-text {
  color: #cccccc;
  font-size: 1em;
}

/* Popular Categories Section */
.page-sports__popular-categories-section {
  padding: 80px 0;
  background-color: #0F0F0F;
}

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

.page-sports__category-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__category-card:hover {
  transform: translateY(-10px);
}

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

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

.page-sports__category-text {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-sports__live-betting-image {
  flex: 1 1 500px;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-sports__live-betting-text-content {
  flex: 1 1 400px;
  color: #f0f0f0;
}

.page-sports__live-betting-text-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

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

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

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
}

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

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

.page-sports__promo-text {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* How to Start Section */
.page-sports__how-to-start-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

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

.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__step-card:hover {
  transform: translateY(-10px);
}

.page-sports__step-icon {
  width: 200px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 5px;
  object-fit: cover;
}

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

.page-sports__step-text {
  color: #cccccc;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
  padding: 80px 0;
  background-color: #0F0F0F;
  text-align: center;
}

/* Support Section */
.page-sports__support-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  text-align: center;
  padding-bottom: 100px;
}

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

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 500px;
    padding: 40px 20px;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-actions .page-sports__btn {
    display: block;
    margin: 15px auto;
    max-width: 250px;
  }

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

  .page-sports__features-grid, .page-sports__categories-grid, .page-sports__promotions-grid, .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-sports__live-betting-content {
    flex-direction: column;
  }
  .page-sports__live-betting-image {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  /* Ensure all images within .page-sports are responsive and not too small */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }

  .page-sports__feature-icon, .page-sports__category-image, .page-sports__promo-image, .page-sports__step-icon {
    width: 100%;
    height: auto; /* Enforce responsive height for all content images */
    min-width: 200px; /* Minimum width for images */
    min-height: 150px; /* Minimum height for images */
    object-fit: cover;
  }

  .page-sports__feature-icon,
  .page-sports__step-icon {
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }
}

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

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

  .page-sports__btn {
    padding: 10px 20px;
  }
}