.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f9fa; /* Light background for the page */
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  box-sizing: border-box;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-sports__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-sports__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
}

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

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

/* General Section Styles */
.page-sports__section-title {
  font-size: 2.5em;
  color: #0A1931; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Auxiliary color for underline */
  border-radius: 2px;
}

.page-sports__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Backgrounds */
.page-sports__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-sports__dark-bg {
  background-color: #0A1931;
  color: #ffffff;
}

.page-sports__dark-bg .page-sports__section-title {
  color: #FFD700;
}

.page-sports__dark-bg .page-sports__section-title::after {
  background-color: #FFD700;
}

.page-sports__dark-bg .page-sports__text-block {
  color: #ffffff;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in width */
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-sports__btn-primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #0A1931; /* Main brand color */
  border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
  background-color: #0A1931;
  color: #FFD700;
  border-color: #FFD700;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-sports__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-sports__btn-link {
  background-color: transparent;
  color: #0A1931;
  border: none;
  padding: 0;
  text-decoration: underline;
  margin-top: 15px;
}

.page-sports__btn-link:hover {
  color: #FFD700; /* Lighter color on hover */
}

/* Sports Types Section */
.page-sports__grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-sports__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Default text color for light cards */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-sports__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Minimum image size */
  object-fit: cover;
  filter: none; /* Ensure no CSS filter changes image color */
}

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

.page-sports__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to take up available space */
}

/* Features Section */
.page-sports__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: #333333;
}

.page-sports__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Minimum image size */
  object-fit: cover;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-sports__feature-title {
  font-size: 1.8em;
  color: #0A1931;
  margin-bottom: 15px;
}

.page-sports__feature-description {
  font-size: 1em;
  line-height: 1.7;
}

/* Promotions Section */
.page-sports__promotions-section .page-sports__cta-buttons {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Guide Section */
.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  background-color: #0A1931;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.page-sports__step-title {
  font-size: 1.8em;
  color: #0A1931;
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Support & Responsible Gaming Section */
.page-sports__support-content,
.page-sports__gaming-content {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-sports__support-content .page-sports__btn-primary {
  margin-top: 20px;
}

.page-sports__gaming-content .page-sports__btn-secondary {
  margin-top: 20px;
}

/* FAQ Section */
.page-sports__faq-section {
  padding-bottom: 80px;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-sports__faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden; /* Important for max-height transition */
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #f0f2f5;
  color: #0A1931;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: #e0e2e5;
}

.page-sports__faq-question h3 {
  margin: 0;
  font-size: 1em; /* Adjust to fit within the question div */
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(0deg); /* No rotation for minus sign */
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #333333;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 30px; /* Vertical padding when open */
}

.page-sports__faq-answer p {
  margin: 0;
  padding-bottom: 10px; /* Small padding at the bottom of the paragraph */
}

/* CTA Banner Section */
.page-sports__cta-banner {
  text-align: center;
  padding: 60px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }

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

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

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

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

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

  .page-sports__hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link {
    width: 100% !important;
    max-width: 300px !important; /* Constrain width for better mobile appearance */
    padding: 12px 20px !important;
    font-size: 0.95em !important;
  }

  .page-sports__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-sports__text-block {
    font-size: 0.95em;
  }

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

  .page-sports__card,
  .page-sports__feature-item,
  .page-sports__step-item,
  .page-sports__support-content,
  .page-sports__gaming-content {
    padding: 20px;
  }

  .page-sports__card-image,
  .page-sports__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Ensure minimum size */
    filter: none; /* Ensure no CSS filter changes image color */
  }

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

  .page-sports__faq-answer {
    padding: 15px 20px !important;
  }

  /* Specific mobile adjustments for sections */
  .page-sports__sports-types,
  .page-sports__features-section,
  .page-sports__promotions-section,
  .page-sports__guide-section,
  .page-sports__support-gaming-section,
  .page-sports__cta-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
    padding-left: 0;
    padding-right: 0;
  }

  .page-sports__support-gaming-section .page-sports__grid-2 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure images and videos are responsive by default */
.page-sports img,
.page-sports video {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no CSS filter changes image color */
}

/* Ensure video containers are responsive */
.page-sports__video-section,
.page-sports__video-container,
.page-sports__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Content area image size lower bound */
.page-sports__hero-section img,
.page-sports__sports-types img,
.page-sports__features-section img,
.page-sports__guide-section img {
  min-width: 200px;
  min-height: 200px;
}