* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #1a1a2e; background: #fafafa; }
.container { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

.site-header { border-bottom: 1px solid #e0e0e0; padding: 1.5rem 0; background: #fff; position: sticky; top: 0; z-index: 100; }
.site-title { font-size: 1.5rem; font-weight: 700; }
.site-title a { color: #071974; text-decoration: none; }
.site-title a:hover { color: #1a3ddb; }
.site-nav ul { display: flex; gap: 2rem; list-style: none; margin-top: 1rem; flex-wrap: wrap; }
.site-nav a { color: #444; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: #071974; }

main { padding: 3rem 0; }

.hero { text-align: center; padding: 2rem 0; }
.hero h2 { font-size: 2.5rem; font-weight: 700; color: #071974; margin-bottom: 0.5rem; }
.subtitle { color: #666; font-size: 1.1rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 1.5rem; transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card a { color: #071974; text-decoration: none; }
.card a:hover { text-decoration: underline; }
.card p { color: #555; font-size: 0.95rem; }

.opendota-widget { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 1.5rem; margin-top: 2rem; }
.opendota-widget h3 { margin-bottom: 1rem; font-size: 1.2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; }
.stat { text-align: center; padding: 1rem; background: #f5f5f5; border-radius: 6px; }
.stat .value { display: block; font-size: 2rem; font-weight: 700; color: #071974; }
.stat .label { font-size: 0.85rem; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }

.page header, .post header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #e0e0e0; }
.page h1, .post h1 { font-size: 2rem; color: #071974; margin-bottom: 0.5rem; }
.meta { color: #888; font-size: 0.9rem; }
.meta a { color: #071974; text-decoration: none; }
.meta a:hover { text-decoration: underline; }

.content { font-size: 1.05rem; }
.content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: #071974; }
.content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; color: #333; }
.content p { margin: 1rem 0; }
.content ul, .content ol { margin: 1rem 0; padding-left: 1.5rem; }
.content li { margin: 0.5rem 0; }
.content code { background: #f0f0f0; padding: 0.2em 0.4em; border-radius: 4px; font-family: 'Monaco', 'Consolas', monospace; font-size: 0.9em; }
.content pre { background: #1e1e1e; color: #d4d4d4; padding: 1rem; border-radius: 8px; overflow-x: auto; margin: 1rem 0; }
.content pre code { background: none; padding: 0; color: inherit; }
.content blockquote { border-left: 4px solid #071974; padding-left: 1rem; margin: 1.5rem 0; color: #555; font-style: italic; }
.content a { color: #071974; text-decoration: underline; }
.content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }

.site-footer { border-top: 1px solid #e0e0e0; padding: 2rem 0; color: #888; font-size: 0.9rem; text-align: center; }
.site-footer a { color: #071974; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .hero h2 { font-size: 1.8rem; }
    .site-nav ul { gap: 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
