.page-sports {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css #121212 */
}

.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: #FFCC00; /* Auxiliary color for headings */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-sports__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-sports__btn-primary {
  background-color: #FFCC00; /* Auxiliary color */
  color: #003366; /* Primary color for text */
  border: 2px solid #FFCC00;
}

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

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

.page-sports__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.7); /* Primary color with transparency */
  z-index: 1;
}

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

.page-sports__hero-title {
  font-size: 3.5em;
  color: #FFCC00; /* Auxiliary color for hero title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-sports__hero-description {
  font-size: 1.2em;
  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;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-sports__image-wrapper {
  margin: 40px auto;
  text-align: center;
}

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

/* Popular Sports Section */
.page-sports__popular-sports {
  padding: 80px 0;
  background-color: #003366; /* Primary brand color */
  color: #ffffff;
}

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

.page-sports__sport-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-sports__card-title {
  font-size: 1.8em;
  color: #FFCC00; /* Auxiliary color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

/* Betting Types Section */
.page-sports__betting-types {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-sports__betting-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-sports__betting-card ul {
  list-style: none;
  padding-left: 0;
}

.page-sports__betting-card li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.page-sports__betting-card li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FFCC00;
}

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

.page-sports__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
}

.page-sports__guide-list li {
  margin-bottom: 40px;
  position: relative;
  padding-left: 70px;
}

.page-sports__guide-list li::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #FFCC00;
  color: #003366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
}

.page-sports__guide-list h3 {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 10px;
}

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

.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.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-sports__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__promo-card .page-sports__btn-primary {
  margin-top: auto; /* Push button to bottom */
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Security Section */
.page-sports__security-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

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

.page-sports__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-sports__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFCC00;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  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;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(0deg); /* '+'' becomes '-' naturally */
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

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

.page-sports__faq-answer a {
  color: #FFCC00;
  text-decoration: none;
}

.page-sports__faq-answer a:hover {
  text-decoration: underline;
}

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

.page-sports__cta-content {
  max-width: 800px;
}

.page-sports__cta-content .page-sports__btn-primary {
  margin-top: 30px;
}

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

@media (max-width: 768px) {
  .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.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary, .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__text-block {
    font-size: 1em;
  }
  .page-sports__sports-grid, .page-sports__betting-grid, .page-sports__promo-grid, .page-sports__security-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__guide-list li {
    padding-left: 60px;
  }
  .page-sports__guide-list li::before {
    width: 45px;
    height: 45px;
    font-size: 1.5em;
  }
  .page-sports__guide-list h3 {
    font-size: 1.5em;
  }

  /* Mobile image and container responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__promo-card,
  .page-sports__security-item,
  .page-sports__faq-item,
  .page-sports__hero-section,
  .page-sports__hero-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-sports__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-sports__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .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;
  }
}