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

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

.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

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

.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: #1a8cc2;
  text-decoration: underline;
}

/* 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);
  box-sizing: border-box;
}

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

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

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

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

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

/* Introduction Section */
.page-sports__introduction-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-sports__intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.page-sports__intro-image-wrapper {
  text-align: center;
}

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

/* Sports Section */
.page-sports__sports-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

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

.page-sports__sport-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

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

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

.page-sports__sport-text {
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-sports__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  pointer-events: none;
}

.page-sports__video-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.page-sports__live-betting-text {
  color: #f0f0f0;
  text-align: center;
  font-size: 1.1em;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-sports__promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-sports__promo-image-wrapper {
  text-align: center;
}

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

.page-sports__promo-content p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-sports__promo-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-sports__promo-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2326A9E0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 0 1-20 0v-1.08M11 7V2h2v5M11 17v5h2v-5M15 11h5v2h-5M4 11h5v2H4"></path></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #e0e0e0;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-sports__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-sports__guide-step {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__guide-image {
  max-width: 100%;
  height: 200px; /* Fixed height */
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

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

.page-sports__guide-step-text {
  color: #cccccc;
}

/* Safety Section */
.page-sports__safety-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-sports__safety-list {
  list-style: none;
  padding-left: 0;
  margin: 30px auto;
  max-width: 800px;
}

.page-sports__safety-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23EA7C07" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"></path></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #e0e0e0;
  font-size: 1.1em;
}

.page-sports__safety-section .page-sports__btn-secondary {
  margin-top: 30px;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

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

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

.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); /* Plus to X */
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  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: 15px 25px 25px;
}

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

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

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

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

.page-sports__btn-large {
  padding: 15px 40px;
  font-size: 1.2em;
}

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

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

  .page-sports__intro-grid,
  .page-sports__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-sports__intro-image-wrapper,
  .page-sports__promo-image-wrapper {
    order: -1;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 15px;
  }

  .page-sports__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

  .page-sports__hero-cta-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__hero-cta-buttons {
    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: 2em;
  }

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

  /* Image responsive rules */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__hero-image,
  .page-sports__intro-image,
  .page-sports__sport-image,
  .page-sports__promo-image,
  .page-sports__guide-image {
    max-width: 100% !important;
    height: auto !important; /* Allow height to adjust */
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-sports__video-wrapper {
    padding-bottom: 75% !important; /* Adjust aspect ratio for mobile if needed, e.g., 4:3 */
  }

  .page-sports__container,
  .page-sports__section,
  .page-sports__card,
  .page-sports__intro-grid,
  .page-sports__promo-grid,
  .page-sports__sports-grid,
  .page-sports__guide-steps,
  .page-sports__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

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

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

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

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

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