/* Skeleton base animation */
.skeleton {
  background-color: #e2e2e2;
  background-image: linear-gradient(90deg, #e2e2e2 0px, #f5f5f5 40px, #e2e2e2 80px);
  background-size: 600px;
  background-repeat: no-repeat;
  animation: shimmer 1.2s infinite linear;
  border-radius: 6px;
}

@keyframes shimmer {
  0% {
    background-position: -100px;
  }
  100% {
    background-position: 600px;
  }
}

.toppers-skeleton {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
}

.skeleton-heading {
  height: 24px;
  width: 150px;
  margin: 0 auto 20px;
}

/* Cards container */
.skeleton-cards {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Individual card */
.skeleton-card {
  flex: 1 1 22%;
  min-width: 115px;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Skeleton parts inside each card */
.skeleton-photo {
  width: 100%;
  height: 130px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.skeleton-name {
  width: 80%;
  height: 16px;
  margin: 0 auto 8px;
}

.skeleton-roll {
  width: 70%;
  height: 14px;
  margin: 0 auto 8px;
}

.skeleton-post {
  width: 90%;
  height: 20px;
  margin: 0 auto;
  border-radius: 30px;
}

/* See More button */
.skeleton-see-more {
  margin: 24px auto 0;
  width: 100px;
  height: 34px;
  border-radius: 20px;
}
