:root {
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --bg-gradient: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    --primary-soft: #dbeafe;
    --text-main: #0f172a;
    --text-muted: #475569;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --container-width: 800px;
}

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.5;
    word-break: keep-all;
    min-height: 100vh;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

header {
    background: transparent;
    padding: 40px 0 30px;
    text-align: center;
}

h1 {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    /* Added for compatibility */
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    opacity: 0.8;
}

main {
    padding: 20px 0 60px;
}

.post-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-card {
    background: var(--card-bg);
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.post-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.08);
    border-color: #3b82f6;
}

.post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.post-title {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.3;
}

.post-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #2563eb;
}

footer {
    padding: 60px 0 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.6;
}

.author-bio {
    font-size: 0.75rem;
    opacity: 0.4;
    max-width: 500px;
    margin: 0 auto 16px;
    line-height: 1.6;
    font-weight: 300;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.7rem;
    }

    .post-card {
        padding: 16px;
    }
}