/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 0;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* 头像区域 - 关键修改：强制圆球展示 */
.avatar-box {
    margin-bottom: 25px;
}

.avatar {
    width: 120px;
    height: 120px;
    /* 核心属性：圆角设为宽高的50%，强制圆形 */
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover; /* 防止图片拉伸变形 */
}

.name {
    font-size: 28px;
    color: #333;
    margin-top: 15px;
    letter-spacing: 2px;
}

/* 个人简介 */
.intro {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.highlight {
    color: #667eea;
    font-weight: bold;
}

/* 专属服务链接区 */
.service-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.service-link:hover {
    background-color: #556bda;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.service-link i {
    font-size: 18px;
}

/* 技能容器 */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 技能卡片 */
.skill-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left;
}

.skill-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* 技能图标 */
.skill-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #667eea;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.skill-icon i {
    font-size: 24px;
}

/* 技能内容 */
.skill-content {
    flex: 1;
}

.skill-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.skill-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 响应式适配 */
@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 30px 20px;
    }
    .skill-card {
        flex-direction: column;
        text-align: center;
    }
    .service-links {
        flex-direction: column;
    }
    .service-link {
        width: 100%;
        justify-content: center;
    }
}
