#ai-semantic-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 18, 23, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    color: #ffffff;
    font-family: 'Inter', 'Roboto', sans-serif;
}

#ai-semantic-loader-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ai-semantic-spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, #3b82f6 20%, #8b5cf6 50%, #ec4899 100%);
    position: relative;
    animation: ai-spin 1.5s linear infinite;
    margin-bottom: 24px;
}
.ai-semantic-spinner::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: rgba(18, 18, 23, 0.9);
    border-radius: 50%;
}

.ai-semantic-image {
    max-width: 150px;
    max-height: 150px;
    margin-bottom: 24px;
    border-radius: 8px;
    animation: ai-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes ai-spin {
    100% { transform: rotate(360deg); }
}

@keyframes ai-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}

.ai-semantic-text {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    background: linear-gradient(90deg, #3b82f6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ai-pulse 2.5s infinite;
}
