.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Rely on shared.css body background */
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__section-text {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__center-text {
  text-align: center;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding, only small decorative top */
  color: #ffffff;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-sports__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

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

/* 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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

.page-sports__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

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

.page-sports__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-sports__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: none;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-sports__btn-link:hover {
  color: #1a7fb3;
}

/* General Section Styles */
.page-sports__intro-section,
.page-sports__bet-types-section,
.page-sports__guide-section,
.page-sports__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  color: #ffffff;
}

.page-sports__features-section,
.page-sports__promotions-section,
.page-sports__call-to-action-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color for dark sections */
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-sports__light-bg .page-sports__section-title {
  color: #26A9E0;
}

.page-sports__light-bg .page-sports__section-text {
  color: #333333;
}

.page-sports__light-bg .page-sports__sport-title {
  color: #26A9E0;
}

.page-sports__light-bg .page-sports__sport-description {
  color: #333333;
}

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

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

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

.page-sports__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Bet Type Grid */
.page-sports__bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-sports__bet-type-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-sports__bet-type-card:hover {
  transform: translateY(-5px);
}

.page-sports__bet-type-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__bet-type-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-sports__sport-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-sports__sport-card:hover {
  transform: translateY(-8px);
}

.page-sports__sport-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-sports__sport-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__sport-description {
  font-size: 0.95em;
  color: #333333;
}

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

.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.page-sports__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  border: 3px solid #ffffff;
}

.page-sports__step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__promo-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-sports__promo-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__promo-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-sports__faq-question::-webkit-details-marker { /* For details/summary */
  display: none;
}

.page-sports__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-sports__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-sports__faq-item[open] .page-sports__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 10px;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 500px !important; /* Adjust as needed */
  padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-sports__section-text {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__container {
    padding: 0 15px;
  }

  .page-sports__hero-section {
    padding-bottom: 40px;
  }

  .page-sports__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-sports__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-sports__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px; /* Add padding to buttons container */
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-sports__section-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-sports__intro-section,
  .page-sports__bet-types-section,
  .page-sports__guide-section,
  .page-sports__faq-section,
  .page-sports__features-section,
  .page-sports__promotions-section,
  .page-sports__call-to-action-section {
    padding: 40px 0;
  }

  .page-sports__feature-grid,
  .page-sports__bet-type-grid,
  .page-sports__sports-grid,
  .page-sports__guide-steps,
  .page-sports__promo-grid {
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-sports__feature-card,
  .page-sports__bet-type-card,
  .page-sports__sport-card,
  .page-sports__step-card,
  .page-sports__promo-card {
    padding: 20px;
  }

  .page-sports__feature-title,
  .page-sports__bet-type-title,
  .page-sports__sport-title,
  .page-sports__step-title,
  .page-sports__promo-title {
    font-size: 1.3em;
  }

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

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

  /* Mobile image responsiveness */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports__hero-image-wrapper,
  .page-sports__feature-card,
  .page-sports__bet-type-card,
  .page-sports__sport-card,
  .page-sports__step-card,
  .page-sports__promo-card,
  .page-sports__faq-item,
  .page-sports__container,
  .page-sports__intro-section,
  .page-sports__bet-types-section,
  .page-sports__guide-section,
  .page-sports__faq-section,
  .page-sports__features-section,
  .page-sports__promotions-section,
  .page-sports__call-to-action-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right handled by .page-sports__container */
  }
  .page-sports__hero-image {
    width: 100% !important;
  }

}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}