/* FILE: assets/css/skeleton.css */

/* The shimmery animation effect */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-card {
    background: #0D0D0E; /* Matches card bg */
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 350px; /* Approximate height of a real card */
}

/* The moving shine */
.skeleton-card::after {
    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.03) 20%,
        rgba(255, 255, 255, 0.06) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
    content: '';
}

.skeleton-thumb {
    width: 100%;
    height: 220px;
    background: #1a1a1a;
}

.skeleton-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-title {
    height: 20px;
    width: 80%;
    background: #1a1a1a;
    border-radius: 4px;
}

.skeleton-meta {
    height: 15px;
    width: 50%;
    background: #1a1a1a;
    border-radius: 4px;
    margin-top: 5px;
}