/* aiceping.top - Clean SEO Design */
:root {
    --bg: #ffffff;
    --text: #1a1a2e;
    --accent: #4f46e5;
    --accent-light: #eef2ff;
    --gray: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --card-shadow: 0 1px 3px rgba(0,0,0,.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif;
    color: var(--text); background: var(--bg); line-height: 1.8;
    font-size: 16px; -webkit-font-smoothing: antialiased;
}
.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 100; }
header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 1.3rem; font-weight: 700; color: var(--accent); text-decoration: none; }
nav a { color: var(--gray); text-decoration: none; margin-left: 24px; font-size: .95rem; }
nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 60px 0 40px; text-align: center; }
.hero h1 { font-size: 2rem; margin-bottom: 12px; }
.hero p { color: var(--gray); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Posts Grid */
.posts { display: grid; gap: 24px; padding-bottom: 60px; }
.post-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
    padding: 24px; transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: var(--card-shadow); transform: translateY(-2px); }
.post-category {
    display: inline-block; background: var(--accent-light); color: var(--accent);
    font-size: .8rem; padding: 2px 12px; border-radius: 20px; margin-bottom: 8px;
}
.post-card h2 { font-size: 1.2rem; margin: 4px 0 8px; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-meta { color: var(--gray); font-size: .85rem; margin-bottom: 8px; }
.post-card p { color: var(--gray); font-size: .95rem; line-height: 1.6; }
.post-tags { margin-top: 8px; }
.tag {
    display: inline-block; background: var(--light); color: var(--gray);
    font-size: .75rem; padding: 2px 8px; border-radius: 4px; margin: 2px 4px 2px 0;
}

/* Article */
.full-article { padding: 40px 0; }
.article-header { margin-bottom: 32px; }
.article-header h1 { font-size: 1.8rem; line-height: 1.4; margin: 12px 0; }
.article-body { font-size: 1.05rem; }
.article-body h2 { font-size: 1.4rem; margin: 32px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.article-body h3 { font-size: 1.15rem; margin: 24px 0 12px; }
.article-body p { margin: 12px 0; }
.article-body ul, .article-body ol { margin: 12px 0; padding-left: 24px; }
.article-body li { margin: 6px 0; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--accent); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 24px 0; text-align: center; color: var(--gray); font-size: .85rem; }

/* Like Button */
.like-section { text-align: center; padding: 32px 0; border-top: 1px solid var(--border); margin-top: 32px; }
.like-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border: 2px solid var(--accent); border-radius: 40px;
    background: var(--bg); color: var(--accent); font-size: 1.1rem;
    cursor: pointer; transition: all .2s;
}
.like-btn:hover { background: var(--accent-light); transform: scale(1.05); }
.like-btn.active { background: var(--accent); color: white; }
.like-btn .like-count { font-weight: 700; }
.like-label { display: block; color: var(--gray); font-size: .9rem; margin-top: 8px; }

/* Comments */
.comments-section { padding: 24px 0; }
.comments-section h3 { margin-bottom: 16px; }
.giscus-placeholder {
    background: var(--light); border: 1px dashed var(--border);
    border-radius: 12px; padding: 24px; color: var(--gray); font-size: .9rem;
}
.giscus-placeholder ol { margin: 8px 0 8px 20px; }
.giscus-placeholder a { color: var(--accent); }

/* Responsive */
@media (max-width: 600px) {
    .hero { padding: 40px 0 24px; }
    .hero h1 { font-size: 1.5rem; }
    .article-header h1 { font-size: 1.4rem; }
}
