.page-sports {
  color: #333333; /* Dark text for light body background */
}

.page-sports__section {
  padding: 80px 20px;
  text-align: center;
}

.page-sports__section--dark {
  background-color: #0A1931; /* Main brand dark blue */
  color: #f0f0f0; /* Light text for dark background */
}

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

/* Hero Section */
.page-sports__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  position: relative;
  overflow: hidden;
  color: #f0f0f0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

.page-sports__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 15px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  line-height: 1.2;
}

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

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

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

.page-sports__hero-button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #0A1931;
}

.page-sports__hero-button--primary:hover {
  background-color: #e0b000;
  transform: translateY(-3px);
}

.page-sports__hero-button--secondary {
  background-color: #E02B2B; /* Red accent secondary button */
  color: #f0f0f0;
  border: 2px solid #E02B2B;
}

.page-sports__hero-button--secondary:hover {
  background-color: #c72525;
  transform: translateY(-3px);
}

/* General Section Styling */
.page-sports__section-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #0A1931;
}

.page-sports__section--dark .page-sports__section-title {
  color: #FFD700;
}

.page-sports__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Why Choose Us Section */
.page-sports__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

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

.page-sports__feature-icon {
  width: 200px; /* Minimum 200px */
  height: 150px; /* Adjust height based on aspect ratio, ensuring minimum 200px for width/height in mobile */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-sports__feature-description {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
}

/* Explore Markets Section */
.page-sports__market-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__market-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background for dark section */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #f0f0f0;
}

.page-sports__market-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__market-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-sports__market-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-sports__market-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #E02B2B; /* Red accent button */
  color: #f0f0f0;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports__market-button:hover {
  background-color: #c72525;
}

/* Live Betting Section */
.page-sports__live-betting .page-sports__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
}

.page-sports__live-betting-content,
.page-sports__live-betting-image-wrapper {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.page-sports__live-betting-content {
  padding-right: 40px;
}

.page-sports__live-betting-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__live-betting-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700;
  color: #0A1931;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-sports__live-betting-button:hover {
  background-color: #e0b000;
  transform: translateY(-3px);
}

/* How to Start Section */
.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.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #f0f0f0;
  position: relative;
}

.page-sports__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #0A1931;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 3px solid #0A1931;
}

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

.page-sports__step-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-sports__step-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #E02B2B;
  color: #f0f0f0;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports__step-button:hover {
  background-color: #c72525;
}

/* Promotions Section */
.page-sports__promotions .page-sports__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
}

.page-sports__promotions-content,
.page-sports__promotions-image-wrapper {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.page-sports__promotions-content {
  padding-right: 40px;
}

.page-sports__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-sports__promo-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-sports__promo-item::before {
  content: '★';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.page-sports__promotions-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__promotions-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #E02B2B;
  color: #f0f0f0;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-sports__promotions-button:hover {
  background-color: #c72525;
  transform: translateY(-3px);
}

/* Mobile App Section */
.page-sports__mobile-app .page-sports__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
}

.page-sports__mobile-app-content,
.page-sports__mobile-app-image-wrapper {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.page-sports__mobile-app-content {
  padding-right: 40px;
}

.page-sports__app-download-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

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

.page-sports__app-button--primary {
  background-color: #FFD700;
  color: #0A1931;
}

.page-sports__app-button--primary:hover {
  background-color: #e0b000;
  transform: translateY(-3px);
}

.page-sports__app-button--secondary {
  background-color: #E02B2B;
  color: #f0f0f0;
  border: 2px solid #E02B2B;
}

.page-sports__app-button--secondary:hover {
  background-color: #c72525;
  transform: translateY(-3px);
}

.page-sports__mobile-app-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Support Section */
.page-sports__support-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-sports__support-button--primary {
  background-color: #0A1931;
  color: #f0f0f0;
  border: 2px solid #0A1931;
}

.page-sports__support-button--primary:hover {
  background-color: #1a2a47;
  transform: translateY(-3px);
}

.page-sports__support-button--secondary {
  background-color: transparent;
  color: #0A1931;
  border: 2px solid #0A1931;
}

.page-sports__support-button--secondary:hover {
  background-color: #0A1931;
  color: #f0f0f0;
  transform: translateY(-3px);
}

/* Call to Action Section */
.page-sports__section--cta {
  background-color: #FFD700;
  color: #0A1931;
  padding: 100px 20px;
}

.page-sports__section--cta .page-sports__section-title {
  color: #0A1931;
}

.page-sports__section--cta .page-sports__section-intro {
  color: #333333;
  margin-bottom: 40px;
}

.page-sports__join-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #E02B2B;
  color: #f0f0f0;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-sports__join-button:hover {
  background-color: #c72525;
  transform: translateY(-5px);
}

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

  .page-sports__section-title {
    font-size: 2.2em;
  }

  .page-sports__live-betting-content,
  .page-sports__promotions-content,
  .page-sports__mobile-app-content {
    padding-right: 20px;
    padding-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 500px;
  }

  .page-sports__hero-title {
    font-size: 2.5em;
  }

  .page-sports__hero-description {
    font-size: 1.1em;
  }

  .page-sports__hero-actions,
  .page-sports__app-download-buttons,
  .page-sports__support-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__hero-button,
  .page-sports__app-button,
  .page-sports__support-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-sports__section {
    padding: 60px 15px;
  }

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

  .page-sports__live-betting .page-sports__container,
  .page-sports__promotions .page-sports__container,
  .page-sports__mobile-app .page-sports__container {
    flex-direction: column;
  }

  .page-sports__live-betting-content,
  .page-sports__promotions-content,
  .page-sports__mobile-app-content {
    padding-right: 0;
    order: 2;
  }

  .page-sports__live-betting-image-wrapper,
  .page-sports__promotions-image-wrapper,
  .page-sports__mobile-app-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  /* Ensure all content area images are responsive and not too small */
  .page-sports img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
    object-fit: cover; /* Helps fill space without distorting */
  }

  .page-sports__feature-icon, .page-sports__market-image, .page-sports__live-betting-image, .page-sports__promotions-image, .page-sports__mobile-app-image {
    width: 100%;
    height: auto; /* Override fixed heights for responsiveness */
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
  }

  .page-sports__join-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}

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

  .page-sports__hero-description {
    font-size: 1em;
  }

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

  .page-sports__hero-container {
    padding: 20px;
  }

  .page-sports__features-grid,
  .page-sports__market-cards,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-sports__promo-item {
    font-size: 0.95em;
  }
}