.page-sports-popular-matches-analysis {
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Ensure main content area has the same dark background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-sports-popular-matches-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-sports-popular-matches-analysis__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 700px; /* Ensure hero section has a decent height */
  overflow: hidden;
  background-color: #000000;
}

.page-sports-popular-matches-analysis__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-sports-popular-matches-analysis__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the image to make text pop */
}

.page-sports-popular-matches-analysis__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text readability */
  border-radius: 10px;
}

.page-sports-popular-matches-analysis__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports-popular-matches-analysis__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-sports-popular-matches-analysis__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-sports-popular-matches-analysis__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-sports-popular-matches-analysis__cta-button--register {
  background-color: #FCBC45; /* Login color for Register button as per custom colors */
  color: #000000; /* Dark text for contrast */
}

.page-sports-popular-matches-analysis__cta-button--register:hover {
  background-color: #e0a53a;
}

.page-sports-popular-matches-analysis__cta-button--login {
  background-color: #FFFFFF; /* Register color for Login button as per custom colors */
  color: #000000; /* Dark text for contrast */
}

.page-sports-popular-matches-analysis__cta-button--login:hover {
  background-color: #f0f0f0;
}

.page-sports-popular-matches-analysis__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #FCBC45;
}

.page-sports-popular-matches-analysis__section-paragraph {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-sports-popular-matches-analysis__introduction-section,
.page-sports-popular-matches-analysis__why-melbet-section,
.page-sports-popular-matches-analysis__betting-guide-section,
.page-sports-popular-matches-analysis__promotions-section,
.page-sports-popular-matches-analysis__final-cta-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-sports-popular-matches-analysis__featured-matches-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

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

.page-sports-popular-matches-analysis__match-card {
  background-color: #0d0d0d;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-sports-popular-matches-analysis__match-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-sports-popular-matches-analysis__card-title {
  font-size: 1.5em;
  padding: 20px;
  margin: 0;
  color: #FCBC45;
}

.page-sports-popular-matches-analysis__card-text {
  padding: 0 20px 20px 20px;
  flex-grow: 1;
  color: #f0f0f0;
}

.page-sports-popular-matches-analysis__card-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px 20px;
  padding: 12px 20px;
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports-popular-matches-analysis__card-button:hover {
  background-color: #e0a53a;
}

.page-sports-popular-matches-analysis__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports-popular-matches-analysis__feature-item {
  text-align: center;
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports-popular-matches-analysis__feature-icon {
  width: 300px; /* Minimum 200px, use 300px as a good size */
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-sports-popular-matches-analysis__feature-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-sports-popular-matches-analysis__feature-text {
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-sports-popular-matches-analysis__cta-button--secondary {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
}

.page-sports-popular-matches-analysis__cta-button--secondary:hover {
  background-color: #e0a53a;
}

.page-sports-popular-matches-analysis__cta-button--primary {
  background-color: #FFFFFF;
  color: #000000;
  margin-top: 30px;
}

.page-sports-popular-matches-analysis__cta-button--primary:hover {
  background-color: #f0f0f0;
}

.page-sports-popular-matches-analysis__final-cta-section .page-sports-popular-matches-analysis__cta-button--register {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports-popular-matches-analysis__hero-title {
    font-size: 3em;
  }

  .page-sports-popular-matches-analysis__hero-description {
    font-size: 1.2em;
  }

  .page-sports-popular-matches-analysis__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-sports-popular-matches-analysis__hero-section {
    min-height: 500px;
    padding: 40px 20px;
  }

  .page-sports-popular-matches-analysis__hero-title {
    font-size: 2.5em;
  }

  .page-sports-popular-matches-analysis__hero-description {
    font-size: 1em;
  }

  .page-sports-popular-matches-analysis__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports-popular-matches-analysis__cta-button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-sports-popular-matches-analysis__section-title {
    font-size: 1.8em;
  }

  .page-sports-popular-matches-analysis__section-paragraph {
    font-size: 0.95em;
  }

  .page-sports-popular-matches-analysis__introduction-section,
  .page-sports-popular-matches-analysis__why-melbet-section,
  .page-sports-popular-matches-analysis__betting-guide-section,
  .page-sports-popular-matches-analysis__promotions-section,
  .page-sports-popular-matches-analysis__final-cta-section,
  .page-sports-popular-matches-analysis__featured-matches-section {
    padding: 50px 0;
  }

  .page-sports-popular-matches-analysis__match-grid,
  .page-sports-popular-matches-analysis__feature-list {
    grid-template-columns: 1fr;
  }

  /* Ensure images do not overflow on mobile */
  .page-sports-popular-matches-analysis img {
    max-width: 100%;
    height: auto;
  }

  .page-sports-popular-matches-analysis__match-image {
    height: auto; /* Allow height to adjust for mobile */
  }

  .page-sports-popular-matches-analysis__feature-icon {
    width: 100%;
    height: auto;
  }

  /* Content area must not cause horizontal scrolling */
  .page-sports-popular-matches-analysis {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-sports-popular-matches-analysis__hero-title {
    font-size: 2em;
  }

  .page-sports-popular-matches-analysis__hero-description {
    font-size: 0.9em;
  }

  .page-sports-popular-matches-analysis__hero-content {
    padding: 20px;
  }

  .page-sports-popular-matches-analysis__card-title {
    font-size: 1.2em;
  }

  .page-sports-popular-matches-analysis__feature-title {
    font-size: 1.5em;
  }
}