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

:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --border: #222;
    --text: #e5e5e5;
    --text-dim: #888;
    --accent: #3b82f6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
nav .inner {
    max-width: 1100px; margin: 0 auto;
    padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 56px;
}
nav .logo {
    font-size: 18px; font-weight: 700;
    color: var(--text); text-decoration: none;
}
nav .links { display: flex; gap: 24px; }
nav .links a { color: var(--text-dim); font-size: 14px; }
nav .links a:hover { color: var(--text); text-decoration: none; }

/* Tags */
.tag {
    display: inline-block;
    font-size: 11px; font-weight: 600;
    padding: 3px 8px; border-radius: 4px;
    margin-bottom: 12px; width: fit-content;
}
.tag-travel { background: #1e3a5f; color: #60a5fa; }
.tag-social { background: #3b1f4e; color: #c084fc; }
.tag-ai { background: #1a3a2a; color: #4ade80; }
.tag-crypto { background: #3d2f0a; color: #fbbf24; }
.tag-news { background: #0a3d3d; color: #2dd4bf; }
.tag-novel { background: #3d0a1e; color: #fb7185; }

/* Project Detail */
.project-detail {
    max-width: 800px; margin: 0 auto;
    padding: 100px 24px 60px;
}
.project-detail h1 {
    font-size: 40px; font-weight: 800; margin-bottom: 4px;
}
.project-detail .subtitle {
    font-size: 18px; color: var(--text-dim); margin-bottom: 40px;
}

.detail-section {
    margin-bottom: 36px;
}
.detail-section h2 {
    font-size: 20px; font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.detail-section p {
    color: var(--text-dim); font-size: 15px;
}
.detail-section ul {
    list-style: none; padding: 0;
}
.detail-section li {
    padding: 6px 0; font-size: 14px; color: var(--text-dim);
    border-bottom: 1px solid #1a1a1a;
}
.detail-section li strong {
    color: var(--text);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.tech-grid h3 {
    font-size: 14px; font-weight: 600;
    margin-bottom: 8px; color: var(--accent);
}
.tech-grid ul {
    list-style: none; padding: 0;
}
.tech-grid li {
    font-size: 13px; color: var(--text-dim);
    padding: 3px 0; border: none;
}

/* Detail Nav */
.detail-nav {
    display: flex; justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}
.detail-nav a {
    font-size: 14px; font-weight: 500;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 24px;
    color: var(--text-dim);
    font-size: 13px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

@media (max-width: 640px) {
    .project-detail h1 { font-size: 28px; }
    .tech-grid { grid-template-columns: 1fr; }
}
