body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafafa;
}

.splash {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.4s ease-in-out, visibility 1.4s;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #09090b;
}

app-root:not(:empty) + .splash {
    opacity: 0;
    visibility: hidden;
}

.splash__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e4e4e7;
    animation: containerFadeIn 1s ease-out;
}

.splash__logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.splash__image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: logoFloat 3s ease-in-out infinite;
}

.splash__title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.025em;
    text-align: center;
    color: #09090b;
    line-height: 1.2;
}

.splash__subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.5rem 0 0 0;
    opacity: 0.6;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #71717a;
}

.splash__progress-container {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.splash__progress-text {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.7;
    color: #71717a;
    text-align: center;
}

.splash__progress-bar {
    width: 100%;
    height: 8px;
    background: #f4f4f5;
    border-radius: 4px;
    overflow: hidden;
}

.splash__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #09090b, #52525b, #09090b);
    border-radius: 4px;
    animation: progressFill 3s ease-in-out infinite;
    position: relative;
}

.splash__progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

.splash__dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.splash__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4d4d8;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.splash__dot:nth-child(1) { animation-delay: 0s; }
.splash__dot:nth-child(2) { animation-delay: 0.2s; }
.splash__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes containerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes dotPulse {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}