.page-leaderboard {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-leaderboard__hero {
  background: linear-gradient(135deg, #007bff, #ffc107);
  color: #ffffff;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-leaderboard__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-leaderboard__title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-leaderboard__subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-leaderboard__btn-primary {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color for primary action */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-leaderboard__btn-primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-leaderboard__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  max-width: 600px;
  opacity: 0.8;
  z-index: 0;
}

.page-leaderboard__hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.page-leaderboard__section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-leaderboard__section:nth-of-type(even) {
  background-color: #f1f6fc; /* Lighter blue background for alternating sections */
}

.page-leaderboard__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-leaderboard__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444;
  text-align: justify;
}

.page-leaderboard__text--footer {
  text-align: center;
  font-style: italic;
}

.page-leaderboard__keyword {
  color: #007bff;
  font-weight: bold;
}

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

.page-leaderboard__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-leaderboard__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-leaderboard__card-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-leaderboard__card-text {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-leaderboard__btn-secondary {
  display: inline-block;
  background-color: #007bff; /* Primary color for secondary action */
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-leaderboard__btn-secondary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-leaderboard__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-leaderboard__list li {
  background-color: #e9f5ff; /* Light blue for list items */
  border-left: 5px solid #007bff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-leaderboard__list-highlight {
  color: #007bff;
  font-weight: bold;
}

.page-leaderboard__cta-banner {
  background-color: #ffc107; /* Auxiliary color for CTA banner */
  color: #333;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-leaderboard__cta-banner p {
  font-size: 1.4em;
  margin-bottom: 25px;
  font-weight: bold;
  color: #222;
}

.page-leaderboard__tip-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-leaderboard__tip-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-leaderboard__tip-text {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-leaderboard__tip-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto; /* Push image to bottom if content above is shorter */
}

.page-leaderboard__cta-content {
  text-align: center;
  padding: 40px 20px;
  background-color: #007bff;
  color: #ffffff;
  border-radius: 15px;
}

.page-leaderboard__cta-content .page-leaderboard__section-title {
  color: #ffffff;
}

.page-leaderboard__cta-content .page-leaderboard__text {
  color: #e0e0e0;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-leaderboard__cta-buttons .page-leaderboard__btn-primary {
  background-color: #ffc107;
  color: #000000;
}

.page-leaderboard__cta-buttons .page-leaderboard__btn-primary:hover {
  background-color: #e0a800;
}

.page-leaderboard__cta-buttons .page-leaderboard__btn-secondary {
  background-color: #ffffff;
  color: #007bff;
  border: 2px solid #007bff;
}

.page-leaderboard__cta-buttons .page-leaderboard__btn-secondary:hover {
  background-color: #f1f6fc;
  color: #0056b3;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-leaderboard__hero {
    padding: 60px 0;
  }
  .page-leaderboard__title {
    font-size: 2.5em;
  }
  .page-leaderboard__subtitle {
    font-size: 1.1em;
  }
  .page-leaderboard__hero-image {
    width: 70%;
    position: static;
    margin-top: 30px;
    opacity: 1;
  }
  .page-leaderboard__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-leaderboard__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-leaderboard__hero {
    padding: 40px 0;
  }
  .page-leaderboard__title {
    font-size: 2em;
  }
  .page-leaderboard__subtitle {
    font-size: 1em;
  }
  .page-leaderboard__section {
    padding: 40px 0;
  }
  .page-leaderboard__text {
    font-size: 1em;
  }
  .page-leaderboard__grid {
    grid-template-columns: 1fr;
  }
  .page-leaderboard__cta-banner p {
    font-size: 1.2em;
  }
  .page-leaderboard__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-leaderboard__title {
    font-size: 1.8em;
  }
  .page-leaderboard__btn-primary,
  .page-leaderboard__btn-secondary {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-leaderboard__section-title {
    font-size: 1.8em;
  }
  .page-leaderboard__list li {
    padding: 15px;
    font-size: 0.95em;
  }
  .page-leaderboard__cta-banner p {
    font-size: 1em;
  }
  .page-leaderboard__cta-content .page-leaderboard__text {
    font-size: 1em;
  }
}