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

:root {
    --primary: #4a6cf7;
    --secondary: #ff6b6b;
    --dark: #0f172a;
    --darker: #0a0f1f;
    --light: #f1f5f9;
    --gray: #94a3b8;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, var(--darker), var(--dark));
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: var(--gray);
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* 页面标题区域 */
.page-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, var(--light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* 关于内容区域 */
.about-section {
    padding: 5rem 0;
}

.about-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.author-profile {
    flex: 1;
    position: relative;
}

.profile-image {
    width: 100%;
    height: 450px;
    background: linear-gradient(45deg, #4a6cf7, #8e44ad);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.1);
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.author-info {
    flex: 1.5;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    background: linear-gradient(120deg, var(--light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.about-text {
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.author-signature {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin: 2rem 0;
    color: var(--light);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.author-signature:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* 技能展示 */
.skills-section {
    margin: 3rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 108, 247, 0.25);
    border-color: rgba(74, 108, 247, 0.2);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: rgba(74, 108, 247, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.skill-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.skill-list {
    list-style: none;
}

.skill-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

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

.skill-item i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* 时间线 */
.timeline-section {
    margin: 4rem 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(74, 108, 247, 0.2);
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 1.5rem 0;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
}

.timeline-content {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 108, 247, 0.2);
}

.timeline-year {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.timeline-description {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

.timeline-item:nth-child(odd) .timeline-content:after {
    content: '';
    position: absolute;
    top: 30px;
    right: -10px;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    background: rgba(15, 23, 42, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item:nth-child(even) .timeline-content:after {
    content: '';
    position: absolute;
    top: 30px;
    left: -10px;
    width: 20px;
    height: 20px;
    transform: rotate(-45deg);
    background: rgba(15, 23, 42, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 联系区域 */
.contact-section {
    background: rgba(10, 15, 31, 0.5);
    padding: 4rem 0;
    border-radius: 15px;
    margin: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 108, 247, 0.25);
    border-color: rgba(74, 108, 247, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(74, 108, 247, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

.contact-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contact-info {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}



/* 装饰元素 */
.circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.15), transparent);
    top: 10%;
    right: 10%;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), transparent);
    bottom: 20%;
    left: 5%;
}

/* 动画效果 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }

    .profile-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .timeline:before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content:after,
    .timeline-item:nth-child(even) .timeline-content:after {
        left: 50px;
        top: 30px;
        right: auto;
        transform: rotate(-45deg);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .page-title {
        font-size: 2.8rem;
    }
}