/* HTML styles for the splash screen */
.avalonia-splash {
    position: absolute;
    height: 100%;
    width: 100%;
    background: #141414;
    color: #c9b07a;
    font-family: 'Segoe UI', system-ui, sans-serif;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    display: flex;
    pointer-events: none;
}

.avalonia-splash img {
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.avalonia-splash h2 {
    margin: 0;
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: 0.08em;
}

/* Indeterminate progress bar */
.splash-progress {
    position: relative;
    width: 160px;
    height: 3px;
    border-radius: 2px;
    background: rgba(201, 176, 122, 0.2);
    overflow: hidden;
}

.splash-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    border-radius: 2px;
    background: #c9b07a;
    animation: splash-progress 1.2s ease-in-out infinite;
}

@keyframes splash-progress {
    to {
        left: 100%;
    }
}

.avalonia-splash.splash-close {
    transition: opacity 200ms, display 200ms;
    display: none;
    opacity: 0;
}
