/* style/sports.css */
/* --- General Styles --- */
.page-sports {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__section-title--dark {
  color: #333333;
}

.page-sports__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__text-block--dark {
  color: #333333;
}

.page-sports__image-full-width {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* --- Buttons --- */
.page-sports__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.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;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to mobile */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

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

.page-sports__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

/* --- Hero Section --- */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  min-height: 600px;
  background-color: #0D0E12;
}

.page-sports__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px; /* Limit image height to prevent excessive stretching */
  overflow: hidden;
  margin-bottom: 40px;
}

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

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

.page-sports__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: #FF8C1A;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.2em;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Introduction Section --- */
.page-sports__introduction-section {
  padding: 80px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
}

/* --- Why Choose Section --- */
.page-sports__why-choose-section {
  padding: 80px 0;
  background-color: #f5f5f5; /* Light background for contrast */
  color: #333333;
}

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

.page-sports__feature-card {
  background-color: #ffffff; /* Card BG on light section */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

.page-sports__card-title--dark {
  color: #333333;
}

.page-sports__card-text {
  font-size: 1em;
  color: #333333;
  line-height: 1.7;
}

.page-sports__card-text--dark {
  color: #333333;
}

/* --- Betting Markets Section --- */
.page-sports__betting-markets-section {
  padding: 80px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
}

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

.page-sports__market-item {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #FFF3E6;
}

.page-sports__market-title {
  font-size: 1.4em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__market-description {
  font-size: 1em;
  line-height: 1.7;
}

/* --- Tips Section --- */
.page-sports__tips-section {
  padding: 80px 0;
  background-color: #f5f5f5; /* Light background for contrast */
  color: #333333;
}

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

.page-sports__tip-card {
  background-color: #ffffff; /* Card BG on light section */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

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

/* --- FAQ Section --- */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #f5f5f5; /* Light background for contrast */
  color: #333333;
}

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

.page-sports__faq-item {
  background-color: #ffffff; /* Card BG on light section */
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #333333;
}

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

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

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

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

.page-sports__faq-qtext {
  flex-grow: 1;
  text-align: left;
  color: #333333;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FF8C1A;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555;
  text-align: left;
}

/* --- Final CTA Section --- */
.page-sports__cta-final-section {
  padding: 80px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
  text-align: center;
}

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

@media (max-width: 768px) {
  .page-sports__container {
    padding: 0 15px !important;
  }

  .page-sports__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-sports__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-sports__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-sports__text-block {
    font-size: 0.95em;
  }

  .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__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__feature-card,
  .page-sports__market-item,
  .page-sports__tip-card {
    padding: 20px;
  }

  .page-sports__card-title,
  .page-sports__market-title {
    font-size: 1.3em;
  }

  .page-sports__card-text,
  .page-sports__market-description {
    font-size: 0.9em;
  }

  .page-sports__image-full-width {
    margin: 30px auto;
  }

  /* 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-image-wrapper,
  .page-sports__cta-buttons,
  .page-sports__features-grid,
  .page-sports__markets-grid,
  .page-sports__tips-grid,
  .page-sports__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-sports__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-sports__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

/* Contrast Fixes - applying based on dark body background */
.page-sports__dark-section {
  background-color: #0D0E12;
  color: #FFF3E6;
}

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

.page-sports__card {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

.page-sports__feature-card, .page-sports__tip-card, .page-sports__faq-item {
  background-color: #ffffff; /* Override for cards on light sections */
  color: #333333;
}

.page-sports__feature-card .page-sports__card-title, .page-sports__tip-card .page-sports__card-title {
  color: #FF8C1A;
}

.page-sports__feature-card .page-sports__card-text, .page-sports__tip-card .page-sports__card-text {
  color: #333333;
}

.page-sports__faq-question .page-sports__faq-qtext {
  color: #333333;
}

.page-sports__faq-answer {
  color: #555555;
}