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

:root {
    --color-bg: #0a0a0a;
    --color-text: #ededed;
    --color-text-muted: #888;
    --color-accent: #3b82f6;
    --color-border: #222;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(-45deg, #111, #000, #0a0a0a);
    background-size: 400% 400%;
    animation: background-gradient 15s ease infinite;
    color: var(--color-text); 
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

@keyframes background-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 480px;
    width: 100%;
}

.header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.header-text h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.header-text .tagline {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.links a {
    color: var(--color-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.875rem;
    transition: border-color 0.2s, background-color 0.2s;
}

.links a:hover {
    border-color: var(--color-text-muted);
    background-color: rgba(255, 255, 255, 0.05);
}

.projects + .projects {
    margin-top: 1.5rem;
}

.projects h2 {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.projects ul {
    list-style: none;
}

.projects li {
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
}

.projects li:last-child {
    border-bottom: 1px solid var(--color-border);
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

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

.project-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    border-radius: 4px;
}

.project-icon.icon-light-bg {
    background-color: #fff;
    border-radius: 12px;
}

.project-name {
    font-weight: 500;
}

.project-desc {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .links {
        gap: 0.75rem;
    }

    .links a {
        padding: 0.5rem 0.75rem;
    }
}
