.page-sports {
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Ensures a consistent background if shared.css doesn't define body background */
  padding-top: var(--header-offset, 120px); /* Ensures 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 {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Minimum height for hero section */
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  max-width: 800px;
}

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

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

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

.page-sports__btn {
  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;
  cursor: pointer;
}

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

.page-sports__btn--register:hover {
  background-color: #F0F0F0;
  color: #333333;
}

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

.page-sports__btn--login:hover {
  background-color: #e0a53b;
  color: #000000;
}

/* General Section Styling */
.page-sports__why-newjili-section, .page-sports__popular-sports-section, 
.page-sports__live-betting-section, .page-sports__get-started-section, 
.page-sports__promotions-section, .page-sports__responsible-gaming-section, 
.page-sports__guide-section, .page-sports__faq-section, 
.page-sports__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-sports__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-sports__section-intro {
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.6;
  color: #555555;
}

.page-sports__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000000;
}

.page-sports__content-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444444;
}

.page-sports__action-area {
  text-align: center;
  margin-top: 50px;
}

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

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

.page-sports__feature-icon {
  width: 100%;
  height: 250px; /* Ensure minimum size for content images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-sports__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

/* Popular Sports Section */
.page-sports__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-sports__sport-image {
  width: 100%;
  height: 280px; /* Ensure minimum size for content images */
  object-fit: cover;
}

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

.page-sports__sport-description {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 20px 20px;
  color: #666666;
}

.page-sports__btn--explore {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-sports__btn--explore:hover {
  background-color: #e0a53b;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  background-color: #F0F0F0;
}

.page-sports__live-betting-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-sports__live-betting-image {
  flex: 1 1 500px;
  min-width: 200px; /* Ensure content images are not too small */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-sports__live-betting-text {
  flex: 1 1 400px;
}

.page-sports__btn--live-bet {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

.page-sports__btn--live-bet:hover {
  background-color: #e0a53b;
}

/* Get Started Section */
.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-sports__step-item {
  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;
  margin-bottom: 15px;
  color: #000000;
}

.page-sports__step-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #666666;
}

.page-sports__btn--step {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-sports__btn--step:hover {
  background-color: #333333;
}

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

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

.page-sports__promo-image {
  width: 100%;
  height: 250px; /* Ensure minimum size for content images */
  object-fit: cover;
}

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

.page-sports__promo-description {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 20px 20px;
  color: #666666;
}

.page-sports__btn--promo {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-bottom: 20px;
}

.page-sports__btn--promo:hover {
  background-color: #e0a53b;
}

.page-sports__btn--all-promos {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-sports__btn--all-promos:hover {
  background-color: #333333;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
  background-color: #F0F0F0;
}

.page-sports__btn--responsible-gaming {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-sports__btn--responsible-gaming:hover {
  background-color: #333333;
}

/* Guide Section */
.page-sports__detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.page-sports__detail-item {
  background-color: #F8F8F8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-sports__detail-title {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.page-sports__detail-title a {
  color: #000000;
  text-decoration: none;
}

.page-sports__detail-title a:hover {
  color: #FCBC45;
}

.page-sports__detail-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.page-sports__btn--view-details {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-sports__btn--view-details:hover {
  background-color: #e0a53b;
}

/* FAQ Section */
.page-sports__faq-accordion {
  margin-top: 30px;
}

.page-sports__faq-item {
  border-bottom: 1px solid #E0E0E0;
  padding: 20px 0;
}

.page-sports__faq-question {
  font-size: 1.3em;
  color: #000000;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-sports__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-sports__faq-question.active::after {
  content: '-';
  transform: rotate(0deg); /* No rotation for minus sign */
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-top: 0;
}

.page-sports__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-sports__faq-answer p {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-sports__btn--faq {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-sports__btn--faq:hover {
  background-color: #333333;
}

/* CTA Section */
.page-sports__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

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

.page-sports__btn--cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

@media (max-width: 768px) {
  .page-sports {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header height if needed */
  }
  .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__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-intro {
    font-size: 1em;
  }
  .page-sports__live-betting-content {
    flex-direction: column;
  }
  .page-sports__live-betting-image {
    width: 100%;
    height: auto;
  }
  /* Ensure all images within .page-sports are responsive and don't overflow */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
  .page-sports__faq-question {
    font-size: 1.1em;
  }
  .page-sports__detail-title {
    font-size: 1.5em;
  }
  .page-sports__feature-icon, .page-sports__sport-image, .page-sports__promo-image {
    height: 200px; /* Minimum height for mobile, still >= 200px */
  }
  .page-sports__hero-section {
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__sub-title {
    font-size: 1.5em;
  }
  .page-sports__feature-item, .page-sports__sport-card, .page-sports__step-item, .page-sports__promo-card, .page-sports__detail-item {
    padding: 20px;
  }
  .page-sports__hero-content {
    padding: 20px;
  }
}