/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-sports__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #1a1a1a; /* Dark gray background for lighter sections */
  color: #f0f0f0;
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  text-align: center;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and text */
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

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

.page-sports__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-sports__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.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-tertiary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-sports__btn-tertiary:hover {
  background-color: #c96706;
  border-color: #c96706;
}

.page-sports__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-sports__section-description {
  font-size: 1.05em;
  color: #ccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-sports__why-choose-section {
  padding: 80px 0;
}

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

.page-sports__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

.page-sports__popular-sports-section {
  padding: 80px 0;
}

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

.page-sports__sport-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.page-sports__sport-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-sports__sport-card .page-sports__card-title {
  padding: 20px 20px 10px 20px;
  text-align: left;
}

.page-sports__sport-card .page-sports__card-text {
  padding: 0 20px 20px 20px;
  text-align: left;
}

.page-sports__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-sports__betting-guide-section {
  padding: 80px 0;
}

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

.page-sports__guide-step {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.page-sports__step-icon {
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  margin: 0 auto 20px auto;
}

.page-sports__promotions-section {
  padding: 80px 0;
}

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

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-sports__promo-card .page-sports__card-title {
  margin-bottom: 15px;
}

.page-sports__promo-card .page-sports__card-text {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports__faq-section {
  padding: 80px 0;
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: #f0f0f0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-sports__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

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

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

.page-sports__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-image-wrapper {
    max-height: 500px;
  }
  .page-sports__hero-content {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-sports__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 30px;
  }
  .page-sports__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }
  .page-sports__description {
    font-size: 1em;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-tertiary {
    padding: 12px 25px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto;
  }
  .page-sports__section-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
    padding-top: 30px;
  }
  .page-sports__section-description {
    margin-bottom: 30px;
  }
  .page-sports__why-choose-section,
  .page-sports__popular-sports-section,
  .page-sports__betting-guide-section,
  .page-sports__promotions-section,
  .page-sports__faq-section,
  .page-sports__cta-final-section {
    padding: 50px 0;
  }
  .page-sports__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__sport-image,
  .page-sports__promo-image {
    height: 180px;
  }
  .page-sports__video-section {
    padding-top: 10px !important;
  }
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-image-wrapper {
    max-height: 300px;
  }
  .page-sports__main-title {
    font-size: clamp(1.8em, 9vw, 2.5em);
  }
  .page-sports__section-title {
    font-size: clamp(1.4em, 8vw, 2em);
  }
  .page-sports__features-grid,
  .page-sports__sports-grid,
  .page-sports__guide-steps,
  .page-sports__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-sports__feature-card,
  .page-sports__sport-card,
  .page-sports__guide-step,
  .page-sports__promo-card {
    padding: 20px;
  }
}