* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 40px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #000;
    letter-spacing: -0.5px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    font-size: 15px;
}

.social-links a {
    color: #5a5a5a;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    padding: 2px 0;
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.social-links a:hover {
    color: #0066cc;
}

.social-links a:hover::after {
    width: 100%;
}

.separator {
    color: #ccc;
    font-size: 14px;
}

p {
    margin-bottom: 24px;
    line-height: 1.7;
    color: #3a3a3a;
    font-size: 16px;
}

p.intro {
    font-size: 17px;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 28px;
}

p.intro strong {
    font-weight: 600;
    color: #000;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 48px;
    color: #000;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 8px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #0066cc, transparent);
}

.writing-list {
    list-style: none;
    padding: 0;
}

.writing-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: all 0.2s ease;
}

.article-link:hover {
    color: #0052a3;
    transform: translateX(3px);
}

.article-wip {
    color: #6a6a6a;
    font-size: 16px;
    font-style: italic;
}

.tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.tag.wip {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

/* Selection styles */
::selection {
    background-color: #0066cc20;
    color: #000;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 60px 30px;
        max-width: 100%;
    }

    h1 {
        font-size: 28px;
    }

    p.intro {
        font-size: 16px;
    }

    body {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    .social-links {
        font-size: 14px;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .tag {
        display: none;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}