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

.page-sports__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add some horizontal padding for content */
  box-sizing: border-box;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-color: #0a0a0a; /* Ensure hero has a dark background */
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

.page-sports__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-sports__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* General Titles & Paragraphs */
.page-sports__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-sports__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Dark Background Sections (e.g., bet types, guide, faq) */
.page-sports__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast with body */
  color: #ffffff;
}

/* Light Background Sections (e.g., advantages, promotions) */
.page-sports__light-bg {
  background-color: #0a0a0a; /* Same as body for blending, but content elements will have their own backgrounds */
  color: #f0f0f0;
}

/* Image styling */
.page-sports__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__image--centered {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-sports__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-sports__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
}

.page-sports__cta-buttons--centered {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Grid Layouts */
.page-sports__grid,
.page-sports__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Cards */
.page-sports__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Ensure card text is light */
}

.page-sports__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Lists */
.page-sports__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-sports__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-sports__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
}

.page-sports__guide-item {
  margin-bottom: 30px;
  padding-left: 60px;
  position: relative;
}

.page-sports__guide-item::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.4em;
}

.page-sports__guide-step-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-sports__guide-text {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-item summary {
  list-style: none; /* Hide default marker for details */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2); /* Slightly transparent brand color */
  transition: background-color 0.3s ease;
}

.page-sports__faq-item summary:hover {
  background-color: rgba(38, 169, 224, 0.4);
}

.page-sports__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-sports__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  content: "−"; /* Change to minus when open (handled by JS for robustness) */
}

.page-sports__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1.1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__faq-answer p {
  margin-bottom: 0;
}

/* Links within content */
.page-sports a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-sports a:hover {
  color: #1e87b7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }

  .page-sports__hero-title {
    font-size: 2.2em;
  }

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

  .page-sports__hero-content {
    padding: 20px;
  }

  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-sports__paragraph,
  .page-sports__list-item,
  .page-sports__guide-text,
  .page-sports__card-text,
  .page-sports__faq-answer {
    font-size: 1em;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

  .page-sports__hero-cta-buttons,
  .page-sports__cta-buttons--centered {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-sports__grid,
  .page-sports__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__card {
    padding: 20px;
  }

  .page-sports__card-image {
    height: 180px;
  }

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

  .page-sports__guide-item {
    padding-left: 50px;
  }

  .page-sports__guide-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }

  .page-sports__guide-step-title {
    font-size: 1.4em;
  }

  .page-sports__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-sports__faq-toggle {
    font-size: 1.3em;
  }

  .page-sports__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Mobile image and video responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__hero-image-wrapper,
  .page-sports__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Adding padding to sections/containers to prevent content from touching edges */
    padding-left: 15px; 
    padding-right: 15px;
  }

  /* Override specific section padding for mobile to ensure content stays within bounds */
  .page-sports__section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Ensure .page-sports__container padding is applied */
  .page-sports__container {
    padding-left: 0 !important; /* Reset container padding if section already has it */
    padding-right: 0 !important;
  }
}

/* Ensure content area images are not too small */
/* This rule applies to any img within .page-sports, enforcing minimum display size */
.page-sports img:not(.page-sports__hero-image) { /* Exclude hero image from this specific min-size rule if it's purely background */
  min-width: 200px; /* Minimum display width */
  min-height: 200px; /* Minimum display height */
  /* These min-sizes are for *display* in desktop. For mobile, max-width: 100% takes precedence */
}

/* For card images, ensure they are not too small as per requirements */
.page-sports__card-image {
  min-width: 200px; 
  min-height: 200px;
}

/* Ensure no CSS filters are used for images */
.page-sports img {
  filter: none; /* Explicitly prevent any filters */
}