/* Base shimmer effect */
.skeleton {
  background-color: #e2e5e7;
  background-image: linear-gradient(90deg, #e2e5e7 0px, #f8f8f8 40px, #e2e5e7 80px);
  background-size: 600px;
  background-repeat: no-repeat;
  animation: shine 1.2s linear infinite;
  border-radius: 4px;
}

@keyframes shine {
  0% {
    background-position: -100px;
  }
  100% {
    background-position: 600px;
  }
}

.page-skeleton {
  max-width: 1000px;
  margin: auto;
  padding: 30px 20px;
}

/* Heading */
.skeleton-heading {
  height: 32px;
  width: 70%;
  margin: 0 auto 30px;
  border-radius: 8px;
}

/* Tabs */
.skeleton-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.skeleton-tab {
  height: 30px;
  width: 100px;
  border-radius: 6px;
}

/* Selected Category Button */
.skeleton-selected-button {
  height: 36px;
  width: 120px;
  margin: 0 auto 30px;
  border-radius: 20px;
}

/* Content Cards */
.skeleton-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
}

.skeleton-title {
  height: 18px;
  width: 60%;
  margin-bottom: 10px;
  border-radius: 6px;
}

.skeleton-description {
  height: 14px;
  width: 100%;
  margin-bottom: 6px;
  border-radius: 6px;
}

.skeleton-author {
  height: 24px;
  width: 100px;
  margin-top: 12px;
  border-radius: 12px;
}

.skeleton-share {
  height: 20px;
  width: 120px;
  margin-left: auto;
  border-radius: 10px;
}
