* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    object-fit: cover;
    pointer-events: none;
}

body {
    background-color: #1a1a1a;
    color: #f0f0f0;
    line-height: 1.6;
    min-height: 100vh;
    background-image: linear-gradient(to bottom right, #0f0f0f, #222222);
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, 
        rgba(60, 30, 130, 0.03), 
        rgba(10, 10, 10, 0.02), 
        rgba(130, 30, 150, 0.03));
    backdrop-filter: blur(2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: profileGradient 8s ease infinite;
    background-size: 300% 300%;
    width: 50%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes profileGradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.profile-picture {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 2px white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 0 2px white;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 2.2rem;
    margin: 5px 0;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 600;
}

.bio {
    color: #d0d0d0;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.1rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    line-height: 1.5;
}

.bio p {
    margin-bottom: 8px;
}

.bio p:last-child {
    margin-bottom: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 50%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 18px 22px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1;
    background-color: rgba(10, 10, 10, 0.15);
    width: 100%;
    max-width: none;
    margin: 0;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    filter: brightness(1.1);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0), 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0));
    transform: skewX(-25deg);
    animation: linkSweep 6s ease-in-out infinite;
    z-index: 1;
}

.social-link::after {
    content: none;
}

@keyframes linkSweep {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.icon {
    font-size: 1.8rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.username {
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Gradient Animation */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Platform specific colors */
.instagram {
    background: linear-gradient(45deg, 
        rgba(131, 58, 180, 0.4) 20%, 
        rgba(253, 29, 29, 0.4) 50%, 
        rgba(252, 176, 69, 0.4) 80%);
    background-size: 300% 300%;
    animation: gradientAnimation 6s ease infinite;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.instagram::before {
    content: '';
}

.instagram::after {
    content: none;
}

.twitter {
    background: linear-gradient(45deg, 
        rgba(29, 161, 242, 0.4) 20%, 
        rgba(10, 77, 112, 0.4) 50%, 
        rgba(29, 161, 242, 0.4) 80%);
    background-size: 300% 300%;
    animation: gradientAnimation 6s ease infinite;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.twitter::before {
    content: '';
}

.youtube {
    background: linear-gradient(45deg, 
        rgba(255, 0, 0, 0.4) 20%, 
        rgba(204, 0, 0, 0.4) 50%, 
        rgba(255, 0, 0, 0.4) 80%);
    background-size: 300% 300%;
    animation: gradientAnimation 6s ease infinite;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.youtube::before {
    content: '';
}

.youtube::after {
    content: none;
}

.tiktok {
    background: linear-gradient(45deg, 
        rgba(37, 244, 238, 0.4) 20%, 
        rgba(254, 44, 85, 0.4) 50%, 
        rgba(37, 244, 238, 0.4) 80%);
    background-size: 300% 300%;
    animation: gradientAnimation 6s ease infinite;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tiktok::before {
    content: '';
}

.linkedin {
    background: linear-gradient(45deg, 
        rgba(0, 119, 181, 0.4) 20%, 
        rgba(0, 160, 220, 0.4) 50%, 
        rgba(0, 119, 181, 0.4) 80%);
    background-size: 300% 300%;
    animation: gradientAnimation 6s ease infinite;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.linkedin::before {
    content: '';
}

.linkedin::after {
    content: none;
}

.github {
    background: linear-gradient(45deg, 
        rgba(36, 41, 46, 0.4) 20%, 
        rgba(55, 62, 70, 0.4) 50%, 
        rgba(36, 41, 46, 0.4) 80%);
    background-size: 300% 300%;
    animation: gradientAnimation 6s ease infinite;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.github::before {
    content: '';
}

.github::after {
    content: none;
}

footer {
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    padding-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 480px) {
    html, body {
        height: 100%;
        width: 100%;
        overflow-x: hidden;
    }
    
    #matrixCanvas {
        position: fixed;
        height: 100vh;
        width: 100vw;
        top: 0;
        left: 0;
    }
    
    .container {
        padding: 20px 15px;
        margin: 0 auto;
        width: 100%;
        height: auto;
        flex: 1;
    }
    
    .profile-section {
        margin-top: 0;
        border-radius: 15px;
        padding: 15px;
        width: 100%;
        max-width: none;
        backdrop-filter: none;
        background: rgba(10, 10, 10, 0.4);
        animation: none;
    }
    
    .bio {
        width: 100%;
        max-width: none;
        padding: 0 5px;
    }
    
    .profile-picture {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.8rem;
        margin: 3px 0;
    }
    
    .bio {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .social-links {
        gap: 14px;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        padding: 0;
    }
    
    .social-link {
        padding: 14px 16px;
        border-radius: 12px;
        height: auto;
        margin: 0;
        display: flex;
        align-items: center;
        width: 100%;
        max-width: none;
        backdrop-filter: blur(3px);
        background-color: rgba(10, 10, 10, 0.15);
        animation-duration: 12s !important;
    }
    
    .social-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, 
            rgba(255, 255, 255, 0), 
            rgba(255, 255, 255, 0.2), 
            rgba(255, 255, 255, 0));
        transform: skewX(-25deg);
        animation: linkSweep 6s ease-in-out infinite;
        z-index: 1;
    }
    
    .social-link:hover {
        transform: translateY(-3px);
        filter: none;
    }
    
    /* Ensure all social links have consistent styling */
    .instagram, .youtube, .tiktok, .twitter, .linkedin, .github {
        display: flex;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        background-opacity: 0.4;
    }
    
    .icon {
        font-size: 1.5rem;
    }
    
    .username {
        font-size: 1rem;
    }
} 