.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#000000), so text should be light */
  background-color: transparent; /* Use transparent as body background is handled by shared.css */
}

.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;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

.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 {
  background-color: transparent;
  color: #26A9E0;
  border: 1px solid #26A9E0;
  padding: 8px 15px;
  font-size: 0.9em;
}

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

.page-sports__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background for cards on dark sections */
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-sports__light-bg .page-sports__section-title {
  color: #26A9E0;
}

.page-sports__light-bg .page-sports__section-description {
  color: #555555;
}

.page-sports__light-bg .page-sports__card {
  background: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__light-bg .page-sports__card .page-sports__feature-title,
.page-sports__light-bg .page-sports__card .page-sports__bet-type-title,
.page-sports__light-bg .page-sports__card .page-sports__advantage-title,
.page-sports__light-bg .page-sports__card .page-sports__step-title,
.page-sports__light-bg .page-sports__card .page-sports__promotion-title,
.page-sports__light-bg .page-sports__card h3 {
  color: #000000;
}

.page-sports__light-bg .page-sports__card .page-sports__feature-text,
.page-sports__light-bg .page-sports__card .page-sports__bet-type-text,
.page-sports__light-bg .page-sports__card .page-sports__advantage-text,
.page-sports__light-bg .page-sports__card .page-sports__step-text,
.page-sports__light-bg .page-sports__card .page-sports__promotion-text,
.page-sports__light-bg .page-sports__card p {
  color: #666666;
}

.page-sports__dark-bg {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 0;
}

.page-sports__dark-bg .page-sports__section-title {
  color: #26A9E0;
}

.page-sports__dark-bg .page-sports__section-description {
  color: #f0f0f0;
}

.page-sports__dark-bg .page-sports__card {
  background: rgba(38, 169, 224, 0.1); /* Light transparent version of brand color */
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__dark-bg .page-sports__card h3,
.page-sports__dark-bg .page-sports__card p {
  color: #ffffff;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding: 150px 0 100px; /* Adjust for header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for better text readability */
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  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.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

/* About Section */
.page-sports__about-section {
  padding: 80px 0;
}

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

.page-sports__feature-card {
  padding: 30px;
}

.page-sports__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for feature images */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-sports__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-sports__feature-text {
  font-size: 1em;
  color: #666666;
}

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

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

.page-sports__bet-type-card {
  padding: 30px;
}

.page-sports__bet-type-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-sports__bet-type-text {
  font-size: 1em;
}

/* Advantages Section */
.page-sports__advantages-section {
  padding: 80px 0;
}

.page-sports__advantage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-sports__advantage-item {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__advantage-icon {
  width: 64px; /* Ensure icons are not too small */
  height: 64px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-sports__advantage-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-sports__advantage-text {
  font-size: 0.95em;
  color: #666666;
}

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

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

.page-sports__step-item {
  padding: 30px;
  position: relative;
  min-height: 250px;
}

.page-sports__step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid #000000;
}

.page-sports__step-title {
  margin-top: 20px;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-sports__step-text {
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Video Section */
.page-sports__video-section {
  padding: 80px 0;
}

.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-top: 50px;
}

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

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

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

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

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

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

.page-sports__promotion-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-sports__promotion-text {
  font-size: 0.95em;
  margin-bottom: 20px;
}

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

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: #f0f0f0;
}

.page-sports__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #000000;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  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: #666666;
}

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

.page-sports__faq-answer p {
  margin-bottom: 0;
}

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

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

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

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

  .page-sports__container {
    padding: 0 15px;
  }

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

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

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

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link,
  .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__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper,
  .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;
    overflow: hidden !important;
  }

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

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

  .page-sports__feature-icon,
  .page-sports__advantage-icon {
    max-width: 100px; /* Adjust icon size for mobile if needed, but keep >= 200px for content images */
    height: auto;
  }

  .page-sports__promotion-image {
    height: 150px;
  }

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

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

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

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

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

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

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__section-title {
    font-size: 1.6em;
  }
  .page-sports__feature-grid,
  .page-sports__bet-type-grid,
  .page-sports__advantage-list,
  .page-sports__guide-steps,
  .page-sports__promotion-grid {
    grid-template-columns: 1fr;
  }
}