* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profile {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.intro {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.links {
    width: 100%;
    max-width: 800px;
}

.links h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* 电脑视图的链接样式 */
.link-text {
    display: none;
    text-align: center;
    margin-top: 2rem;
}

.link-text a {
    color: #2c3e50;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.link-text a:hover {
    color: #3498db;
}

/* 手机视图的链接样式 */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.link-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.link-item span {
    font-size: 1.1rem;
}

.language-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.lang-text {
    font-weight: bold;
    color: #2c3e50;
}

.lang-btn i {
    color: #2c3e50;
}

@media (min-width: 769px) {
    .container {
        padding: 4rem 2rem;
    }
    
    .profile {
        margin-bottom: 4rem;
    }
    
    .link-grid {
        display: none;
    }
    
    .link-text {
        display: block;
    }
    
    .links h2 {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .intro {
        font-size: 1rem;
    }
    
    .link-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .language-switch {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
    }
} 