.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background-dark), #000000);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
    overflow: hidden;
}

.splash-screen::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-color) 0%, transparent 50%);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.splash-screen::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #2ecc71 0%, transparent 50%);
    opacity: 0.1;
    animation: rotate 15s linear infinite reverse;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: scaleIn 0.5s ease forwards;
}

.splash-logo {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.5));
    animation: logoAnimation 4s ease infinite;
}

.splash-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #4a90e2, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
    text-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
}

.loading-dots {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: loadingDots 1.4s infinite;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #4a90e2, #2ecc71);
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes logoAnimation {
    0% {
        transform: perspective(1000px) rotateY(0) scale(1);
    }
    25% {
        transform: perspective(1000px) rotateY(10deg) scale(1.1);
    }
    75% {
        transform: perspective(1000px) rotateY(-10deg) scale(1.1);
    }
    100% {
        transform: perspective(1000px) rotateY(0) scale(1);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadingDots {
    0%, 100% {
        transform: scale(0.3) translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: scale(1) translateY(-10px);
        opacity: 1;
    }
}

.splash-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    opacity: 0;
    text-align: center;
    animation: fadeInUp 1s ease forwards 0.8s;
    max-width: 600px;
    margin: 0 auto;
}