* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(145deg, #f7f9fc 0%, #e9edf4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: #1e293b;
    line-height: 1.5;
}

/* 主卡片 – 现代玻璃态质感 */
.homepage-card {
    max-width: 1000px;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 3rem;
    padding: 2.5rem 2.8rem;
    box-shadow: 
    0 30px 60px -20px rgba(0, 20, 30, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    margin: 0 auto;
}

/* 网格布局：左列 (简介) + 右列 (细节) */
.homepage-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

/* ===== 左侧：头像 & 身份 ===== */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
}

.avatar-wrapper {
    position: relative;
    margin-bottom: 1.8rem;
}

.avatar {
    width: 130px;
    height: 130px;
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    font-weight: 500;
    color: white;
    box-shadow: 0 15px 30px -8px rgba(37, 99, 235, 0.3);
    transition: transform 0.25s ease;
    border: 3px solid rgba(255, 255, 255, 0.6);
    object-fit: cover;
}

.avatar:hover {
    transform: scale(1.03) rotate(1deg);
}

.status-badge {
    position: absolute;
    bottom: 8px;
    right: 6px;
    background: #22c55e;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.35rem;
    background: linear-gradient(to right, #0b1e33, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subhead {
    font-size: 1.1rem;
    font-weight: 450;
    color: #475569;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.subhead i {
    color: #2563eb;
    font-size: 1rem;
    background: rgba(37, 99, 235, 0.08);
    padding: 0.3rem 0.7rem;
    border-radius: 40px;
    font-style: normal;
    font-weight: 500;
}

.bio {
    font-size: 1rem;
    color: #334155;
    max-width: 90%;
    margin-bottom: 2rem;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.2rem;
    border-radius: 2rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.bio i {
    color: #2563eb;
    margin-right: 6px;
}

/* 社交链接 - 左列 */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #1e293b;
    font-size: 1.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-4px);
    background: white;
    border-color: #2563eb;
    color: #2563eb;
    box-shadow: 0 12px 20px -12px rgba(37, 99, 235, 0.3);
}

/* ===== 右侧：技能 & 信息 ===== */
.details-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 2rem;
    padding: 1.6rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.02);
}

.info-block h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-block h3 i {
    color: #2563eb;
    font-size: 1.1rem;
    width: 1.6rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.8rem;
}

.skill-tag {
    background: white;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(203, 213, 225, 0.4);
    transition: all 0.15s ease;
}

.skill-tag:hover {
    border-color: #2563eb;
    background: #f0f7ff;
    transform: scale(1.02);
}

.skill-tag i {
    margin-right: 6px;
    color: #2563eb;
    font-size: 0.8rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.98rem;
    padding: 0.2rem 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.2);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    width: 1.4rem;
    color: #2563eb;
    font-size: 1.1rem;
    text-align: center;
}

.info-item strong {
    font-weight: 600;
    color: #0f172a;
}

.info-item span {
    color: #334155;
}

.cta-button {
    margin-top: 0.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #1e293b;
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 60px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    width: fit-content;
}

.cta-button i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.cta-button:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 14px 24px -10px #2563eb70;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* 响应式设计 */
@media (max-width: 780px) {
    .homepage-card {
    padding: 1.8rem;
    border-radius: 2rem;
    }
    .homepage-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    }
    .profile-section {
    align-items: center;
    text-align: center;
    }
    .bio {
    max-width: 100%;
    text-align: center;
    }
    .social-links {
    justify-content: center;
    }
    .avatar {
    width: 120px;
    height: 120px;
    font-size: 4rem;
    }
    h1 {
    font-size: 2.2rem;
    }
    .subhead {
    justify-content: center;
    }
    .cta-button {
    align-self: center;
    }
}

@media (max-width: 480px) {
    .homepage-card {
    padding: 1.2rem;
    border-radius: 1.6rem;
    }
    .info-block {
    padding: 1.2rem;
    }
    .skill-tag {
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
    }
    .avatar {
    width: 100px;
    height: 100px;
    font-size: 3.2rem;
    }
}

/* 辅助小装饰 */
.divider-light {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.15), transparent);
    margin: 0.2rem 0 1rem 0;
}

.footer-note {
    margin-top: 1.8rem;
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    letter-spacing: 0.3px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding-top: 1.2rem;
}
.footer-note i {
    color: #ef4444;
    font-size: 0.7rem;
    margin: 0 4px;
}
.avatar {
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}