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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f0 100%);
    min-height: 100vh;
    padding: 20px 16px;
    color: #2c3e50;
}

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

header {
    margin-bottom: 30px;
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

.category-section {
    margin-bottom: 32px;
}

h2 {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 12px;
    padding-left: 8px;
    border-left: 3px solid #3b82f6;
    font-weight: 600;
}

.projects-list {
    list-style: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.project-item {
    border-bottom: 1px solid #e2e8f0;
}

.project-item:last-child {
    border-bottom: none;
}

.project-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    text-decoration: none;
    color: #1e293b;
    transition: background-color 0.2s ease;
    gap: 16px;
}

.project-item a:hover {
    background-color: #f8fafc;
}

.project-info {
    flex: 1;
    min-width: 0;
}

.project-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 4px;
}

.project-item a:hover .project-title {
    color: #3b82f6;
}

.project-description {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

.project-path {
    font-size: 0.8rem;
    color: #94a3b8;
    font-family: "SF Mono", Monaco, Consolas, monospace;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    h1 { font-size: 1.5rem; }
    .project-path { display: none; }
}

.filter-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.filter-container.active {
    opacity: 1;
    pointer-events: auto;
}

.filter-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    outline: none;
    font-family: inherit;
}

.filter-hint {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    background: white;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-item.hidden {
    display: none;
}

.category-section.hidden {
    display: none;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: #64748b;
    font-size: 0.85rem;
}

footer p {
    margin: 0;
}
