.page-sports {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text on dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-sports__section {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.page-sports__dark-bg {
  background-color: #0a0a0a; /* Ensure dark background for sections */
  color: #ffffff;
}

.page-sports__text-light {
  color: #ffffff;
}

.page-sports__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for titles */
}

.page-sports__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  text-align: center;
}

.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: 4em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* Buttons */
.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.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
}

.page-sports__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #0a0a0a; /* Dark text for contrast */
  border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-sports__btn-secondary:hover {
  background-color: #FFD700;
  color: #0a0a0a;
}

/* Sports Overview Section */
.page-sports__sports-overview {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-sports__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px 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;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-sports__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__card-link {
  color: #8B0000; /* Auxiliary color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* Live Betting Section */
.page-sports__live-betting {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-sports__live-betting-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  text-align: left;
}

.page-sports__live-betting-text {
  flex: 1;
}

.page-sports__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-sports__feature-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-sports__feature-item::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-sports__live-betting-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-sports__why-choose {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-sports__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

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

.page-sports__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Promotions Section */
.page-sports__promotions {
  background-color: #8B0000; /* Auxiliary color for promotions */
  color: #ffffff;
}

.page-sports__promotions .page-sports__section-title {
  color: #FFD700; /* Gold title on red background */
}

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

.page-sports__promo-card {
  background-color: rgba(0, 0, 0, 0.2); /* Dark overlay on red background */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
  background-color: rgba(0, 0, 0, 0.3);
}

.page-sports__promo-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__promo-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 25px;
}

/* How to Start Section */
.page-sports__how-to-start {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-sports__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  box-sizing: border-box;
}

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

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

.page-sports__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sports__how-to-start-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 60px;
}

.page-sports__how-to-start-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming {
  background-color: #0a0a0a;
  color: #ffffff;
}

/* FAQ Section */
.page-sports__faq-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-sports__faq-list {
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

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

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

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: #f0f0f0;
  font-size: 1em;
  line-height: 1.6;
}

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

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

/* Bottom CTA Section */
.page-sports__cta-bottom {
  background-color: #8B0000; /* Auxiliary color */
  color: #ffffff;
  padding-bottom: 100px;
}

.page-sports__cta-bottom .page-sports__section-title {
  color: #FFD700;
}

.page-sports__cta-bottom .page-sports__cta-buttons {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3.5em;
  }
  .page-sports__hero-description {
    font-size: 1.3em;
  }
  .page-sports__section-title {
    font-size: 2.2em;
  }
  .page-sports__live-betting-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .page-sports__live-betting-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    height: 70vh;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__section {
    padding: 60px 0;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__content-grid,
  .page-sports__features-grid,
  .page-sports__promotions-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__live-betting-image {
    max-width: 100%;
  }
  .page-sports__how-to-start-image {
    max-width: 100%;
  }

  /* Mobile image and video responsive */
  .page-sports img,
  .page-sports video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__live-betting-content,
  .page-sports__features-grid,
  .page-sports__promotions-grid,
  .page-sports__steps-grid,
  .page-sports__how-to-start-cta,
  .page-sports__faq-list,
  .page-sports__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific padding for mobile containers */
  .page-sports__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Ensure padding-top for hero/first section to clear header */
  .page-sports__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

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

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-sports__faq-answer {
    padding: 10px 20px 15px;
  }
}

/* No CSS filters for images */
.page-sports img {
  filter: none;
}