.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Inherited from shared.css, set for clarity */
}

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

.page-sports__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-sports__text-block {
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-align: justify;
  color: #f0f0f0;
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background-color: #0a0a0a; /* Ensure dark background for hero */
}

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

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

.page-sports__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

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

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

.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__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-sports__about-section,
.page-sports__advantages-section,
.page-sports__promotions-section,
.page-sports__faq-section,
.page-sports__video-section {
  padding: 80px 0;
}

.page-sports__sports-categories,
.page-sports__how-to-bet-section,
.page-sports__mobile-app-section,
.page-sports__support-section,
.page-sports__conclusion-section {
  padding: 80px 0;
}

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

.page-sports__card {
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent background for cards on dark sections */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-sports__light-bg .page-sports__card {
  background-color: #f9f9f9; /* Lighter background for cards on light sections */
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-sports__card-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

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

.page-sports__card-text {
  font-size: 1rem;
  flex-grow: 1;
}

.page-sports__image-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.page-sports__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-sports__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-bottom: 40px;
}

.page-sports__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  padding: 20px 30px 20px 60px;
  position: relative;
  border-radius: 8px;
  color: #f0f0f0;
}

.page-sports__light-bg .page-sports__step-item {
  background-color: #f9f9f9;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #26A9E0;
}

.page-sports__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: #26A9E0;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.page-sports__step-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

.page-sports__container--flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-sports__container--flex-reverse {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 50px;
}

.page-sports__content-block {
  flex: 1;
}

.page-sports__image-wrapper--mobile-app,
.page-sports__image-wrapper--support {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__mobile-app-image,
.page-sports__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 40px auto 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  cursor: pointer;
}

.page-sports__faq-list {
  margin-top: 40px;
}

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

.page-sports__light-bg .page-sports__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.08);
}

.page-sports__light-bg .page-sports__faq-question {
  background-color: #eef7ff;
}

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

.page-sports__light-bg .page-sports__faq-question:hover {
  background-color: #e0f0ff;
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  line-height: 1;
}

.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;
  font-size: 1rem;
}

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

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

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

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

  .page-sports__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-sports__hero-section {
    padding: 80px 15px;
    min-height: 500px;
  }

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

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

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-sports__text-block {
    font-size: 1rem;
  }

  .page-sports__about-section,
  .page-sports__advantages-section,
  .page-sports__promotions-section,
  .page-sports__faq-section,
  .page-sports__video-section,
  .page-sports__sports-categories,
  .page-sports__how-to-bet-section,
  .page-sports__mobile-app-section,
  .page-sports__support-section,
  .page-sports__conclusion-section {
    padding: 50px 0;
  }

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

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

  .page-sports__card {
    padding: 20px;
  }

  .page-sports__card-title {
    font-size: 1.5rem;
  }

  .page-sports__step-item {
    padding: 15px 20px 15px 50px;
  }

  .page-sports__step-item::before {
    left: 15px;
    top: 15px;
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
  }

  .page-sports__step-title {
    font-size: 1.2rem;
  }

  .page-sports__container--flex,
  .page-sports__container--flex-reverse {
    flex-direction: column;
    gap: 30px;
  }

  .page-sports__image-row {
    margin-top: 30px;
  }

  .page-sports__video-wrapper {
    margin-top: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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