/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --accent: #000000;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    height: -webkit-fill-available;
    width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Background - Game of Life */
#gameOfLife {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    cursor: crosshair;
}

/* Main Section */
.main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.content {
    text-align: center;
    animation: fadeIn 1.2s ease;
}

.title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.description {
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.skill {
    padding: 0.5rem 1.25rem;
    background-color: transparent;
    border: 1px solid var(--text-secondary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: default;
}

.skill:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.social-links {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border: 1px solid var(--text-secondary);
    border-radius: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}


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

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .skills {
        gap: 0.5rem;
    }

    .skill {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .title {
        font-size: 2rem;
    }

    .skills {
        max-width: 100%;
    }
}
