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

:root {
    --primary: #6366f1;
    --bg: #0f0f0f;
    --text: #e5e5e5;
    --text-muted: #a3a3a3;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* 导航 */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* 主要区域 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 0;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

/* Hero */
.hero {
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* 作品 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s;
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-image {
    height: 120px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

a.work-card {
    text-decoration: none;
    color: inherit;
}

.work-card h3 {
    margin-bottom: 0.5rem;
}

.work-card p {
    color: var(--text-muted);
}

/* 关于 */
.about p {
    max-width: 600px;
    color: var(--text-muted);
}

/* 联系 */
.contact-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-links a {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.contact-links a:hover {
    opacity: 0.8;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #222;
    color: var(--text-muted);
}

.icp {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.icp a {
    color: var(--text-muted);
    text-decoration: none;
}

.icp a:hover {
    color: var(--primary);
}

/* 响应式 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}