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

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

.page-sports__dark-bg {
  background-color: #0d0d0d; /* Slightly different dark for sections */
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #1a1a1a; /* Darker grey for contrast in sections */
  color: #ffffff;
}

/* --- Hero Section --- */
.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0a0a0a;
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

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

/* --- Buttons --- */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  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: #1e87b8;
  border-color: #1e87b8;
}

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

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

.page-sports__btn-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-sports__btn-link:hover {
  color: #1e87b8;
  text-decoration: underline;
}

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

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

.page-sports__btn-primary--large,
.page-sports__btn-secondary--large {
  padding: 18px 35px;
  font-size: 1.1em;
}

/* --- Video Section --- */
.page-sports__video-section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-sports__video,
.page-sports__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  cursor: pointer;
}

/* --- General Section Styles --- */
.page-sports__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

/* --- Features Section --- */
.page-sports__features-section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-sports__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
}

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-sports__feature-text {
  color: #cccccc;
  font-size: 1em;
  flex-grow: 1;
}

/* --- Markets Section --- */
.page-sports__markets-section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-sports__market-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-sports__market-card h3,
.page-sports__market-card p,
.page-sports__market-card a {
  padding: 0 25px;
}

.page-sports__market-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin: 20px 0 10px;
}

.page-sports__market-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__market-title a:hover {
  text-decoration: underline;
}

.page-sports__market-text {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__market-card .page-sports__btn-link {
  display: inline-block;
  margin: 0 25px 25px;
  align-self: flex-start;
}

/* --- Live Betting Section --- */
.page-sports__live-betting-section {
  padding: 80px 20px;
}

.page-sports__live-betting-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
}

.page-sports__live-betting-image {
  flex: 1 1 500px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-sports__live-betting-list {
  flex: 1 1 400px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sports__live-betting-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  color: #ffffff;
}

.page-sports__list-title {
  color: #26A9E0;
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

/* --- Promotions Section --- */
.page-sports__promotions-section {
  padding: 80px 20px;
}

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

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-sports__promo-card h3,
.page-sports__promo-card p,
.page-sports__promo-card a {
  padding: 0 25px;
}

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

.page-sports__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__promo-title a:hover {
  text-decoration: underline;
}

.page-sports__promo-text {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__promo-card .page-sports__btn-link {
  display: inline-block;
  margin: 0 25px 25px;
  align-self: flex-start;
}

/* --- How to Start Section --- */
.page-sports__how-to-start-section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-sports__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

.page-sports__step-text {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- Security Section --- */
.page-sports__security-section {
  padding: 80px 20px;
}

.page-sports__security-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
}

.page-sports__security-image {
  flex: 1 1 500px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-sports__security-list {
  flex: 1 1 400px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sports__security-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  color: #ffffff;
}

.page-sports__security-list li a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__security-list li a:hover {
  text-decoration: underline;
}

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

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

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

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

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

.page-sports__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

/* --- CTA Banner --- */
.page-sports__cta-banner {
  padding: 80px 20px;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-sports__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

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

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

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

  .page-sports__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }

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

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

  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 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;
    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__cta-buttons {
    flex-direction: column;
  }

  .page-sports__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

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

  .page-sports__video-section {
    padding: 40px 15px;
  }

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

  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .page-sports__features-section,
  .page-sports__markets-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__how-to-start-section,
  .page-sports__security-section,
  .page-sports__faq-section,
  .page-sports__cta-banner {
    padding: 40px 15px;
  }

  .page-sports__feature-grid,
  .page-sports__market-grid,
  .page-sports__promo-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__live-betting-content,
  .page-sports__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-sports__live-betting-image,
  .page-sports__security-image {
    flex: none;
    width: 100%;
  }

  .page-sports__live-betting-list li,
  .page-sports__security-list li {
    padding: 15px;
  }

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

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

  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 10px 20px 20px;
  }

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

  /* Ensure all images are responsive on mobile */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

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

  .page-sports__cta-title {
    font-size: 1.8em;
  }

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