#root-skeleton-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: linear-gradient(
    135deg,
    rgba(18, 18, 24, 0.98) 0%,
    rgba(30, 30, 40, 0.95) 100%
  );
}

#root-skeleton-loader .home-container {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#root-skeleton-loader .content {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  padding: 7rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#root-skeleton-loader .hero-section {
  width: 100%;
  max-width: 1200px;
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem 0;
}

#root-skeleton-loader .hero-title-skeleton {
  height: 4rem;
  width: 60%;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}

#root-skeleton-loader .hero-subtitle-skeleton {
  height: 1.5rem;
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}

#root-skeleton-loader .magazine-panel {
  background: linear-gradient(
    135deg,
    rgba(18, 18, 24, 0.95) 0%,
    rgba(30, 30, 40, 0.98) 100%
  );
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  min-height: 162px;
  max-height: 162px;
}

#root-skeleton-loader .magazine-skeleton {
  display: flex;
  gap: 1.25rem;
  min-height: 122px;
  max-height: 122px;
}

#root-skeleton-loader .magazine-skeleton-image {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}

#root-skeleton-loader .magazine-skeleton-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

#root-skeleton-loader .magazine-skeleton-title {
  height: 1.575rem;
  width: 70%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}

#root-skeleton-loader .magazine-skeleton-text {
  height: 2.625rem;
  width: 100%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}

#root-skeleton-loader .titles-panel {
  background: linear-gradient(
    135deg,
    rgba(18, 18, 24, 0.95) 0%,
    rgba(30, 30, 40, 0.98) 100%
  );
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

#root-skeleton-loader .search-filter-skeleton {
  height: 3.5rem;
  width: 100%;
  margin-bottom: 2.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}

#root-skeleton-loader .categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

#root-skeleton-loader .category-chip-skeleton {
  padding: 0.625rem 1.25rem;
  height: 2.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
  min-width: 100px;
}

#root-skeleton-loader .section-label-skeleton {
  height: 2rem;
  width: 300px;
  margin: 0 0 2.5rem 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}

#root-skeleton-loader .titles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
}

#root-skeleton-loader .title-card-skeleton {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#root-skeleton-loader .title-poster-skeleton {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: rgba(255, 255, 255, 0.05);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}

#root-skeleton-loader .title-info-skeleton {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#root-skeleton-loader .skeleton-line {
  background: rgba(255, 255, 255, 0.05);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
  border-radius: 4px;
}

#root-skeleton-loader .skeleton-title {
  height: 1.4rem;
  width: 85%;
}

#root-skeleton-loader .skeleton-year {
  height: 0.9rem;
  width: 40%;
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@media (max-width: 768px) {
  #root-skeleton-loader .content {
    padding: 5.5rem 1rem 2rem;
  }

  #root-skeleton-loader .hero-section {
    margin-bottom: 3rem;
    padding: 1.5rem 0;
  }

  #root-skeleton-loader .hero-title-skeleton {
    height: 2.5rem;
    margin-bottom: 1rem;
  }

  #root-skeleton-loader .hero-subtitle-skeleton {
    height: 1.1rem;
  }

  #root-skeleton-loader .magazine-panel {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    min-height: 263px;
    max-height: 263px;
  }

  #root-skeleton-loader .magazine-skeleton {
    flex-direction: column;
    gap: 1rem;
    padding: 0.375rem;
    min-height: 231px;
    max-height: 231px;
  }

  #root-skeleton-loader .magazine-skeleton-image {
    width: 100%;
    height: 120px;
  }

  #root-skeleton-loader .magazine-skeleton-title {
    height: 1.4rem;
  }

  #root-skeleton-loader .magazine-skeleton-text {
    height: 2.4375rem;
  }

  #root-skeleton-loader .titles-panel {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  #root-skeleton-loader .search-filter-skeleton {
    margin-bottom: 2rem;
  }

  #root-skeleton-loader .categories-container {
    margin-bottom: 1.5rem;
    gap: 0.625rem;
  }

  #root-skeleton-loader .category-chip-skeleton {
    padding: 0.5rem 1rem;
    height: 2.25rem;
    min-width: 80px;
  }

  #root-skeleton-loader .section-label-skeleton {
    height: 1.4rem;
    width: 250px;
    margin-bottom: 2rem;
  }

  #root-skeleton-loader .titles-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
  }

  #root-skeleton-loader .title-info-skeleton {
    padding: 1rem 0.75rem;
  }

  #root-skeleton-loader .skeleton-title {
    height: 1rem;
  }

  #root-skeleton-loader .skeleton-year {
    height: 0.85rem;
  }
}

@media (max-width: 480px) {
  #root-skeleton-loader .content {
    padding: 5rem 1rem 2rem;
  }

  #root-skeleton-loader .hero-section {
    margin-bottom: 2rem;
    padding: 1rem 0;
  }

  #root-skeleton-loader .hero-title-skeleton {
    height: 2rem;
    margin-bottom: 0.75rem;
  }

  #root-skeleton-loader .hero-subtitle-skeleton {
    height: 1rem;
  }

  #root-skeleton-loader .magazine-panel {
    padding: 0.875rem;
    margin-bottom: 1rem;
    min-height: 247px;
    max-height: 247px;
  }

  #root-skeleton-loader .magazine-skeleton {
    min-height: 207px;
    max-height: 207px;
  }

  #root-skeleton-loader .magazine-skeleton-image {
    height: 120px;
  }

  #root-skeleton-loader .magazine-skeleton-title {
    height: 1.3125rem;
    width: 100%;
  }

  #root-skeleton-loader .magazine-skeleton-text {
    height: 2.25rem;
  }

  #root-skeleton-loader .titles-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
  }

  #root-skeleton-loader .search-filter-skeleton {
    margin-bottom: 1.5rem;
  }

  #root-skeleton-loader .categories-container {
    margin-bottom: 1.25rem;
    gap: 0.5rem;
  }

  #root-skeleton-loader .category-chip-skeleton {
    padding: 0.5rem 0.875rem;
    height: 2rem;
    min-width: 70px;
  }

  #root-skeleton-loader .section-label-skeleton {
    height: 1.2rem;
    width: 200px;
    margin-bottom: 1.5rem;
  }
}
