/* SkeletonLoader universal: grid de cards responsive, shimmer, igual en toda la app */
.skeletonContainer {
  width: 100%;
  animation: skeletonPulse 1.5s infinite ease-in-out;
}

@keyframes skeletonPulse {
  0% { opacity: 0.6; }
  50% { opacity: 0.8; }
  100% { opacity: 0.6; }
}

.skeletonHeader {
  margin-bottom: 3%;
  padding-left: 1%;
}
.skeletonTitle {
  height: 36px;
  width: 40%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1%;
  position: relative;
  overflow: hidden;
}
.skeletonTitle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 4px;
  background: rgba(1, 183, 46, 0.15);
  border-radius: 4px;
}
.skeletonSubtitle {
  height: 16px;
  width: 60%;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
}
.skeletonGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 20px;
}
@media only screen and (max-width: 1199px) {
  .skeletonGrid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px){
  .skeletonGrid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .skeletonGrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}
@media only screen and (max-width: 575px){
  .skeletonGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.skeletonItem {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  position: relative;
}
.skeletonImage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(90deg, var(--background-secondary) 0%, rgba(255,255,255,0.08) 50%, var(--background-secondary) 100%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s infinite;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin-bottom: 8px;
  overflow: hidden;
}
.skeletonImage::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(1,183,46,0.08), transparent);
  animation: skeletonShimmer 2s infinite;
}
@keyframes skeletonShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
.skeletonText {
  height: 15px;
  width: 90%;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin: 8% 5% 4%;
}
.skeletonSubtext {
  height: 12px;
  width: 60%;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin: 0 5% 8%;
}
