.page-live-scores-center {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Shared body background */
}

.page-live-scores-center__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-live-scores-center__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff; /* White text for dark background */
}

.page-live-scores-center__light-bg {
  background-color: #ffffff; /* White background for light sections */
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-live-scores-center__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background-color: #017439; /* Ensure good contrast */
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-live-scores-center__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-live-scores-center__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.4); /* Darken video for text readability */
  cursor: pointer;
}

.page-live-scores-center__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-live-scores-center__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-live-scores-center__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-live-scores-center__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-live-scores-center__btn-primary,
.page-live-scores-center__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-live-scores-center__btn-primary {
  background-color: #C30808; /* Custom Register/Login color */
  color: #FFFF00; /* Custom Register/Login font color */
  border: 2px solid #C30808;
}

.page-live-scores-center__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-live-scores-center__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-live-scores-center__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* General Section Styling */
.page-live-scores-center__section {
  padding: 60px 0;
  text-align: center;
}

.page-live-scores-center__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-live-scores-center__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: left;
}

.page-live-scores-center__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
}

.page-live-scores-center__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.page-live-scores-center__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-scores-center__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-live-scores-center__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure responsiveness */
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-live-scores-center__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00; /* Yellow for titles in dark sections for contrast */
}

.page-live-scores-center__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Benefits Section */
.page-live-scores-center__benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-scores-center__benefit-item.page-live-scores-center__card {
  background: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
}

.page-live-scores-center__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #017439; /* Brand color for titles in light sections */
}

.page-live-scores-center__benefit-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-live-scores-center__cta-section {
  background-color: #017439;
  color: #ffffff;
  padding: 50px;
  border-radius: 10px;
  margin-top: 60px;
}

.page-live-scores-center__cta-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 8px;
}

.page-live-scores-center__cta-title {
  font-size: 2em;
  margin-bottom: 30px;
  font-weight: bold;
  color: #ffffff;
}

.page-live-scores-center__cta-section .page-live-scores-center__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-live-scores-center__cta-section .page-live-scores-center__btn-primary:hover {
  background-color: #a00606;
}

/* How-To-Use Section */
.page-live-scores-center__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-scores-center__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
  text-align: left;
}

.page-live-scores-center__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FFFF00; /* Yellow accent */
  color: #017439; /* Brand green text */
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-live-scores-center__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #FFFF00; /* Yellow for titles */
}

.page-live-scores-center__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-live-scores-center__cta-bottom {
  margin-top: 50px;
}

/* Leagues Section */
.page-live-scores-center__league-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-live-scores-center__league-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-live-scores-center__league-logo:hover {
  transform: scale(1.05);
}

/* FAQ Section */
.page-live-scores-center__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-live-scores-center__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-live-scores-center__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-live-scores-center__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-live-scores-center__faq-item summary:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.page-live-scores-center__faq-qtext {
  flex-grow: 1;
  color: #ffffff; /* Ensure contrast on dark background */
}

.page-live-scores-center__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFFF00; /* Yellow for toggle icon */
}

.page-live-scores-center__faq-answer {
  padding: 15px 25px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-live-scores-center {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-live-scores-center__hero-section {
    padding: 60px 15px;
    min-height: 500px;
  }
  .page-live-scores-center__hero-title {
    font-size: 2.5em;
  }
  .page-live-scores-center__hero-description {
    font-size: 1.1em;
  }
  .page-live-scores-center__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live-scores-center__btn-primary,
  .page-live-scores-center__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }
  .page-live-scores-center__section {
    padding: 40px 0;
  }
  .page-live-scores-center__container {
    padding: 0 15px;
  }
  .page-live-scores-center__section-title {
    font-size: 1.8em;
  }
  .page-live-scores-center__text-block {
    font-size: 1em;
  }
  .page-live-scores-center__feature-grid,
  .page-live-scores-center__benefit-grid,
  .page-live-scores-center__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live-scores-center__feature-item,
  .page-live-scores-center__benefit-item.page-live-scores-center__card,
  .page-live-scores-center__step-item {
    padding: 20px;
  }
  .page-live-scores-center__cta-section {
    padding: 30px;
  }
  .page-live-scores-center__cta-title {
    font-size: 1.5em;
  }
  .page-live-scores-center__league-logos {
    gap: 20px;
  }
  .page-live-scores-center__league-logo {
    width: 150px;
    height: 150px;
  }
  .page-live-scores-center__faq-list {
    padding: 0;
  }
  .page-live-scores-center__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-live-scores-center__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-live-scores-center img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-live-scores-center__section,
  .page-live-scores-center__card,
  .page-live-scores-center__container,
  .page-live-scores-center__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure content does not overflow */
  }
  .page-live-scores-center__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure proper spacing for video hero */
  }
  .page-live-scores-center__hero-video-wrapper {
    position: relative; /* Change to relative for mobile to prevent overflow issues */
    height: auto; /* Allow video to take natural height */
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  }
  .page-live-scores-center__hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: unset;
    min-height: unset;
    transform: none;
  }
  /* Ensure all content sections have padding on mobile */
  .page-live-scores-center__section,
  .page-live-scores-center__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-live-scores-center__hero-title {
    font-size: 2em;
  }
  .page-live-scores-center__hero-description {
    font-size: 1em;
  }
  .page-live-scores-center__section-title {
    font-size: 1.5em;
  }
  .page-live-scores-center__feature-title,
  .page-live-scores-center__benefit-title,
  .page-live-scores-center__step-title {
    font-size: 1.3em;
  }
  .page-live-scores-center__cta-title {
    font-size: 1.3em;
  }
  .page-live-scores-center__league-logo {
    width: 120px;
    height: 120px;
  }
}