.page-sports {
  color: #ffffff; /* Body background #0a0a0a (dark), so text must be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-sports__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  color: #ffffff; /* Ensure text is light on dark body background */
}

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

.page-sports__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding-top: 0; /* Assumes shared.css handles body padding for header offset */
  overflow: hidden;
  background-color: #0a0a0a; /* Fallback for image loading */
}

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

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

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

.page-sports__about-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-sports__about-text {
  flex: 1;
}

.page-sports__about-text p {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-sports__about-text strong {
  color: #26A9E0;
}

.page-sports__about-image-wrapper {
  flex: 1;
  min-width: 400px;
}

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

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

.page-sports__sport-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

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

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

.page-sports__sport-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__live-betting-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-direction: row-reverse; /* Image on left, text on right */
}

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

.page-sports__live-betting-text p {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-sports__live-betting-image-wrapper {
  flex: 1;
  min-width: 400px;
}

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

.page-sports__promotion-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-sports__promotion-item strong {
  color: #26A9E0;
}

.page-sports__responsible-gambling-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #0a0a0a; /* Ensure dark background */
}

.page-sports__responsible-gambling-section .page-sports__section-description {
  margin-bottom: 30px;
}

.page-sports__why-choose-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-sports__why-choose-image-wrapper {
  flex: 1;
  min-width: 400px;
}

.page-sports__why-choose-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sports__why-choose-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-sports__why-choose-item h3 {
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.page-sports__why-choose-item p {
  color: #f0f0f0;
}

.page-sports__faq-section {
  padding: 60px 20px;
}

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

.page-sports__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__faq-question h3 {
  margin: 0;
  color: #26A9E0;
  font-size: 1.2em;
}

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

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-sports__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
  color: #f0f0f0;
}

.page-sports__cta-bottom {
  text-align: center;
  padding: 60px 20px;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* Desktop specific adjustments */
@media (min-width: 769px) {
  .page-sports__sport-image {
    height: 180px;
  }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 450px;
  }

  .page-sports__hero-content {
    max-width: 90%;
    padding: 15px;
  }

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

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

  .page-sports__hero-buttons,
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__content-area {
    padding: 20px 15px;
  }

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

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

  .page-sports__about-grid,
  .page-sports__live-betting-content,
  .page-sports__why-choose-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-sports__about-image-wrapper,
  .page-sports__live-betting-image-wrapper,
  .page-sports__why-choose-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-sports__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__sport-card {
    padding: 20px;
  }

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

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

  .page-sports__promotion-item {
    padding: 15px;
  }

  .page-sports__why-choose-item h3 {
    font-size: 1.3em;
  }

  .page-sports__faq-question {
    padding: 15px;
  }

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

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

  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px;
    padding-top: 0;
  }

  /* General image responsiveness for content area */
  .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__about-section,
  .page-sports__featured-sports-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__responsible-gambling-section,
  .page-sports__why-choose-section,
  .page-sports__faq-section,
  .page-sports__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}