.page-live-scores {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

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

.page-live-scores__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #26A9E0;
  color: #ffffff;
  overflow: hidden;
}

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

.page-live-scores__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

.page-live-scores__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
  color: #ffffff;
}

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

.page-live-scores__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.1;
  overflow: hidden;
}

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

.page-live-scores__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles on light background */
  font-weight: bold;
}

.page-live-scores__section-title--white {
  color: #ffffff; /* White color for titles on dark background */
}

.page-live-scores__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #333333;
}

.page-live-scores__section-description--white {
  color: #f0f0f0;
}

.page-live-scores__importance-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for content area */
  color: #333333;
}

.page-live-scores__importance-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-live-scores__importance-text {
  flex: 1;
  min-width: 300px;
}

.page-live-scores__importance-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-live-scores__importance-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-live-scores__importance-subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-live-scores__features-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color for dark background */
  color: #ffffff;
}

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

.page-live-scores__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live-scores__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Adjust max-width for card images */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-live-scores__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live-scores__feature-text {
  font-size: 1em;
  line-height: 1.5;
}

.page-live-scores__how-to-use-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-live-scores__how-to-use-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap-reverse;
}

.page-live-scores__how-to-use-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-live-scores__how-to-use-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-live-scores__how-to-use-steps {
  flex: 1;
  min-width: 300px;
}

.page-live-scores__step-item {
  margin-bottom: 30px;
}

.page-live-scores__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live-scores__security-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-live-scores__security-text {
  flex: 1;
  min-width: 300px;
}

.page-live-scores__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-live-scores__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-live-scores__security-subtitle {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-live-scores__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-live-scores__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-live-scores__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf6fc; /* Lighter shade of brand color */
  border-bottom: 1px solid #e0e0e0;
}

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

.page-live-scores__faq-qtext {
  flex-grow: 1;
}

.page-live-scores__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-live-scores__faq-item[open] .page-live-scores__faq-toggle {
  transform: rotate(45deg);
}

.page-live-scores__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

.page-live-scores__faq-answer p {
  margin-bottom: 0;
}

.page-live-scores__cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-live-scores__cta-container {
  max-width: 900px;
}

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

/* Buttons */
.page-live-scores__btn-primary,
.page-live-scores__btn-secondary,
.page-live-scores__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-live-scores__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-live-scores__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-live-scores__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #ffffff;
}

.page-live-scores__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-live-scores__btn-tertiary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-live-scores__btn-tertiary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live-scores__hero-title {
    font-size: 2.8em;
  }

  .page-live-scores__section-title {
    font-size: 2em;
  }

  .page-live-scores__importance-grid,
  .page-live-scores__how-to-use-grid,
  .page-live-scores__security-content {
    flex-direction: column;
  }

  .page-live-scores__importance-text,
  .page-live-scores__importance-image-wrapper,
  .page-live-scores__how-to-use-image-wrapper,
  .page-live-scores__how-to-use-steps,
  .page-live-scores__security-text,
  .page-live-scores__security-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-live-scores__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space below fixed header */
  }

  .page-live-scores__hero-title {
    font-size: 2.2em;
  }

  .page-live-scores__hero-description {
    font-size: 1em;
  }

  .page-live-scores__section-title {
    font-size: 1.8em;
  }

  .page-live-scores__section-description {
    font-size: 0.95em;
  }

  .page-live-scores__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsive */
  .page-live-scores img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-live-scores__hero-image-wrapper,
  .page-live-scores__importance-image-wrapper,
  .page-live-scores__how-to-use-image-wrapper,
  .page-live-scores__security-image-wrapper,
  .page-live-scores__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Buttons responsive */
  .page-live-scores__btn-primary,
  .page-live-scores__btn-secondary,
  .page-live-scores__btn-tertiary,
  .page-live-scores a[class*="button"],
  .page-live-scores a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live-scores__hero-actions,
  .page-live-scores__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-live-scores__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-live-scores__importance-subtitle,
  .page-live-scores__feature-title,
  .page-live-scores__step-title,
  .page-live-scores__security-subtitle {
    font-size: 1.4em;
  }

  .page-live-scores__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

  .page-live-scores__faq-answer {
    padding: 15px;
  }
}

/* Body background is var(--dark-bg-1) which is dark, so text is white by default for the page. */
/* Sections with white background need specific text color */
.page-live-scores__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Sections with brand color background need white text */
.page-live-scores__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Ensure contrast for specific elements */
.page-live-scores p, .page-live-scores li {
  color: inherit; /* Inherit from parent section */
}

.page-live-scores__faq-answer p {
  color: #555555; /* Specific color for FAQ answer text */
}

.page-live-scores__btn-tertiary {
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-live-scores__btn-tertiary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}