/* style/sports.css */
.page-sports {
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  min-height: 500px;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Darken image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-sports__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFD36B; /* Accent color for title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-sports__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.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;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto; /* Default to auto width for desktop */
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text for bright button */
  border: none;
}

.page-sports__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-sports__btn-secondary:hover {
  background: #FFD36B;
  color: #0A0A0A;
  transform: translateY(-2px);
}

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

.page-sports__section-title {
  text-align: center;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

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

.page-sports__dark-section {
  background-color: #0A0A0A;
  padding: 60px 0;
}

.page-sports__why-choose-us .page-sports__section-description,
.page-sports__popular-sports .page-sports__section-description,
.page-sports__how-to-start .page-sports__section-description,
.page-sports__live-betting .page-sports__section-description,
.page-sports__responsible-gaming .page-sports__section-description,
.page-sports__faq-section .page-sports__section-description,
.page-sports__cta-banner .page-sports__section-description {
  color: #FFF6D6;
}

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

.page-sports__card {
  background-color: #111111; /* Card background */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFF6D6;
  height: 100%;
}

.page-sports__feature-title,
.page-sports__sport-name,
.page-sports__step-title {
  color: #F2C14E; /* Main color for titles */
  margin-bottom: 15px;
}

.page-sports__feature-text,
.page-sports__sport-text,
.page-sports__step-text {
  color: #FFF6D6;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-sports__feature-card img,
.page-sports__step-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__sport-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #FFD36B);
}

.page-sports__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-sports__btn-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #F2C14E;
  color: #0A0A0A;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports__btn-link:hover {
  background: #FFD36B;
}

.page-sports__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-sports__faq-item {
  text-align: left;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-sports__faq-item.active {
  background-color: rgba(255, 211, 107, 0.1);
  border-color: #F2C14E;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #F2C14E;
  font-size: 1.1em;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 0.95em;
}

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

.page-sports__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-sports__cta-banner {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(90deg, #0A0A0A 0%, #1a1a1a 50%, #0A0A0A 100%);
}

/* Media Queries for Responsiveness */
@media (min-width: 769px) {
  .page-sports__main-title {
    font-size: 3.5em;
  }
  .page-sports__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 10px 15px 40px;
    min-height: 400px;
  }

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

  .page-sports__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-sports__container {
    padding: 30px 15px;
  }

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

  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-sports__features-grid,
  .page-sports__sports-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__card {
    padding: 20px;
  }

  /* Images 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__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;
  }

  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px 15px 0 !important;
  }

  /* Specific for hero image wrapper */
  .page-sports__hero-image-wrapper {
    width: 100%;
    height: 100%;
  }

  .page-sports__hero-image {
    width: 100%;
    height: 100%;
  }

  /* Small icons are allowed for categories */
  .page-sports__sport-icon {
    width: 30px;
    height: 30px;
    max-width: 30px !important;
    max-height: 30px !important;
  }
}