:root {
    --primary-color: #ff0000;
    --secondary-color: #00ff00;
    --background-color: #000000;
    --text-color: #ffffff;
    --glow-color: rgba(255, 0, 0, 0.5);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
}

/* Glitch Effect */
.glitch-wrapper {
    margin-bottom: 2rem;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 var(--primary-color),
                 -0.05em -0.025em 0 var(--secondary-color);
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--primary-color),
                     -0.05em -0.025em 0 var(--secondary-color);
    }
    25% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color),
                     0.025em 0.025em 0 var(--secondary-color);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color),
                     -0.05em -0.05em 0 var(--secondary-color);
    }
    75% {
        text-shadow: -0.05em -0.05em 0 var(--primary-color),
                     0.025em 0.025em 0 var(--secondary-color);
    }
    100% {
        text-shadow: 0.05em 0 0 var(--primary-color),
                     -0.05em -0.025em 0 var(--secondary-color);
    }
}

/* Profile Card */
.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    perspective: 1000px;
}

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

.image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.2), rgba(0, 255, 0, 0.2));
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.image-container:hover .profile-image {
    transform: scale(1.1);
}

.image-container:hover .image-overlay {
    opacity: 1;
}

/* Bio Section */
.bio {
    margin-bottom: 2rem;
    text-align: center;
}

.typing-text {
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    animation: typing 3.5s steps(40, end),
               blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #ff0000; }
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    position: relative;
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-link img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-link:hover img {
    box-shadow: 0 0 20px var(--glow-color);
}

.social-link.instagram:hover img {
    --glow-color: rgba(255, 105, 180, 0.7);
}

.social-link.discord:hover img {
    --glow-color: rgba(114, 137, 218, 0.7);
}

.social-link.youtube:hover img {
    --glow-color: rgba(255, 0, 0, 0.7);
}

.tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-link:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch {
        font-size: 2.5rem;
    }
    
    .profile-card {
        padding: 1.5rem;
    }
    
    .image-container {
        width: 150px;
        height: 150px;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-link img {
        width: 40px;
        height: 40px;
    }
}