/*   Made by Alexandru Mateo   */
/*  portfolio-wip | 19/02/2026 */

:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-secondary: #666;
    --accent-color: #2d3436;
    --brand-color: #c13ff5;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.container {
    text-align: center;
    max-width: 90%;
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.avatar-wrapper {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-container {
    width: 330px;
    height: 330px;
    position: relative;
}

.avatar-container.pop {
    animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease, opacity 0.4s ease;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

.text-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#typing-text {
    font-weight: 600;
    font-size: 2.2rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.highlight {
    color: var(--brand-color);
    font-weight: 700;
}

.cursor {
    display: inline-block;
    width: 1.5px;
    background-color: #00000031;
    animation: blink 1s step-end infinite;
    margin-left: 8px;
    height: 2.5rem;
    vertical-align: middle;
    border-radius: 2px;
}

.social-links {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    
    background-color: #f1f2f6;
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.social-links.visible {
    opacity: 1;
    transform: translateY(0);
}

.social-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    opacity: 0;
}

.social-btn {
    position: relative;
    z-index: 2;
    color: var(--text-secondary);
    font-size: 1.4rem;
    transition: color 0.3s ease;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    margin: 0 2px;
}

.social-btn:hover {
    color: var(--brand-color);
    background: transparent;
    transform: none;
    box-shadow: none;
}

.social-links:hover .social-slider {
    opacity: 1;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes pop {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 600px) {
    .avatar-container {
        width: 250px;
        height: 250px;
    }
    
    #typing-text {
        font-size: 1.6rem;
    }
    
    .cursor {
        height: 1.8rem;
    }
}
