/* Splash Screen Styles */
#splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: radial-gradient(ellipse at center, #0f172a 0%, #020617 100%);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#splash-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.splash-content {
    position: relative;
    z-index: 10;
    text-align: center;
    cursor: pointer;
}

.splash-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 0 30px rgba(14, 165, 233, 0.4));
}

.splash-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.splash-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 2rem;
    min-height: 1.5em;
}

/* Welcome Text for TTS */
.welcome-text {
    color: #0ea5e9;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.welcome-text.speaking {
    opacity: 1;
}

/* Loader */
.splash-loader {
    width: 280px;
    height: 4px;
    background: rgba(100, 116, 139, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.5s;
}

.splash-loader.visible {
    opacity: 1;
}

.splash-loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4, #0ea5e9);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.splash-status {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 1rem;
    font-family: 'Courier New', monospace;
    opacity: 0;
    transition: opacity 0.3s;
}

.splash-status.visible {
    opacity: 1;
}

.skip-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: none;
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #64748b;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 20;
}

.skip-btn:hover {
    border-color: #94a3b8;
    color: #e2e8f0;
}
