* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: #0d1117; color: #c9d1d9; line-height: 1.7; min-height: 100vh; }
header { background: #161b22; border-bottom: 1px solid #30363d; padding: 1rem 2rem; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
nav { display: flex; gap: 1.5rem; align-items: center; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
nav a { color: #58a6ff; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
nav a:hover { color: #79c0ff; text-decoration: underline; }
main { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
h1 { color: #f0f6fc; font-size: 2.5rem; margin-bottom: 1rem; letter-spacing: -0.02em; }
h2 { color: #f0f6fc; font-size: 1.6rem; margin: 2rem 0 1rem; border-left: 3px solid #58a6ff; padding-left: 0.8rem; }
h3 { color: #f0f6fc; font-size: 1.2rem; margin: 1.5rem 0 0.8rem; }
p { margin-bottom: 1.2rem; color: #8b949e; font-size: 1.05rem; }
a { color: #58a6ff; transition: color 0.2s; }
a:hover { color: #79c0ff; }
ul, ol { margin-bottom: 1.2rem; padding-left: 1.5rem; color: #8b949e; }
li { margin-bottom: 0.4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.card { background: #161b22; border: 1px solid #30363d; border-radius: 10px; padding: 1.5rem; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.card:hover { border-color: #58a6ff; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(88,166,255,0.1); }
.card h3 { margin-bottom: 0.5rem; }
.card h3 a { color: #f0f6fc; text-decoration: none; }
.card h3 a:hover { color: #58a6ff; }
.card p { font-size: 0.9rem; margin-bottom: 0.5rem; color: #8b949e; }
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.8rem; }
.tag { background: #21262d; color: #8b949e; padding: 0.2rem 0.7rem; border-radius: 14px; font-size: 0.78rem; border: 1px solid #30363d; }
footer { background: #161b22; border-top: 1px solid #30363d; padding: 2.5rem; text-align: center; color: #484f58; margin-top: 4rem; font-size: 0.9rem; }
.breadcrumb { color: #484f58; margin-bottom: 1.5rem; font-size: 0.9rem; padding: 0.5rem 0; border-bottom: 1px solid #21262d; }
.breadcrumb a { color: #58a6ff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #30363d; }
.related ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.6rem; }
.related li a { display: block; padding: 0.7rem 1rem; background: #161b22; border: 1px solid #30363d; border-radius: 8px; text-decoration: none; color: #c9d1d9; transition: border-color 0.2s; }
.related li a:hover { border-color: #58a6ff; color: #f0f6fc; }
.featured { background: linear-gradient(135deg, #161b22 0%, #1c2333 100%); border: 1px solid #30363d; border-radius: 12px; padding: 2rem; margin: 2rem 0; }
.featured h2 { border-left-color: #f0f6fc; }
.category-list { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.category-list li { margin: 0; }
.category-list a { display: flex; align-items: center; padding: 1rem 1.2rem; background: #161b22; border: 1px solid #30363d; border-radius: 8px; text-decoration: none; color: #c9d1d9; transition: all 0.2s; }
.category-list a:hover { border-color: #58a6ff; background: #1c2128; }
.category-list .count { margin-left: auto; background: #21262d; padding: 0.2rem 0.8rem; border-radius: 14px; font-size: 0.8rem; color: #8b949e; }
blockquote { border-left: 3px solid #30363d; padding-left: 1rem; margin: 1.2rem 0; color: #8b949e; font-style: italic; }
code { background: #21262d; padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.9rem; }
pre { background: #161b22; border: 1px solid #30363d; border-radius: 8px; padding: 1rem; overflow-x: auto; margin: 1rem 0; }
pre code { background: none; padding: 0; }
hr { border: none; border-top: 1px solid #21262d; margin: 2rem 0; }
.hero { text-align: center; padding: 4rem 2rem; background: linear-gradient(180deg, #161b22 0%, #0d1117 100%); border-radius: 16px; margin-bottom: 3rem; border: 1px solid #30363d; animation: fadeIn 0.8s ease; }
.hero h1 { font-size: 3.2rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; }
.stat { background: #161b22; border: 1px solid #30363d; border-radius: 10px; padding: 1.5rem; text-align: center; transition: border-color 0.3s, transform 0.3s; }
.stat:hover { border-color: #58a6ff; transform: scale(1.05); }
.stat .num { font-size: 2rem; font-weight: 700; color: #58a6ff; display: block; }
.stat .label { font-size: 0.85rem; color: #8b949e; margin-top: 0.3rem; }
.copy-btn { position: absolute; top: 0.5rem; right: 0.5rem; background: #21262d; color: #8b949e; border: 1px solid #30363d; border-radius: 6px; padding: 0.3rem 0.6rem; font-size: 0.78rem; cursor: pointer; transition: all 0.2s; }
.copy-btn:hover { background: #30363d; color: #f0f6fc; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.loading { animation: pulse 1.5s infinite; }
nav a[data-random-meme]:hover { background: #30363d !important; color: #79c0ff !important; transform: translateY(-1px); }
@media (max-width: 768px) { .grid { grid-template-columns: 1fr; } .hero h1 { font-size: 2rem; } nav { gap: 0.8rem; font-size: 0.85rem; } main { padding: 0 1rem; } }
