.page-index-live-sports {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: #f4f4f4; /* Matches body background */
}

.page-index-live-sports__dark-bg {
  background-color: #000080; /* Auxiliary color */
  color: #ffffff; /* White text for dark background */
}

.page-index-live-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-index-live-sports__medium-bg {
  background-color: #f0f0f0;
  color: #333333;
}

.page-index-live-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden; /* Prevent content overflow */
}

.page-index-live-sports__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-index-live-sports__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-index-live-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-index-live-sports__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Primary color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-index-live-sports__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-index-live-sports__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary color */
  color: #000080; /* Auxiliary color for text */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-live-sports__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-live-sports__cta-button--large {
  padding: 18px 50px;
  font-size: 22px;
}

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

.page-index-live-sports__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: #000080; /* Auxiliary color */
}

.page-index-live-sports__dark-bg .page-index-live-sports__section-title {
  color: #FFD700; /* Primary color for dark backgrounds */
}

.page-index-live-sports__section-text {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-index-live-sports__dark-bg .page-index-live-sports__section-text {
  color: #e0e0e0;
}

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

.page-index-live-sports__feature-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-live-sports__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index-live-sports__feature-title {
  font-size: 24px;
  color: #000080;
  margin-bottom: 15px;
}

.page-index-live-sports__feature-description {
  font-size: 16px;
  color: #666666;
}

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

.page-index-live-sports__sport-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-live-sports__sport-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index-live-sports__sport-card h3 {
  font-size: 22px;
  color: #000080;
  padding: 20px 20px 10px 20px;
  margin: 0;
}

.page-index-live-sports__sport-card p {
  font-size: 15px;
  color: #666666;
  padding: 0 20px 20px 20px;
}

.page-index-live-sports__features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-index-live-sports__feature-item-alt {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-live-sports__feature-item-alt:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index-live-sports__feature-heading {
  font-size: 26px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-live-sports__feature-detail {
  font-size: 16px;
  color: #444444;
}

.page-index-live-sports__interface-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-top: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: block;
}

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

.page-index-live-sports__promo-card {
  background: #000080; /* Dark blue background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid #FFD700; /* Gold border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-live-sports__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.page-index-live-sports__promo-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-live-sports__promo-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-index-live-sports__promo-button {
  display: inline-block;
  padding: 12px 30px;
  background: #FFD700;
  color: #000080;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-live-sports__promo-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

.page-index-live-sports__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-index-live-sports__mobile-image {
  width: 50%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-index-live-sports__mobile-text {
  width: 50%;
  text-align: left;
}

.page-index-live-sports__mobile-subtitle {
  font-size: 32px;
  color: #000080;
  margin-bottom: 20px;
}

.page-index-live-sports__download-button {
  display: inline-block;
  padding: 15px 35px;
  background: #000080;
  color: #FFD700;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 25px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-live-sports__download-button:hover {
  background: #000060;
  transform: translateY(-2px);
}

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

.page-index-live-sports__step-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index-live-sports__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #FFD700;
  color: #000080;
  border-radius: 50%;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-live-sports__step-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index-live-sports__step-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* FAQ container styles */
.page-index-live-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ default state - answer hidden */
.page-index-live-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-index-live-sports__faq-item.active .page-index-live-sports__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important to ensure priority, value large enough for any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Question style */
.page-index-live-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-live-sports__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-live-sports__faq-question:active {
  background: #eeeeee;
}

/* Question title style */
.page-index-live-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 tag from blocking click event */
  color: #333333;
}

/* Toggle icon */
.page-index-live-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index-live-sports__faq-item.active .page-index-live-sports__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg);
}

.page-index-live-sports__faq-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-index-live-sports__cta-final-section {
  padding: 80px 20px;
  text-align: center;
}

/* Global image responsiveness */
.page-index-live-sports img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure images fill their space without distorting */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-live-sports__hero-title {
    font-size: 40px;
  }
  .page-index-live-sports__section-title {
    font-size: 32px;
  }
  .page-index-live-sports__mobile-content {
    flex-direction: column;
  }
  .page-index-live-sports__mobile-image,
  .page-index-live-sports__mobile-text {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index-live-sports__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-live-sports__hero-title {
    font-size: 32px;
  }
  .page-index-live-sports__hero-description {
    font-size: 16px;
  }
  .page-index-live-sports__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-index-live-sports__cta-button--large {
    padding: 15px 40px;
    font-size: 18px;
  }

  .page-index-live-sports__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index-live-sports__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-index-live-sports__section-text {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-index-live-sports__feature-item,
  .page-index-live-sports__sport-card,
  .page-index-live-sports__promo-card,
  .page-index-live-sports__feature-item-alt,
  .page-index-live-sports__step-item {
    padding: 20px;
  }
  .page-index-live-sports__feature-title,
  .page-index-live-sports__sport-card h3,
  .page-index-live-sports__promo-title,
  .page-index-live-sports__feature-heading,
  .page-index-live-sports__mobile-subtitle,
  .page-index-live-sports__step-title {
    font-size: 20px;
  }
  .page-index-live-sports__feature-description,
  .page-index-live-sports__sport-card p,
  .page-index-live-sports__promo-description,
  .page-index-live-sports__feature-detail,
  .page-index-live-sports__step-description {
    font-size: 14px;
  }

  /* Mobile image and button responsiveness */
  .page-index-live-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-live-sports__hero-image,
  .page-index-live-sports__interface-image,
  .page-index-live-sports__sport-image,
  .page-index-live-sports__mobile-image,
  .page-index-live-sports__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-live-sports__section,
  .page-index-live-sports__card,
  .page-index-live-sports__container,
  .page-index-live-sports__promo-grid,
  .page-index-live-sports__steps-grid,
  .page-index-live-sports__features-grid,
  .page-index-live-sports__sports-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }

  .page-index-live-sports__download-button {
    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;
  }

  /* FAQ mobile styles */
  .page-index-live-sports__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-index-live-sports__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-index-live-sports__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-index-live-sports__faq-answer {
    padding: 0 15px;
  }
  .page-index-live-sports__faq-item.active .page-index-live-sports__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-index-live-sports__hero-title {
    font-size: 28px;
  }
  .page-index-live-sports__section-title {
    font-size: 24px;
  }
  .page-index-live-sports__mobile-subtitle {
    font-size: 26px;
  }
}