.page-sports {
  color: #333333; /* Dark text for light body background */
}

.page-sports__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #f8f8f8;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

.page-sports__hero-title {
  font-size: 3.5em;
  color: #8B0000; /* Dark red for emphasis */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.4em;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-sports__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold primary color */
  color: #8B0000; /* Dark red text for contrast */
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-sports__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.2;
}

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
  font-weight: 700;
}

.page-sports__section-description {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto 25px auto;
  color: #444444;
}

.page-sports__about-section, .page-sports__betting-guide, .page-sports__advantages-section, .page-sports__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-sports__featured-sports {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

.page-sports__card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 450px; /* Ensure cards have a minimum height */
}

.page-sports__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.page-sports__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__card-title {
  font-size: 1.8em;
  color: #8B0000;
  margin: 25px 20px 15px 20px;
  font-weight: 600;
}

.page-sports__card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-sports__card-title a:hover {
  color: #FFD700;
}

.page-sports__card-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 25px;
  transition: background-color 0.3s ease;
}

.page-sports__card-button:hover {
  background-color: #e6c200;
}

.page-sports__guide-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-sports__guide-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-sports__guide-item-title {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-sports__guide-list li p {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-sports__live-betting-section {
  background: linear-gradient(135deg, #8B0000 0%, #a03030 100%);
  padding: 80px 0;
  color: #ffffff;
}

.page-sports__live-betting-section .page-sports__section-title {
  color: #FFD700;
}

.page-sports__live-betting-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__live-betting-text {
  flex: 1;
}

.page-sports__live-betting-text .page-sports__section-description {
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-sports__live-betting-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__live-betting-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-sports__live-betting-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-sports__live-betting-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-sports__advantage-item:hover {
  transform: translateY(-5px);
}

.page-sports__advantage-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-sports__advantage-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

.page-sports__faq-section {
  background-color: #f8f8f8;
}

.page-sports__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-question {
  font-size: 1.3em;
  color: #8B0000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-sports__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-sports__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-sports__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  display: none;
  padding-top: 10px;
}

.page-sports__faq-answer a {
  color: #8B0000;
  text-decoration: underline;
}

.page-sports__faq-answer a:hover {
  color: #FFD700;
}

.page-sports__cta-section {
  background: linear-gradient(90deg, #FFD700 0%, #e6c200 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-sports__cta-section .page-sports__section-title {
  color: #8B0000;
  margin-bottom: 20px;
}

.page-sports__cta-section .page-sports__section-description {
  color: #555555;
  margin-bottom: 40px;
}

.page-sports__cta-button {
  display: inline-block;
  background-color: #8B0000;
  color: #FFD700;
  padding: 18px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.page-sports__cta-button:hover {
  background-color: #6a0000;
  transform: translateY(-5px);
}

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

.page-sports__cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%); /* Maintain grayscale for background image */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-sports__hero-title {
    font-size: 2.5em;
  }

  .page-sports__hero-description {
    font-size: 1.1em;
  }

  .page-sports__hero-button {
    font-size: 1.1em;
    padding: 12px 30px;
  }

  .page-sports__section-title {
    font-size: 2em;
    padding-top: 40px;
  }

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

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

  .page-sports__card {
    min-height: auto;
  }

  .page-sports__card-image {
    height: 200px;
    min-width: 200px;
    min-height: 200px;
  }

  .page-sports__card-title {
    font-size: 1.5em;
  }

  .page-sports__live-betting-content {
    flex-direction: column;
  }

  .page-sports__live-betting-image-wrapper {
    margin-top: 30px;
  }

  .page-sports__live-betting-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-sports__live-betting-button {
    font-size: 1.1em;
    padding: 12px 30px;
  }

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

  .page-sports__advantage-item {
    padding: 20px;
  }

  .page-sports__advantage-title {
    font-size: 1.3em;
  }

  .page-sports__faq-item {
    padding: 20px;
  }

  .page-sports__faq-question {
    font-size: 1.1em;
  }

  .page-sports__cta-button {
    font-size: 1.2em;
    padding: 15px 35px;
  }

  /* Ensure all images in content area are responsive and not smaller than 200px */
  .page-sports img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not displayed smaller than 200px */
    min-height: 200px;
  }

  /* Override specific image sizes if they conflict with min-width/height */
  .page-sports__hero-image,
  .page-sports__card-image,
  .page-sports__live-betting-image,
  .page-sports__cta-image {
    width: 100%; /* Ensure they scale down */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
  }
}

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

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

  .page-sports__hero-button {
    font-size: 1em;
    padding: 10px 25px;
  }

  .page-sports__cta-button {
    font-size: 1em;
    padding: 12px 30px;
  }
}