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

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

#fractalCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #cfd6dc;
    text-shadow: 0 0 10px rgba(64, 180, 200, 0.35),
                 0 0 20px rgba(64, 180, 200, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-1 2s infinite;
    color: #6ac8d0;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 3s infinite;
    color: #d1b0ff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-2 {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(2px, -2px);
    }
    40% {
        transform: translate(2px, 2px);
    }
    60% {
        transform: translate(-2px, -2px);
    }
    80% {
        transform: translate(-2px, 2px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.subtitle {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    letter-spacing: 0.3rem;
    color: rgb(54, 24, 55);
    text-transform: uppercase;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about {
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #0ff;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3),
                inset 0 0 30px rgba(0, 255, 255, 0.1);
}

.bio {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: #ccc;
    letter-spacing: 0.05rem;
}

footer {
    text-align: center;
}

.instruction {
    font-size: 0.9rem;
    color: rgb(8, 58, 58);
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    opacity: 0.7;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.3;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .overlay {
        padding: 1rem;
    }
    
    h1 {
        letter-spacing: 0.2rem;
    }
    
    .subtitle {
        letter-spacing: 0.1rem;
    }
    
    .about {
        padding: 1.5rem;
    }
    
    .instruction {
        font-size: 0.7rem;
        letter-spacing: 0.1rem;
    }
}
