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

:root {
    --bg: #0f1117;
    --surface: #1a1d27;
    --border: #2a2d3a;
    --text-primary: #f0f0f5;
    --text-secondary: #9099b0;
    --accent-email: #4a9eff;
    --accent-linkedin: #0a66c2;
    --accent-scope: #7c3aed;
    --hover-lift: translateY(-2px);
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

main {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.profile {
    text-align: center;
}

.profile h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.link-card:hover {
    transform: var(--hover-lift);
}

.link-card:focus-visible {
    outline: 2px solid var(--accent-email);
    outline-offset: 3px;
}

.link-card svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.link-card.email:hover {
    border-color: var(--accent-email);
    box-shadow: 0 0 0 1px var(--accent-email), 0 4px 16px rgba(74, 158, 255, 0.12);
}

.link-card.email svg {
    color: var(--accent-email);
}

.link-card.linkedin:hover {
    border-color: var(--accent-linkedin);
    box-shadow: 0 0 0 1px var(--accent-linkedin), 0 4px 16px rgba(10, 102, 194, 0.15);
}

.link-card.linkedin svg {
    color: var(--accent-linkedin);
}

.link-card.scope-dope:hover {
    border-color: var(--accent-scope);
    box-shadow: 0 0 0 1px var(--accent-scope), 0 4px 16px rgba(124, 58, 237, 0.15);
}

.link-card.scope-dope svg {
    color: var(--accent-scope);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f5f6fa;
        --surface: #ffffff;
        --border: #e2e5ef;
        --text-primary: #111827;
        --text-secondary: #6b7280;
    }
}
