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

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

/* Hero Section */
.page-sports__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text on dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex; /* Use flex to layer content over image */
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.4; /* Slightly transparent to let text stand out */
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

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

.page-sports__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

.page-sports__button--register:hover {
  background-color: #E0E0E0;
}

.page-sports__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-sports__button--login:hover {
  background-color: #E6A73A;
}

/* General Section Styling */
.page-sports__about-section,
.page-sports__diversity-section,
.page-sports__live-betting-section,
.page-sports__promotions-section,
.page-sports__mobile-section,
.page-sports__security-section,
.page-sports__responsible-gaming-section,
.page-sports__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for content sections */
  color: #333333;
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-sports__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-sports__link:hover {
  text-decoration: underline;
}

/* Image Specific Styles */
.page-sports__image-grid {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.page-sports__grid-image,
.page-sports__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px; /* Ensure images are not too small */
}

.page-sports__image-wrapper {
  margin-bottom: 30px;
  text-align: center;
}

.page-sports__image-wrapper--mobile .page-sports__content-image {
  max-width: 600px; /* Specific width for mobile app image */
}

/* Call to Action Buttons in Sections */
.page-sports__action-area {
  text-align: center;
  margin-top: 40px;
}

.page-sports__button--join,
.page-sports__button--download,
.page-sports__button--learn-more {
  background-color: #000000; /* Dark button for general actions */
  color: #FFFFFF;
}

.page-sports__button--join:hover,
.page-sports__button--download:hover,
.page-sports__button--learn-more:hover {
  background-color: #333333;
}

.page-sports__button--register-large,
.page-sports__button--login-large {
  padding: 18px 35px;
  font-size: 1.2em;
  margin: 0 10px;
}

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

.page-sports__button--register-large:hover {
  background-color: #F0F0F0;
}

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

.page-sports__button--login-large:hover {
  background-color: #E6A73A;
}

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

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 60px 15px;
    min-height: 400px; /* Adjust min-height for mobile hero */
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-text {
    font-size: 1em;
  }
  .page-sports__container {
    padding: 0 15px;
  }
  /* Mobile content image scaling */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
  .page-sports__image-wrapper--mobile .page-sports__content-image {
    max-width: 100%; /* Ensure mobile app image scales down */
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__button {
    width: 90%;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__button--register-large,
  .page-sports__button--login-large {
    padding: 15px 25px;
    font-size: 1.1em;
    margin: 5px 0;
  }
}