.page-sports {
  color: #333333;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #f8f8f8;
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-sports__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.page-sports__button--primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-sports__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-sports__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-sports__button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-sports__button--center {
  display: block;
  margin: 40px auto;
  max-width: 250px;
}

.page-sports__button--large {
  padding: 15px 30px;
  font-size: 1.2em;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1A202C; /* Dark background for hero text */
}

.page-sports__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 40px 20px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Gold for title */
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* About Section (Features) */
.page-sports__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

.page-sports__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-icon {
  width: 100px; /* Base size, will be overridden by min-width/height for mobile */
  height: 100px; /* Base size, will be overridden by min-width/height for mobile */
  object-fit: contain;
  margin: 0 auto 20px auto;
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-sports__feature-text {
  color: #555555;
}

/* Categories Section */
.page-sports__categories-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-sports__categories-section .page-sports__section-intro {
  color: #cccccc;
}

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

.page-sports__category-card {
  background-color: #2a3341;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-sports__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-sports__category-card h3 {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 20px 10px 20px;
}

.page-sports__category-card p {
  color: #cccccc;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-sports__category-card .page-sports__button {
  margin: 0 20px 20px 20px;
  background-color: #FFD700;
  color: #1A202C;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-sports__category-card .page-sports__button:hover {
  background-color: #e6c200;
}

/* Live Betting CTA Section */
.page-sports__live-betting-cta {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-sports__live-betting-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__live-betting-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-sports__promotions-section .page-sports__section-intro {
  color: #cccccc;
}

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

.page-sports__promo-card {
  background-color: #2a3341;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-sports__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-sports__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 20px 10px 20px;
}

.page-sports__promo-text {
  color: #cccccc;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-sports__promo-card .page-sports__button {
  margin: 0 20px 20px 20px;
  background-color: #FFD700;
  color: #1A202C;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-sports__promo-card .page-sports__button:hover {
  background-color: #e6c200;
}

/* Getting Started Section */
.page-sports__getting-started-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-sports__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-sports__step-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-sports__step-text {
  color: #555555;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-sports__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  background-color: #2a3341;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  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;
  transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
  color: #cccccc;
  font-size: 1.05em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
  padding-top: 0;
}

.page-sports__faq-answer.active {
  max-height: 200px; /* Adjust as needed, ensure it's large enough for content */
  padding-top: 15px;
}

/* Final CTA Section */
.page-sports__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f8f8f8;
}

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

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 500px;
  }

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

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

  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-sports__button--secondary {
    margin-left: 0;
  }

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

  .page-sports__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-sports__feature-grid, .page-sports__category-grid, .page-sports__promo-grid, .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }

  /* Global responsive image rule for content area to prevent overflow */
  .page-sports img {
    max-width: 100%;
    height: auto;
    /* Ensure minimum size for content images */
    min-width: 200px; 
    min-height: 200px;
    object-fit: cover; /* Maintain aspect ratio while covering */
  }

  /* Specific overrides for smaller image elements to meet min-size requirement */
  .page-sports__feature-icon {
    width: 200px; /* Explicitly set to meet min-size */
    height: 200px; /* Explicitly set to meet min-size */
    margin-left: auto;
    margin-right: auto;
  }

  .page-sports__category-image {
    height: 200px; /* Fixed height for mobile category images */
    min-width: 200px;
    min-height: 200px;
  }

  .page-sports__promo-image {
    height: 180px; /* Fixed height for mobile promo images */
    min-width: 200px;
    min-height: 200px;
  }

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

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

  .page-sports__faq-answer {
    font-size: 0.95em;
  }
}

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

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

  .page-sports__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}