/* style/sports.css */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure body background is black, shared.css will handle it */
}

.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: 40px;
  font-weight: bold;
}

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

.page-sports__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-sports__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-sports__btn-primary:hover {
  background-color: #1e87c0; /* Slightly darker blue */
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #26A9E0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-sports__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-sports__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

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

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

.page-sports__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability, NO color change filter */
}

.page-sports__hero-overlay {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* Intro Section */
.page-sports__intro-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__intro-section .page-sports__text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__intro-section .page-sports__text-block a:hover {
  text-decoration: underline;
}

/* Categories Section & Grid */
.page-sports__categories-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-sports__card {
  background-color: rgba(255, 255, 255, 0.05); /* Very subtle white for cards on dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  color: #ffffff; /* Ensure text is light */
}

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

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

.page-sports__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-sports__card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__card-link:hover {
  text-decoration: underline;
}

.page-sports__card-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-sports__card--no-image {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

/* Bet Types Section */
.page-sports__bet-types-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

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

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

.page-sports__cta-center {
  margin-top: 40px;
  text-align: center;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__image-content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-sports__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-sports__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-sports__text-wrapper {
  flex: 1;
}

.page-sports__text-wrapper .page-sports__list-item {
  background-color: transparent;
  border-left: 5px solid #26A9E0;
  color: #f0f0f0;
}

.page-sports__text-wrapper .page-sports__list-item a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__text-wrapper .page-sports__list-item a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  text-align: center;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__numbered-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  counter-reset: step-counter;
  text-align: left;
}

.page-sports__numbered-list .page-sports__list-item {
  counter-increment: step-counter;
  background-color: rgba(255, 255, 255, 0.05);
  border-left: none;
  margin-bottom: 20px;
  padding: 20px 20px 20px 60px; /* Adjust padding for number */
  position: relative;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-sports__numbered-list .page-sports__list-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-sports__numbered-list .page-sports__list-item a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__numbered-list .page-sports__list-item a:hover {
  text-decoration: underline;
}

/* Why Choose Section */
.page-sports__why-choose-section {
  padding: 80px 0;
  text-align: center;
}

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

.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.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  color: #ffffff;
}

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

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.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, padding 0.3s ease;
  color: #e0e0e0;
}

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

.page-sports__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  color: #e0e0e0;
}

.page-sports__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__faq-answer a:hover {
  text-decoration: underline;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__image-content-flex {
    flex-direction: column;
  }
  .page-sports__image-wrapper, .page-sports__text-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__text-block, .page-sports__list-item, .page-sports__card-description, .page-sports__faq-question, .page-sports__faq-answer p {
    font-size: 1em;
  }
  .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-sports__cta-center .page-sports__btn-primary,
  .page-sports__cta-center .page-sports__btn-secondary {
    margin-top: 20px;
  }
  .page-sports__grid {
    grid-template-columns: 1fr;
  }
  .page-sports__card {
    padding: 20px;
  }
  .page-sports__card-image {
    height: 180px;
  }
}