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

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

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

.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;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__text-content a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-sports__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-sports__btn--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Dark text for white button */
  border: 2px solid #FCBC45;
}

.page-sports__btn--register:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
}

.page-sports__btn--login,
.page-sports__btn--cta,
.page-sports__btn--download {
  background-color: #FCBC45; /* Login color */
  color: #FFFFFF; /* White text for golden button */
  border: 2px solid #FCBC45;
}

.page-sports__btn--login:hover,
.page-sports__btn--cta:hover,
.page-sports__btn--download:hover {
  background-color: #e0a53b;
}

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

.page-sports__btn--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-sports__hero-section {
  background-color: #000000; /* Dark background for hero */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* White text for dark background */
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

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

.page-sports__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

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

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

/* Sports Covered Section */
.page-sports__sports-covered-section {
  padding: 80px 0;
}

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

.page-sports__sport-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-sports__sport-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-sports__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

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

.page-sports__live-betting-section .page-sports__section-title {
  color: #FFFFFF;
}

.page-sports__live-betting-section .page-sports__section-title::after {
  background-color: #FCBC45;
}

.page-sports__live-betting-section .page-sports__text-content {
  color: #f0f0f0;
}

.page-sports__image--large {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.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-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-sports__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

/* Mobile App Section */
.page-sports__mobile-app-section {
  padding: 80px 0;
}

.page-sports__app-download-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.page-sports__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-sports__app-text {
  text-align: left;
  max-width: 500px;
}

.page-sports__app-text p {
  font-size: 1.2em;
  margin-bottom: 20px;
  text-align: left;
}

/* Security Section */
.page-sports__security-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #FFFFFF;
  text-align: center;
}

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

.page-sports__security-section .page-sports__section-title::after {
  background-color: #FCBC45;
}

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

.page-sports__image--medium {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-sports__faq-accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__accordion-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__accordion-header {
  width: 100%;
  background-color: #f9f9f9;
  color: #000000;
  padding: 20px 25px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-sports__accordion-header:hover {
  background-color: #f0f0f0;
}

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

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

.page-sports__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-sports__accordion-content p {
  padding-bottom: 20px;
  text-align: left;
  color: #555555;
}

.page-sports__accordion-content.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
  padding-bottom: 20px;
}

/* Call to Action Section */
.page-sports__call-to-action-section {
  padding: 80px 0;
  background-color: #FCBC45; /* Golden yellow background */
  color: #000000; /* Dark text for golden background */
  text-align: center;
}

.page-sports__call-to-action-section .page-sports__section-title {
  color: #000000;
}

.page-sports__call-to-action-section .page-sports__section-title::after {
  background-color: #000000;
}

.page-sports__call-to-action-section .page-sports__text-content {
  color: #333333;
}

.page-sports__call-to-action-section .page-sports__text-content a {
  color: #000000;
  font-weight: bold;
}

.page-sports__call-to-action-section .page-sports__btn--register {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
  margin-top: 30px;
}

.page-sports__call-to-action-section .page-sports__btn--register:hover {
  background-color: #333333;
}

/* Related Resources Section */
.page-sports__related-resources-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-sports__resource-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 30px 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports__resource-card .page-sports__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #000000;
}

.page-sports__resource-card .page-sports__card-description {
  font-size: 0.95em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
  .page-sports__app-download-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-sports__app-text {
    text-align: center;
  }
  .page-sports__app-text p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-sports {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-sports__hero-section {
    padding: 60px 20px;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__text-content {
    font-size: 1em;
  }
  .page-sports__sports-grid, .page-sports__promo-grid, .page-sports__resource-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__image--large, .page-sports__image--medium {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .page-sports__hero-image,
  .page-sports__sport-image,
  .page-sports__promo-image,
  .page-sports__app-image {
    max-width: 100%;
    height: auto;
  }
  .page-sports__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-sports__accordion-content p {
    font-size: 0.95em;
  }
  /* Enforce content area images to be responsive and not overflow */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
}

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