/* 修复模糊层CSS */
body {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* 真正的模糊层 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: var(--bg-blur, blur(0));
    z-index: -1;
    pointer-events: none; /* 防止遮挡点击事件 */
}

/* 终端容器 */
.terminal {
    position: relative;
    z-index: 1;
    background-color: rgba(45, 45, 45, 0.7);
}


                * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1e1e1e;
    font-family: 'Source Code Pro', monospace;
    color: #f0f0f0;
    heig ht: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease, background-color 0.5s ease;
}

.terminal {
    width: 100%;
    max-width: 800px;
    hei ght: 100%;
    background-color: #2d2d2d;
    border-radius: 8px;
    overflow: hidden;
    box-sha dow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.termi nal-header {
    height: 30px;
    background-color: #3c3c3c;
    display: flex;
    align-items: center;
    padding: 0 10px;
    position: relative;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.terminal-button.close {
    background-color: #ff5f56;
}

.terminal-button.minimize {
    background-color: #ffbd2e;
}

.terminal-button.maximize {
    background-color: #27c93f;
}

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #a0a0a0;
    font-size: 15px;
}

.terminal-body {
    height: calc(100% - 30px);
    padding: 15px;
    overflow-y: auto;
}

.welcome-message {
    color: #4caf50;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

#history {
    margin-bottom: 10px;
}

.input-line {
    display: flex;
    align-items: center;
}

.prompt {
    color: #4caf50;
    margin-right: 10px;
    white-space: nowrap;
}

#command-input {
    background: transparent;
    border: none;
    color: #f0f0f0;
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    width: calc(100% - 120px);
    outline: none;
    caret-color: #f0f0f0;
}

.command-line {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.command {
    color: #f0f0f0;
}

.command-output {
    margin-bottom: 10px;
    color: #cccccc;
}

.error {
    color: #f44336;
}

.success {
    color: #4caf50;
}

.link {
    color: #64b5f6;
    text-decoration: none;
    margin-right: 15px;
}

.link:hover {
    text-decoration: underline;
}

.help-command {
    color: #ff9800;
    margin-right: 10px;
}

.help-description {
    color: #cccccc;
}

.bookmark-delete {
    background-color: #3c3c3c;
    color: #f44336;
    border: 1px solid #f44336;
    border-radius: 3px;
    padding: 2px 6px;
    margin-left: 10px;
    font-family: 'Source Code Pro', monospace;
    font-size: 12px;
    cursor: pointer;
}

.link111 {
    background-color: #3c3c3c;
    color: #f44336;
    border: 1px solid #f44336;
    border-radius: 3px;
    padding: 2px 6px;
    margin-left: 10px;
    font-family: 'Source Code Pro', monospace;
    font-size: 12px;
    cursor: pointer;
}

.bookmark-move {
    background-color: #3c3c3c;
    color: #f44336;
    border: 1px solid #f44336;
    border-radius: 3px;
    padding: 2px 6px;
    margin-left: 10px;
    font-family: 'Source Code Pro', monospace;
    font-size: 12px;
    cursor: pointer;
}
.bookmark-delete:hover {
    background-color: #f44336;
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2d2d2d;
}

::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}



/* ASCII艺术样式 */
.ascii-art {
    white-space: pre;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.3;
    color: #64b5f6;
    margin: 15px 0;
    padding: 10px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 4px;
    overflow-x: auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ascii-art {
        font-size: 12px;
    }
}