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

.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

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

.page-sports__hero-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-sports__button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-width: 180px; /* Ensure buttons are not too small */
}

.page-sports__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-sports__button--register:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-sports__button--bet,
.page-sports__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-sports__button--bet:hover,
.page-sports__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-sports__button--secondary:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-sports__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-sports__section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-sports__title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-sports__subtitle {
  font-size: 1.2em;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-sports__feature-title, .page-sports__sport-title, .page-sports__promo-title, .page-sports__step-title, .page-sports__live-feature-title, .page-sports__responsible-gaming-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports__feature-description, .page-sports__sport-description, .page-sports__promo-description, .page-sports__step-description, .page-sports__live-feature-description, .page-sports__responsible-gaming-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-sports__section-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 1000px; /* Constrain image width */
  min-width: 200px; /* Enforce minimum size */
}

.page-sports__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  text-align: left;
}

.page-sports__step-card {
  background-color: #fefefe;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  position: relative;
  padding-top: 60px;
}

.page-sports__step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #FCBC45;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.page-sports__live-features {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-sports__live-features li {
  background-color: #fefefe;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__responsible-gaming-points {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  text-align: left;
}

.page-sports__responsible-gaming-points li {
  background-color: #fefefe;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-sports__floating-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 50px;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-sports__floating-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__floating-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-sports__floating-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }
  .page-sports__title {
    font-size: 2.2em;
  }
  .page-sports__hero-section {
    padding: 40px 15px;
  }
  .page-sports__section {
    margin: 40px auto;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__title {
    font-size: 1.8em;
  }
  .page-sports__subtitle {
    font-size: 1em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__button {
    width: 100%;
    max-width: 250px;
  }
  .page-sports__feature-grid, .page-sports__sport-grid, .page-sports__promo-grid, .page-sports__steps-list, .page-sports__live-features, .page-sports__responsible-gaming-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__section-image, .page-sports__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small even on mobile */
  }
  .page-sports__hero-image-container, .page-sports__section-image {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-sports__hero-image, .page-sports__section-image, .page-sports img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-sports {
    overflow-x: hidden;
  }
  .page-sports__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    right: 20px;
    bottom: 20px;
    justify-content: space-around;
  }
  .page-sports__floating-button {
    width: 48%;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__title {
    font-size: 1.5em;
  }
  .page-sports__hero-description {
    font-size: 0.95em;
  }
  .page-sports__subtitle {
    font-size: 0.9em;
  }
  .page-sports__floating-buttons {
    bottom: 15px;
    right: 15px;
    width: calc(100% - 30px);
  }
  .page-sports__floating-button {
    font-size: 1em;
  }
}