/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Explicitly set for consistency */
}

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

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-sports__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-sports__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-sports__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

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

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

.page-sports__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-sports__btn-tertiary {
  background-color: #C30808; /* Custom color for sports cards */
  color: #FFFF00; /* Custom font color for sports cards */
  border: 2px solid #C30808;
}

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

.page-sports__btn-primary--register {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

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

.page-sports__btn-secondary--login {
  background-color: transparent;
  color: #FFFF00;
  border-color: #C30808;
}

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

.page-sports__introduction-section,
.page-sports__features-section,
.page-sports__support-section {
  padding: 60px 0;
  text-align: center;
}

.page-sports__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #017439;
}

.page-sports__section-title--white {
  color: #ffffff;
}

.page-sports__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-sports__text-block--white {
  color: #f0f0f0;
}

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

.page-sports__featured-sports {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

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

.page-sports__sport-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

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

.page-sports__card-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.page-sports__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-sports__feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #017439;
}

.page-sports__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-sports__cta-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

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

.page-sports__support-contact {
  margin-top: 40px;
}

.page-sports__responsible-gaming-text {
  font-size: 0.9rem;
  color: #666666;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
  }
  .page-sports__hero-description {
    font-size: 1rem;
  }
  .page-sports__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-sports__container,
  .page-sports__hero-content,
  .page-sports__cta-container {
    padding: 0 15px;
  }

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

  .page-sports__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-sports__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

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

  .page-sports__introduction-section,
  .page-sports__featured-sports,
  .page-sports__features-section,
  .page-sports__cta-section,
  .page-sports__support-section {
    padding: 40px 0;
  }

  .page-sports__section-title {
    font-size: 1.8rem;
  }

  .page-sports__text-block {
    font-size: 1rem;
  }

  .page-sports__sport-grid,
  .page-sports__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__image-full-width,
  .page-sports__feature-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .page-sports__hero-image-wrapper,
  .page-sports__sport-card,
  .page-sports__feature-item,
  .page-sports__cta-container,
  .page-sports__support-contact,
  .page-sports__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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