:root {
    --primary: #4a90e2;
    --bg: #f8f9fa;
    --text: #2d3436;
    --card-white: #ffffff;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 800px;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
}

.work-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.card {
    background: var(--card-white);
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: 0.2s;
    border: 1px solid transparent;
}

.card:hover:not(.disabled) {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

.card .num {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.card .label {
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.7;
}

/* Стиль для ще не створених робіт */
.card.disabled {
    opacity: 0.5;
    background: #eee;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}