:root {
    --primary-color: #ffffff;
    --bg-color: #000000;
    --text-color: #cccccc;
    --heading-color: #ffffff;
    --card-bg: #111111;
    --grid-size: 30px;
    --grid-color: rgba(255, 255, 255, 0.3);
    --animation-duration: 15s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 2rem;
    min-height: 100vh;
    margin: 0;
    position: relative;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    min-height: calc(100vh - 4rem); /* Account for body padding */
    position: relative;
    z-index: 1;
}

.card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-card {
    text-align: center;
    margin-bottom: 2rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    background-color: rgba(17, 17, 17, 0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Update the profile card's before pseudo-element */
.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, var(--grid-color) 1px, transparent 1px),
        linear-gradient(-45deg, var(--grid-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    background-position: center center;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.3s ease;
}

/* Remove the gradient overlay */
.profile-card::after {
    display: none;
}

/* Make content appear above grid */
.profile-card > * {
    position: relative;
    z-index: 1;
}

/* Show grid on hover */
.profile-card:hover::before {
    opacity: 1;
}

.profile-card:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.08);
    background-color: rgba(17, 17, 17, 0.7);
}

/* Replace the profile-pic styles with these */
.profile-letter {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-card:hover .profile-letter {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Optional: Add a subtle rotating border effect */
.profile-letter::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(255,255,255,0.2);
    border-right-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    opacity: 0;
}

.profile-card:hover .profile-letter::after {
    opacity: 1;
    transform: rotate(180deg);
}

/* Simplify title styling */
.title {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Update social links to match project links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--heading-color);
    font-size: 2rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.social-links a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-3px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image: 
        linear-gradient(45deg, var(--grid-color) 2px, transparent 2px),
        linear-gradient(-45deg, var(--grid-color) 2px, transparent 2px);
    background-size: var(--grid-size) var(--grid-size);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 0;
}

.project-card > * {
    position: relative;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 1;
    animation: gridMove var(--animation-duration) linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(-30%, -30%);
    }
    100% {
        transform: translate(30%, 30%);
    }
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
    background-color: rgba(17, 17, 17, 0.95);
}

.project-card h3 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.project-card p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.project-links a:hover {
    text-decoration: underline;
}

.tags {
    color: #888888;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
}

.floating-square {
    position: fixed;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Remove these classes entirely */
.glow-container,
.glow {
    display: none;
}

/* Add to your existing CSS */
.snake-segment {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.snake-food {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Add to your existing CSS */
.snowflake {
    transition: transform 0.05s linear;
}

.snow-pile {
    transition: all 0.3s ease;
} 
