:root {
    --bg-color: #0d1117;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --accent: #58a6ff;
    --accent-hover: #79c0ff;
    --border: #30363d;
    --bullet: #3fb950;
    --font-mono: "Liberation Mono", monospace;
}

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

/* Animations */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-bottom {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.profile-info {
    flex: 1;
}

header h1 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.location {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

section {
    margin-bottom: 2.5rem;
}

h2 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

ul li::before {
    content: "•";
    color: var(--bullet);
    position: absolute;
    left: 0;
    font-weight: bold;
}

strong {
    color: #ffffff;
    font-weight: 600;
}

.timeline {
    border-left: 2px solid var(--border);
    margin-left: 0.5rem;
    padding-left: 1.5rem;
}

.timeline-item {
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--bullet);
    border-radius: 50%;
    left: -1.82rem;
    top: 0.4rem;
}

.timeline-item h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.role {
    color: var(--text-primary);
}

.role span {
    color: var(--text-secondary);
    font-size: 0.9em;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile optimizations */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem 1rem;
    }

    header h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }

    body {
        font-size: 15px;
    }
}

/* Moo Easter Egg */
.moo-container {
    position: fixed;
    bottom: -150px;
    right: 20px;
    opacity: 0;
    transition: opacity 1s, bottom 1s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1000;
}

.moo-container.visible {
    opacity: 1;
    bottom: 20px;
}

.moo-container pre {
    font-family: inherit;
    font-size: 12px;
    margin: 0;
    color: var(--accent);
    line-height: 1.2;
}

.moo-flying {
    position: fixed;
    top: 50%;
    left: -350px;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}

.moo-flying.flight {
    opacity: 1;
    animation: fly 10s ease-out infinite;
}

.moo-flying pre {
    font-family: inherit;
    font-size: 14px;
    margin: 0;
    color: var(--bullet);
    line-height: 1.2;
}

@keyframes fly {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(100vw + 350px));
    }
}