#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 0 40px 0 rgba(0,0,0,0.08);
}

#preloader:focus {
    outline: 3px solid #007cf0;
    outline-offset: 4px;
}

.typing-text {
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(90deg, #007cf0, #00dfd8, #ff0080);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2s infinite linear;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.typing-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.typing-loader span {
    display: block;
    width: 12px; height: 12px;
    background-color: #2c3e50;
    border-radius: 50%;
    animation: bounce 0.7s infinite alternate, pulse 1.2s infinite;
    box-shadow: 0 2px 8px rgba(44,62,80,0.12);
}

.typing-loader span:nth-child(2) { animation-delay: 0.2s, 0.2s; }
.typing-loader span:nth-child(3) { animation-delay: 0.4s, 0.4s; }

@keyframes bounce {
    to {
        transform: translateY(-12px);
        opacity: 0.3;
    }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(44,62,80,0.2); }
    50% { box-shadow: 0 0 12px 6px rgba(44,62,80,0.10); }
}
