@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,300&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    background: #14172a;
    color: #e7e9f5;
    min-height: 100vh;
}

.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.sub {
    color: #9aa0c0;
    margin-bottom: 32px;
    line-height: 1.5;
}

section {
    margin-bottom: 32px;
}

h2 {
    font-size: 15px;
    color: #b7bde0;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2c3357;
}

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

.card {
    background: #1c2038;
    border: 1px solid #2c3357;
    border-radius: 10px;
    padding: 18px;
    transition: .15s border-color, .15s transform;
}

.card:hover {
    border-color: #465490;
    transform: translateY(-2px);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gh-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: #6a7099;
    text-decoration: none;
}

.gh-link:hover {
    color: #e7e9f5;
    text-decoration: underline;
}

.card .name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.card .desc {
    font-size: 13px;
    color: #9aa0c0;
    line-height: 1.5;
    margin-bottom: 10px;
}

.card .url {
    font-size: 12px;
    color: #6a7099;
}

.card .author {
    font-size: 11px;
    color: #6a7099;
    margin-top: 4px;
}

.empty {
    color: #565c85;
    font-size: 13px;
}

.site-footer {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid #2c3357;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #6a7099;
}

.site-footer a {
    color: #9aa0c0;
    text-decoration: none;
}

.site-footer a:hover {
    color: #e7e9f5;
    text-decoration: underline;
}
