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

body {
    font-family: 'Noto Serif SC', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.8;
    border-bottom: 2px solid white;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.posts h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.post-card {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.post-card time {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.post-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.post-card h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.post-card h3 a:hover {
    color: #667eea;
}

.post-card p {
    color: #7f8c8d;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #2c3e50;
    color: white;
    margin-top: 2rem;
}

.about {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.avatar {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
}

.about h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.about h2 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.about p {
    color: #7f8c8d;
    line-height: 1.8;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skills span {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.contact {
    list-style: none;
    color: #7f8c8d;
}

.contact a {
    color: #667eea;
    text-decoration: none;
}

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

.archive {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.archive h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.archive .year {
    margin-bottom: 2rem;
}

.archive .year h2 {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.archive ul {
    list-style: none;
}

.archive li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.archive li:last-child {
    border-bottom: none;
}

.archive a {
    color: #2c3e50;
    text-decoration: none;
}

.archive a:hover {
    color: #667eea;
}

.post-detail {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.post-detail time {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.post-detail h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.post-detail h2 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.post-detail p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.post-detail ul {
    color: #7f8c8d;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.post-detail li {
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .post-detail h1 {
        font-size: 1.5rem;
    }
}