/* Skeleton Loading Styles for Media Grid */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2px;
  width: 100%;
  background: #fff;
  box-sizing: border-box;
  margin-top: 30px;
}

.skeleton-card {
  background: #000;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.skeleton-thumbnail {
  width: 100%;
  height: 100%;
  background: #333;
  position: relative;
  overflow: hidden;
}

.skeleton-thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.skeleton-title {
  height: 12px;
  background: #555;
  border-radius: 4px;
  margin-bottom: 6px;
  width: 80%;
}

.skeleton-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.skeleton-tag {
  height: 10px;
  background: #f81775;
  border-radius: 12px;
  margin: 2px 4px 2px 0;
}

.skeleton-tag:nth-child(1) {
  width: 40px;
}

.skeleton-tag:nth-child(2) {
  width: 30px;
}

.skeleton-tag:nth-child(3) {
  width: 35px;
}

/* Locked skeleton state - REMOVED LOCK ICON */
.skeleton-card.locked .skeleton-thumbnail {
  opacity: 0.5;
}

/* REMOVED ENTIRE LOCK ICON SECTION */
.skeleton-lock {
  display: none !important;
}

.skeleton-card.locked .skeleton-lock {
  display: none !important;
}

.skeleton-lock::before {
  display: none !important;
}

/* Shimmer animation */
@keyframes skeleton-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Fade out animation when real content loads */
.skeleton-grid.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

/* Hide skeleton when not needed */
.skeleton-grid.hidden {
  display: none;
}

/* Responsive adjustments */
/*@media (max-width: 480px) {
  .skeleton-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1px;
  }
  
  .skeleton-title {
    height: 10px;
  }
  
  .skeleton-tag {
    height: 8px;
  }
}*/