/* Initial loading screen - показывается до загрузки JS */
#__nuxt {
    position: relative;
    min-height: 100vh;
}

#__nuxt::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99998;
    pointer-events: none;
}

#__nuxt::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: url('/icons/maf-melodiya-logo-short.svg') no-repeat center center / contain;
    z-index: 99999;
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

/* Скрываем псевдоэлементы после монтирования приложения */
#__nuxt.app-mounted::before,
#__nuxt.app-mounted::after {
    display: none;
}
