.skeleton {
    background: linear-gradient(
        90deg,
        var(--background-card) 0%,
        var(--background-hover) 50%,
        var(--background-card) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-graph {
    width: 100%;
    height: 450px;
    margin-bottom: 2rem;
}

.skeleton-stat-card {
    height: 120px;
    min-width: 200px;
}

.skeleton-retro-card {
    height: 140px;
}

.skeleton-text {
    height: 20px;
    margin-bottom: 10px;
}

.skeleton-text.title {
    height: 32px;
    width: 60%;
    margin: 0 auto 1rem;
}

.skeleton-text.subtitle {
    height: 18px;
    width: 40%;
    margin: 0 auto 2rem;
}

.skeleton-retro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .skeleton-graph {
        height: 400px;
    }
    
    .skeleton-retro-grid {
        grid-template-columns: 1fr;
    }
}
