/* 基础设置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1525 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 80px;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #00FFC8 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 200, 0.5);
}
.subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto;
}
/* 主要内容区域 */
.main-content { margin-top: 60px; }
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
/* 项目卡片 */
.project-card {
    background: rgba(10, 20, 35, 0.8);
    border: 2px solid rgba(0, 255, 200, 0.3);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    border-color: rgba(0, 255, 200, 0.6);
    box-shadow: 0 0 40px rgba(0, 255, 200, 0.3);
    transform: translateY(-5px);
}
.project-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #00FFC8;
}
.project-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00FFC8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover { color: #00D4FF; gap: 12px; }
.project-link svg { transition: transform 0.3s ease; }
.project-link:hover svg { transform: translateX(4px); }

/* 响应式设计 */
@media (max-width: 768px) {
    .title { font-size: 2.5rem; }
    .subtitle { font-size: 1rem; }
    .projects { grid-template-columns: 1fr; }
    .project-card { padding: 30px; }
}
