@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400;700&display=swap');

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

body {
    background-color: #000000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Pixelify Sans', sans-serif;
    overflow: hidden;
    cursor: pointer;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.text-container {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    user-select: none;
    pointer-events: none;
}

.name {
    color: #ffffff;
    font-size: 9.6rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
    margin: 0;
    padding: 0;
    transform: none;
    text-align: center;
    width: 100%;
    letter-spacing: 0;
    font-family: 'Pixelify Sans', sans-serif;
    user-select: none;
    pointer-events: none;
}

.subtitle {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.9;
    animation: cyberpunkFlicker 4s infinite;
    margin: 0;
    padding: 0;
    transform: none;
    text-align: center;
    width: 100%;
    letter-spacing: 0;
    font-family: 'Pixelify Sans', sans-serif;
    position: relative;
    user-select: none;
    pointer-events: none;
}

.subtitle.flicker-once {
    animation: flickerOnce 0.5s ease-in-out;
}

@keyframes flickerOnce {
    0% {
        opacity: 1;
        text-shadow: none;
    }
    25% {
        opacity: 0.2;
        text-shadow: none;
    }
    50% {
        opacity: 1;
        text-shadow: 
            0 0 1px #fff,
            0 0 2px #fff,
            0 0 3px #fff;
    }
    75% {
        opacity: 0.2;
        text-shadow: none;
    }
    100% {
        opacity: 1;
        text-shadow: none;
    }
}

.shape {
    position: absolute;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.shape.flicker {
    animation: shapeFlicker 0.3s ease-in-out;
}

@keyframes shapeFlicker {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.8;
    }
}

/* Outlined shapes */
.circle.outlined {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #333333;
}

.square.outlined {
    width: 15px;
    height: 15px;
    border: 3px solid #333333;
}

.triangle.outlined {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 17.3px solid #333333;
}

.x.outlined {
    width: 15px;
    height: 15px;
    position: relative;
}

.x.outlined::before,
.x.outlined::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #333333;
    top: 50%;
    left: 0;
}

.x.outlined::before {
    transform: rotate(45deg);
}

.x.outlined::after {
    transform: rotate(-45deg);
}

/* Filled shapes */
.circle.filled {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #333333;
}

.square.filled {
    width: 15px;
    height: 15px;
    background-color: #333333;
}

.triangle.filled {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 17.3px solid #333333;
}

.x.filled {
    width: 15px;
    height: 15px;
    position: relative;
    background-color: #333333;
    clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.6),
                     0 0 30px rgba(255, 255, 255, 0.4);
    }
}

@keyframes cyberpunkFlicker {
    0%, 95% {
        opacity: 0.99;
        text-shadow: none;
    }
    96% {
        opacity: 0.2;
        text-shadow: none;
    }
    97% {
        opacity: 0.99;
        text-shadow: 
            0 0 1px #fff,
            0 0 2px #fff,
            0 0 3px #fff;
    }
    98% {
        opacity: 0.2;
        text-shadow: none;
    }
    99% {
        opacity: 0.99;
        text-shadow: 
            0 0 2px #fff,
            0 0 4px #fff,
            0 0 6px #fff;
    }
    100% {
        opacity: 0.2;
        text-shadow: none;
    }
}

.email-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.email-link:hover {
    opacity: 0.7;
}

.social-icons {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.social-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon i {
    font-size: 1.2rem;
    line-height: 1;
}

.social-icon:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Add a new class for the physics canvas container */
.physics-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
} 