.page-index-m88-football-odds-core-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #121212, so use light text */
  background-color: #121212; /* Ensure consistency with body background */
}

/* Fixed header offset for main content */
.page-index-m88-football-odds-core-features__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset to the first visible section */
}

.page-index-m88-football-odds-core-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-index-m88-football-odds-core-features__hero-section {
  position: relative;
  width: 100%;
  height: 700px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-index-m88-football-odds-core-features__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-index-m88-football-odds-core-features__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-index-m88-football-odds-core-features__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-index-m88-football-odds-core-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-m88-football-odds-core-features__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-index-m88-football-odds-core-features__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* General Section Styling */
.page-index-m88-football-odds-core-features__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-index-m88-football-odds-core-features__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-index-m88-football-odds-core-features__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff; /* Ensure text is light on dark background */
}

/* Dark Background Sections */
.page-index-m88-football-odds-core-features__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  padding: 60px 0;
  color: #ffffff;
}

.page-index-m88-football-odds-core-features__dark-bg .page-index-m88-football-odds-core-features__section-title {
  color: #26A9E0;
}

.page-index-m88-football-odds-core-features__dark-bg .page-index-m88-football-odds-core-features__section-subtitle {
  color: #f0f0f0;
}

/* Light Background Sections */
.page-index-m88-football-odds-core-features__light-bg {
  background-color: #ffffff; /* White background */
  padding: 60px 0;
  color: #333333; /* Dark text on light background */
}

.page-index-m88-football-odds-core-features__light-bg .page-index-m88-football-odds-core-features__section-title {
  color: #26A9E0;
}

.page-index-m88-football-odds-core-features__light-bg .page-index-m88-football-odds-core-features__section-subtitle {
  color: #555555;
}

.page-index-m88-football-odds-core-features__light-bg .page-index-m88-football-odds-core-features__text-block {
  color: #333333;
}

/* Buttons */
.page-index-m88-football-odds-core-features__btn-primary,
.page-index-m88-football-odds-core-features__btn-secondary,
.page-index-m88-football-odds-core-features__btn-text {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-index-m88-football-odds-core-features__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index-m88-football-odds-core-features__btn-primary:hover {
  background-color: #1e87b9;
}

.page-index-m88-football-odds-core-features__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index-m88-football-odds-core-features__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index-m88-football-odds-core-features__btn-text {
  background-color: transparent;
  color: #26A9E0;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid #26A9E0;
}

.page-index-m88-football-odds-core-features__btn-text:hover {
  color: #1e87b9;
  border-color: #1e87b9;
}

/* Features Grid */
.page-index-m88-football-odds-core-features__features-grid {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-index-m88-football-odds-core-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-m88-football-odds-core-features__feature-card {
  background-color: #262626; /* Darker background for cards on dark section */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-index-m88-football-odds-core-features__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-m88-football-odds-core-features__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-index-m88-football-odds-core-features__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
  color: #f0f0f0;
}

/* Why Choose Us Section */
.page-index-m88-football-odds-core-features__why-choose-us {
  padding: 60px 0;
}

.page-index-m88-football-odds-core-features__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index-m88-football-odds-core-features__text-column {
  flex: 1;
}

.page-index-m88-football-odds-core-features__image-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-m88-football-odds-core-features__advantage-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  min-height: 200px; /* Enforce min size */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index-m88-football-odds-core-features__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-index-m88-football-odds-core-features__advantage-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-index-m88-football-odds-core-features__advantage-list li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Video Section */
.page-index-m88-football-odds-core-features__video-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  text-align: center;
}

.page-index-m88-football-odds-core-features__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-m88-football-odds-core-features__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* Important for responsiveness */
}

.page-index-m88-football-odds-core-features__video-cta {
  margin-top: 30px;
}

/* Betting Tips Section */
.page-index-m88-football-odds-core-features__betting-tips {
  padding: 60px 0;
}

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

.page-index-m88-football-odds-core-features__tip-card {
  background-color: #262626;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  text-align: left;
}

.page-index-m88-football-odds-core-features__tip-card .page-index-m88-football-odds-core-features__card-title {
  color: #26A9E0;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-index-m88-football-odds-core-features__tip-card .page-index-m88-football-odds-core-features__card-description {
  color: #f0f0f0;
}

.page-index-m88-football-odds-core-features__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-index-m88-football-odds-core-features__faq-section {
  padding: 60px 0;
}

.page-index-m88-football-odds-core-features__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-index-m88-football-odds-core-features__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-m88-football-odds-core-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-index-m88-football-odds-core-features__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-m88-football-odds-core-features__faq-question:hover {
  background-color: #f0f0f0;
}

.page-index-m88-football-odds-core-features__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
}

.page-index-m88-football-odds-core-features__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* CTA Section at bottom */
.page-index-m88-football-odds-core-features__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-index-m88-football-odds-core-features__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Image specific styles */
.page-index-m88-football-odds-core-features img {
  max-width: 100%;
  height: auto;
  display: block; /* Ensure images are block-level for consistent spacing */
  object-fit: cover; /* Default object-fit */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-m88-football-odds-core-features__hero-title {
    font-size: 3em;
  }
  .page-index-m88-football-odds-core-features__hero-description {
    font-size: 1.2em;
  }
  .page-index-m88-football-odds-core-features__section-title {
    font-size: 2em;
  }
  .page-index-m88-football-odds-core-features__content-wrapper {
    flex-direction: column;
  }
  .page-index-m88-football-odds-core-features__image-column {
    margin-top: 30px;
  }
}

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

  /* Header offset for mobile */
  .page-index-m88-football-odds-core-features__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-index-m88-football-odds-core-features__hero-section {
    height: 500px;
  }
  .page-index-m88-football-odds-core-features__hero-title {
    font-size: 2.2em;
  }
  .page-index-m88-football-odds-core-features__hero-description {
    font-size: 1em;
  }
  .page-index-m88-football-odds-core-features__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-m88-football-odds-core-features__btn-primary,
  .page-index-m88-football-odds-core-features__btn-secondary,
  .page-index-m88-football-odds-core-features a[class*="button"],
  .page-index-m88-football-odds-core-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-m88-football-odds-core-features__cta-buttons,
  .page-index-m88-football-odds-core-features__button-group,
  .page-index-m88-football-odds-core-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-m88-football-odds-core-features__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-index-m88-football-odds-core-features__section-title {
    font-size: 1.8em;
  }
  .page-index-m88-football-odds-core-features__section-subtitle {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-index-m88-football-odds-core-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-m88-football-odds-core-features__section,
  .page-index-m88-football-odds-core-features__card,
  .page-index-m88-football-odds-core-features__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile video responsiveness */
  .page-index-m88-football-odds-core-features video,
  .page-index-m88-football-odds-core-features__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-m88-football-odds-core-features__video-section,
  .page-index-m88-football-odds-core-features__video-container,
  .page-index-m88-football-odds-core-features__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-index-m88-football-odds-core-features__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}