/* Loading screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

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

/* Loading text */
.loading-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 24px;
    color: white;
    width: 150px;
    text-align: left;
}

/* Animated dots */
.loading-text::after {
    content: '.';
    display: inline-block;
    width: 30px;
    text-align: left;
    animation: dots 1.5s ease-in-out infinite;
}

@keyframes dots {
    0% {
        content: '.';
    }
    33.33% {
        content: '..';
    }
    66.66% {
        content: '...';
    }
    100% {
        content: '.';
    }
}
