* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
}

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

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

.user-profile-container {
    max-width: 480px;
    margin: 40px auto;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 40px 32px 32px 32px;
    text-align: center;
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out;
}

.user-profile-header {
    margin-bottom: 32px;
    animation: slideUp 0.6s ease-out 0.2s both;
}

.user-profile-avatar {
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    margin-bottom: 16px;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.user-profile-avatar:hover {
    border-color: rgba(79,70,229,0.5);
    box-shadow: 0 8px 24px rgba(79,70,229,0.3);
}

.user-profile-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.profile-link {
    color: #ffffff;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px 24px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out both;
}

.profile-link:nth-child(1) {
    animation-delay: 0.4s;
}

.profile-link:nth-child(2) {
    animation-delay: 0.5s;
}

.profile-link:nth-child(3) {
    animation-delay: 0.6s;
}

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

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

.profile-link:hover {
    background: rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
}

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

@media (max-width: 768px) {
    .user-profile-container {
        margin: 20px 16px;
        padding: 32px 24px 24px 24px;
        max-width: none;
    }
    
    .user-profile-header h2 {
        font-size: 1.5rem;
    }
    
    .profile-link {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .user-profile-container {
        margin: 16px 12px;
        padding: 28px 20px 20px 20px;
        border-radius: 16px;
    }
    
    .user-profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .user-profile-header h2 {
        font-size: 1.25rem;
    }
    
    .profile-link {
        padding: 12px 16px;
        font-size: 0.95rem;
        border-radius: 10px;
    }
}