/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* 全局背景动画效果 */
body::before {
    content: '';
    position: fixed;
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, 
        rgba(135, 206, 235, 0.6) 0%, 
        rgba(255, 182, 193, 0.6) 50%,
        rgba(147, 112, 219, 0.6) 100%);
    top: -400px;
    left: -300px;
    border-radius: 50%;
    filter: blur(100px);
    animation: moveGradient1 15s infinite alternate ease-in-out;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, 
        rgba(255, 182, 193, 0.6) 0%, 
        rgba(147, 112, 219, 0.6) 50%,
        rgba(135, 206, 235, 0.6) 100%);
    bottom: -300px;
    right: -200px;
    border-radius: 50%;
    filter: blur(100px);
    animation: moveGradient2 12s infinite alternate-reverse ease-in-out;
    z-index: -1;
    pointer-events: none;
}

/* 容器样式 */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #333;
    letter-spacing: 2px;
    font-weight: 600;
    line-height: 1.2;
}

/* 头像样式 */
.avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight {
    color: #007bff;
}

.subtitle {
    color: #666;
    margin-top: 10px;
}

/* 分类区域样式 */
.category-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 30px;
    margin-bottom: 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

/* 分类标题链接样式 */
.category-title-link {
    text-decoration: none;
    color: inherit;
}

.category-title-link:hover .category-title {
    color: #4a90e2;
    transition: color 0.3s ease;
}

/* 分类标题样式 */
.category-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #1a1a1a;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #00bfff);
    border-radius: 4px;
}

/* 链接容器样式 */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 导航卡片样式 */
.nav-card {
    position: relative;
    margin: 15px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 3;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 4;
    cursor: pointer;
}

/* 图标容器样式 */
.nav-link i {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    font-size: 1.3em;
    color: #333;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-content {
    flex: 1;
    margin: 0 20px;
}

.nav-content h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.nav-content p {
    font-size: 0.95em;
    color: #666;
    opacity: 0.9;
    line-height: 1.4;
}

.arrow {
    color: #666;
    opacity: 0.7;
    font-size: 1.1em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 悬停效果 */
.nav-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08);
}

.nav-card:hover .nav-content h3 {
    color: #007bff;
}

.nav-card:hover i {
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.nav-card:hover .arrow {
    opacity: 1;
    transform: translateX(4px);
    color: #007bff;
}

/* 动画关键帧 */
@keyframes moveGradient1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(100px, 100px) scale(1.2);
        opacity: 0.9;
    }
    100% {
        transform: translate(-100px, 50px) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes moveGradient2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-100px, -100px) scale(1.2);
        opacity: 0.9;
    }
    100% {
        transform: translate(100px, -50px) scale(1.1);
        opacity: 0.8;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .header h1 {
        font-size: 2em;
    }

    .category-section {
        padding: 20px;
    }
    
    .nav-link {
        padding: 18px;
    }
    
    .nav-link i {
        width: 45px;
        height: 45px;
    }
}

/* 新增页脚样式 */
.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
} 