/* 欢迎界面样式 */
#welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#welcome-screen.show {
    opacity: 1;
    visibility: visible;
}

.welcome-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#welcome-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(0px);
    transform: scale(1.1);
}

.welcome-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.welcome-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 40px 20px;
}

.welcome-header {
    position: absolute;
    top: 60px;
    width: 100%;
    animation: fadeInDown 1s ease;
}

.welcome-date {
    font-size: 2rem;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.welcome-time {
    margin-top: 8px;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.welcome-main {
    animation: fadeInUp 1s ease 0.3s both;
}

.welcome-title {
    font-family: 'Pacifico-Regular', cursive;
    font-size: 5rem;
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: normal;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: 4px;
}

.welcome-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0 0 50px 0;
    font-weight: 300;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.welcome-button {
    padding: 16px 60px;
    font-size: 1.1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.6s both;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.welcome-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.welcome-button:active {
    transform: translateY(0);
}

.welcome-footer {
    position: absolute;
    bottom: 40px;
    width: 100%;
    animation: fadeIn 1s ease 1s both;
}

.welcome-footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 退出动画 */
#welcome-screen.hide {
    animation: fadeOut 0.8s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
        transform: scale(1.05);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .welcome-date {
        font-size: 1.5rem;
    }

    .welcome-time {
        font-size: 1.1rem;
    }

    .welcome-title {
        font-size: 3rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .welcome-button {
        padding: 12px 40px;
        font-size: 1rem;
    }

    .welcome-footer p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 2.5rem;
    }

    .welcome-date {
        font-size: 1.3rem;
    }

    .welcome-time {
        font-size: 1rem;
    }

    .welcome-subtitle {
        font-size: 0.9rem;
    }
}
