/* style/sports.css */

/* Base styles for the page content */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background #f4f4f4 */
  background-color: #f4f4f4; /* Ensures consistency, though body bg is from shared */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #1A2B4C;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #1A2B4C; /* Dark background for hero */
}

.page-sports__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-sports__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-sports__hero-content h1 {
  font-size: 48px;
  color: #FFD700; /* Gold text for hero title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__hero-content p {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 30px;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Gold button */
  color: #1A2B4C; /* Dark blue text on gold button */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
}

.page-sports__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General button styles */
.page-sports__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #1A2B4C;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-sports__btn-primary:hover {
  background: #2B4E82;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-sports__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: #ffffff;
  color: #1A2B4C;
  text-decoration: none;
  border: 2px solid #1A2B4C;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-sports__btn-secondary:hover {
  background: #f0f0f0;
  color: #1A2B4C;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-sports__center-btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  width: fit-content;
}

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

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

.page-sports__feature-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.page-sports__feature-item h3 {
  font-size: 24px;
  color: #1A2B4C;
  margin-bottom: 15px;
}

.page-sports__feature-item p {
  font-size: 16px;
  color: #555555;
}

/* Providers Section */
.page-sports__providers-section {
  padding: 80px 0;
  background-color: #1A2B4C; /* Dark background */
  color: #ffffff;
}

.page-sports__providers-section .page-sports__section-title {
  color: #FFD700; /* Gold title on dark background */
}

.page-sports__providers-section .page-sports__section-description {
  color: #f0f0f0;
}

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

.page-sports__provider-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-sports__provider-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-sports__provider-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: contain; /* Use contain for logos */
}

.page-sports__provider-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #FFD700; /* Gold text for provider names */
}

.page-sports__provider-card p {
  font-size: 15px;
  color: #f0f0f0;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-sports__content-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-sports__text-content {
  flex: 1;
}

.page-sports__text-content p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #333333;
}

.page-sports__text-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-sports__text-content li {
  font-size: 17px;
  margin-bottom: 10px;
  color: #333333;
  position: relative;
  padding-left: 25px;
}

.page-sports__text-content li::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.page-sports__image-content {
  flex: 1;
  text-align: center;
}

.page-sports__image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

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

.page-sports__promotions-section .page-sports__section-title {
  color: #FFD700; /* Gold title on dark background */
}

.page-sports__promotions-section .page-sports__section-description {
  color: #f0f0f0;
}

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

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

.page-sports__promo-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

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

.page-sports__promo-card h3 {
  font-size: 24px;
  color: #FFD700; /* Gold text for promo titles */
  margin-bottom: 15px;
}

.page-sports__promo-card p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 25px;
}

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

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

.page-sports__guide-step {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  position: relative;
}

.page-sports__step-icon {
  width: 60px;
  height: 60px;
  background: #FFD700;
  color: #1A2B4C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin: -60px auto 20px; /* Position icon above card */
  border: 4px solid #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__guide-step h3 {
  font-size: 24px;
  color: #1A2B4C;
  margin-bottom: 15px;
}

.page-sports__guide-step p {
  font-size: 16px;
  color: #555555;
}

.page-sports__guide-image {
  text-align: center;
  margin-bottom: 40px;
}

.page-sports__guide-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}


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

.page-sports__faq-section .page-sports__section-title {
  color: #FFD700; /* Gold title on dark background */
}

.page-sports__faq-section .page-sports__section-description {
  color: #f0f0f0;
}

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important; /* Ensure content expands */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1); /* Light background for answer on dark section */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for question */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

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

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700; /* Gold text for FAQ questions */
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  color: #ffffff;
}

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  background-color: #FFD700; /* Gold background */
  color: #1A2B4C;
  text-align: center;
}

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

.page-sports__cta-section p {
  font-size: 18px;
  margin-bottom: 40px;
}

.page-sports__cta-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

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

.page-sports__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-content h1 {
    font-size: 40px;
  }
  .page-sports__section-title {
    font-size: 30px;
  }
  .page-sports__content-flex {
    flex-direction: column;
  }
  .page-sports__image-content {
    margin-top: 30px;
  }
  .page-sports__guide-step {
    padding-top: 80px;
  }
  .page-sports__step-icon {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-sports {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-content h1 {
    font-size: 32px;
  }
  .page-sports__hero-content p {
    font-size: 18px;
  }
  .page-sports__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__section-title {
    font-size: 26px;
  }
  .page-sports__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-sports__intro-section,
  .page-sports__providers-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__guide-section,
  .page-sports__faq-section,
  .page-sports__cta-section {
    padding: 50px 0;
  }
  .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__features-grid,
  .page-sports__providers-grid,
  .page-sports__promo-cards-grid,
  .page-sports__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__feature-item,
  .page-sports__provider-card,
  .page-sports__promo-card,
  .page-sports__guide-step {
    padding: 20px;
  }
  .page-sports__feature-item h3,
  .page-sports__provider-card h3,
  .page-sports__promo-card h3,
  .page-sports__guide-step h3 {
    font-size: 20px;
  }
  .page-sports__text-content li {
    font-size: 16px;
  }
  .page-sports__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-sports__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-sports__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-sports__faq-answer {
    padding: 0 15px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image adaptation */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__promo-card,
  .page-sports__feature-item,
  .page-sports__provider-card,
  .page-sports__guide-step {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Button specific mobile adaptation */
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }
}

/* Ensure no filter is used on images */
.page-sports img {
  filter: none; /* Explicitly disable any filter */
}

/* Contrast fix if needed for specific elements */
.page-sports__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-sports__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}