/* static/css/startup.css */

/* 1. 启动页全屏容器 */
#app-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 2. 图标样式及动画 */
.loading-icon {
    font-size: 50px;
    animation: rocket-float 2s ease-in-out infinite;
}

/* 3. 状态文字 */
.loading-status {
    margin-top: 20px;
    color: #999;
    font-size: 14px;
    letter-spacing: 1px;
}

/* 4. 重点：老师的“单词真谛”区域 */
.teaching-tip {
    margin-top: 50px;
    padding: 20px 40px 0;
    color: #4a5a8a; /* 🟢 修改：文字改用深蓝色，在渐变背景上更清晰 */
    border-top: 1px solid rgba(255, 255, 255, 0.3); /* 分割线改用半透明白色 */
    font-size: 22px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
    border-top: 1px solid #eee; /* 分割线增加仪式感 */
    max-width: 300px;
    animation: fadeIn 1.2s ease-in;
    min-height: 60px; /* 固定高度，防止文字跳动 */
    position: relative;
    min-height: 3em;
}

/* 模拟打字机的光标 */
.teaching-tip::after {
    content: '|';
    margin-left: 5px;
    color: #576b95;
    animation: blink 0.7s infinite;
}

/* 火箭冲出屏幕的动画 */
@keyframes rocket-out {
    0% { transform: translateY(-15px) scale(1); opacity: 1; }
    100% { transform: translateY(-500px) scale(2); opacity: 0; }
}

@keyframes blink {
    from, to { opacity: 0; }
    50% { opacity: 1; }
}

/* 5. 动画定义 */
@keyframes rocket-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}