/* Static shell until Blazor replaces #app — mirrors LandingLayout + Index (Mud Large, py-16, footer copy only). */

.skeleton-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fafafa;
    font-family: 'Inter', system-ui, sans-serif;
}

.skeleton-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 12px 0;
}

.skeleton-header-inner {
    box-sizing: border-box;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skeleton-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.skeleton-hero {
    background: #f8fafc;
}

/* MudContainer MaxWidth.Large + MudGrid py-16 */
.skeleton-hero-container {
    box-sizing: border-box;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 16px;
}

/* ~ MudItem lg="8" (8/12) */
.skeleton-hero-inner {
    max-width: min(853px, 100%);
    margin: 0 auto;
    text-align: center;
}

.skeleton-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* MudContainer MaxWidth.Large + Class py-16; MudGrid Spacing="8" → 32px gap */
.skeleton-features {
    box-sizing: border-box;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.skeleton-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 32px 24px;
}

.skeleton-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.sk {
    border-radius: 6px;
    background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 45%, #e2e8f0 90%);
    background-size: 220% 100%;
    animation: skeleton-shimmer 1.35s ease-in-out infinite;
}

.sk-muted {
    opacity: 0.85;
}

.sk-title {
    height: 40px;
    max-width: 100%;
    margin: 0 auto 16px;
    border-radius: 8px;
}

/* Typo.h6 subtitle — одна строка */
.sk-subtitle {
    height: 22px;
    max-width: 100%;
    margin: 0 auto 0;
}

.sk-line {
    height: 14px;
    max-width: 520px;
    margin: 0 auto 12px;
}

.sk-brand-title {
    width: 148px;
    height: 24px;
    border-radius: 6px;
}

/* Size.Medium primary — «Вход» */
.sk-btn-header {
    width: 76px;
    height: 36px;
    border-radius: 8px;
}

/* Size.Large — «Войти» / «Регистрация» */
.sk-btn-large {
    width: 140px;
    height: 48px;
    border-radius: 8px;
}

.sk-btn-outline {
    opacity: 0.75;
}

.skeleton-footer {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    padding: 24px 0;
    margin-top: auto;
}

/* MudContainer MaxWidth.ExtraLarge */
.skeleton-footer-inner {
    box-sizing: border-box;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 16px;
}

.sk-footer-line {
    height: 14px;
    max-width: 340px;
    margin: 0;
    border-radius: 6px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sk {
        animation: none;
        background: #e2e8f0;
    }
}
