﻿.nerd-header {
    text-align: center;
    margin: 2rem 0;
    color: var(--text-main);
}

    .nerd-header h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        letter-spacing: -0.5px;
    }

    .nerd-header p {
        color: var(--text-muted);
    }

.nerd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.user-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .user-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        background: var(--bg-surface-hover);
    }

.user-card-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-main);
}

.badge-me {
    background: var(--accent);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.spec-category {
    padding: 1rem 1.5rem 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-list {
    list-style: none;
    padding: 0 1.5rem 1rem 1.5rem;
    margin: 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

    .spec-item:last-child {
        border-bottom: none;
    }

.spec-key {
    color: var(--text-muted);
    margin-right: 1rem;
    flex-shrink: 0;
}

.spec-value {
    color: var(--text-main);
    text-align: right;
    word-break: break-word;
    font-family: monospace;
    font-size: 0.85rem;
}

.spinner-container {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}
