/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1e1e1e;
    font-family: 'Ubuntu Mono', 'Courier New', monospace;
    color: #f0f0f0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 终端窗口样式 */
.terminal-window {
    width: 90%;
    max-width: 900px;
    height: 80vh;
    background-color: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 终端标题栏 */
.terminal-header {
    background-color: #3c3c3c;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

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

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

.close {
    background-color: #ff5f56;
}

.minimize {
    background-color: #ffbd2e;
}

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

.terminal-title {
    color: #cccccc;
    font-size: 14px;
    flex-grow: 1;
    text-align: center;
}

/* 终端主体 */
.terminal-body {
    flex-grow: 1;
    background-color: #1e1e1e;
    padding: 20px;
    overflow-y: auto;
    font-size: 16px;
    line-height: 1.4;
}

/* 输出区域 */
.terminal-output {
    margin-bottom: 10px;
}

.output-line {
    margin-bottom: 8px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* 提示符 */
.prompt {
    color: #4ec9b0;
    margin-right: 8px;
}

/* 命令样式 */
.command {
    color: #dcdcaa;
    font-weight: bold;
}

/* 链接样式 */
.link {
    color: #3dc9ff;
    text-decoration: underline;
    cursor: pointer;
}

.link:hover {
    color: #569cd6;
}

/* 输入行 */
.terminal-input-line {
    display: flex;
    align-items: center;
}

.cursor-container {
    position: relative;
    flex-grow: 1;
}

#command-input {
    background: transparent;
    border: none;
    color: #f0f0f0;
    font-family: inherit;
    font-size: inherit;
    width: 100%;
    outline: none;
    caret-color: #f0f0f0;
}

/* 内容样式 */
.section-title {
    color: #c586c0;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 8px;
}

.content-text {
    color: #d4d4d4;
    margin-left: 20px;
}

.highlight {
    color: #ce9178;
}

.skill-item {
    margin-left: 30px;
    color: #d4d4d4;
}

.skill-category {
    color: #4ec9b0;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .terminal-window {
        width: 95%;
        height: 90vh;
    }
    
    .terminal-body {
        font-size: 14px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .terminal-window {
        width: 98%;
        height: 95vh;
        border-radius: 4px;
    }
    
    .terminal-header {
        padding: 6px 8px;
    }
    
    .terminal-title {
        font-size: 12px;
    }
    
    .button {
        width: 10px;
        height: 10px;
    }
    
    .terminal-body {
        font-size: 12px;
        padding: 10px;
    }
}

/* 在原有样式基础上添加 */
.icp-footer {
    background-color: #3c3c3c;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    color: #cccccc;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.icp-footer a {
    color: #cccccc;
    text-decoration: none;
}

.icp-footer a:hover {
    text-decoration: underline;
}

/* 响应式设计中的调整 */
@media (max-width: 480px) {
    .icp-footer {
        font-size: 10px;
        padding: 6px;
    }
}