/* 終端機啟動動畫樣式 */
.terminal-startup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.terminal-startup.fade-out {
    opacity: 0;
    visibility: hidden;
}

.terminal-lines {
    width: 90%;
    max-width: 700px;
    padding: 20px;
}

.terminal-line {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
    min-height: 20px;
}

.terminal-line.typing {
    display: block;
}

.terminal-line.hidden {
    display: none;
}

.prompt {
    color: #00ff00;
}

.command {
    color: #ffffff;
}

.output {
    color: #cccccc;
}

.typing-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #00ff00;
    animation: blink 1s infinite;
    margin-left: 2px;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #00ff00;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* 手機版調整 */
@media (max-width: 768px) {
    .terminal-lines {
        width: 95%;
        padding: 15px;
    }

    .terminal-line {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .cursor {
        width: 6px;
        height: 14px;
    }
}