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

:root {
    --primary: #000;
    --text: #0a0a0a;
    --text-secondary: #666;
    --text-tertiary: #999;
    --background: #ffffff;
    --border: #e5e5e5;
    --accent: #0066ff;
    --hover: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background Blobs */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 102, 255, 0.1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(100, 200, 255, 0.1);
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: rgba(150, 100, 255, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -30px);
    }
    50% {
        transform: translate(-20px, 20px);
    }
    75% {
        transform: translate(-30px, -20px);
    }
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    margin-bottom: 40px;
    animation: slideInDown 0.6s ease-out;
}

.profile-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
    animation: scaleIn 0.6s ease-out;
}

.header-content {
    flex: 1;
}

.name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.02em;
}

.bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Main Content */
.main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card */
.card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.08);
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }

/* Card Title */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* Card Text */
.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Status Items */
.status-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.status-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.status-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.status-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Skills */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-category {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-category-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(100, 200, 255, 0.05));
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text);
    transition: all 0.2s ease;
    cursor: default;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(100, 200, 255, 0.1));
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Project Items */
.project-item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.project-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 12px;
}

.project-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.project-year {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
    white-space: nowrap;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--hover);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.social-button:hover {
    background: var(--text);
    color: var(--background);
    border-color: var(--text);
    transform: translateY(-2px);
}

.social-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 40px 16px;
    }

    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .name {
        font-size: 1.5rem;
    }

    .bio {
        font-size: 0.9rem;
    }

    .card {
        padding: 20px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }
}