.page-index-sports-features {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

.page-index-sports-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-sports-features__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-sports-features__dark-bg {
  background-color: #017439; /* Main brand color */
  color: #ffffff;
}

.page-index-sports-features__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-index-sports-features__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-sports-features__link-in-title {
  color: inherit;
  text-decoration: none;
}

.page-index-sports-features__link-in-title:hover {
  text-decoration: underline;
}

.page-index-sports-features__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-sports-features__btn-primary,
.page-index-sports-features__btn-secondary,
.page-index-sports-features__btn-promo,
.page-index-sports-features__btn-step {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-sports-features__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
  margin: 10px;
}

.page-index-sports-features__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-index-sports-features__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  margin: 10px;
}

.page-index-sports-features__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-index-sports-features__btn-promo {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  margin-top: 20px;
}

.page-index-sports-features__btn-promo:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-index-sports-features__btn-step {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
  margin-top: 20px;
}

.page-index-sports-features__btn-step:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

/* Hero Section */
.page-index-sports-features__hero-section {
  display: flex;
  align-items: center;
  padding-top: var(--header-offset, 120px);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-index-sports-features__hero-section .page-index-sports-features__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.page-index-sports-features__hero-content {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

.page-index-sports-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-index-sports-features__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-sports-features__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.page-index-sports-features__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-index-sports-features__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Why Choose Section */
.page-index-sports-features__why-choose .page-index-sports-features__section-title {
  color: #017439;
}

.page-index-sports-features__why-choose .page-index-sports-features__section-description {
  color: #555555;
}

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

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

.page-index-sports-features__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-sports-features__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-index-sports-features__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Diverse Sports Section */
.page-index-sports-features__diverse-sports .page-index-sports-features__section-title,
.page-index-sports-features__diverse-sports .page-index-sports-features__section-description {
  color: #ffffff;
}

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

.page-index-sports-features__sport-item {
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-sports-features__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index-sports-features__sport-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-index-sports-features__sport-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-index-sports-features__cta-bottom {
  margin-top: 50px;
}

/* Live Betting Section */
.page-index-sports-features__live-betting .page-index-sports-features__section-title {
  color: #017439;
}

.page-index-sports-features__live-betting .page-index-sports-features__section-description {
  color: #555555;
}

.page-index-sports-features__live-betting-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index-sports-features__live-betting-text {
  flex: 1;
  min-width: 300px;
}

.page-index-sports-features__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index-sports-features__feature-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-index-sports-features__feature-list li::before {
  content: '✔';
  color: #017439;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-index-sports-features__live-betting-video-wrapper {
  flex: 1;
  min-width: 400px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index-sports-features__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-index-sports-features__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

/* Promotions Section */
.page-index-sports-features__promotions .page-index-sports-features__section-title,
.page-index-sports-features__promotions .page-index-sports-features__section-description {
  color: #ffffff;
}

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

.page-index-sports-features__promo-card {
  padding: 25px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-sports-features__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index-sports-features__promo-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-index-sports-features__promo-text {
  font-size: 0.95em;
  color: #f0f0f0;
  min-height: 70px;
}

/* Advanced Features Section */
.page-index-sports-features__advanced-features .page-index-sports-features__section-title {
  color: #017439;
}

.page-index-sports-features__advanced-features .page-index-sports-features__section-description {
  color: #555555;
}

.page-index-sports-features__features-list {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index-sports-features__feature-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-sports-features__feature-small-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-index-sports-features__feature-item-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #017439;
}

.page-index-sports-features__feature-item-text {
  font-size: 0.95em;
  color: #555555;
}

/* Mobile Betting Section */
.page-index-sports-features__mobile-betting .page-index-sports-features__section-title,
.page-index-sports-features__mobile-betting .page-index-sports-features__section-description {
  color: #ffffff;
}

.page-index-sports-features__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index-sports-features__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-index-sports-features__mobile-text p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-sports-features__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: flex-end;
}

.page-index-sports-features__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

/* Security Section */
.page-index-sports-features__security .page-index-sports-features__section-title {
  color: #017439;
}

.page-index-sports-features__security .page-index-sports-features__section-description {
  color: #555555;
}

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

.page-index-sports-features__security-item {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: #ffffff;
  color: #333333;
}

.page-index-sports-features__security-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-sports-features__security-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-index-sports-features__security-text {
  font-size: 1em;
  color: #555555;
}

/* How to Start Section */
.page-index-sports-features__how-to-start .page-index-sports-features__section-title,
.page-index-sports-features__how-to-start .page-index-sports-features__section-description {
  color: #ffffff;
}

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

.page-index-sports-features__step-card {
  padding: 30px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.page-index-sports-features__step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
  border: 2px solid #FFFF00;
}

.page-index-sports-features__step-title {
  font-size: 1.4em;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-index-sports-features__step-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-index-sports-features__faq .page-index-sports-features__section-title {
  color: #017439;
}

.page-index-sports-features__faq .page-index-sports-features__section-description {
  color: #555555;
}

.page-index-sports-features__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-index-sports-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #333333;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-sports-features__faq-question:hover {
  background-color: #f0f0f0;
}

.page-index-sports-features__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #017439;
}

.page-index-sports-features__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-index-sports-features__faq-item.active .page-index-sports-features__faq-toggle {
  transform: rotate(0deg); /* Explicitly reset to 0 for '-' */
}

.page-index-sports-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-index-sports-features__faq-item.active .page-index-sports-features__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px;
}

.page-index-sports-features__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  color: #555555;
}

/* Final CTA Section */
.page-index-sports-features__cta-final {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
}

.page-index-sports-features__cta-final .page-index-sports-features__section-title {
  color: #ffffff;
}

.page-index-sports-features__cta-final .page-index-sports-features__section-description {
  color: #f0f0f0;
}

.page-index-sports-features__cta-final .page-index-sports-features__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-sports-features__hero-title {
    font-size: 3em;
  }
  .page-index-sports-features__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-sports-features {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-sports-features__hero-section {
    text-align: center;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-index-sports-features__hero-section .page-index-sports-features__container {
    flex-direction: column;
  }

  .page-index-sports-features__hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .page-index-sports-features__hero-title {
    font-size: 2.5em;
  }

  .page-index-sports-features__hero-description {
    font-size: 1.1em;
  }

  .page-index-sports-features__hero-cta-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }

  .page-index-sports-features__btn-primary,
  .page-index-sports-features__btn-secondary,
  .page-index-sports-features__btn-promo,
  .page-index-sports-features__btn-step,
  .page-index-sports-features a[class*="button"],
  .page-index-sports-features 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-index-sports-features__cta-buttons,
  .page-index-sports-features__button-group,
  .page-index-sports-features__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-index-sports-features__section {
    padding: 40px 0;
  }

  .page-index-sports-features__features-grid,
  .page-index-sports-features__sports-grid,
  .page-index-sports-features__promo-grid,
  .page-index-sports-features__security-grid,
  .page-index-sports-features__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-sports-features__live-betting-content,
  .page-index-sports-features__mobile-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .page-index-sports-features__live-betting-text,
  .page-index-sports-features__mobile-text {
    padding: 0 15px;
  }

  .page-index-sports-features__feature-list {
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-sports-features__live-betting-video-wrapper,
  .page-index-sports-features__mobile-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    overflow: hidden !important;
  }

  .page-index-sports-features__video,
  .page-index-sports-features__mobile-image,
  .page-index-sports-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-sports-features__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-index-sports-features__feature-item {
    max-width: 100%;
  }

  .page-index-sports-features__faq-list {
    padding: 0 15px;
  }
  
  .page-index-sports-features__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-index-sports-features__hero-title {
    font-size: 2em;
  }
  .page-index-sports-features__section-title {
    font-size: 1.8em;
  }
  .page-index-sports-features__hero-description {
    font-size: 1em;
  }
  .page-index-sports-features__btn-primary,
  .page-index-sports-features__btn-secondary {
    font-size: 0.9em;
    padding: 12px 20px;
  }
}