/* swdindex.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a14;
    color: #e0e0e0;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* 头部 */
.header {
    text-align: center;
    margin-bottom: 50px;
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f0ff, #0066ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.name {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
}

.slogan {
    margin-top: 8px;
    color: #888;
    font-size: 15px;
}

/* 导航 */
.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.nav-link {
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s;
}

.nav-link:hover {
    color: #00f0ff;
    border-color: #00f0ff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

/* 卡片 */
.card {
    background: rgba(20, 20, 40, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.card h2 {
    font-size: 20px;
    color: #00f0ff;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.card p {
    font-size: 15px;
    line-height: 1.7;
    color: #bbb;
}

/* 技能标签 */
.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #ccc;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: rgba(0, 240, 255, 0.2);
    color: #00f0ff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* 联系 */
.contact-line {
    margin-bottom: 8px;
}

/* 页脚 */
.footer {
    text-align: center;
    margin-top: 40px;
    color: #555;
    font-size: 13px;
}