/* 欢迎提示框样式 */

/* 遮罩层 */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

/* 提示框容器 */
.welcome-box {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

/* 关闭按钮 */
.welcome-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.welcome-close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

/* 标题 */
.welcome-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* 正文内容 */
.welcome-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    white-space: pre-line; /* 保留换行 */
    text-align: left;
}

.welcome-content p {
    margin: 0;
}

/* 按钮 */
.welcome-button {
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.welcome-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.welcome-button:active {
    transform: translateY(0);
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 滑入动画 */
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 淡出动画 */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* 关闭时的动画类 */
.welcome-closing {
    animation: fadeOut 0.3s ease forwards;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .welcome-box {
        padding: 30px 20px;
        max-width: 90%;
    }

    .welcome-title {
        font-size: 20px;
    }

    .welcome-content {
        font-size: 14px;
    }

    .welcome-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}
