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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 680px;
    width: 100%;
    animation: fadeIn 0.6s ease-in;
}

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

.profile {
    text-align: center;
    margin-bottom: 40px;
}

.avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    overflow: hidden;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.avatar:hover {
    transform: scale(1.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.name {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.bio {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 300;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-button {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: white;
    color: white;
}

/* Brand-specific hover colors */
.link-button.github:hover {
    background: #24292e;
}

.link-button.linkedin:hover {
    background: #0077b5;
}

.link-button.twitter:hover {
    background: #000000;
}

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

.link-button.email:hover {
    background: #ea4335;
}

.link-button.youtube:hover {
    background: #ff0000;
}

.link-button:active {
    transform: translateY(0);
}

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.footer {
    text-align: center;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer p {
    margin: 8px 0;
}

.visitor-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.9;
}

.visitor-icon {
    vertical-align: middle;
    opacity: 0.8;
}

#visitor-count {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    .name {
        font-size: 28px;
    }
    
    .bio {
        font-size: 16px;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .avatar-text {
        font-size: 40px;
    }
    
    .link-button {
        padding: 16px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .link-button {
        padding: 14px 18px;
    }
}

