/* style/sports.css */

/* General styles for the sports page */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Body background is white, so default text is dark */
}

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

/* Section backgrounds */
.page-sports__dark-bg {
  background-color: #08160F; /* Background color from palette */
  color: #F2FFF6; /* Text Main from palette */
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F; /* Dark background for hero section */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum size */
}

.page-sports__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  color: #F2FFF6; /* Text Main for dark hero background */
}

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

.page-sports__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding/border included in width */
  max-width: 100%; /* Ensure responsiveness */
  text-align: center;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-sports__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #11A84E; /* Main color for text */
  border: 2px solid #11A84E; /* Border color */
}

.page-sports__btn-secondary:hover {
  background-color: #11A84E;
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-sports__btn-link {
  background: none;
  border: none;
  color: #11A84E; /* Main color */
  padding: 0;
  text-decoration: underline;
  font-weight: normal;
}

.page-sports__btn-link:hover {
  color: #22C768; /* Accent color */
}

/* Section Titles and Text */
.page-sports__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: inherit; /* Inherit from section for contrast */
}

.page-sports__section-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit from section for contrast */
}

.page-sports__section-text a {
    color: #22C768; /* Accent color for links */
    text-decoration: none;
}

.page-sports__section-text a:hover {
    text-decoration: underline;
}

/* Intro Section */
.page-sports__intro-section {
  padding: 60px 20px;
}

/* Why Choose Section */
.page-sports__why-choose-section {
  padding: 60px 20px;
  background-color: #F2FFF6; /* 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: 40px;
}

.page-sports__feature-card {
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333; /* Dark text for light card background */
  background-color: #ffffff; /* Light card background */
}

.page-sports__feature-card .page-sports__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #11A84E; /* Main color for card titles */
}

.page-sports__feature-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-sports__card-text {
  font-size: 1em;
  color: #333333; /* Dark text */
}

.page-sports__card-text a {
    color: #11A84E;
    text-decoration: none;
}
.page-sports__card-text a:hover {
    text-decoration: underline;
}

/* Popular Markets Section */
.page-sports__popular-markets-section {
  padding: 60px 20px;
}

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

.page-sports__market-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

.page-sports__market-name {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-sports__market-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

/* How to Start Section */
.page-sports__how-to-start-section {
  padding: 60px 20px;
  background-color: #F2FFF6; /* Light background */
  color: #333333;
}

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

.page-sports__step-card {
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  background-color: #ffffff; /* Light card background */
  color: #333333;
}

.page-sports__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #11A84E; /* Main color */
  color: #F2FFF6; /* Text Main */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 3px solid #F2FFF6;
}

.page-sports__step-card .page-sports__card-title {
  margin-top: 25px;
  font-size: 1.4em;
  color: #11A84E; /* Main color */
}

.page-sports__step-card .page-sports__card-text {
  font-size: 1em;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 60px 20px;
}

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

.page-sports__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

.page-sports__promo-card .page-sports__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

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

/* Mobile Experience Section */
.page-sports__mobile-experience-section {
  padding: 60px 20px;
  background-color: #F2FFF6; /* Light background */
  color: #333333;
}

.page-sports__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__mobile-text-content {
  flex: 1;
  text-align: left;
}

.page-sports__mobile-features-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #333333; /* Dark text */
}

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

.page-sports__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.page-sports__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
  padding: 60px 20px;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 60px 20px;
  background-color: #F2FFF6; /* Light background */
  color: #333333;
}

.page-sports__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff; /* Light card background */
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  color: #11A84E; /* Main color for question */
}

.page-sports__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-sports__faq-question {
  font-size: 1.1em;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

.page-sports__faq-answer {
  padding: 0 20px 15px 20px;
  font-size: 1em;
  color: #333333; /* Dark text for answer */
}

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

.page-sports__faq-answer a {
    color: #11A84E;
    text-decoration: none;
}
.page-sports__faq-answer a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.page-sports__cta-final-section {
  padding: 60px 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: clamp(2em, 6vw, 3em);
  }
}

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

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

  .page-sports__hero-content {
    padding: 30px 15px;
  }

  .page-sports__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-sports__section-text {
    font-size: 0.95em;
  }

  .page-sports__features-grid,
  .page-sports__market-list,
  .page-sports__steps-grid,
  .page-sports__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-sports__mobile-text-content {
    text-align: center;
  }

  .page-sports__mobile-features-list {
    list-style-position: inside;
    margin-left: 0;
    padding-left: 0;
    text-align: left; /* Align list items left */
  }

  .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__intro-section,
  .page-sports__why-choose-section,
  .page-sports__popular-markets-section,
  .page-sports__how-to-start-section,
  .page-sports__promotions-section,
  .page-sports__mobile-experience-section,
  .page-sports__responsible-gaming-section,
  .page-sports__faq-section,
  .page-sports__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  
  /* Specific override for elements within these sections that may have their own padding */
  .page-sports__feature-card,
  .page-sports__market-item,
  .page-sports__step-card,
  .page-sports__promo-card,
  .page-sports__faq-item {
    padding: 20px 15px;
  }

  .page-sports__step-number {
    top: -15px;
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
}