:root {
    --bg-color: #0a0a0a;
    --primary-color: #1a1a1a;
    --secondary-color: #2a2a2a;
    --text-color: #e0e0e0;
    --accent-color: #00aaff;
    --glow-color: rgba(0, 170, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--glow-color);
}


.content-section {
    padding: 5rem 0;
    border-top: 1px solid var(--secondary-color);
    text-align: center;
}

.content-section:first-child {
    border-top: none;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 6rem;
}

.pfp {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 25px var(--glow-color), 0 0 40px var(--glow-color) inset;
    animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 25px var(--glow-color), 0 0 40px var(--glow-color) inset;
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 35px var(--glow-color), 0 0 50px var(--glow-color) inset;
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 25px var(--glow-color), 0 0 40px var(--glow-color) inset;
    }
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
}

.project-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.project-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.cta-button, .project-link {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover, .project-link:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.05);
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hidden.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Social Links --- */
.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 2.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}