.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

.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;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #140C0C; /* Deep Red */
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to maintain aspect ratio without making it too tall */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image */
  background: rgba(42, 18, 18, 0.9); /* Card B G with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #6A1E1E; /* Border */
}

.page-sports__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF1E8; /* Text Main */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF1E8; /* Text Main */
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-sports__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
}

.page-sports__btn-secondary:hover {
  background-color: rgba(243, 197, 77, 0.1);
  transform: translateY(-3px);
}

.page-sports__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-sports__intro-section,
.page-sports__getting-started-section,
.page-sports__responsible-gaming-section {
  background-color: #140C0C; /* Background */
  padding: 60px 0;
}

.page-sports__dark-section,
.page-sports__conclusion-section {
  background-color: #2A1212; /* Card B G */
  padding: 60px 0;
  color: #FFF1E8;
}

.page-sports__paragraph {
  font-size: 1rem;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-sports__feature-card,
.page-sports__feature-item,
.page-sports__step-card {
  background-color: #2A1212; /* Card B G */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 200px; /* Ensure minimum size */
}

.page-sports__card-image,
.page-sports__feature-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__card-title,
.page-sports__feature-heading,
.page-sports__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-sports__card-text,
.page-sports__feature-text,
.page-sports__step-text {
  font-size: 0.95rem;
  color: #FFF1E8; /* Text Main */
  text-align: justify;
}

.page-sports__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-sports__btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-sports__content-area {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-sports__container,
  .page-sports__hero-content {
    padding: 0 15px;
  }

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

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

  .page-sports__main-title {
    font-size: 2rem;
  }

  .page-sports__description {
    font-size: 1rem;
  }

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-sports__section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    padding-top: 30px;
  }

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

  .page-sports__paragraph {
    font-size: 0.95rem;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__cta-buttons,
  .page-sports__cta-wrapper,
  .page-sports__feature-card,
  .page-sports__feature-item,
  .page-sports__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-sports__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }

  .page-sports__hero-image-wrapper {
    max-height: 300px;
  }

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