/* 通用样式和字体 */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&family=JetBrains+Mono:wght@400&display=swap');

:root {
    --bg-color: #f7f9fc; /* 亮色背景 */
    --text-color: #333;
    --heading-color: #2c3e50;
    --link-color: #3498db;
    --link-hover-color: #2980b9;
    --footer-text-color: #7f8c8d;
    --border-color: #dfe6e9;
    --card-bg: #ffffff;
    --glow-color: #6a89cc; /* 略带发光的科技蓝 */
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center; /* 垂直居中 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 40px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.container:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

header {
    margin-bottom: 40px;
}

.brand-avatar {
    width: 120px; /* 头像尺寸 */
    height: 120px;
    border-radius: 50%; /* 如果是圆形头像，可以使用 */
    object-fit: contain; /* 确保图片完整显示 */
    margin: 0 auto 25px auto;
    border: 3px solid var(--glow-color); /* 添加一个科技感的光晕边框 */
    box-shadow: 0 0 15px rgba(106, 137, 204, 0.4); /* 光晕效果 */
    transition: transform 0.3s ease;
}

.brand-avatar:hover {
    transform: scale(1.05);
}

h1 {
    font-family: 'JetBrains Mono', monospace; /* 标题使用更具代码感的字体 */
    font-size: 2.8em;
    color: var(--heading-color);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.slogan {
    font-size: 1.2em;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

nav {
    display: flex;
    flex-wrap: wrap; /* 适配小屏幕 */
    justify-content: center;
    gap: 25px; /* 链接间距 */
    margin-top: 40px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    background-color: var(--link-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.nav-link:hover {
    background-color: var(--link-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.nav-link .icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
}

/* GitHub 图标颜色可能需要调整，这里假设它可以被 currentColor 染色 */
.nav-link svg[fill="currentColor"] {
    fill: currentColor;
}

footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    color: var(--footer-text-color);
    font-size: 0.9em;
    font-family: 'JetBrains Mono', monospace;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    .container {
        padding: 30px 20px;
    }
    h1 {
        font-size: 2em;
    }
    .slogan {
        font-size: 1em;
    }
    nav {
        flex-direction: column; /* 小屏幕下链接垂直排列 */
        gap: 15px;
    }
    .nav-link {
        padding: 10px 20px;
        width: calc(100% - 40px); /* 占据几乎所有宽度 */
    }
    .brand-avatar {
        width: 100px;
        height: 100px;
    }
}