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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #24292f;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    border-bottom: 1px solid #d0d7de;
    padding-bottom: 24px;
    margin-bottom: 32px;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0969da;
}

.subtitle {
    color: #57606a;
    font-size: 18px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #0969da;
    padding-bottom: 8px;
    border-bottom: 1px solid #d0d7de;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #24292f;
}

h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #24292f;
}

p {
    margin-bottom: 16px;
    color: #57606a;
    line-height: 1.8;
}

a {
    color: #0969da;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    background-color: #f6f8fa;
    padding: 2px 6px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #0969da;
}

pre {
    background-color: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 16px;
    overflow-x: auto;
    margin-bottom: 16px;
    color: #24292f;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

pre code {
    background: none;
    padding: 0;
    color: #24292f;
}

ul, ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

li {
    margin-bottom: 8px;
    color: #57606a;
}

.toc {
    background-color: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 32px;
}

.toc h4 {
    margin-top: 0;
    color: #0969da;
}

.toc ul {
    margin-left: 16px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.project-card {
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 20px;
    background-color: #ffffff;
    transition: box-shadow 0.3s;
}

.project-card:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-color: #0969da;
}

.project-card h3 {
    margin-top: 0;
    color: #0969da;
    margin-bottom: 8px;
}

.project-tag {
    display: inline-block;
    background-color: #f0f6fc;
    color: #0969da;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #d0d7de;
    margin-bottom: 12px;
}

.project-description {
    color: #57606a;
    margin-bottom: 12px;
}

.featured {
    border: 2px solid #0969da;
    background-color: #f0f6fc;
}

.featured h3 {
    color: #0969da;
}

.featured-badge {
    display: inline-block;
    background-color: #0969da;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.github-link {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background-color: #f6f8fa;
    color: #0969da;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.github-link:hover {
    background-color: #eaeef2;
    text-decoration: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #d0d7de;
    color: #57606a;
}

th {
    background-color: #f6f8fa;
    font-weight: 600;
    color: #24292f;
}

blockquote {
    padding: 0 1em;
    color: #57606a;
    border-left: 4px solid #d0d7de;
    margin-bottom: 16px;
}

footer {
    border-top: 1px solid #d0d7de;
    padding-top: 24px;
    margin-top: 48px;
    text-align: center;
    color: #57606a;
    font-size: 12px;
}

@media (max-width: 768px) {
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    .container { padding: 20px; }
    .project-grid {
        grid-template-columns: 1fr;
    }
}
