body.is-loading {
    overflow: hidden;
}

#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #f8f8f8;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-screen__ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ab00e8, #3e867b, #ab00e8);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
    animation: loading-spin 1.1s linear infinite;
}

.loading-screen__logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    animation: loading-pulse 1.6s ease-in-out infinite;
}

.loading-screen__text {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loading-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.92);
        opacity: 0.8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loading-screen__ring,
    .loading-screen__logo {
        animation: none;
    }
}
