.welcome-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    width: 100%;
}

.welcome-container {
    text-align: center;
    width: 100%;
}

.welcome-title {
    font-size: 3rem;
    font-weight: bold;
    font-family: cursive;
    margin: 0;
    background: linear-gradient(90deg, #00d2ff, #3a7bd5, #ff3366, #00d2ff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 5s ease infinite;
}

.chat-messages {
    overflow-x: hidden;
}

@keyframes textGradient {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    }
    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 8px 32px rgba(0, 123, 255, 0.3);
    }
    100% {
        box-shadow: 0 8px 32px rgba(0, 123, 255, 0.7), 0 0 20px rgba(0, 123, 255, 0.5) inset;
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(0, 123, 255, 0.8), 0 0 20px rgba(0, 123, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 15px rgba(0, 123, 255, 1), 0 0 30px rgba(0, 123, 255, 0.8), 0 0 45px rgba(0, 123, 255, 0.6);
    }
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* 创建粒子动画 */
.welcome-particles::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #3a7bd5 1px, transparent 1px),
    radial-gradient(circle, #00d2ff 1px, transparent 1px),
    radial-gradient(circle, #3a7bd5 1px, transparent 1px),
    radial-gradient(circle, #00d2ff 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px, 20px 0, 0 20px;
    animation: particleMove 8s linear infinite;
}
@keyframes particleMove {
    0% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-10px) translateX(10px);
    }
    50% {
        transform: translateY(0) translateX(20px);
    }
    75% {
        transform: translateY(10px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}
