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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #f7f7f9;
    color: #1a1a1a;
    padding: 3rem 1.5rem;
}

img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

p {
    max-width: 420px;
    color: #55555f;
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

p a {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #cfcfe0;
    transition: border-color 0.2s ease;
}

p a:hover {
    border-color: #1a1a1a;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 300px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    border: 1px solid #e4e4ec;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                transform 0.2s ease;
}

.link-item svg {
    fill: currentColor;
}

.link-item.linkedin { color: #0a66c2; }
.link-item.twitter   { color: #1d9bf0; }
.link-item.github    { color: #333333; }

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.link-item.linkedin:hover { background-color: #0a66c2; border-color: #0a66c2; color: #fff; }
.link-item.github:hover    { background-color: #333333; border-color: #333333; color: #fff; }

.link-item.x {
    color: #000000;
}

.link-item.x:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.link-item.instagram {
    color: #e1306c;
}

.link-item.instagram:hover {
    background: #ee2a7b;
    border-color: transparent;
    color: #ffffff;
}

.link-item:active {
    transform: translateY(-1px);
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 6px;
    background-color: var(--brand);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.link-item.custom {
    color: var(--brand);
}

.link-item.custom:hover {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
}

.link-item.custom:hover .icon-badge {
    background-color: #ffffff;
    color: var(--brand);
}

/* Subtle divider between socials and own sites */
.divider {
    border: none;
    border-top: 1px solid #e4e4ec;
    margin: 0.5rem 0;
    width: 100%;
}