#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000000;
    background-image: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

main {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* Make all clickable elements inside main clickable again */
main a, 
main button, 
main .card,
main .skill,
main .badge {
    pointer-events: auto;
}

/* Remove the starfall styles since we're not using it anymore */
#starfall {
    display: none;
}

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

:root {
    --primary-color: white;
    --background-color: #000000;
    --accent-color: #333;
    --text-color: #ccc;
}

body {
    font-family: 'Space Mono', monospace;
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

button {
    background: rgba(40, 40, 40, 0.9);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-radius: 8px;
    text-transform: none;
    min-width: 120px;
    margin: 0;
    will-change: transform;
}

button:hover {
    background: rgba(60, 60, 60, 0.9);
    transform: translateY(-2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Sections */
section {
    padding: 4rem 1rem;
    margin: 2rem 0;
    animation: fadeIn 0.8s ease-out forwards;
}

section:not(:first-child) {
    border-top: 1px solid var(--accent-color);
}

.section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Space Mono', monospace;
}

.projects {
    padding: 2rem;
    text-align: center;
}

.projects h2 {
    margin-bottom: 2rem;
    color: #fff;
}

/* Projects and Articles */
#project-list, #article-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    will-change: transform;
}

.card:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.card p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.badge {
    display: inline-block;
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.badge:hover {
    background: rgba(60, 60, 60, 0.9);
}

.button-group {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.button-group button {
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--primary-color);
    will-change: transform;
}

.button-group button:hover {
    background: rgba(60, 60, 60, 0.9);
    transform: translateY(-2px);
}

.button-group .demo-button {
    background: var(--primary-color);
    color: var(--background-color);
}

.button-group .demo-button:hover {
    background: rgba(40, 40, 40, 0.9);
    color: var(--primary-color);
}

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

.name-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.social-icon {
    color: #fff;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .social-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .social-icons {
        gap: 15px;
    }
}

/* Add this after the .card styles */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-button {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.demo-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Add responsive styles for buttons */
@media (max-width: 768px) {
    button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .button-group {
        gap: 10px;
        margin-top: 15px;
    }
}

/* Add these styles for the skills section */
.skills {
    text-align: center;
    padding: 4rem 1rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 2rem auto;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.skill:hover {
    transform: translateY(-5px);
}

.skill img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes icons white */
}

.skill span {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Add responsive styles for skills */
@media (max-width: 768px) {
    .skills-container {
        gap: 1.5rem;
    }
    
    .skill img {
        width: 40px;
        height: 40px;
    }
    
    .skill span {
        font-size: 0.8rem;
    }
}

.button-group .demo-button {
    color: var(--background-color);
}

.button-group .demo-button:hover {
    color: var(--primary-color);
}

@import url('https://fonts.googleapis.com/css2?family=Space+Mono&display=swap');
