.page-sports {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop and mobile */
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold accent for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  position: relative;
}

.page-sports__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #DC143C; /* Dark Red accent */
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-sports__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-sports__text-link {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
}

.page-sports__text-link:hover {
  text-decoration: underline;
  color: #DC143C; /* Dark Red on hover */
}

.page-sports__button {
  display: inline-block;
  background: #FFD700; /* Gold button */
  color: #000000; /* Black text */
  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;
  border: none;
  cursor: pointer;
}

.page-sports__button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-sports__button--primary {
  background: #DC143C; /* Dark Red primary button */
  color: #ffffff;
}

.page-sports__button--primary:hover {
  background: #b0102e;
}

.page-sports__button--secondary {
  background: transparent;
  border: 2px solid #FFD700; /* Gold border */
  color: #FFD700;
}

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

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

.page-sports__button--tertiary:hover {
  background: #FFD700;
  color: #000000;
}

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

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Slightly dim the background image */
}

.page-sports__hero-container {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  max-width: 900px;
  text-align: center;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay for text readability */
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__hero-actions .page-sports__button {
  margin: 0 15px;
}

/* About Betting Section */
.page-sports__about-betting {
  padding: 60px 0;
  background: #1a1a1a;
}

/* Key Features Section */
.page-sports__key-features {
  padding: 60px 0;
  background: #0d0d0d;
}

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

.page-sports__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Light transparent background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-sports__feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-sports__feature-icon {
  width: 200px; /* Minimum size 200px */
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid #FFD700;
}

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

.page-sports__card-description {
  font-size: 1em;
  color: #cccccc;
}

/* Get Started Section */
.page-sports__get-started {
  padding: 60px 0;
  background: #1a1a1a;
}

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

.page-sports__step-card {
  background: rgba(0, 0, 0, 0.6); /* Darker transparent background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #FFD700;
}

.page-sports__step-title {
  font-size: 2em;
  color: #DC143C; /* Dark Red for step titles */
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

/* Popular Sports Section */
.page-sports__popular-sports {
  padding: 60px 0;
  background: #0d0d0d;
}

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

.page-sports__sport-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-sports__sport-image {
  width: 400px; /* Example display width */
  height: 300px; /* Example display height */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid #DC143C;
}

/* Promotions Section */
.page-sports__promotions {
  padding: 60px 0;
  background: #1a1a1a;
}

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

.page-sports__promo-card {
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #FFD700;
}

.page-sports__promo-image {
  width: 400px; /* Example display width */
  height: 250px; /* Example display height */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming {
  padding: 60px 0;
  background: #0d0d0d;
  text-align: center;
}

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

.page-sports__floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-weight: bold;
  text-decoration: none;
  color: #000000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sports__floating-button:hover {
  transform: scale(1.05);
}

.page-sports__floating-button--register {
  background: #FFD700; /* Gold for Register */
}

.page-sports__floating-button--register:hover {
  background: #e6c200;
}

.page-sports__floating-button--login {
  background: #DC143C; /* Dark Red for Login */
  color: #ffffff;
}

.page-sports__floating-button--login:hover {
  background: #b0102e;
}

/* 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__section-title {
    font-size: 2em;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-actions .page-sports__button {
    margin: 10px 0;
    display: block;
  }
  .page-sports__features-grid, .page-sports__steps-grid, .page-sports__sports-grid, .page-sports__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__feature-icon, .page-sports__sport-image, .page-sports__promo-image {
    width: 100%; /* Ensure images don't overflow */
    height: auto;
    min-width: 200px; /* Maintain minimum width */
    min-height: 200px; /* Maintain minimum height */
  }
  /* Ensure all images within .page-sports are responsive and do not cause overflow */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
  .page-sports {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  .page-sports__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 10px;
    justify-content: space-around;
  }
  .page-sports__floating-button {
    width: 50px;
    height: 50px;
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__hero-container {
    padding: 30px 15px;
  }
  .page-sports__floating-buttons {
    bottom: 5px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
  }
}