/* style/sports.css */

/* General page styling */
.page-sports {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #FFFFFF; /* Ensure consistency with body background */
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45; /* Login button color for accent */
  border-radius: 2px;
}

.page-sports__text-content {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-sports__button {
  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;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-sports__button--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register button text color */
  border: 2px solid #000000;
  margin-right: 15px;
}

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

.page-sports__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for login button */
  border: 2px solid #FCBC45;
}

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

.page-sports__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

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

.page-sports__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

.page-sports__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
  padding: 80px 20px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Overlay to ensure text readability */
}

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

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

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF; /* Light text for dark background */
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0; /* Slightly off-white for contrast */
}

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

/* About Section */
.page-sports__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

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

.page-sports__feature-icon {
  width: 200px; /* Minimum size for content images */
  height: 150px; /* Minimum size for content images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-sports__feature-description {
  color: #555555;
}

/* Sports Coverage Section */
.page-sports__sports-coverage-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-sports__sport-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
}

.page-sports__sport-image {
  width: 100%;
  height: 200px; /* Example fixed height for card images */
  object-fit: cover;
  display: block;
}

.page-sports__sport-title {
  font-size: 1.4em;
  color: #000000;
  margin: 20px 0 10px;
  padding: 0 20px;
}

.page-sports__sport-description {
  color: #555555;
  padding: 0 20px 20px;
}

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

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

.page-sports__live-feature-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-sports__live-feature-image {
  width: 200px; /* Minimum size for content images */
  height: 150px; /* Minimum size for content images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-sports__live-feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-sports__live-feature-description {
  color: #555555;
}

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

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

.page-sports__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
}

.page-sports__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-sports__promo-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-sports__promo-description {
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
}

/* Get Started Section */
.page-sports__get-started-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-sports__step-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.page-sports__step-description {
  color: #555555;
  margin-bottom: 20px;
}

/* Security Section */
.page-sports__security-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-sports__security-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-sports__security-icon {
  width: 200px; /* Minimum size for content images */
  height: 150px; /* Minimum size for content images */
  object-fit: contain;
  filter: none; /* Ensure no filter changes image color */
}

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

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-sports__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  padding: 20px;
  font-size: 1.3em;
  color: #000000;
  cursor: pointer;
  background-color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-sports__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-sports__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  color: #555555;
}

.page-sports__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding: 20px;
}

/* Final Call to Action Section */
.page-sports__cta-final-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-sports__cta-final-section .page-sports__section-title {
  color: #FFFFFF;
}

.page-sports__cta-final-section .page-sports__text-content {
  color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-sports__button--register {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__text-content {
    font-size: 1em;
  }
  .page-sports__feature-grid,
  .page-sports__sports-grid,
  .page-sports__live-betting-grid,
  .page-sports__promo-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__security-icons {
    flex-direction: column;
    align-items: center;
  }
  .page-sports__security-icon {
    margin-bottom: 20px;
  }

  /* Mobile content area image constraint */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__button {
    width: 100%;
    max-width: 250px;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
}