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

:root {
    --primary-color: #0f0f0f;
    --secondary-color: #1a1a1a;
    --accent-color: #dc2626;
    --accent-dark: #991b1b;
    --text-color: #0f0f0f;
    --text-light: #525252;
    --bg-color: #fafafa;
    --card-bg: rgba(255, 255, 255, 0.98);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background: linear-gradient(180deg, #18181b 0%, #27272a 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.6s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

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

.profile-section {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.profile-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    border: 3px solid rgba(220, 38, 38, 0.3);
}

.profile-image:hover {
    transform: scale(1.01);
    border-color: rgba(220, 38, 38, 0.6);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pulse-ring {
    display: none;
}

.name {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    animation: fadeIn 0.8s ease-out 0.2s both;
    letter-spacing: -0.02em;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.title-container {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.title {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.bio {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out 0.4s both;
    font-weight: 400;
    line-height: 1.6;
}

.links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 0.5s both;
    max-width: 600px;
    margin: 0 auto;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.link-card:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.link-card svg {
    width: 20px;
    height: 20px;
}

.projects {
    animation: fadeIn 0.8s ease-out 0.6s both;
    margin-bottom: 4rem;
}

.projects h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background: rgba(0, 0, 0, 0.02);
    padding: 3rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    min-height: 240px;
}

.project-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
    background: rgba(220, 38, 38, 0.02);
}

.project-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 2px;
    color: white;
}

.project-card:hover .project-icon {
    background: var(--accent-color);
}

.project-icon svg {
    width: 32px;
    height: 32px;
}

.project-icon-text {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.project-icon-text span {
    display: block;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
}

.project-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    top: -300px;
    left: -300px;
}

.orb-2 {
    width: 700px;
    height: 700px;
    background: var(--primary-color);
    bottom: -350px;
    right: -350px;
}

.orb-3 {
    display: none;
}

@media (max-width: 768px) {
    .content {
        padding: 3rem 2rem;
    }

    .name {
        font-size: 2.5rem;
    }

    .title {
        font-size: 1rem;
    }

    .projects {
        margin-bottom: 3rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .links {
        flex-direction: column;
        gap: 1rem;
    }

    .link-card {
        justify-content: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

