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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 20px;
    overflow-x: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 0;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards 0.3s;
}

.profession {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards 0.6s;
}

.bio {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards 0.9s;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards 1.2s;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: 0;
}

.social-icon:hover:before {
    transform: scale(1);
}

.social-icon svg {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-icon:hover svg {
    color: white;
    transform: scale(1.2);
}

.telegram:hover:before {
    background-color: #0088cc;
}

.instagram:hover:before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.github:hover:before {
    background-color: #333;
}

.linkedin:hover:before {
    background-color: #0077b5;
}

.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards 1.5s;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #eaeaea;
}

.btn-secondary:hover {
    background-color: #eaeaea;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 0.9rem;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 1.8s;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .name {
        font-size: 2rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }
}