.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color); /* #FFFFFF */
}

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

/* --- 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;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #0a9e52);
  color: #ffffff;
  overflow: hidden;
}

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

.page-sports__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-height: 600px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-sports__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-sports__cta-button:hover {
  background: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- General Section Styles --- */
.page-sports__section-title {
  font-size: 36px;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

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

.page-sports__text-block {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-sports__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-sports__btn-primary:hover {
  background: #005f2c;
  transform: translateY(-2px);
}

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

.page-sports__btn-secondary:hover {
  background: #f0f0f0;
  color: #005f2c;
  transform: translateY(-2px);
}

.page-sports__btn-centered {
  display: block;
  margin: 30px auto 0 auto;
  text-align: center;
  max-width: 300px;
}

/* --- Sports Types Section --- */
.page-sports__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

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

.page-sports__sport-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-sports__sport-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__sport-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-sports__card-title {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 20px 10px 20px;
  color: #FFFF00;
}

.page-sports__card-description {
  font-size: 16px;
  padding: 0 20px 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

/* --- Features Section --- */
.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.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: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-item img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

/* --- Promotions Section --- */
.page-sports__promotions-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.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-sports__promo-card .page-sports__card-title {
  color: #FFFF00;
}

.page-sports__promo-button {
  display: inline-block;
  padding: 10px 20px;
  background: #C30808;
  color: #FFFF00;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  margin: 15px 20px 20px 20px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.page-sports__promo-button:hover {
  background: #a30606;
  transform: translateY(-2px);
}

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