/* Splash Screen Styles */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d88bb8;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease-in-out;
}

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

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    clip-path: circle(150% at center);
    transition: clip-path 0.8s ease-in-out;
}

.splash-content.iris-out {
    clip-path: circle(0% at center);
}

.splash-logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-white-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    transform: scale(0.1);
    animation: zoomIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.splash-character {
    position: absolute;
    width: 180px;
    height: 180px;
    opacity: 0;
    transform: scale(0.5);
    animation: characterAppear 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.splash-character.hidden {
    display: none;
}

.splash-app-name {
    position: absolute;
    font-size: 48px;
    font-weight: bold;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    opacity: 0;
    transform: scale(0.5);
}

.splash-app-name.zoom-in {
    animation: textZoomIn 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.splash-app-name.zoom-out {
    animation: textZoomOut 0.3s ease-in forwards;
}

@keyframes zoomIn {
    to {
        transform: scale(1);
    }
}

@keyframes characterAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textZoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textZoomOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(5);
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .splash-logo-container {
        width: 160px;
        height: 160px;
    }

    .splash-white-circle {
        width: 160px;
        height: 160px;
    }

    .splash-character {
        width: 140px;
        height: 140px;
    }

    .splash-app-name {
        font-size: 36px;
    }
}
