html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease-out;
}

#splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 40px;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: rotate 3s linear infinite;
    filter: drop-shadow(0 0 20px rgba(33, 150, 243, 0.3));
}

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

.loading-text {
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.progress-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #2196F3, #21CBF3);
    border-radius: 2px;
    animation: progress 2.5s ease-out forwards;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

@keyframes progress {
    to { width: 95%; }
}

.loading-dots {
    color: #ffffff;
    font-size: 14px;
    margin-top: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.loading-dots::after {
    content: '.';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}
