/* SKELETON LOADER STYLES */
.skeleton-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background: #111; /* Dark background matching the theme */
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    gap: 40px;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.skeleton-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.skeleton-shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 8px;
}

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

.skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
}

.skeleton-logo {
    width: 200px;
    height: 50px;
}

.skeleton-nav {
    display: flex;
    gap: 30px;
}
.skeleton-nav-item {
    width: 90px;
    height: 24px;
}

.skeleton-hero {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 45vh;
    border-radius: 16px;
}

.skeleton-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.skeleton-card {
    height: 250px;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .skeleton-nav {
        display: none;
    }
    .skeleton-overlay {
        padding: 20px;
    }
}
