/* Skeleton Loading Animations
   Animasyonlu içerik yükleme göstergeleri için stil dosyası
   Keyzuvi - Oyun Sunucuları ve VDS Kiralama
*/

.skeleton-loader {
  position: relative;
  background-color: var(--light-bg-color, #1e2642);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.7;
}

.skeleton-loader::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Kart ve Ürün Skeleton */
.skeleton-card {
  width: 100%;
  height: 320px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.skeleton-image {
  height: 180px;
  width: 100%;
  margin-bottom: 15px;
  border-radius: 10px 10px 0 0;
}

.skeleton-title {
  height: 24px;
  width: 85%;
  margin-bottom: 12px;
  border-radius: 4px;
}

.skeleton-text {
  height: 16px;
  width: 90%;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton-text.short {
  width: 50%;
}

.skeleton-price {
  height: 30px;
  width: 130px;
  margin-top: 15px;
  border-radius: 4px;
}

.skeleton-button {
  height: 40px;
  width: 120px;
  margin-top: 15px;
  border-radius: 20px;
}

/* Blog Skeleton */
.skeleton-blog-card {
  width: 100%;
  height: 420px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.skeleton-blog-image {
  height: 220px;
  border-radius: 10px 10px 0 0;
}

.skeleton-date {
  height: 16px;
  width: 100px;
  margin: 15px 0;
}

/* Hero Skeleton */
.skeleton-hero {
  width: 100%;
  height: 400px;
  border-radius: 10px;
}

/* İçerik Skeleton */
.skeleton-content {
  width: 100%;
  margin-bottom: 20px;
}

.skeleton-content-title {
  height: 32px;
  width: 80%;
  margin-bottom: 20px;
}

.skeleton-paragraph {
  height: 16px;
  margin-bottom: 10px;
  width: 100%;
}

.skeleton-paragraph:last-child {
  width: 80%;
}

/* Feature Box Skeleton */
.skeleton-feature {
  display: flex;
  margin-bottom: 15px;
}

.skeleton-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.skeleton-feature-content {
  flex: 1;
}

.skeleton-feature-title {
  height: 20px;
  width: 60%;
  margin-bottom: 10px;
}

.skeleton-feature-text {
  height: 16px;
  width: 90%;
}

/* Fade In Animation */
.skeleton-fade-in {
  animation: skeletonFadeIn 0.4s ease-in forwards;
  opacity: 0;
}

@keyframes skeletonFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Gecikmeli görünüm için sınıflar */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; } 