/* style/sports.css */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

.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;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

.page-sports__card-text {
  color: #555555;
  font-size: 1em;
}

.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;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-sports__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8ccb;
  border-color: #1a8ccb;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  min-height: 600px;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

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

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

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

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

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

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

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

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

.page-sports__feature-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #e0e0e0;
}

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

.page-sports__popular-sports .page-sports__section-title {
  color: #ffffff;
}

.page-sports__popular-sports .page-sports__section-description {
  color: #f0f0f0;
}

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

.page-sports__sport-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-sports__sport-card .page-sports__card-title {
  color: #ffffff;
}

.page-sports__sport-card .page-sports__card-text {
  color: #f0f0f0;
}

/* Download App Section */
.page-sports__download-app {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-sports__download-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__download-image {
  width: 80%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 25px;
}

.page-sports__download-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
  color: #555555;
  width: 100%;
}

.page-sports__download-list li {
  margin-bottom: 10px;
}

.page-sports__download-card .page-sports__btn-primary {
  margin-right: 0;
  width: fit-content;
}

.page-sports__note-text {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #777777;
}

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

.page-sports__betting-types .page-sports__section-title {
  color: #ffffff;
}

.page-sports__betting-types .page-sports__section-description {
  color: #f0f0f0;
}

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

.page-sports__betting-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-sports__betting-card .page-sports__card-title {
  color: #ffffff;
}

.page-sports__betting-card .page-sports__card-text {
  color: #f0f0f0;
}

/* Promotions Section */
.page-sports__promotions {
  padding: 80px 0;
  background-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: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e0e0e0;
}

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

.page-sports__promo-card .page-sports__btn-primary {
  margin-top: 20px;
  margin-right: 0;
}

/* Betting Tips Section */
.page-sports__betting-tips {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__betting-tips .page-sports__section-title {
  color: #ffffff;
}

.page-sports__betting-tips .page-sports__section-description {
  color: #f0f0f0;
}

.page-sports__tips-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  list-style: none;
  padding: 0;
}

.page-sports__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1.1em;
  border-left: 5px solid #ffffff;
}

.page-sports__list-item strong {
  color: #ffffff;
}

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

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

.page-sports__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf7ff; /* Light blue background for questions */
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
}

.page-sports__faq-question::-webkit-details-marker {
  display: none;
}

.page-sports__faq-question .page-sports__faq-qtext {
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
}

.page-sports__faq-answer {
  padding: 20px;
  padding-top: 0;
  color: #555555;
  font-size: 1em;
}

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

/* General dark/light background classes for contrast */
.page-sports__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
}


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

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

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

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

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

  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-sports__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-sports__feature-grid,
  .page-sports__sports-grid,
  .page-sports__download-steps,
  .page-sports__betting-grid,
  .page-sports__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  /* Mobile image 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__hero-section,
  .page-sports__about-section,
  .page-sports__popular-sports,
  .page-sports__download-app,
  .page-sports__betting-types,
  .page-sports__promotions,
  .page-sports__betting-tips,
  .page-sports__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-section { /* Override to remove padding from the container, keep it on section */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-sports__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__download-list {
    padding-left: 25px;
  }
}

@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.8em;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    padding: 10px 20px;
  }
}