/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease;
}

.loading-content {
    text-align: center;
    max-width: 600px;
    padding: calc(var(--spacing-unit) * 2);
}

.loading-name {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1.1;
    color: var(--text-color);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.loading-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: calc(var(--spacing-unit) * 4);
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 3px solid var(--border-color);
    border-top-color: var(--text-color);
    border-radius: 50%;
    opacity: 0;
    animation: fadeIn 0.6s ease 0.6s forwards, spin 1s linear infinite 1.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .loading-name {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .loading-tagline {
        font-size: clamp(0.875rem, 3vw, 1rem);
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
    }
}

