/* styles.css — 放在与 index.html 同一目录 */
:root {
    --bg: #0f1724;
    --card: #0b1220aa;
    --muted: #9fb0c8;
    --text: #e6eef8;
    --accent: linear-gradient(135deg, #7b61ff, #2dd4bf);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Helvetica, Arial;
    background: radial-gradient(800px 400px at 10% 10%, rgba(45, 212, 191, 0.06), transparent), var(--bg);
    color: var(--text);
    padding: 36px;
}

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

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--accent);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: white
}

.h1 {
    font-size: 20px;
    margin: 0
}

.lead {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 22px
}

.link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform .16s ease, box-shadow .16s ease
}

.link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.45)
}

.link-card:focus {
    outline: 3px solid rgba(45, 212, 191, 0.12)
}

.thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    display: grid;
    place-items: center;
    font-weight: 700
}

.title {
    margin: 0;
    font-size: 15px
}

.subtitle {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px
}

.footer {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 18px
}


@media (max-width:520px) {
    body {
        padding: 18px
    }

    .list {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr))
    }
}