/* style/sports.css */

/* Base styles for the page */
.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;
}

/* Section titles and descriptions */
.page-sports__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand green for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-sports__text-light {
  color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-sports__text-dark {
  color: #333333; /* Dark text for light backgrounds */
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Ensure padding/border are included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-sports__btn-primary {
  background-color: #C30808; /* Red for primary action (Register/Login) */
  color: #FFFF00; /* Yellow font for Register/Login */
  border: 2px solid #C30808;
}

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

.page-sports__btn-secondary {
  background-color: transparent;
  color: #C30808; /* Red text for secondary action */
  border: 2px solid #C30808;
}

.page-sports__btn-secondary:hover {
  background-color: #C30808;
  color: #FFFF00;
}

.page-sports__btn-tertiary {
  background-color: #017439; /* Brand green for tertiary actions */
  color: #FFFFFF;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-sports__link-in-text {
  color: #017439; /* Brand green for internal text links */
  text-decoration: underline;
}

.page-sports__link-in-text:hover {
  color: #005a2e;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 80vh; /* Adjust as needed */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-sports__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  cursor: pointer; /* Indicate clickable */
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-sports__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 900px;
}

.page-sports__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  font-weight: bold;
}

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

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

/* Intro Section */
.page-sports__intro-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-sports__intro-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-sports__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min-size for images */
  min-height: 200px;
  object-fit: cover;
}

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

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

/* Odds Section */
.page-sports__odds-section {
  padding: 80px 0;
  background-color: #017439; /* Brand green background */
  color: #FFFFFF;
}

.page-sports__odds-section .page-sports__section-title {
  color: #FFFFFF;
}

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

.page-sports__odds-card {
  background-color: #FFFFFF; /* White background for cards in dark section */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

/* Featured Sports Section */
.page-sports__featured-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-sports__featured-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  padding: 25px;
  text-align: center;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 0;
  background-color: #017439; /* Brand green background */
  color: #FFFFFF;
}

.page-sports__guide-section .page-sports__section-title {
  color: #FFFFFF;
}

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

.page-sports__guide-step-item {
  background-color: #FFFFFF; /* White background for steps */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-sports__guide-step-icon {
  width: 60px;
  height: 60px;
  background-color: #C30808; /* Red for step number */
  color: #FFFF00; /* Yellow font for step number */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

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

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

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

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

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

.page-sports__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
}

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

/* Tips Section */
.page-sports__tips-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-sports__tips-section .page-sports__section-title {
  color: #FFFFFF;
}

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

.page-sports__tip-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-sports__feature-item {
  text-align: center;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

.page-sports__feature-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__feature-text {
  font-size: 0.95em;
  color: #555555;
}

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

.page-sports__faq-section .page-sports__section-title {
  color: #FFFFFF;
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-sports__faq-question h3 {
  margin: 0;
  color: #017439;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  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;
  background-color: #FFFFFF;
  color: #555555;
}

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

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

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

.page-sports__cta-section .page-sports__section-title {
  color: #017439;
}

.page-sports__cta-section .page-sports__section-description {
  margin-bottom: 40px;
}

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

/* Global image styles (enforce min-size and no filters) */
.page-sports img {
  filter: none !important; /* Ensure no CSS filters alter image colors */
  min-width: 200px;
  min-height: 200px;
}

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

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