:root {
    --bg: #0f0f11;
    --fg: #f4f4f5;
    --muted: #9a9aa2;
    --border: rgba(244, 244, 245, 0.12);
    --accent: #a78bfa;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

main {
    max-width: 560px;
    width: 100%;
    text-align: center;
}

.intro {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.intro h1 {
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link {
    color: var(--fg);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 0;
    transition: color 0.15s ease;
}

.link .icon {
    flex-shrink: 0;
    color: var(--muted);
    transition: color 0.15s ease;
}

.link:hover {
    color: var(--accent);
}

.link:hover .icon {
    color: var(--accent);
}

.link span {
    position: relative;
}

.link span::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.2s ease;
}

.link:hover span::before {
    width: 100%;
}

@media (min-width: 480px) {
    main {
        text-align: left;
    }

    .links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.85rem 1.75rem;
    }

    .link {
        padding: 0.3rem 0;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 1.5rem 1.25rem;
    }
}
