/* 스플래시 화면 CSS */

/* 스플래시 화면 컨테이너 */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* 로고 영역 */
.splash-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.splash-logo h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.splash-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 300;
}

/* 로딩 스피너 */
.splash-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

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

/* 모바일 최적화 */
@media (max-width: 768px) {
    .splash-logo h1 {
        font-size: 2rem;
    }
    
    .splash-logo p {
        font-size: 1rem;
    }
    
    .splash-spinner {
        width: 50px;
        height: 50px;
    }
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    .splash-screen {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    }
}